[dvs] Deploy has failed because of extra space sign in cluster:switch map

Bug #1561534 reported by Ruslan Khozinov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel VMware DVS plugin
Fix Released
Medium
Igor Gajsin
3.0.x
Invalid
Medium
Partner Centric Engineering

Bug Description

Detailed bug description:
I’ve tried to deploy the fuel-8.0-570.iso with the dvs-plugin-2.1-583 package:
3 controllers + compute-cinder

Steps to reproduce:
 - configure 3 controller
 - configure compute-cinder
 - configure networking
 - configure vmware for 2 clusters on controllers
 - configure dvs netmap: "Cluster1:dvSwitch; Cluster2:dvSwitch2"

Expected results:
 - fuel env should be deployed successfully

Actual result:
Error message on the first controller:
2016-03-24 12:57:34 ERR /etc/fuel/plugins/fuel-plugin-vmware-dvs-2.1/puppet/modules/vmware_dvs/lib/puppet/parser/functions/get_agents_data.rb:16:in `block in <module:Functions>'
2016-03-24 12:57:34 ERR /etc/fuel/plugins/fuel-plugin-vmware-dvs-2.1/puppet/modules/vmware_dvs/lib/puppet/parser/functions/get_agents_data.rb:16:in `each'
2016-03-24 12:57:34 ERR /etc/fuel/plugins/fuel-plugin-vmware-dvs-2.1/puppet/modules/vmware_dvs/lib/puppet/parser/functions/get_agents_data.rb:29:in `block (2 levels) in <module:Functions>'
2016-03-24 12:57:34 ERR /etc/fuel/plugins/fuel-plugin-vmware-dvs-2.1/puppet/modules/vmware_dvs/lib/puppet/parser/functions/get_agents_data.rb:29:in `+'
2016-03-24 12:57:34 ERR can't convert nil into String at /etc/fuel/plugins/fuel-plugin-vmware-dvs-2.1/puppet/manifests/agents.pp:22 on node node-1.test.domain.local

Reproducibility:
 - 100%

Workaround:
 - Cluster:switch pair should be separated by semicolon without space

Tags: dvs
Igor Gajsin (igajsin)
Changed in fuel:
importance: Undecided → Medium
milestone: none → 8.0-updates
status: New → Triaged
tags: added: dvs
affects: fuel → fuel-plugins
Changed in fuel-plugins:
milestone: 8.0-updates → none
Igor Gajsin (igajsin)
Changed in fuel-plugins:
milestone: none → 8.0
status: Triaged → Fix Committed
Revision history for this message
Olesia Tsvigun (otsvigun) wrote :

Verified at Fuel ISO#570
md5sum -b fuel-plugin-vmware-dvs-2.1-2.1.0-1.noarch.rpm
b79312dcaa67e666e537d653f5acc74d *fuel-plugin-vmware-dvs-2.1-2.1.0-1.noarch.rpm

Changed in fuel-plugins:
status: Fix Committed → Fix Released
affects: fuel-plugins → fuel-plugin-vmware-dvs
Changed in fuel-plugin-vmware-dvs:
milestone: 8.0 → none
milestone: none → 2.1.0
Revision history for this message
Oleg Ilin (oilyin) wrote :

There are DVS plugin 3.0.0, commit #666.

Steps to reproduce are simlar as initialy bug description.

I got error with extra space "Custer1:Cluster1; Cluster2:Cluster2"

2016-06-20T06:49:19.011108+00:00 notice: (Scope(Class[main])) MODULAR: fuel-plugin-vmware-dvs/agent
2016-06-20T06:49:19.080676+00:00 err: can't convert nil into String at /etc/fuel/plugins/fuel-plugin-vmware-dvs-3.0/puppet/manifests/agents.pp:22 on node node-5.domain.tld
2016-06-20T06:49:19.080676+00:00 err: /etc/fuel/plugins/fuel-plugin-vmware-dvs-3.0/puppet/modules/vmware_dvs/lib/puppet/parser/functions/get_agents_data.rb:29:in `+'
2016-06-20T06:49:19.080676+00:00 err: /etc/fuel/plugins/fuel-plugin-vmware-dvs-3.0/puppet/modules/vmware_dvs/lib/puppet/parser/functions/get_agents_data.rb:29:in `block (2 levels) in <module:Functions>'
2016-06-20T06:49:19.080676+00:00 err: /etc/fuel/plugins/fuel-plugin-vmware-dvs-3.0/puppet/modules/vmware_dvs/lib/puppet/parser/functions/get_agents_data.rb:16:in `each'
2016-06-20T06:49:19.080676+00:00 err: /etc/fuel/plugins/fuel-plugin-vmware-dvs-3.0/puppet/modules/vmware_dvs/lib/puppet/parser/functions/get_agents_data.rb:16:in `block in <module:Functions>'

I deleted extra space in "Custer1:Cluster1;Cluster2:Cluster2",
reset stack and try to redeploy it. I got similar error as above.

Full error log related with it is enclosed.

Revision history for this message
Oleg Ilin (oilyin) wrote :
Revision history for this message
Oleg Ilin (oilyin) wrote :

I'm sorry, there was misprinted
"Custer1:Cluster1; Cluster2:Cluster2" - > "Cluster1:Cluster1; Cluster2:Cluster2"

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.