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 | .... | 409 | 410 | (Page 411) | 412 | 413 | .... | 418 | newer

    0 0

    Hey communities

     

    can you share your links to sites where good tipps and tricks for Troubleshooting vRO can be found?

    (something like: DB full, policies not starting, athentication Errors, servicies not coming up etc.)

     

    Thx in advance!


    0 0

    Hi,

    within a software component I need to run a setup.exe as a service account.

    For some reason I get a "access denied" error whatever I try.

    So I simplified it to avoid other factors and just try to run a "whoami | out-file c:\temp\who.log" as a different users. Still failing.

     

    what I do:

    $securePassword = ConvertTo-SecureString $Password -AsPlainText -Force
    $credential = New-Object System.Management.Automation.PSCredential "$domain\$account", $securePassword

    start-job -ScriptBlock {whoami | out-file c:\temp\who.log} -Credential $credential | wait-job

     

    I also tried start-process ..... -credential ....

    with same result.

     

    UAC is disabled via registry.

     

    Any help would be highly appreciated.

     

    Thanks

    Andre


    0 0
  • 11/15/18--08:16: Azure Managed disks
  • Hey all,

     

    We have just upgraded to vRA 7.5.  After discovering a bug in the AllocateAzureVM action (this is reported to BCS), we have default Azure builds working with storage accounts.  The main reason to upgrade to vRA 7.5 for us is to use managed disks on Azure.  The documentation on how to configure this is lacking, or I have not found it.  I cannot get Managed Disk working, and I am still digging after being stuck on a null pointer error (I know right).  Does anyone know anyone who actually has managed disks working and a page about how they did it so I can get some bread crumbs on how to do it?  Otherwise, I will hit BCS again.  Thanks,

     

    Mike


    0 0
  • 03/28/16--07:14: kickstart without DHCP?
  • We are using kickstart (and puppet) to deploy linux servers, the problem is – there is no DHCP on our network. Is there a way to automate the linux provisioning?

    All info I could find is that I must use DHCP for kickstart.

     

    We are using vRA 7 (new environment)


    0 0

    Hi

     

    I have a problem with a REST-Call from vRealize Automation 7.4. With vRA 7.3 it was working without any problem.

     

    I try to run an orchestator workflow with the following code:

    //Prepare REST-Call

    var restURL=payload.get("restURL");

    var restType=payload.get("restType");

    var restContent = payload.get("restContent");

     

    //Execute REST-Call var request  = RESTHost.createRequest(restType, restURL, restContent);

    request.contentType = payload.get("restContentType");

    var response = request.execute();

     

    restStatus=parseInt(response.statusCode);

    System.log("Status code: " + restStatus);

     

    But I get the error "unable to authenticate user".

     

    I tried it with postman from the Iaas Host without any problem.

     

    When I run the API Call with curl on the vRA Appliance I get this error:

    curl: (60) SSL certificate problem: self signed certificate in certificate chain More details here: https://curl.haxx.se/docs/sslcerts.html curl failed to verify the legitimacy of the server and therefore could not establish a secure connection to it. To learn more about this situation and how to fix it, please visit the web page mentioned above.

     

    If I run the command on the Appliance with --insecure then it works.

     

    Any idea how I can get this call running with the vRO workflow? Is there an option to disable certificate validaion for only one host?

     

    Thanks.

    Andi


    0 0
  • 11/15/18--11:31: Upgrade vra 7.5 fail
  • HI, I´m updating my environment from 7.3 to 7.5, and the same fail in the post-scripts with the error:

     

    "Update failed (code 0-2)"

     

    Checking some log I found this:

     

    NOTICE:  Found extension citext and it exists in pg_catalog

    There are errors while upgrading the webapps database. Check /var/log/vcac/vcac-config.log for more information.

    + res=2

    + echo 'Script /etc/bootstrap/postupdate.d/20-vcac failed, error status 2'

    + exit 2

     

    and this:

     

    Upgrade:

    Command execution failed with unexpected error: liquibase.exception.MigrationFailedException: Migration failed for change set liquibase/catalog-service-BUG2067627.xml::1::BUG2067627:

         Reason: liquibase.exception.DatabaseException:

         Error executing SQL ALTER TABLE public.cat_tenant ALTER COLUMN id TYPE CITEXT: ERROR: could not create unique index "cat_tenant_pkey"

        Detail: Key (id)=(LabAca) is duplicated..

     

    Check de DB:

     

          id       |        lastsync                    |     name

    ---------------+-----------------------------+------------

    LabAca  | 2017-05-29 05:54:24.057 | LabAca

    labaca    | 2018-11-15 10:24:39.504 | LabAca

    test         | 2017-04-28 17:09:25.642 | test

     

    Finally i found it, the error is clear (duplicated id in postgress DB table), but I can´t delete the first register because foreign restrictions.

     

    Any idea of how I can fix this?

     

    Regards for any ideas.


    0 0

    Has anyone gotten this action to work correctly?  Or done it a different way?  The example action executeExternalPowershellScriptOnHostByName in com.vmware.vra.powershell looks like exactly what I need.  The problem is that the return type on that action is properties.  That is not an available Entity type in vRA when I create the dropdown. 

     

    When I duplicated this action and switch the return type to either string or array/String, it doesn't work at all.

     

    Also, if anyone has gotten dropdowns to work from a powershell script result, I can do in a different direction.

     

    Thanks


    0 0

    vRealize 7.4 Automation Installation Wizard fails with message:

     

    Time offset for <IAAS HOSTNAME> is missing. Please wait for it to be populated.

     

    IaaS host is Windows 2016.


    0 0

    We have a use case in which we need to provision NSX-V Logical Switches but we do not need or want to have NSX-V ESR or DLR, Logical Switch would be connected to 3rd party firewall instead.

     

    I have been trying to figure out how to create On-Demand Logical Switches with no luck. I have a XaaS blueprint and custom resource for creating a Logical Switch but VRA design canvas does not treat it as network resource so I cannot map any VMs to it.

     

    Would it be possible to define XaaS blueprint type to match those elements already in Network & Security or would there be some other approach to this?

     

    We are using VRA 7.5, NSX-V 6.4 and vSphere 6.7 U1.


    0 0

    Dears,

     

    I can't add vCenter Endpoint to a new tenant, I got the following error in the log

     

    TestConnection WorkItemResponse: [<?xml version="1.0" encoding="utf-16"?><workItemResponse id="4d498a0a-1015-4d8c-a144-7f5a25de37eb"><task type="testconnection"><result succeeded="false"><message>Test connection failed: Certificate is not trusted (RemoteCertificateChainErrors). Subject: E=support@vmware.com, CN=VMware default certificate, OU=vCenterServer_2017.03.05_174009, O="VMware, Inc." Thumbprint: 29728AB8097F80E5AAB5BB82E62586009B01FA9F</message></result><parameter name="TestConnection.Endpoint.Request.ResultCode">INVALID_CERTIFICATE</parameter><parameter name="trace_id" /></task></workItemResponse>]

     

    vRA version: 7.5


    0 0
  • 11/18/18--07:23: snapshots from VRO in VRA
  • HI, I've created an action in vra that runs in VRO and takes a snapshot of vm and expires it based on the user input for the "number of days". end user can not see these snapshots in the vra->machines ->snapshots.

    so any restore/revert  should be done using vcenter.

    how can I add snapshots to vcac vmentity ?


    0 0
  • 11/19/18--12:33: vRO Mount CD-ROM workflow
  • Can anyone tell me what filePath the "Mount CD-ROM" workflow is looking for? Primarily the "Datastore ISO File" listing but all three would be helpful.

     

    The example the workflow gives is "ISO file path in datastore file format, for example [MY DATASTORE] data/image iso" but I tried everthing could and no luck.


    0 0

    vRA 7.2 with vSphere 6 Environment.

     

    When 15 and above linux/windows vms deployed with the single blueprint catalog, the deployment is getting failed at some point with the error "Request failed: "testvm01" not found, and possibly deleted before provisioning finished". Also, we are seeing the following error in vRA Infrastructure-> Monitoring-> logs section from manager service.

    Please note that this type of error occurs mostly into Linux (CentOS7) vms and also after creating few of same type of linux vms successfully with software component installed. The software component is actually just single line of curl command to install puppet agent. Another note that the Extensibility LifeCycle Message timeout value is 45mins.

     

     

    testvm01: InstallSoftwareWorkflow Exception: Machine testvm01: InstallSoftwareWorkflow. Install software work item timeout.

    System.ApplicationException: Machine testvm01: InstallSoftwareWorkflow. Install software work item timeout.

    at DynamicOps.External.SoftwareWorkflows.InstallSoftwareWorkflow.Error_SendWorkitem(Object sender, EventArgs e)

    at System.Workflow.ComponentModel.Activity.RaiseEvent(DependencyProperty dependencyEvent, Object sender, EventArgs e)

    at System.Workflow.Activities.CodeActivity.Execute(ActivityExecutionContext executionContext)

    at System.Workflow.ComponentModel.ActivityExecutorOperation.Run(IWorkflowCoreRuntime workflowCoreRuntime)

    at System.Workflow.Runtime.Scheduler.Run()

     

    Have checked the logs in the following places of failed (about to) vm's, but didn't get any clue except the below http transport error which was happening even for the successful VMs deployment. So, any further help/troubleshooting steps is appreciated.

     

    Linux Guest Agent Connection Log

    /usr/share/gugent/axis2/logs/gugent-axis.log

    Linux Guest Agent Log

    /usr/share/gugent/GuestAgent.log

    Linux Application Services Agent logs

    /opt/vmware-appdirector/agent/logs/agent_bootstrap.log

    Linux Software Agent Logs

    /opt/vmware-appdirector/agent/logs/darwin-agent<date>.log

     

     

    [Fri Nov 16 11:50:36 2018] [...TRACE...] http_transport_sender.c(194) Entry:axis2_http_transport_sender_invoke

    [Fri Nov 16 11:50:36 2018] [debug] http_transport_sender.c(246) ctx_epr:https://managerendpoint.domain.com:443/VMPS2

    [Fri Nov 16 11:50:36 2018] [debug] http_transport_sender.c(805) using axis2 native http sender.

    [Fri Nov 16 11:50:36 2018] [...TRACE...] http_sender.c(252) Entry:axis2_http_sender_send

    [Fri Nov 16 11:50:36 2018] [debug] http_sender.c(416) msg_ctx_id:urn:uuid:e2b9cee2-e9d8-1e81-3906-000000000000

    [Fri Nov 16 11:50:36 2018] [error] http_client.c(238) Error creating a socket. Most probably error returned by OS

    [Fri Nov 16 11:50:36 2018] [error] http_client.c(239) Socket Creation failed.

    [Fri Nov 16 11:50:36 2018] [error] http_client.c(544) client data stream  null or socket error for host managerendpoint.domain.com and 443 port

    [Fri Nov 16 11:50:36 2018] [error] http_client.c(548) A read attempt(HTTP) for the reply without sending the request

    [Fri Nov 16 11:50:36 2018] [error] http_sender.c(1381) status_code < 0

    [Fri Nov 16 11:50:36 2018] [...TRACE...] http_transport_sender.c(596) Exit:axis2_http_transport_sender_invoke

    [Fri Nov 16 11:50:36 2018] [error] engine.c(179) Transport sender invoke failed


    0 0
  • 11/19/18--09:04: Compatibility Issue
  • Hello Expert,

     

    I have deployed  Vra 7.3.1 with IaaS SQL 2016 sp1  and created the database through the vRealize Automation installer.

     

    SQL server 2016 by default come with  130 compatibility mode. I did not change any things inside database  and did create database through  vRealize Automation installer.

    I found one KB article which is showing compatibility issue.

     

    https://kb.vmware.com/s/article/2150544.

     

    is there any issue if i will go with same setup .


    0 0

    I have created several workflows in vRO that I would like to present as custom resource actions for IaaS items in vRA. They seem to work well and this is acceptable for administration by my team members. However, all customers will be using ServiceNow to make requests for modifications or actions on an IaaS machine. I see when viewing the CI for an item that several default actions are presented(See image below), but I would like to know if it is possible to present additional actions and in particular the custom actions that have been created? Thanks in advance

     


    0 0

    Good morning!

    I'm looking for a way to import custom resources and resource actions either via vRO or the REST api. I'm in the process of adding functionality to a workflow that creates a new tenant and configures users, groups, blueprints, permissions, etc. But I haven't been able to find how to import either custom resources or resource actions. The closest I got is a 'Import Package' call, but it does not specify the tenant and I'm not sure I can use that. 

    I know I can import the package with cloudclient (and it works for importing / exporting any content) but i'm not sure how to 'embed' that in the vRO workflow (maybe running a script in guest and calling cloudclient with the arguments, but that would imply I have this content in a Windows VM and I need to run it from there. I would prefer to have those resources on vRO)

    Thanks in advance!


    0 0
  • 11/20/18--01:21: Sample question
  • Author : IX_JMcD

    URL : http:////docs.vmware.com/en/vRealize-Automation/7.1/com.vmware.vrealize.automation.doc/GUID-1DABB798-D8BA-4E6E-89C2-BDB3E96A3118.html

    Topic Name : External Preparations for Provisioning

    Publication Name : vRealize Automation 7.1 Information

    Product/Version : vRealize Automation/7.1

    Question :

    sample question


    0 0
  • 11/20/18--12:50: TEST - please disregard
  • Author : IX_JMcD

    URL : http:////docs.vmware.com/en/vRealize-Automation/7.1/com.vmware.vrealize.automation.doc/GUID-1DABB798-D8BA-4E6E-89C2-BDB3E96A3118.html

    Topic Name : External Preparations for Provisioning

    Publication Name : vRealize Automation 7.1 Information

    Product/Version : vRealize Automation/7.1

    Question :

    This is only a test.  Please disregard.


    0 0

    From the doc "docs.vmware.com...52590ADCCF.html", I could find machine and software components examples with respect to binding properties, but I didn't get necessary information on XaaS blueprint binding.
    I need to create a composite blueprint with two XaaS blueprints, one with an output and another one with an input. But, I couldn't find a way to associate the output of one with the input of the other.
    How to achieve this?

    0 0

    Might be a little ambitious, but does anyone know if there is way in vRA 7 / vRO to trap and update the IaaS Catalog Item request object after it is submitted by the user in the GUI, but before it's submitted to the system?

     

    This post shows how the request object can be modified in vRO when the IaaS request is made via code (i.e. run code to make, modify, and submit the request) rather than request it through the vRA IaaS GUI:

    http://www.virtualvcp.com/vmware-vrealize-automation-vcac/220-vro-vra7-catalog-item-provisioning-requests-json-and-referencing-properties#kmt-79

     

    But I'm trying to determine if there's a way to do something similar by getting a handle to the request object via an Event Subscription trigger, after the IaaS form has been submitted to the user, but before it's submitted to the system.

    This will enable properties such as the _deploymentName (parent level), or __reservationpolicyID and others that cannot normally be modified after the Catalog Item request has been submitted, to be dynamically updated in vRO code.

     

    I've tried various code run at different state phases (e.g. MachineRequested - PRE, POST, and EVENT) but any changes made to properties seem to be ignored in terms of the resulting values of the Deployment/machines.

    e.g. this does not log an error at any of those phases listed above, but has no effect on the deployed configurations values:

    requestIdBase = virtualMachineProperties.get("__Cafe.Root.Request.Id");

    var myCatalogItemRequest = vCACCAFEEntitiesFinder.getCatalogItemRequest(vraHost,requestIdBase);

    System.log("Catalog Item Request object: " + myCatalogItemRequest);

    myCatalogItemRequest.setDescription("TESTDESC");

     

    I don't want to revert to using an XaaS blueprint/Catalog Item and doing something similar to the author above, because of the extra functionality and richness the IaaS request form provides at this stage.

     

    Appreciate any thoughts/ideas ....

     

    Many thanks

    Justin


older | 1 | .... | 409 | 410 | (Page 411) | 412 | 413 | .... | 418 | newer