How can I use password input with mask.
or how can I pass input securely to ABX
Thanks,
How can I use password input with mask.
or how can I pass input securely to ABX
Thanks,
I am having an issue with adding multiple disks do a vm in a blueprint. What I want to achieve is, that a user can add mutliple disks of various sizes, when requesting a new vsphere vm. I am almost there, however all of the disks added have the same size. I suspect the issue lies in the iteration of the disk configuration, whis is input as an array. Here are the relevant code snippets.
Disk configuration as input:
formatVersion: 1 inputs: disks: type: array title: Add disk description: Add new disks minItems: 0 maxItems: 12 items: type: object properties: size: type: integer title: Size in GB maxSize: 2048 minSize: 1
Disk resource:
Cloud_vSphere_Disk_1: type: Cloud.vSphere.Disk properties: count: '${length(input.disks)}' capacityGb: '${input.disks[count.index].size}'
VM resource:
Cloud_vSphere_Machine_1: type: Cloud.vSphere.Machine properties: attachedDisks: '${map_to_object(resource.Cloud_vSphere_Disk_1[*].id, "source")}'
When a vm is deployed, the user can add an array of disks sizes. The number of disks added to the vm is correct as a result, but the size of all of them is equal to the size of the first disk added, example: user adds 3 disks in sizes 1GB, 2GB, 3GB. The resulting vm has the boot disk and 3 additional disks, all of size 1GB.
The blueprint documentation sadly only provides information about creating a new array, not iterating over value of an existing one. In most examples only the first element of an array is loaded.
I assume the issue is in Cloud_vSphere_Disk_1, where the size is improperly read from the array by index.count.
Could anyone give me a tip on how to resolve the issue?
edit: a word
edit2: added count.index to title
Maybe I am doing something wrong here, but maybe someone can clarify.
I have to use a csutom form for one of my blueprints, since otherwise not input validation is possible.
The custom form has a few fields:
1. User Input - a string. Checked by a regex, should return an error when string does not match.
2. Returns a computed value based on 1.; here a simple suffix is added to the string from 1.; Option used is Value > Computed value > Concatenate
3. A vRO validation of the value computed in 2. takes place, returning a string, if it is not successful. Done via a vRO action.
All fields above also have a "custom help" text assigned.
When loading the catalog element, there seems to be a computation and validation done once right after laoding the form, using default values (also when they are = null), but no matter how many times I change the input value of 1. , the other values in the form are not refreshed. It seems like all selected options are loaded once and cannot be changed afterwards.
Moreover, when selecting the "?" sysmbol to display a help text, only a small empty box is displayed. The same goes for "!", when regex does not match.
Edit: Also, pressing "Submit" just greys out the button, nothing else happens. I'm on Chrome 84.0, should that matter.
Does anyone experience this behaviour too?
Hi,
I'm using vRA 8.1. I would like to set datastore limits on cluster specific. I have the following configuration;
Cloud Zone
Cluster-1
Datastore-A -> I would like to set Storage Limit xGB
Datastore-B -> I would like to set Storage Limit xGB
Cluster-2
Datastore-C -> I would like to set Storage Limit xGB
Datastore-D -> I would like to set Storage Limit xGB
I have one Cloud Zone and I have two cluster inside. I could not set datastore limits according the cluster specific on cloud zone like vRA 7.5 Reservations. When I add Cloud Zone in the Project I see the following option, but there is no any datastore selection. I think if I set storage limit in this page, this limitation will be applied for all datastores.
How can I do this like vRA 7.5 reservations for my use case.
Hey folks,
I am facing an issue where i cannot specify to which network connect the newly deployed VM. I tried the next:
I tried multiple combination of those tags on the Network object and also on the Machine object but always it is selecting one default network. I already checked that the network does not have the "Default Zone Network" check.
Any clues?
We are currently experiencing an issue with our vra 8.1 appliance. We had a network issue over the weekend that caused the vsan node that our appliance was running on to lose connectivity which seems to have caused a file system corruption on the appliance. We were able to run fsck on the appliance and get the appliance back on the network by following this kb article https://kb.vmware.com/s/article/2149838.
However, we are still unable to get the web service interface to respond when we try to access it using a web browser. Unfortunately, we are also having difficulty finding any documentation/kb articles etc. that might be helpful in our efforts to restore our services. (and no we don’t have a backup of the appliance because it is a poc environment..) ☹
I'm not sure exactly what I should be looking for/at.
I am getting these results from various kube commands.
root@vraa [ ~ ]# kubectl -n prelude get pods
The connection to the server localhost:8080 was refused - did you specify the right host or port?
root@vraa [ ~ ]#
root@vraa [ ~ ]# ps -ef |grep kube
root 9608 1 2 13:46 ? 00:01:53 /usr/bin/kubelet --bootstrap-kubeconfig=/etc/kubernetes/bootstrap-kubelet.conf --kubeconfig=/etc/kubernetes/kubel et.conf --config=/var/lib/kubelet/config.yaml --allowed-unsafe-sysctls=net.* --cgroup-driver=cgroupfs --network-plugin=cni --pod-infra-container-image=vmware/pau se:3.1 --resolv-conf=/run/systemd/resolve/resolv.conf --tls-cipher-suites=TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE _ECDSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305,TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305 --allowed-unsafe -sysctls=net.ipv4.tcp_keepalive_time,net.ipv4.tcp_keepalive_intvl,net.ipv4.tcp_keepalive_probes
root 10007 9956 0 13:46 ? 00:00:03 kube-controller-manager --allocate-node-cidrs=true --authentication-kubeconfig=/etc/kubernetes/controller-manager .conf --authorization-kubeconfig=/etc/kubernetes/controller-manager.conf --bind-address=127.0.0.1 --client-ca-file=/etc/kubernetes/pki/ca.crt --cluster-cidr=10.2 44.0.0/22 --cluster-signing-cert-file=/etc/kubernetes/pki/ca.crt --cluster-signing-key-file=/etc/kubernetes/pki/ca.key --controllers=*,bootstrapsigner,tokenclean er --kubeconfig=/etc/kubernetes/controller-manager.conf --leader-elect=true --node-cidr-mask-size=24 --node-monitor-grace-period=20s --node-monitor-period=5s --p od-eviction-timeout=30s --requestheader-client-ca-file=/etc/kubernetes/pki/front-proxy-ca.crt --root-ca-file=/etc/kubernetes/pki/ca.crt --service-account-private -key-file=/etc/kubernetes/pki/sa.key --terminated-pod-gc-threshold=5 --tls-cipher-suites=TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_RSA_WITH_AES_256_GCM_S HA384,TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305,TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305 - -use-service-account-credentials=true
root 10015 9957 0 13:46 ? 00:00:42 kube-scheduler --bind-address=127.0.0.1 --kubeconfig=/etc/kubernetes/scheduler.conf --leader-elect=true
root 28893 28682 0 15:14 pts/0 00:00:00 grep --color=auto kube
root@vraa [ ~ ]# docker ps | grep kube-apiserver
54624cbca2e3 vmware/pause:3.1 "/pause" 2 hours ago Up 2 hours k8s_POD_kube-apiserver-vraa.mathwork s.com_kube-system_28839991b8fc3b74a6425edef23a542e_0
root@vraa [ ~ ]# docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
4029351efb47 b102b1c1814a "etcd --advertise-cl…" 4 minutes ago Exited (1) 4 minutes ago k8s_etcd_etcd-vraa.mathworks.com_kube-system_20595ace0b8d3581907f0866be350161_23
6913147d1efc 30e0ba87cac4 "kube-apiserver --ad…" 4 minutes ago Exited (1) 4 minutes ago k8s_kube-apiserver_kube-apiserver-vraa.mathworks.com_kube-system_28839991b8fc3b74a6425edef23a542e_23
d97bb9f54541 dfd6cf8c8a40 "kube-controller-man…" 2 hours ago Up 2 hours k8s_kube-controller-manager_kube-controller-manager-vraa.mathworks.com_kube-system_f1fcf01628f38c636bd150fddffff503_0
eb64fdbde524 1c8152ca81c7 "kube-scheduler --bi…" 2 hours ago Up 2 hours k8s_kube-scheduler_kube-scheduler-vraa.mathworks.com_kube-system_7c41b41a1094ea7470703cdc2c891adc_0
df4607cd2814 vmware/pause:3.1 "/pause" 2 hours ago Up 2 hours k8s_POD_kube-scheduler-vraa.mathworks.com_kube-system_7c41b41a1094ea7470703cdc2c891adc_0
b29c38f2663f vmware/pause:3.1 "/pause" 2 hours ago Up 2 hours k8s_POD_kube-controller-manager-vraa.mathworks.com_kube-system_f1fcf01628f38c636bd150fddffff503_0
54624cbca2e3 vmware/pause:3.1 "/pause" 2 hours ago Up 2 hours k8s_POD_kube-apiserver-vraa.mathworks.com_kube-system_28839991b8fc3b74a6425edef23a542e_0
f77f7f82cef5 vmware/pause:3.1 "/pause" 2 hours ago Up 2 hours k8s_POD_etcd-vraa.mathworks.com_kube-system_20595ace0b8d3581907f0866be350161_0
root@vraa [ ~ ]#
Any thoughts and advice would be much appreciated.
Thanks
Dan
We want to avoid the "t-shirt style" configuration for host cpu/memory.
I am attempting to prompt users in the catalog before provisioning for cpuCount and totalMemoryMB values and then set those in the customProperties so that they are used when the host is built. I've attempted to apply these changes pre-compute allocation but it doesn't seem to work. After the host is provisioned the memory is set to default (1/2048) instead of what was set. Logs show the value is set in customProperties (output) but when host is built the customProperties shows 1/2048 value.
Can someone recommend a different direction to approach this that will work?
Hello,
We try to "customize blueprint request" from API, with vRA 8.1 patch 2.
We see this on API documentation :
We can push the customization in "INPUTS" attribute..... But these "INPUTS" must be link in Properties object of Blueprint like below :
Question is simple ..... It's is possible to request a blueprint from API with a PROPERTIES object to bypass all link between "INPUTS" & "PROPERTIES" ?
Hello
We upgraded vra 7.5 to 7.6 after that we start the installation for hotfix patch 10 and it is failing after many retries.
Getting error-
Error Message : {"1":[{"resultDescr":"System.Net.WebException: Unable to connect to the remote server ---\u003e System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it [::1]:5480\r\n at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)\r\n at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket\u0026 socket, IPAddress\u0026 address, ConnectSocketState state, IAsyncResult asyncResult, Exception\u0026 exception)\r\n --- End of inner exception stack trace ---\r\n at System.Net.HttpWebRequest.GetResponse()\r\n at VMware.IaaS.Management.Commands.HotfixInstall.Helper.FileHelper.DownloadFile(Uri url, String destinationFolder)\r\n at VMware.IaaS.Management.Commands.HotfixInstall.VRAServicesOperations.PatchBinarySyncCommand.Execute(IExecutionContext context, IList`1 parameters)","resultMsg":"Unable to connect to the remote server"}]}
Hi:
my vra8.1 multi tenant integrated AD, " cn=users,dc=XXX,dc=XXX" ,only users under this default ou can login multi tenant.
if i create new ou,can't login multi tenant, it's say “incorrect users and password”, it's seem that there is not AD authentication
user account even if i sync the new OU and users.
anyone encountered this problem? how to solve it ? thanks
I am looking for DR drill steps for vRA 7.6 distributed setup. Any pointers would be greatly appreciated.
Hi all,
In our blueprint, we supply a specific imageRef to use for cloning, which contains a valid template. However, during the Compute Allocation phase, we would like to be able to re-assign the imageRef property to a different template - a copy that we know is in the cluster we're deploying to (for faster cloning). We do have all of that working and are sending the updated imageRef value back to vRA in a customProperties attribute.
But when the clone actually takes place in vSphere, it uses the original template. We can verify that the imageRef value is updated as it should be in customProperties, but it seems to be ignored when the cloning. Does anyone know if this something we should be able to do in 8.1? Or if there is another way to change the template used for cloning after the request is submitted?
In 7.5, we update the __clonefrom field, which works as expected.
Any insight is appreciated, thanks!
Hey folks,
I am trying to deploy a new Blueprint using an existing Load Balancer that was created in NSX-T. After dealing with a lot of issues i figured out that vRA was not able to modify the LB as it was created using Policy Mode. After recreating all the objects involved (Logical Router and Load Balancer) using Manager Mode it was able to do the modifications.
Is this a limitation or is there a way of creating objects using Policy Mode and made them modifiable?
By the way i am usign NSX-T 3.0
Does anyone know if it's possible to add/remove nics before provisioning starts...kinda like changing the blueprint on the fly?
In our environment, we have several different network configurations depending on what type and where a server is being built. It could have 1-3 nics of varying port group needs. We'd prefer to use one blueprint with one form and drive the logic from there. But I can't figure out a way to manipulate the blueprint for those different cases - there is no count property on a network, so we can't set that to 0 to "remove" a nic. And passing in an array of networks from a hidden input on the form may not be doable because we don't know any of the network Ids - which that array seems to need.
Can we manipulate the number of nics during Network Configure or Network Provision events? Meaning, can we add in new nics or remove nics during those phases? Or during some other event topic before provisioning kicks off?
We are are aware that we can make changes after the server is built during the post provisioning, but that would be the least optimal approach I think. So really just looking for options before that. For example, a blueprint with no networks attached, and then build them on the fly - either via inputs or during some events. Or build a blueprint with 3 networks and remove 1 or more along the way if needed.
Any help is appreciated, thanks.
On vRA 7.5 I was able to create a regular workflow in the the vRO and publish it in the vRA (Xaas Blueprint).
For example I have a workflow which get the user login and reset his password.
On vRA 8.1 I still don't understand the flow.
I created the same Workflow in the orchestrator.
In the user field I attached an action with these lines:
var fullName = Server.getCurrentLdapUser().loginName;
return fullName;
From vRO the workflow finished without problem.
I went to the service Broker --> Content & Polices --> Content Source and imported my new workflow.
Then I went to Content Sharing and added imported workflow to my project.
When I tried to run the new Item from catalog, the field of user name stay empty.
So I went to Content & polices --> Content --> chose my item --> Customize form
In the field of user name I configured the value to use an external source (My action)
I expected that when I importing a workflow from the vRO it will also import the form I created there... Is there a problem in the way I did it?
Then I returned to catalog and tried to run my request again.
However, instead of my username I see a strange string: vro-gateway-JDZGP2y8495
How can I solve this problem?
Hi all,
I was installing VRA8 with easy installer but getting this bellow error, its in initialisation stage. however, full log has been attached herewith for help me out.
2020-08-23T12:30:24.125Z - info: <PERFORMANCE>:DEPLOYMENT_SIZE:test
2020-08-23T12:30:24.127Z - debug: ovaFileNameRe: /.*_OVF10.ova$/
2020-08-23T12:30:24.127Z - debug: files in C:\Users\Administrator\Downloads\VRA\vra-lcm-installer-15996863\vrlcm: ovftool,VMware-vLCM-Appliance-8.1.0.25-15995660_OVF10.ova
2020-08-23T12:30:24.127Z - info: ovaFile: C:\Users\Administrator\Downloads\VRA\vra-lcm-installer-15996863\vrlcm\VMware-vLCM-Appliance-8.1.0.25-15995660_OVF10.ova
2020-08-23T12:30:24.128Z - info: ovftoolCmd: C:\Users\Administrator\Downloads\VRA\vra-lcm-installer-15996863\vrlcm\ovftool\win32\ovftool.exe
2020-08-23T12:30:27.096Z - info: output:MANIFEST
+ <ManifestValidate valid="true"/>
2020-08-23T12:33:14.576Z - debug: Updated current session with lstActTm Sun Aug 23 2020 17:18:30 GMT+0600 (Bangladesh Standard Time)
2020-08-23T12:38:13.889Z - debug: Updated current session with lstActTm Sun Aug 23 2020 17:18:30 GMT+0600 (Bangladesh Standard Time)
2020-08-23T12:43:13.891Z - debug: Updated current session with lstActTm Sun Aug 23 2020 17:18:30 GMT+0600 (Bangladesh Standard Time)
2020-08-23T12:48:13.894Z - debug: Updated current session with lstActTm Sun Aug 23 2020 17:18:30 GMT+0600 (Bangladesh Standard Time)
2020-08-23T12:53:13.890Z - debug: Updated current session with lstActTm Sun Aug 23 2020 17:18:30 GMT+0600 (Bangladesh Standard Time)
2020-08-23T12:58:13.890Z - debug: Updated current session with lstActTm Sun Aug 23 2020 17:18:30 GMT+0600 (Bangladesh Standard Time)
2020-08-23T13:00:24.124Z - debug: ovfDeployTimer executed, OVF_DEPLOYMENT_DONE: false
2020-08-23T13:00:24.124Z - error: ovfDeployTimer: ovf deployment failed after 1800000 ms passed in which no response from the server was received
2020-08-23T13:00:24.125Z - info: Terminate the ovfDeploy process
2020-08-23T13:00:24.136Z - info: Cancelling the ping timer for session mgmt
2020-08-23T13:00:24.166Z - info: ovfProcess child process exited with code null
2020-08-23T13:00:33.989Z - info: Log file was saved at: C:\Users\Administrator\Desktop\installer-20200823-182751230.log
thanks in advanced.
Hello folks,
I been working with the integrations of NSX-T and vRA 8.1 and i could not find the way of rename the On-Demand network objects being deployed. I tried using the "name" custom properties for example inside the Load Balancer object and no luck it is using the same naming convention as for the Machine deployments.
Is there a way of specify a name in a dynamic way but inside the Blueprint and for network object?
I installed vRealize VMs in my test infra.
Installation progress is successful, but certificate issue got me annoying..
I installed self-signed certificates in my pc,(in trusted certificate group)
but only idm's certificate is showing "the issuer of the certificate could not be found" message in properties.
anyone have idea?
I have a txt vm list that I'd like to get a report on that includes the following:
I am okay dropping average used RAM and vCPU. I would think this would be an option to run via powercli but have no idea how to integrate the information from vRealize to powercli other than what I read (and tried) from https://ryanjan.uk/2018/05/16/running-vrops-reports-using-powercli/ . This seems easy enough but I require assistance on this quarterly task.
Get-content servers.txt seems like it needs to be used.