Skip to content

Vmware vAPP Parameters not getting applied when deploying Instance from Template #7354

Closed

Description

@farhad-aslam
ISSUE TYPE
  • Bug Report
COMPONENT NAME

UI

CLOUDSTACK VERSION

4.17.2.0

CONFIGURATION

CS 4.17 with VMware vSphere 7.0.2

OS / ENVIRONMENT

N/A

SUMMARY
I am deploying an OEL VM using OVA template. The Template has vApp properties set on it but after deployment of VM, the parameter values are not set and VM fails to start giving error that Property 'IP_Address' must be configured for the VM to power on. In Vcenter I can see that VM is created by vApp Values are not set for any of the parameters. I have tested with multiple templates but getting same issue.
Same Template is working with below Scenarios:
1. Template is working fine with another Cloudstack deployment with CS 4.16
2. OVA is working fine when deploying VM directly from vSphere UI.
STEPS TO REPRODUCE

image

EXPECTED RESULTS
The VM was expected to have vAPP properties set
ACTUAL RESULTS
No parameter was set for the VM and VM failed to start.

image

Activity

  1. boring-cyborg commented on Mar 20, 2023

    @boring-cyborg

    Thanks for opening your first issue here! Be sure to follow the issue template!

  2. changed the title [-]Vmware vAPP Parameters not Getting Applied When Deploying Instance from Template[/-] [+]Vmware vAPP Parameters not getting applied when deploying Instance from Template[/+] on Mar 20, 2023
  3. nvazquez commented on Mar 24, 2023

    @nvazquez
    Contributor

    Hi @farhad-aslam thanks for reporting the issue. Is it possible to share the template or the .ovf file within the .ova file?

  4. farhad-aslam commented on Mar 24, 2023

    @farhad-aslam
    Author

    Hi @nvazquez please find attached the .ovf file from ova.
    Please note that the same OVA is working fine with another deployment with 4.16 and also working fine while deploying directly on ESXi/vCenter.
    I also tried by upgrading the problematic environment from 4.17 to 4.18 but the issues persists where VM gets created but fails to start because ovf properties are not set. It appears that the CS is not passing the parameters to vMware.
    Template.ovf.txt

  5. farhad-aslam commented on Mar 29, 2023

    @farhad-aslam
    Author

    Hi @nvazquez did you get a chance to have a look at this issue?
    Meanwhile, I downgraded the application to 4.16 by restoring the DB backup and Management VM snapshots taken before upgrade, and ova issue did not appear on 4.16.

  6. nvazquez commented on Mar 29, 2023

    @nvazquez
    Contributor

    Thanks @farhad-aslam, sorry not updating you here, will be looking for a fix for 4.18.1

  7. added this to the 4.18.1.0 milestone on Mar 29, 2023
  8. JoaoJandre commented on Feb 21, 2024

    @JoaoJandre
    Contributor

    Hey @nvazquez are you still working on this?

  9. 1 remaining item

  10. modified the milestones: 4.18.2.0, 4.18.3 on Mar 21, 2024
  11. modified the milestones: 4.18.3, 4.19.1.0 on Apr 30, 2024
  12. DaanHoogland commented on Jun 18, 2024

    @DaanHoogland
    Contributor

    a possible fix has been mentioned and no interaction on this issue for a long while. I'll be closing this. Please fel free to add more info and re-open if it turns out to still be an issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions