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

Bug #1735077 reported by Janni Han
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
New
Undecided
Unassigned

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]# ./spawner.py --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 "./spawner.py", line 692, in <module>
    vmware_data_new = vcenter_connect.fetch_hosts_data()
  File "./spawner.py", 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:
 vCenter:
    Availability zone: vcenter
    vCenter host: 192.168.150.194
    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/
    ./spawner.py --env_id 10 --spawn

Tags: contrail
Janni Han (hanhan)
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.