contrail run script that will spawn ContrailVM’s, DVS’s An error occurred

Bug #1735077 reported by Janni Han on 2017-11-29
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack

Bug Description

I am based on official documents,Confguration Contrail with VMware vCenter environment,Do the third step this error occurred.Hope someone can help me.thank you very much :

[root@fuel ~]# cd /var/www/nailgun/plugins/contrail-5.1/deployment_scripts/
[root@fuel deployment_scripts]# ./ --env_id 10 --spawn
2017-11-29 04:30:44.901 DEBUG [7f47f79d3740] (settings) Looking for settings.yaml package config using old style __file__
2017-11-29 04:30:44.902 DEBUG [7f47f79d3740] (settings) Trying to read config file /usr/lib/python2.7/site-packages/nailgun/settings.yaml
2017-11-29 04:30:45.283 DEBUG [7f47f79d3740] (settings) Trying to read config file /etc/nailgun/settings.yaml
Traceback (most recent call last):
  File "./", line 692, in <module>
    vmware_data_new = vcenter_connect.fetch_hosts_data()
  File "./", line 143, in fetch_hosts_data
    host_ip = h.config.vmotion.ipConfig.ipAddress
AttributeError: 'NoneType' object has no attribute 'ipAddress'
[root@fuel deployment_scripts]#

Steps to reproduce:
1. easy_install pyvmomi
2. Fill vmware credentials in Fuel vmware tab:
    Availability zone: vcenter
    vCenter host:
    vCenter username: root
    vCenter password: root123
 Nova Computes:
    vSphere cluster: cluster01
    Service name: vm
    Datastore regex: .*
    Target node: controllers(Can not choose)
3. Run script that will spawn ContrailVM’s, DVS’s
    cd /var/www/nailgun/plugins/contrail-5.1/deployment_scripts/
    ./ --env_id 10 --spawn

Janni Han (hanhan) on 2018-03-04
Changed in fuel:
assignee: nobody → Janni Han (hanhan)
assignee: Janni Han (hanhan) → nobody
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers