Quantcast
Channel: VMware Communities: Message List - VMware vCloud Director
Viewing all 7719 articles
Browse latest View live

REST API - Struggling to customise a VM at point of deployment

$
0
0

Hi folks. I'm trying to build some automation around deploying new VMs and vApps etc. I have an existing vApp, and would like to deploy a new VM into it from a Catalog Item. So far, that seems to work if I only specify the bare minimum <source> element, and I end up with a clone of the template VM with the same name.

 

If I want to specify a new name however, I get a 400 BAD_REQUEST response with the error "The parameter is not supported in the current context: VmGeneralParamsType".

 

For example, this works and deploys a vanilla VM from the Catalog:

 

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>

<RecomposeVAppParams

xmlns="http://www.vmware.com/vcloud/v1.5"

xmlns:ovf="http://schemas.dmtf.org/ovf/envelope/1"

    xmlns:environment_1="http://schemas.dmtf.org/ovf/environment/1">

    <SourcedItem>

        <Source href="https://api.vcd.local/api/vAppTemplate/vappTemplate-b1490f4a-86e0-4095-b258-2e7062ee0335" />

    </SourcedItem>

</RecomposeVAppParams>

 

But this one fails with the error:

 

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>

<RecomposeVAppParams

xmlns="http://www.vmware.com/vcloud/v1.5"

xmlns:ovf="http://schemas.dmtf.org/ovf/envelope/1"

    xmlns:environment_1="http://schemas.dmtf.org/ovf/environment/1">

    <SourcedItem>

    <Source href="https://api.vcd.local/api/vAppTemplate/vappTemplate-b1490f4a-86e0-4095-b258-2e7062ee0335" />

        <VmGeneralParams>

            <Name>new-vm-name</Name>

            <Description>New VM Description</Description>

            <NeedsCustomization>true</NeedsCustomization>

        </VmGeneralParams>

    </SourcedItem>

</RecomposeVAppParams>

 

As far as I can determine from the docs, the elements are correct and even in the correct order.

 

As it may be relevant, I get my Source href by:

 

  1. Call /api/catalogs/query to find the CatalogRecord for the desired catalog, and getting the href
  2. Call the href from #1 to find the CatalogItem for the version I need.
  3. Call the href from #2 to find the template Entity

Re: vCloud director || Tenant portal CPU/Memory/Storage customization

$
0
0

agreed, but rules of fight club state that you must not mention fight club.

Re: How to get rid of failed "Datacenter Groups"

$
0
0

This needs to be removed using the new CloudAPI - it cannot be done via the UI.

 

Please browse the /docs section on your vCD instance, you will find the VdcGroupApi section and shows the deleteVdcGroup option -

 

Re: Vcd plugin for vro: undefined parent attribute

$
0
0

Hi Pdumais, did you resolve this i'm seeing the same issue with VCD ?

Re: How to get rid of failed "Datacenter Groups"

$
0
0

Hi,

 

This bug is fixed in the next major vCloud Director release as well as in the next 9.5 patch release. After the fix, you will be able to delete VDC groups which were not created correctly from the UI.

 

-Radostin

Re: How to get rid of failed "Datacenter Groups"

Datacenter Group | Cross-VDC NSX | AS of Edge Gateway

$
0
0

Hello

i'm playing around with the Cross-VDC Feature. After some issues it works fine, but i have a question regarding the AS# of the Edge.

My Edge is already connected to a External Network and exchanging routes via BGP. So i had an AS# configured.

After enabeling the datacenter group feature, this AS# is replaced by something else.

 

Is this fixed, or can i configure this?

 

Kind Regards,

 

Marcel

Re: Datacenter Group | Cross-VDC NSX | AS of Edge Gateway

$
0
0

Hi Marcel,

 

This is as designed as we need to utilize iBGP southbound to provide automated peering with the southbound universal environment. vCD will configure this automatically when we add the egress points.

 

In my lab, I have my two egress points, active and passive. I can see this from my UDLR -

 

 

And from my upstream org Edge, I see the peering that took place when I added it as my active egress point -

 

 

You could utilize a remote AS number for your upstream peering and utilize BGP filters too.

 

-Daniel


Re: Datacenter Group | Cross-VDC NSX | AS of Edge Gateway

$
0
0

I totally understand this, but currently it would break my design.

 

Without Datacenter Groups it looks like this:

 

We are connecting to our corporate network via BGP. Each customer gets its own AS number.

This works fine for us.

 

 

After creating datacenter groups, the design is changed to something like this:

Cause the AS of both ESG is change to something different, it would break our external connection.

 

Is there any way to avoid this?

Re: Cassandra 3.11 not collecting data from vCD CELLs ? from several days...

$
0
0

Hi SebastianGrugel,

 

Did you get any resolution to this from your SR? We have had similar "Error processing entity stats" errors when vCenter restarts until the cell is restarted, presumably because vCD can't connect to pull the metrics through.

 

