Hi Guys
How to do approval user to change lease time in VRA8?
Thanks
Ethan
Hi Guys
How to do approval user to change lease time in VRA8?
Thanks
Ethan
Hi Guys
What to do configure lease time selection on Blueprint's Input or custom form in VRA8?
I just can find the function lease policy in VRA8 and there is not for my demand.
Thanks
Ethan
Hi,
Is there any possibility to reset vRA's tenant admin password within vIDM? The admin account exists within System Directory so it is not AD account.
I know that there is an "Reset Password" button in the vIDM Admin Console but it tries to send reset password email and I have no email servers yet.
I will appreciate any help how to reset/recover forgotten password.
Thanks,
Michal
vRA 7.6 will get few security updates to address vulnerabilities in various components discovered since the product GAed about an year ago
This KB will track it https://kb.vmware.com/s/article/80044 , and the August update is now available to download on my-vmware
highly recommended update and very easy to install. Requires VA restart!
Hi all,
We've added a Ansible Tower integration to vRA8 and so far so good. But a action to add the vm to the inventory is triggered before the vm is finished.. Should this succeed before the vm is ready, or does this have to wait??
If it has to wait, how can I change this?
I'm getting this error:
Ansible create workflow failed with error. Unable to add host to the inventory with Id: 5.
I have a Windows 2016 image with a Customization Specification containing this:
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -Command "&{Enable-PSRemoting -Force; winrm quickconfig -force;}"
Hello,
Is it easy for you to tell me how to add the business user who has requested a catalog item (Windows VM) to the local administrators group after the deployment? as the automation wont be so useful If we manually need to add him/her to a specific local group.
Thanks,
Hi ALL ,
I got a question as title ,
My envirnoment use vRealize Easy Installer and register for trial license
vRealize Lifecycle Manager 8.1
vRealize Automation 8.1
VMware Identity Manager 3.2
After Deploy
First Step login vrLCM setup LDAP auth,
Second IDM register automation and assign role
Although I login Automation portal always show 403 forbidden
How do I fix access right for this ?
Regards .
cloud
I need to add up to 4 disks of different sizes. I tried setting the count to ${input.optionalDisk1Size == 0? 0 : 1} but that stops me from adding any other disks to the blueprint. I can't seem to figure out how to add UP to 4 disks where the sizes vary. It seems that I need 4 separate disks on the blueprint that may or may not be provisioned.
Any suggestions gratefully accepted.
Carl L.
I use a NSX Load Balancer to connect to my clustered vRA installation. I have set the timout on the LB to 120 minutes, but get logged of after 30 or so. This is very frustrating, if you have multiple tabs open and have to log every time the session disconnects.
Does anyone know a way on how to effectlively extend the session timput for the vRA web client?
Hi
I'm trying to provision a VM on a cluster with 3 hosts . from vSphere perespective there is nothing wrong with ESXes.
The blueprint worked on the past but now th eprovissioning pocess cannot allocate machine. The error is "Host was applicable for selection, but another one was selected". Nothing else was sleced, the process failed ...
Thanks for any suggestions
Radek
Hello folks,
I am trying to specify logic about the assignment of the IP to be dynamic or static based on the tag that is applied on the Network object. So far i created two tags called:
These tags have been applied to Network objects based on how i am handling the IP assignment. Some of them are being handled by a DHCP in NSX and some of them using the internal vRA IPAM. What i would like to do is add a condition on the assignment property for the vSphere Machine to be static if the network has the tag assignment:static or dynamic if the network has the tag assignment:dynamic.
For doing that i am experimenting a little bit and i am using the next validation:
Everytime i deploy a new VM it picks "dynamic" and i am 100% sure that is because i am using the wrong logic. Is it possible to use that logic based on the tags of another resource inside the Blueprint?
In the process of attempting to build a simple workflow to allow the editing of rows in an attached MS SQL DB.
I'm aware I can manually create a new Properties object and map in the columns with ".getProperty" calls, but I wondered if anyone had a better way to convert
SQL:ActiveRecord objects to a format compatiable with the DataGrid control?
During initial provisioning, I add a custom property with a value to the deployment. The property is defined in the Property Dictionary and assigned to a machine blueprint.
When the deplyoemnt is progressing, I need to change the value of this property. I have tried 2 approaches:
1. Using REST:
PUT query: /catalog-service/api/consumer/deployments/{deployment_id}, with body {"customProp":"value"}
2. Using the Orchestrator REST client:
restClient = vraHost.createRestClient("com.vmware.csp.core.cafe.catalog.api");
var props = new Properties();
props.put("customProp","value");
var response = restClient.put("/consumer/deployments/{deployment_id}", props);
I get a success response using both methods, but the change is not made in vRA, there is stil lthe old value of the property.
Also, what I have discovered afterwards is, that even when I dump the whole Deployment configuration using the API, the custom property is nowhere to be found.
Can someone please give me any tips on this?
Need help to configure VROPS to get alerts when a Provisioning requests fails in the VRA8.1. Thanks in advance.
Hi Everyone:
vra 8.1, i design blueprint, i create someone resource pool in vsphere. how to appoint cloud vsphere machine use which resource pool?
for example, i create a test resource pool in vsphere, and in the blueprint code, i want vsphere machine use the test resource pool, and how to write it in code?
thanks
I have a problem with the below blueprint in relation to cloud-init, yum_repos and packages. The blueprint gets a static IP address from an existing network and that works fine after the deployment is complete, however, during the cloud-init stages, the network is unavailable to install the packages that are available via the yum_repos section. In looking at the logs, I have reconfigured /etc/cloud/cloud.cfg to run the yum_repos and packages modules to run during the same stage as bootcmd, as the network appears to be available here via a bootcmd that runs ip addr > /tmp/bootcmd_ip.txt. I get the same error with the modules in their default configuration or in my changed configuration, and as you can see in the log, the network device is not 'Up' as indicated after the reboot.
Has anyone run in to this and have any ideas on where I should go?
cloud-init output:
Cloud-init v. 18.5 running 'init-local' at Fri, 12 Jun 2020 12:52:15 +0000. Up 12.72 seconds.
Cloud-init v. 18.5 running 'init' at Fri, 12 Jun 2020 12:52:17 +0000. Up 14.12 seconds.
ci-info: ++++++++++++++++++++++++++++++++Net device info+++++++++++++++++++++++++++++++++
ci-info: +--------+-------+--------------+-----------------+--------+-------------------+
ci-info: | Device | Up | Address | Mask | Scope | Hw-Address |
ci-info: +--------+-------+--------------+-----------------+--------+-------------------+
ci-info: | ens192 | False | 10.73.112.44 | 255.255.255.128 | global | 00:50:56:8e:64:e1 |
ci-info: | lo | True | 127.0.0.1 | 255.0.0.0 | host | . |
ci-info: +--------+-------+--------------+-----------------+--------+-------------------+
ci-info: ++++++++++++++++++++++++++++++Route IPv4 info++++++++++++++++++++++++++++++
ci-info: +-------+-------------+-------------+-----------------+-----------+-------+
ci-info: | Route | Destination | Gateway | Genmask | Interface | Flags |
ci-info: +-------+-------------+-------------+-----------------+-----------+-------+
ci-info: | 0 | 0.0.0.0 | 10.73.112.1 | 0.0.0.0 | ens192 | UG |
ci-info: | 1 | 10.73.112.0 | 0.0.0.0 | 255.255.255.128 | ens192 | U |
ci-info: +-------+-------------+-------------+-----------------+-----------+-------+
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-
: manager
[Errno 113] No route to host
http://internal.satellite.server/pulp/repos/ORG/Library/custom/EPEL/epel_7_x86_64/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to internal.satellite.server:80; No route to host"
Trying other mirror.
Cloud-init v. 18.5 running 'init-local' at Fri, 12 Jun 2020 12:52:42 +0000. Up 9.22 seconds.
Cloud-init v. 18.5 running 'init' at Fri, 12 Jun 2020 12:52:43 +0000. Up 10.75 seconds.
ci-info: ++++++++++++++++++++++++++++++++Net device info++++++++++++++++++++++++++++++++
ci-info: +--------+------+--------------+-----------------+--------+-------------------+
ci-info: | Device | Up | Address | Mask | Scope | Hw-Address |
ci-info: +--------+------+--------------+-----------------+--------+-------------------+
ci-info: | ens192 | True | 10.73.112.44 | 255.255.255.128 | global | 00:50:56:8e:64:e1 |
ci-info: | lo | True | 127.0.0.1 | 255.0.0.0 | host | . |
ci-info: +--------+------+--------------+-----------------+--------+-------------------+
ci-info: ++++++++++++++++++++++++++++++Route IPv4 info++++++++++++++++++++++++++++++
ci-info: +-------+-------------+-------------+-----------------+-----------+-------+
ci-info: | Route | Destination | Gateway | Genmask | Interface | Flags |
ci-info: +-------+-------------+-------------+-----------------+-----------+-------+
ci-info: | 0 | 0.0.0.0 | 10.73.112.1 | 0.0.0.0 | ens192 | UG |
ci-info: | 1 | 10.73.112.0 | 0.0.0.0 | 255.255.255.128 | ens192 | U |
ci-info: +-------+-------------+-------------+-----------------+-----------+-------+
Cloud-init v. 18.5 running 'modules:config' at Fri, 12 Jun 2020 12:52:44 +0000. Up 11.78 seconds.
Cloud-init v. 18.5 running 'modules:final' at Fri, 12 Jun 2020 12:52:45 +0000. Up 12.29 seconds.
ci-info: no authorized ssh keys fingerprints found for user cloud-user.
Cloud-init v. 18.5 finished at Fri, 12 Jun 2020 12:52:45 +0000. Datasource DataSourceOVF [seed=iso]. Up 12.40 seconds
/etc/cloud/cloud.cfg:
users:
- default
disable_root: 1
ssh_pwauth: 0
mount_default_fields: [~, ~, 'auto', 'defaults,nofail,x-systemd.requires=cloud-init.service', '0', '2']
resize_rootfs_tmp: /dev
ssh_deletekeys: 0
ssh_genkeytypes: ~
syslog_fix_perms: ~
disable_vmware_customization: true
cloud_init_modules:
- disk_setup
- migrator
- bootcmd
- yum-add-repo
- package-update-upgrade-install
- write-files
- growpart
- resizefs
- set_hostname
- update_hostname
- update_etc_hosts
- rsyslog
- users-groups
- ssh
cloud_config_modules:
- mounts
- locale
- set-passwords
- rh_subscription
# - yum-add-repo
# - package-update-upgrade-install
- timezone
- puppet
- chef
- salt-minion
- mcollective
- disable-ec2-metadata
- runcmd
cloud_final_modules:
- rightscale_userdata
- scripts-per-once
- scripts-per-boot
- scripts-per-instance
- scripts-user
- ssh-authkey-fingerprints
- keys-to-console
- phone-home
- final-message
- power-state-change
system_info:
default_user:
name: cloud-user
lock_passwd: true
gecos: Cloud User
groups: [wheel, adm, systemd-journal]
sudo: ["ALL=(ALL) NOPASSWD:ALL"]
shell: /bin/bash
distro: rhel
paths:
cloud_dir: /var/lib/cloud
templates_dir: /etc/cloud/templates
ssh_svcname: sshd
# vim:syntax=yaml
network: { config: "disabled" }
output: { all: "| tee -a /var/log/cloud-init-output.log" }
disable_ec2_metadata: True
Blueprint:
formatVersion: 1
inputs:
os:
type: string
title: Operating System
description: Choose an operating system
format: ''
default: rhel7
oneOf:
- title: RHEL 7
const: rhel7
- title: RHEL 8
const: rhel8
size:
type: string
description: Choose the size for the new VM
title: VM Size
oneOf:
- title: 'Small Memory (1cpu, 4GB)'
const: smallmem
- title: 'Small CPU (2cpu, 2GB)'
const: smallcpu
- title: 'Medium Memory (2cpu, 8GB)'
const: mediummem
- title: 'Medium CPU (4cpu, 4GB)'
const: mediumcpu
- title: 'Large Memory (4cpu, 16GB)'
const: largemem
- title: 'Large CPU (8cpu, 8GB)'
const: largecpu
- title: 'XL Memory (8cpu, 32GB)'
const: xlmem
- title: 'XL CPU (16cpu, 16GB)'
const: xlcpu
- title: 'XXL Memory (16cpu, 64GB)'
const: xxlmem
- title: 'XXL CPU (32cpu, 32GB)'
const: xxlcpu
default: smallmem
workload:
type: string
description: 'Workload function, example - tomcat'
title: Node Workload
default: tomcat
pattern: '^[a-z0-9]+$'
environment:
type: string
description: Choose the environment for this deployment
title: Environment
oneOf:
- title: Sandbox
const: sbx
- title: UAT
const: uat
- title: Production
const: prd
default: sbx
disks:
type: array
title: Data Disks
description: Data disk mount points and sizes.
default:
- size: 10
mountpoint: /app
minItems: 0
maxItems: 2
items:
type: object
properties:
mountpoint:
type: string
title: Mountpoint
size:
type: integer
title: Size (GB)
maximum: 1024
min: 5
custom-files:
type: array
title: Custom files
description: Custom files to write via cloud-init
items:
type: object
properties:
path:
type: string
title: Full file path
content:
type: string
title: File contents
encoding:
type: string
title: File encoding
oneOf:
- title: Base64 Encoding
const: b64
default: b64
owner:
type: string
title: User/Group Owner
oneOf:
- title: 'root:root'
const: root
default: 'root:root'
permissions:
type: string
title: File permissions
oneOf:
- title: Read Write (0644)
const: '0644'
- title: Read Only (0600)
const: '0600'
- title: Executable (0755)
const: '0755'
default: '0600'
publickey:
type: string
description: SSH public key to add to the machine
title: SSH Public Key
resources:
network:
type: Cloud.NSX.Network
properties:
networkType: existing
machine:
type: Cloud.vSphere.Machine
properties:
name: 'ls${input.workload}'
image: '${input.os}'
flavor: '${input.size}'
networks:
- network: '${resource.network.id}'
assignment: static
DNSZone: internal.dns
Infoblox.IPAM.Network.dnsSuffix: '${env.projectName}.${input.environment}.${self.DNSZone}'
attachedDisks: '${map_to_object(resource.disk1[*].id, "source")}'
cloudConfig: |
#cloud-config
preserve_hostname: false
hostname: ${self.resourceName}
fqdn: ${self.resourceName}.${env.projectName}.${input.environment}.sdc.icp
users:
- default
- name: icpautomate
gecos: Internal Cloud Platform automation account
ssh-authorized-keys:
- ${input.publickey}
sudo: ALL=(ALL) NOPASSWD:ALL
shell: /bin/bash
yum_repos:
epel-7:
name: EPEL-7
baseurl: 'http://lsmgtspsat.tsysmgmt.net/pulp/repos/TSYS/Library/custom/EPEL/epel_7_x86_64/'
gpgcheck: false
sslverify: false
enabled: true
packages:
- ansible
- git
bootcmd:
- mkdir -p ${input.disks[0].mountpoint}
- mkdir -p ${input.disks[1].mountpoint}
- ip addr > /tmp/bootip.txt
disk_setup:
/dev/sdb:
table_type: mbr
layout: true
overwrite: true
/dev/sdc:
table_type: mbr
layout: true
overwrite: true
fs_setup:
- label: ${to_upper(replace(input.disks[0].mountpoint,"/",""))}
filesystem: xfs
device: /dev/sdb1
- label: ${to_upper(replace(input.disks[1].mountpoint,"/",""))}
filesystem: xfs
device: /dev/sdc1
mounts:
- [ /dev/sdb1, ${input.disks[0].mountpoint} ]
- [ /dev/sdc1, ${input.disks[1].mountpoint} ]
write_files:
${input.custom-files}
disk1:
type: Cloud.vSphere.Disk
properties:
capacityGb: '${input.disks[0].size}'
name: '${to_upper(replace(input.disks[0].mountpoint,"/",""))}'
count: '${length(input.disks) >= 1 ? 1 : 0}'
Hi,
Does anyone know if it's possible to access the value stored in a custom form control that doesn't have a linked variable?
You can see that we have a "Field ID" identifier, but I'm not sure how to go about exposing this in the workflow, or if that's even possible.
Good morning
I am trying to POC vrealize automation and integration with SCCM
Things seem to time out while the server is being added to our SCCM collection. the server gets added to the SCCM collection but before that compltes the machine request fails so it removes itself from vcenter
is there a way to override the wait so it waits a little longer before assuming failed?
Thanks
I am checking the possibility of deploying ubuntu 20.04.01 using vRA 7.6 with cloud-init customization and I am facing with some IP configuration issues. Is it possible to deploy this latest ubuntu version from vRA7.6 and with vCenter & ESXi host 6.7? Since I could see articles only about deploying from vRA8.0.