Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vmware/vca_vapp: network not attached to Vapp during creation #19538

Closed
kaneda-fr opened this issue Dec 19, 2016 · 14 comments · Fixed by #19886
Closed

vmware/vca_vapp: network not attached to Vapp during creation #19538

kaneda-fr opened this issue Dec 19, 2016 · 14 comments · Fixed by #19886
Labels
affects_2.1 This issue/PR affects Ansible v2.1 bug This issue/PR relates to a bug. cloud module This issue/PR relates to a module. support:community This issue/PR relates to code supported by the Ansible community. vmware VMware community

Comments

@kaneda-fr
Copy link
Contributor

From @kaneda-fr on May 10, 2016 7:58

ISSUE TYPE
  • Bug Report
COMPONENT NAME

cloud/vmware/vca_vapp.py

ANSIBLE VERSION
ansible 2.1.0.0 (stable-2.1 2c8715178f)
CONFIGURATION
OS / ENVIRONMENT

OSX El Capitan: Darwin 15.4.0 Darwin Kernel Version 15.4.0

SUMMARY

When creating anew vApp and and passing an existing omg VDC network name, the app is created without attaching the network .

Looking into pyvcloud vckoudair.py, the function create_vapp seems to do nothing with the network_name, so we may need to add instruction to attach network after the VApp creation.

STEPS TO REPRODUCE
- hosts: localhost
  connection: local
  vars:
  tasks:
   - vca_vapp:
       state: deployed
       operation: noop
       org: 'sita_cloud_eng_0003'
       vdc_name: 'VDC_IAAS_CLOUD_ENG_0003'
       vapp_name: 'Test_API'
       catalog_name: "Public catalog"
       template_name: CentOS_6.5_64bits
       vm_name: VM-CentOS-Seb
       vm_cpus: 2
       vm_memory: 2096
       username: xxx
       password: yay
       api_version: 5.6
       host: zzz
       service_type: vcd
       network_name: VDCNET
       network_mode: pool
       gateway_name: EG_CLOUD_ENG_0003

     register: myvm

   - debug: var=myvm
EXPECTED RESULTS

Network passed as option via network_name should be attached to Vapp during creation

ACTUAL RESULTS

Network passed as option via network_name is not attached at Vapp creation.

Copied from original issue: ansible/ansible-modules-extras#2203

@kaneda-fr
Copy link
Contributor Author

Submitted pr #2272

@kaneda-fr
Copy link
Contributor Author

From @mixmatch on May 25, 2016 23:18

Would be nice if we could go ahead and fix ansible/ansible-modules-extras#1575 as well...

@kaneda-fr
Copy link
Contributor Author

From @ansibot on August 4, 2016 19:19

@chrrrles, ping. This issue is still waiting on your response.
click here for bot help

@kaneda-fr
Copy link
Contributor Author

From @ansibot on September 11, 2016 15:3

@chrrrles, ping. This issue is still waiting on your response.
click here for bot help

@kaneda-fr
Copy link
Contributor Author

From @ansibot on October 6, 2016 18:3

@jctanner, ping. This issue is still waiting on your response.
click here for bot help

@kaneda-fr
Copy link
Contributor Author

From @ansibot on October 21, 2016 8:55

@chrrrles, ping. This issue is still waiting on your response.
click here for bot help

@kaneda-fr
Copy link
Contributor Author

From @ansibot on November 6, 2016 10:49

@chrrrles, ping. This issue is still waiting on your response.
click here for bot help

@kaneda-fr
Copy link
Contributor Author

From @ansibot on November 22, 2016 10:57

@ansible, ping. This issue is still waiting on your response.
click here for bot help

@kaneda-fr
Copy link
Contributor Author

From @ansibot on December 6, 2016 21:54

This repository has been locked. All new issues and pullrequests should be filed in https://github.com/ansible/ansible

Please read through the repomerge page in the dev guide. The guide contains links to tools which automatically move your issue or pullrequest to the ansible/ansible repo.

@ansibot
Copy link
Contributor

ansibot commented Dec 19, 2016

@ansibot ansibot added affects_2.1 This issue/PR affects Ansible v2.1 bug_report cloud module This issue/PR relates to a module. needs_triage Needs a first human triage before being processed. vmware VMware community labels Dec 19, 2016
@gundalow
Copy link
Contributor

gundalow commented Jan 4, 2017

Proposed fix in flight #19543

@gundalow gundalow removed the needs_triage Needs a first human triage before being processed. label Jan 4, 2017
@jimi-c jimi-c removed the plugin label Jan 4, 2017
@privateip privateip removed their assignment May 2, 2017
@ansibot ansibot added the support:community This issue/PR relates to code supported by the Ansible community. label Jun 29, 2017
@ansibot
Copy link
Contributor

ansibot commented Oct 4, 2017

@ansibot ansibot added bug This issue/PR relates to a bug. and removed bug_report labels Mar 1, 2018
@Akasurde
Copy link
Member

resolved_by_pr #19886

@ansibot
Copy link
Contributor

ansibot commented May 6, 2018

@ansible ansible locked and limited conversation to collaborators Jun 12, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
affects_2.1 This issue/PR affects Ansible v2.1 bug This issue/PR relates to a bug. cloud module This issue/PR relates to a module. support:community This issue/PR relates to code supported by the Ansible community. vmware VMware community
Projects
None yet
6 participants