Are you the publisher? Claim or contact us about this channel


Embed this content in your HTML

Search

Report adult content:

click to rate:

Account: (login)

More Channels


Showcase


Channel Catalog


Channel Description:

All Content in vRealize Automation Tools

older | 1 | .... | 343 | 344 | (Page 345) | 346 | 347 | .... | 418 | newer

    0 0

    Hi,

     

    I am trying to create a workflow subscription and publish it.

     

    This is what I am seeing,

     

    1. Register A workflow subscription is unable to create the subscription as it fails in setting the criteria using the JSON string,

         Error:   (com.vmware.library.vcaccafe.workflow.subscription/createWorkflowSubscription) Error in (Dynamic Script Module name : createWorkflowSubscription#14) Unable to convert target json string to clause object

     

    I had obtained the criteria using another subscription and then called JSON.stringify on the response and passed it to the function.

     

    2. I used the same JSON string and tried creating a workflow subscription, surprisingly that works.

     

    3. I want to publish the subscription and looks like if we just create the workflow subscription, it does not publish it even when the status is PUBLISHED. And just creating the subscription does not register it with vCACHost so I had to go with the route

    A. register workflow subscription

    B. publish workflow subscription

     

    Can someone please suggest what is wrong in this or if the method has some bug in 7.3 version.

     

    Thanks for your time and help!


    0 0

    I have to try to download the vra7 product from my VMWare account but I'm not a superuser that's why I have faced the problem.

     

     

    Could anyone please share the link?

     

     

    Basically showed the bellow message...

     

     

    You either are not entitled or do not have permissions to download this product.

    Check with your My VMware Super User, Procurement Contact or Administrator.

    If you recently purchased this product through VMware Store or through a third-party, try downloading later.

     

     

    Overall I need the vra 7 ovf file if anyone help


    0 0

    I have to try to download the vra7 product from my VMWare account but I'm not a superuser that's why I have faced the problem.

    Could anyone please share the link?

    Basically showed the bellow message...

     

     

    You either are not entitled or do not have permissions to download this product.

    Check with your My VMware Super User, Procurement Contact or Administrator.

     

    If you recently purchased this product through VMware Store or through a third-party, try downloading later.

     

     

    Overall I need this ovf.......


    0 0
  • 02/07/18--17:20: No sensors defined - Error
  • Anyone seeing this error inside the vRealize Module > Logs

     

    REST call error found inside VRASNRequestUtil.preImportRequest: No sensors defined

    REST call error found inside VRASNAuthGenerator.generateAuthCode: No sensors defined

    REST call error found inside VRASNRequestUtil.preImportRequest: No sensors defined

    REST call error found inside VRASNImportCMDB.reconcileCMDB for pagination: No sensors defined

    REST call error found inside VRASNImportCMDB.preImportCMDB: No sensors defined

     

    We're seeing it across multiple script includes.functions

     

    ServiceNow ticket opened; This error can be fixed by adding a line of code "request.setEccParameter('skip_senor',true)", but that would man changing a lot of plugin code. We have raised a HI ticket also for this but they are also giving the same solution and directing to check with vRealize support for the fix.


    0 0

    **thanks to my ServiceNow developers...

     

    var numberOfPages = parsed.metadata["totalPages"];

    for(var i=1; i<numberOfPages; i++){

     

    If total pages = 3

    and our resource is listed on page 3,

    This loop will check pages 1 and 2 (missing page 3 because the criteria should be i<=numberOfPages)

     

     

    Full function below:

    reconcileCMDB : function() {

    try{

    VRASNLogger.debug('Inside  VRASNImportCMDB.reconcileCMDB: used to Reconcile the CMDB CI records');

    var midServer = gs.getProperty('vrasn.midserver.name');

    var endPoint = gs.getProperty('vrasn.end.point');

    var _endPoint = endPoint+"/catalog-service/api/consumer/resources?withExtendedData=false&page=1&limit=20";

    var request = new sn_ws.RESTMessageV2();

    request.setEndpoint(_endPoint);

    request.setHttpMethod('get');

    var auth = new VRASNPropertiesUtil();

    var authGen = auth.getSNProperties('AuthToken');

    request.setRequestHeader("Accept", "application/json");

    request.setRequestHeader("Authorization", "Bearer "+authGen);

    request.setRequestHeader("Content-Type", "application/json");

    request.setMIDServer(midServer);

    var ciList = "";

    var gotException = false;

    var resourceID="";

    var response = request.execute();

    if(response.haveError()) {

    VRASNLogger.error('REST call error found inside VRASNImportCMDB.reconcileCMDB for pagination: '+ response.getErrorMessage());

    this.errorHandler.notify("REST call error found inside VRASNImportCMDB.reconcileCMDB for pagination: "+ response.getErrorMessage());

    gotException = true;

    }

    else {

    var responsedata = response.getBody();

    var parser = new JSONParser();

    var parsed = parser.parse(responsedata);

    var numberOfPages = parsed.metadata["totalPages"];

    var cmdbItems = parsed.content.length;

    for(var j=0;j<cmdbItems;j++){

        resourceID = parsed.content[j]["id"];

    ciList = ciList+resourceID+";";

    }

     

    for(var i=1; i<numberOfPages; i++){

    _endPoint = endPoint+"/catalog-service/api/consumer/resources?withExtendedData=false&page="+i+"&limit=20";

    request.setEndpoint(_endPoint);

    request.setHttpMethod('get');

    request.setRequestHeader("Accept", "application/json");

    request.setRequestHeader("Authorization", "Bearer "+authGen);

    request.setRequestHeader("Content-Type", "application/json");

    response = request.execute();

     

    if(response.haveError()) {

    VRASNLogger.error('REST call error found inside VRASNImportCMDB.reconcileCMDB: '+ response.getErrorMessage());

    this.errorHandler.notify("REST call error found inside VRASNImportCMDB.reconcileCMDB: "+ response.getErrorMessage());

    gotException = true;

    }

    else {

    responsedata = response.getBody();

    parsed = parser.parse(responsedata);

    cmdbItems = parsed.content.length;

    for(j=0;j<cmdbItems;j++){

       resourceID = parsed.content[j]["id"];

    ciList = ciList+resourceID+";";

    }

    }

     

    }

     

    if(JSUtil.notNil(ciList)) {

    var gr = new GlideRecord("cmdb_ci");

    gr.addEncodedQuery("u_vra_uidISNOTEMPTY^install_status!=7^ORinstall_status=NULL");

    gr.query();

    while(gr.next()) {

    var a = ciList.indexOf(gr.u_vra_uid+"");

    if(a>-1) {

    VRASNLogger.debug('The record exists in the list '+ gr.name);

    }

    else {

    gr.install_status = 7;

    gr.update();

    }

    }

    }

    }

    }

    catch(e){

    VRASNLogger.error('Exception caught inside VRASNImportCMDB.reconcileCMDB: '+e);

    this.errorHandler.notify("Exception caught inside VRASNImportCMDB.reconcileCMDB: "+e);

    }

    },

     

    type: 'VRASNImportCMDB'

    };


    0 0

    Looking for a way for our ServiceNow users to make requests to the vRealize Catalog with a single service account instead of the user logged into SNOW/vRA.  We have a few clients that are developing business logic in the form of a standard ServiceNow Catalog request.  This standard request should be triggering a vRealize Catalog request while passing blueprint parameters.  At current state of the plugin, entitlements and requests revolve around the user who is logged in.  A majority of our integrations start with business logic sitting at the ServiceNow level.

     

    Dave


    0 0

    VRA 7.3, ITMS 3.0, ServiceNow Istanbul and default authentication.

     

    With the VRA_VIDM login rule marked as active, whenever a user logs into ServiceNow, they are prompted immediately to log into VRA, they click OK on the prompt and are presented with another browser window (screen shot attached).  The error returned is as follows:

     

    An error occurred during OAuth2 operation.  Please contact your administrator to resolve the issue.

    { "error": "invalid_request","error_description": "Invalid client" }

     

    The user is never presented with the VRA Login page.

     

    We currently have the VRA_VIDM rule selected as inactive due to this issue.  It appears as though ServiceNow is importing the VRA content, no errors from any of the Scheduled Import jobs aside from the occasional "no sensors defined" error.


    0 0

    Hi Team,

     

    I just integrated my vRA 7.3 with Istanbul SNOW instance using plug-in 3.0. I am able to request (and approve) services from the vRA catalog, however requests are stuck. See screenshot below.

    Screen Shot 2018-02-20 at 12.15.45.png

     

    In the plugin log I can see the following error message, however I am not able to identify what are the invalid credentials.

     

    REST call error found inside VRASNRequestUtil.getTemplateViaRest: Method failed: (/catalog-service/api/consumer/entitledCatalogItems/94748c1b-40fa-4ec0-a239-6ef0807b73c6/requests/template) with code: 401 - Invalid username/password combo

     

    Thanks

    Paolo


    0 0
  • 03/28/18--06:48: vROPS VM monitoring
  • Hello all,

     

    Is there a way in vROPS to make a report that should contain VM monitoring(CPU, memory, etc) charts(trend) at vm level.

    For example: on a host with 3 vm's If we want to monitor the CPU Usage and Memory Usage, the report should have 6 graphs, the first graph with the CPU Usage of vm1, the seccond graph with memory Usage of vm1, and so on.

     

    I have tried to create a view for this but the problem is that the CPU Usage graph contains all 3 vm's on the same graph.

     

    Best Regards,

    Daniel


    0 0

    Hi all,

     

    when we want to create from vRO a new reservation it's necessary (not mandatory) to push a ResourcePool ID....

     

    {

    "key" : "resourcePool",

    "value" : {

    "type" : "entityRef",

    "componentId" : null,

    "classId" : "ResourcePools",

    "id" : "79e1f291-1001-4ec3-b0b2-c094f8fc865e",

    "label" : "Resources

    }

     

    Resource pool in a reservation :

     

    resa.jpg

     

     

    This ID is available in a IaaS DB :

     

     

     

     

     

    We try to retrieve this ID from vRO VCPlugIn but without success. We can only find the ResourcePoolUniqueID from vRO VCPlugIn.......

     

    How we can FIND this ResourcePoolID linked to a vCenter Cluster from vRO ?

     

     

    Where vRA stores this information :

     

    • This ID matches to the ResourcePool on this Esxi cluster.

     

     

     

    Thx for your help.


    0 0

    Basically what the title says. We've been trying to find documentation for how to create a new reservation in vRealize Automation with a Orchestrator workflow, but the documentation and examples one can find online seem to be woefully lacking. Anyone have any basic code/workflow examples to help out?


    0 0

    Approval Policy Based on a Datacenter Selection

    I have two datacenters selection in vRA and I would like to prevent VMs reconfiguring in one of those two datacenters such as using an XaaS action (change network) which is entitled to all VMs in both datacenters.

    Thanks.


    0 0

    If I have an existing vSphere environment running 100's of VM's which have been deployed using vRA and wish to migrate them all to an entirely new platform managed by a different vRA instance, what are the steps I'd need to take and can this be achieved non-disruptively?

     

    All the VM's will be connected to an NSX network and running on vSAN if this adds additional complexity.

     

    Imagine a situation where the current environment is running vSphere 6.5 with vRA 7.3 but my new world is actually running ESX 6.7 with vRA 7.4


    0 0

    Have you adopted vCloud Director in your environment?  Do you use it alongside vSphere? Or are you a vSphere-only shop?  We want to know!

    0 0

    Adding Property Definitions to an XaaS Blueprint

    Is there a way to add property definitions/groups to an XaaS Blueprint?

    Thanks.


    0 0
  • 03/26/18--09:44: create file in guest
  • Hi all,

    I have vRO 7.0.1

    I want to copy file to VM guest.

    I saw 2 built-in workflows:

     

    1. “Copy file from vCO to guest”

    2. "Create temporary file in guest"

     

    both of them not suits me, because:

    1. “Copy file from vCO to guest” - error "No permissions on the file for the attempted operation...", and yes I walked through the article below:

    vRealize Orchestrator Appliance - Guest File Operations Part 1 - (Copying a file to guest VM) - 2ninjas1blog.com

     

    2. "Create temporary file in guest" - Creates file with customized name and without extension.

     

    I guess if there were an option to use the workflow of "Create temporary file in guest" but with an option that I can choose exat filename and extension, that would be great.

    did someone had this case that I have?

     

    Regards,

    Boris


    0 0

    Hi All,

     

    I am trying to create a property definition using the method createPropertyDefinition(). The property definition will be populated by an external action and there is a parameter externalAction with type Action in the method.

    Does anyone know the format it expects for the parameter externalAction

     

    I tried giving it the way we see in my property definition, com.vratest.utils/getStorageList

    It fails in reading externalAction.module.name from it. I am sure its a small mistake or a particular way it expects the input value to be passed

     

    Appreciate your time and help.

     

    Thanks!


    0 0

    Olá, boa tarde.

     

    Tenho o vRealize automation 7.0.1 em meu ambiente e recentemente estou tendo problemas com vms provisionadas em um determinado cluster de datastore configurado no vCenter 6.0.0.

     

    A mensagem completa do erro: The following component requests failed: vSphere_Machine_1. Request failed: Machine VMXXX: CloneVM : Cannot find the data store named CLUSTER_VMWARE..

     

    Preciso resolver este caso provisionado vms para o cluster de datastore deixando que o vCenter gerencie e não o configurando no automation para datastore individuais com mesma prioridade.

     

    Obs: Para outros clusters do meu ambiente consigo provisionar vms sem problemas.

     

    ***************************************************************************************************

    Hello good afternoon.

     

     

    I have vRealize automation 7.0.1 in my environment and recently I'm having problems with vms provisioned in a given datastore cluster configured in vCenter 6.0.0.

     

    The complete error message: The following component requests failed: vSphere_Machine_1. Request failed: Machine VMXXX: CloneVM: Can not find the data store named CLUSTER_VMWARE ..

     

    I need to resolve this vms provisioned case to the datastore cluster by letting vCenter manage and not configuring it on automation for individual datastores with the same priority.

     

    Note: For other clusters in my environment I can provision vms with no problems.


    0 0
  • 03/29/18--11:00: fieldValues
  • Hi,

     

    After a Xass request is submitted, I configured an event broker.

     

    When I try to print the following lines, I receive null:

    var fieldValues = input.get("fieldValues");

    System.log(fieldValues);

    (input is the properties which was received from the request)

     

    If I try to print sourceInfo, fieldNames, requestInfo - there are a lot of information.

     

    I suppose that  filedValues should contains the values the the user filled in his request, am I right? Why there is no information in it?

     

    Thanks!


    0 0

    hello,I have VRA 7.3 environment

    I've created a Custom Property Definition for VirtualMachine.Network0.Name. 

    I find a problem when i finished , I was requested a vm and the vra has a error

     

    Action 'getApplicableNetworks' in module 'com.vmware.vra.networks' failed : 400 Bad request (Dynamic Script Module name : getReservationsForUserAndComponent


older | 1 | .... | 343 | 344 | (Page 345) | 346 | 347 | .... | 418 | newer