I'm just wondering whether this issue is related really, given the same error?

 

Many thanks

Re: Cassandra 3.11 not collecting data from vCD CELLs ? from several days...

$
0
0

What we received from VMware support:

 

"Thanks for the logs and the communities link , I have reviewed the logs and searched forthis stack trace within our internal engineering pages.
  There is a Vcloud Director bug on this and it is code related. From the information from the bug this caused by a inconsistency when a session is created or closed.
  https://groups.google.com/a/lists.datastax.com/forum/#!topic/java-driver-user/8SdQUrauapo
https://datastax-oss.atlassian.net/browse/JAVA-263
https://issues.apache.org/jira/browse/IGNITE-6252
   Engineering have confirmed this issue will be fixed in Vcloud Director 9.7
"

 

when i ask about some workaround for this:

 

"The only way to prevent this behavior is not stop/restart your Cassandra servers for the time being until you upgrade to Vcloud Director 9.7."

 

and when i ask about posibility to monitor this logs they suggest only monitor by syslog:

 

"Unfortunately there is no way to directly monitor this behavior in Vcloud Director however you could possible set up email alerts if you have a syslog server for a specific stack trace such as "You may have used a PreparedStatement that was created with another Cluster instance."   I know you can perform this task using log insight not sure about other syslog server solutions,  but this is just an example"

 

 

Sebastian

vSebastian.net

Re: Datacenter Group | Cross-VDC NSX | AS of Edge Gateway

$
0
0

Please open a SR and let's see what Engineering can provide as a workaround. Thanks.

Two factor authentication for vCloud director provider URL

$
0
0

Hi Team,

 

I have a doubt on "Two factor authentication for vCloud director provider URL"

 

Right now,my provider URL also accessible from public internet "https://mycloud.com/cloud"(via system administrator) and like to secure the URL using some third party security like "DUO security"

 

Do we have any Duo guide to setup this with vCloud director ?   or any other ways available to secure from vCloud director(Federation) ?

 

Please suggest the bet possible options to secure this.

 

Thanks,

Manivel RR

Re: Two factor authentication for vCloud director provider URL

$
0
0

I don't know Duo Security. We use the MFA solution from Okta: https://www.okta.com/products/adaptive-multi-factor-authentication/

In the background our own ADFS is used as Identity Source and, in addition, we have an app on our mobile phones to approve the login requests. It's easy to use and we can control the logins for each orgVDC or only the system logins or both.

 

However, any third-party identity provider that supports SAML can be used to build a multi-factor authentication solution:

Configure Your System to Use a SAML Identity Provider

Re: Two factor authentication for vCloud director provider URL

$
0
0

Thank you for your update Sebastian.

 

I will check this and update you ASAP.

 

Regards,

Manivel R


VCD networking

$
0
0

Hi Team,

 

I have a small confusion here about VCD networking.

 

1) We have completed the vCloud director setup the without any NSX components(edge gateway--->NAT,VPN,etc..).I mean, We have used NSX manager appliance only to attach VCD with vCenter server.

2) We are using external network only from Organization VDCs to connect the customer VMs to outside world. Assume my external network CIDR range is 10.10.10.0/24.We are using other firewall/LB appliances at outside of VCD to provide some features(like NSX edge gateway-->VPN,DHCP,NAT etc..) to customer.

3) Suppose if want to connect any other VMs from the same subnet(CIDR range is 10.10.10.0/24) or wants to connect the external world(public internet),i will use the same external network to achieve this.

 

Doubts on this. 

 

Suppose if i want to use this below option from customer VDC "Create an isolated network within this virtual data center" I need to create a new network pool either with VXLAN backed or VLAN based or vsphere port group-backed.and then needs to attach this network pool in the respective Organization VDCs.

 

To achieve this task "Create an isolated network within this virtual datacenter"(for example VLAN based or vsphere port group-backed),NSX components are mandatory(edge gateway) and without NSX components we cannot do this ? Am i right?

 

Please suggest.

 

,

Thanks,

Manivel RR

Re: VCD networking

$
0
0

Yes and no. You can create a vSphere port group-backed Network Pool type:

 

This would not utilize the NSX overlay, however, by default, it will deploy an Edge for DHCP services. If you do not need DHCP services, this can be disabled and the Edge will be removed.

 

-Daniel

Re: VCD networking

$
0
0

Hi Daniel,

 

I created a vSphere port group-backed Network Pool.

 

 

When i try to create a "Create an isolated network within this virtual datacenter" from customer Org.VDC Im getting below error.

Thanks,

Manivel R

Re: VCD networking

$
0
0

Looks to be a licensing issue with NSX. Do you have the license attached to your hosts?

Re: VCD networking

$
0
0

Hi Daniel,

 

Im using default license only.Apart from this,i was not configured any separate NSX license.

 

Thanks,

Manivel R

Viewing all 7719 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>