Provisioning and Orchestration Across Multicloud
Recently active
I initially developed a Jenkins pipeline to launch Calm blueprints using the raw API, which works, but i hadn’t yet figured out how to pass runtime params to it.It was then that i found the Jenkins plugin, which simplifies the process significantly. It is easy to pass values to the app variables that are exposed in the blueprint. What i don’t see is the ability to pass runtime-editable fields. For example, i can set an App Variable for a user-supplied value, via the plugin. But I don’t see a way to set, for example, the `vCPUs` field that I have marked as a runtime field.It is available to set when launching the Blueprint via the Prism UI, but is it possible to set these fields using the Jenkins Plugin?PS: i am also unclear how to set params via the raw API, but i’ll ask that in a separate topic.
When setting up my blueprints, i want to lock down most of the configuration to prevent user error. I basically only want a user to be able to adjust the cores, RAM, and size of the data disk. So, i’m clicking the running-person icons to set them to black, meaning not-user-changeable. However, when i Save the change, it goes back to blue. I can’t get the user modifiable/not-modifiable config to stick. Am i missing something here? Thanks!
Back in my VMware vRA days, we could set VMs to expire and delete themselves after a set period of time, called a Lease. This prevented test VMs lasting too long and using up resources unnecessarily. The default was seven days, and it could be extended or set as desired by the users if a VM was needed for longer. Is there a way to configure a similar mechanism in CALM/Self Service?
I would like to create variables that are reusable in blueprints - things like package store URI, proxy URL, etc. I don’t think it makes sense to define these in every blueprint, as they’re identical; we want to keep that kind of thing DRY.The docs state that Variable Types defined in the Library are reusable across blueprints. But if I define MY_VAR as a new Variable Type with a value, it has no value when expanded in a blueprint script as @@{MY_VAR}@@. What is the trick to defining these vars at the Library level and using them in Blueprints? Thanks!
Hi all!I’m guessing I’m missing something obvious here, but I can’t figure it out so I’m hoping that the community can give me a helping hand. :)I want to launch a blueprint using the /blueprints/{uuid}/launch API call as the “simple launch” call doesn’t do what I want. I want to automatically associate the new application with a project and as far as I can tell I have to use the “normal launch” for that.I grabbed the exact payload that Prism Central/Calm sends and have spent half a day trying to clean it up so that I can re-use it, but this is where I get nowhere. If I remove too much, I get an error directly from the API but most of the time I can submit the request without errors.Compounding the issue is that there is nothing showing in the Tasks-indicator in Prism Central, not even an error or a warning, after I sent in the call - there is simply no trace at all of the task I just created.If I check the pending launch details with the /blueprints/{uuid}/pending_launches/{launched_u
Hi all.I have a single-VM blueprint that I want to launch using the “Launch blueprint” API call. The schema for this call requires that I specify an app profile UUID but no matter where I look, I can’t find any reference to this UUID, neither in the UI nor via API calls.To be fair, I haven’t gone through every single API call so there might still be one that eludes me.How do I know what app profile UUID to include in my payload when using the “Launch blueprint” API call?Thanks!
This question has been asked a few times on this forum but has never been fully answered.When i try to delete a disk image, I get an error:Attribute _app_blueprint_template not set I can not find any mention of this attribute anywhere, and I can’t find any other way to delete the image. I tried the API method from this post but it has the same result.What’s the trick here?
I have been relatively successful using a blueprint to define all the tasks and installations to create a solid VM. I now want to bake this VM into an image, so it has all those tasks already performed on it. I tried creating a VM template, but when i launch an instance from it, it has no Dynamic IP assigned. What is, or can someone point me to, the best practice/standard pattern for building a catalog of images with various apps and tasks pre-baked-in, so we don’t have to apply their installation every time?thanks!
I want to build a blueprint that provisions a CentOS8 VM. I have added a CentOS8 disk to the Catalog Items list in Prism Central. When I go to build/edit my blueprints in Calm/Self Service, the disk does not show up as an option in the Disks configuration field. How do i enable a disk image from the Catalog Items to be available in Calm blueprints?Thanks!
Or, “How does the ‘Check Login’ step actually work?”I consistently get a TLS error on any attempt to connect to the new VM from CALM. Every time. This is a blocker for me, as I can’t do much to the VMs during provisioning without this connectivity, and I can’t/shouldn’t do everything in the cloud-init step. I am able to ssh into the new VMs successfully using the same credentials, so I know that the credential is correct, but I don’t think the credential is the issue - the error is happening before the system tries to use it. The screenshots below are from two different blueprint deployments.Script execution has failed with error: tls: first record does not look like a tls handshake.Could not connect to the service running at 1.2.3.4.From a higher level, how does CALM initiate the connection to the new VM when starting the “check login” step? The TLS handshake issue implies a mismatch of HTTP/S protocols, and/or mismatched TLS 1.1/1.2/etc versions. But this is supposed to be an SSH co
While making a rest call to update an endpoint, I am getting below error.{ "api_version": "3.1", "code": 500, "message_list": [ { "details": {}, "message": "uuid", "reason": "INTERNAL_ERROR" } ], "state": "ERROR"}Steps performed:Make a get call to the resource UUID Remove the status key blog from the body received from step 1 update the value key with new IP update the spec_version from current set of 0 to 1 use this updated body to make PUT call to the resource UUID
Hi,My challenge is to verify a user’s input before she clicks ‘execute’ For example: I’ve created a variable named MyNumber with Data type = integerI want to verify that the provided value should not be higher than 3Using input type as Escript, I’ve tried:if @@{MyNumber}@@ > 3: print(3)But when executing the runbook I get the warning that I have a cyclic dependency and the input is not available.Is there a way to achieve this input verification?Thanks
Hello We want to create an automation that any new VM based on its subnet (Vlan) will be automatically added to category.(I have tried to use a playbook, but it's not working.)How can we do that?Thank you
Hi, I have 2 cluster and are planning to update the hypervisor and VM.1 cluster with 4 Dell nodes with Hyper V server 2019 Hypervisor and multiple VM with Window server and ubuntuanother cluster with 4 Dell nodes VMware Hypervisor and multiple of Window server ubuntu VM too. I have downloaded the LCM bundle package for Dell and the LCM packages and publish it onto the Dark web IIS server. However I can only see the Hardware build and the manifest.Where do I download the software build? Does the Software build package include the AOS and the Hypervisor? Where does the Hypervisor package include? Hypervisor version ? If it is hypervisor version, does it means update the vulnerability or upgrade the version? Does the package include the monthly Microsoft vulnerability patches for window or SQL? What is the procedure or steps to do the entire updates? I do know the that hardware is the last Update Guest OS, node OS or update AOS first? Is there any available checklist that I need to d
HiIn task 1 I'm setting a variable with print(“test,secret=john”)How can I use the content of test variable (John) in task 2?Trying to use @@{test}@@ as a string will only return xxxx (the mask but not the content)Thanks,Avi
I am currently using Nutanix Calm API v3. After creating a crash-consistent VM recovery point using the POST endpoint /api/nutanix/v3/mh_vms/{vm_uuid}/snapshot and verifying that it exists on Prism Central, I attempted to revert the VM to this recovery point using the POST endpoint /api/nutanix/v3/mh_vms/{vm_uuid}/revert using the recovery point uuid in req body. The response has 200 status code but the task reference returned has task_uuid value of ‘something’. I also cannot see any alerts on PC indicating that the VM revert task has been attempted. May I know if anyone has experienced this issue before and how I might rectify this issue? Im not sure how to proceed since the API request appears to be successful. In particular, I would like to understand the circumstances under which Calm API returns tasks with uuid value of ‘something’. Thanks!
I have attempted to create a VM recovery point on Prism Central and revert it from the recovery point. However, I am getting an info-level message that the recovery point is degraded and that the recovery Point for VM failed to capture associated policies and categories because the network name is not available for the VM.The VM revert task also does not seem to have been executed as there is no event confirming success. The VM is created from a blueprint that is part of a project with a configured VPC, and I have already verified that there are no issues in connection between PC and PE. May I know possible reasons for why this is happinening and how I might resolve this? I have consulted the link https://portal.nutanix.com/page/documents/kbs/details?targetId=kA00e000000CyDeCAK but it seems to be targeted at VMs running on ESXi, our VMs run on AOS/AHV. Thanks!
Hi to all,I’m trying to deploy systems using nutanix calm and blueprints, the guest vm are windows server 2019. Is possible changing the hostname of windows using the vmname generated by blueprint?Thanks in advance
Hi everyone, i have a trouble with this error: the alert also sent a notification about this error: Discovered that the nucalm internal service is not working: “helios” I restarted all cluster service but there is no change. Then i checked my nutanix docker to log infomations about that, it showed helios still was running. And i follow KB-8621 to collect log of helios.log.1 with the same time in alert, it showed:So anyone can tell me what is the problem with my Calm service? I so appreciate to receive your helps.
I turned on a trial of calm in my cluster, but never really did anything with it. I’ve searched and searched but I’ve been unsuccessful in finding how to disable it. Can someone point me in the right direction?Thanks!
Hello,Prism Central documentation supports OpenLDAP 2.4 release running on CentOS distributions only.Question ....I take it that Red Hat LDAP is not supported in Prism Central, correct?Can I only use OpenLDAP 2.4 with CentOS and cannot use OpenLDAP 2.5.13 (LTS) with CentOS?In Prism Self Service (Calm) documentation I find reference to Active Directory.Question ...In Calm can I work with OpenLDAP or only with Microsoft Active Directory?In a cluster with Prism Central + Prism Self Service (Calm) do I have to implement Microsoft Active Director only?
I’ve recently upgraded to Calm 3.5.0 and now all the ‘shell script execution has failed with error eof’ Has anyone ran across this before?Thanks,-Joe
Implemented the Calm v2.0 API, have to retrieve the usage_stats(used and free space) of the virtual machine’s disks by using calm v2.0 API. Haven’t found usage_stats in the response for the API api/nutanix/v2.0//virtual_disks/{uuid}. Is there any other way to get these stats by using calm v2 or v1 but not v3.
Hi, I follow this guide https://github.com/pipoe2h/calmworkshop/blob/master/calm_win/calm_win.rst to create a Windows multi-VM Blueprint, but when i run application it get an error. Can everyone tell me what exactly it is?Thank for your helps
Hi, I have a trouble to enable Nutanix Calm when I try to deploy it, I checked NCC and everything run well but in Calm the Precheck failed: “ PC to 0005e2ce-d78a-2724-0000-00000000e308 host cluster health check is not OK. Please check if cluster is accessible from PC ”.My Prism Central version is 5.20.4.5 LTS - Starter License
Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.