contrail run script that will spawn ContrailVM’s, DVS’s An error occurred
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
New
|
Undecided
|
Unassigned |
Bug Description
I am based on official documents,
[root@fuel ~]# cd /var/www/
[root@fuel deployment_
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/
2017-11-29 04:30:45.283 DEBUG [7f47f79d3740] (settings) Trying to read config file /etc/nailgun/
Traceback (most recent call last):
File "./spawner.py", line 692, in <module>
vmware_data_new = vcenter_
File "./spawner.py", line 143, in fetch_hosts_data
host_ip = h.config.
AttributeError: 'NoneType' object has no attribute 'ipAddress'
[root@fuel deployment_
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/
./spawner.py --env_id 10 --spawn
Changed in fuel: | |
assignee: | nobody → Janni Han (hanhan) |
assignee: | Janni Han (hanhan) → nobody |