nuagenetworks / nuage-metroae

Nuage Networks Metro Automation Engine
http://devops.nuagenetworks.net
Apache License 2.0
44 stars 17 forks source link

Converting build_vars with vCenter info to deployment fails because of missing vcenter.j2 template #914

Closed pdellaert closed 6 years ago

pdellaert commented 6 years ago
$ ./convert_build_vars_to_deployment.py PLM_Metro_Nuage_deployment_metro.yml PLM-Metro-Nuage-deployment
Writing deployments/PLM-Metro-Nuage-deployment/common.yml
Writing deployments/PLM-Metro-Nuage-deployment/vsds.yml
Writing deployments/PLM-Metro-Nuage-deployment/vscs.yml
Writing deployments/PLM-Metro-Nuage-deployment/vstats.yml
Writing deployments/PLM-Metro-Nuage-deployment/nsgvs.yml
Writing deployments/PLM-Metro-Nuage-deployment/vcins.yml
Writing deployments/PLM-Metro-Nuage-deployment/vnsutils.yml
Writing deployments/PLM-Metro-Nuage-deployment/vrss.yml
Writing deployments/PLM-Metro-Nuage-deployment/vcenter.yml
Traceback (most recent call last):
  File "./convert_build_vars_to_deployment.py", line 210, in <module>
    main()
  File "./convert_build_vars_to_deployment.py", line 206, in main
    write_deployment(var_dict, deployment_name)
  File "./convert_build_vars_to_deployment.py", line 177, in write_deployment
    var_dict)
  File "./convert_build_vars_to_deployment.py", line 183, in write_deployment_file
    with open(template_file, "r") as file:
IOError: [Errno 2] No such file or directory: 'src/deployment_templates/vcenter.j2'
ghost commented 6 years ago

Assigned to @mpiecuch-nuage and tracked by JIRA METROAE-806, targeted for MetroÆ v3.0.1

mpiecuch-nuage commented 6 years ago

This is now fixed in the dev branch. #922