[DVS 3.0] Can't save 'Cluster to dvSwitch mapping' via UI.

Bug #1573440 reported by Olesia Tsvigun
18
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
Critical
Andriy Popovych
Mitaka
Fix Released
Critical
Alexander Arzhanov
Newton
Fix Committed
Critical
Andriy Popovych

Bug Description

Fuel ISO#230
Fuel-plugin-vmware-dvs 3.0

Steps to reproduce
1. Install fuel-plugin-vmware-dvs 3.0.
2. Create cluster with vcenter+dvs
3. Try to add 'dvSwitch:Cluster1' in the 'Cluster to dvSwitch mapping' field.

Actual Result
Error message 'OpenStack Settings Configuration Error
Some restrictions didn't pass verification: [u'Empty name of dvSwitch']' was displayed.

Expected Result
'dvSwitch:Cluster1' should be added in the 'Cluster to dvSwitch mapping' field .

Changed in fuel-plugins:
importance: Undecided → Critical
milestone: none → 9.0
assignee: nobody → Partner Centric Engineering (fuel-partner-engineering)
tags: added: dvs
Changed in fuel-plugins:
status: New → Confirmed
Changed in fuel:
importance: Undecided → Critical
assignee: nobody → Partner Centric Engineering (fuel-partner-engineering)
Revision history for this message
Alexander Arzhanov (aarzhanov) wrote :

VMware DVS plugin environment_config.yaml
https://github.com/openstack/fuel-plugin-vmware-dvs/blob/master/environment_config.yaml

If comment section:
# regex:
# source: &non_empty_string '\S'
# error: "Empty name of dvSwitch"
the problem is not reproduced.

If i try use another regex:
    regex:
      source: '.'
      error: "Empty name of dvSwitch"
the problem is reproduced.

Сhanges, after which the problem occurred:
https://github.com/openstack/fuel-web/commit/7e3fe2c308918f4f8abc42ad7d1584b4e4afadfc

Dmitry Klenov (dklenov)
tags: added: area-plugins
Revision history for this message
Igor Zinovik (izinovik) wrote :

Also affects Fuel NSXv plugin.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-web (master)

Fix proposed to branch: master
Review: https://review.openstack.org/309423

Changed in fuel:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-web (stable/mitaka)

Fix proposed to branch: stable/mitaka
Review: https://review.openstack.org/310876

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-web (master)

Reviewed: https://review.openstack.org/309423
Committed: https://git.openstack.org/cgit/openstack/fuel-web/commit/?id=cea2d5cc55de724fd9262803ca7472b0c59644ba
Submitter: Jenkins
Branch: master

commit cea2d5cc55de724fd9262803ca7472b0c59644ba
Author: Andriy Popovych <email address hidden>
Date: Fri Apr 22 17:04:02 2016 +0300

    Fix values for root plugin attributes

    Currently root plugin attributes values inconsistent with
    specific plugin version attributes provided by client. This patch
    fills plugin attributes with proper values for specific plugin version.

    Change-Id: I1c85d6e080f8fd16d5b65c1bf670fdfb3ba0ff1b
    Closes-Bug: #1573440

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-web (stable/mitaka)

Reviewed: https://review.openstack.org/310876
Committed: https://git.openstack.org/cgit/openstack/fuel-web/commit/?id=691909b6372c279697607a3e28f20cacf0ce32e5
Submitter: Jenkins
Branch: stable/mitaka

commit 691909b6372c279697607a3e28f20cacf0ce32e5
Author: Andriy Popovych <email address hidden>
Date: Fri Apr 22 17:04:02 2016 +0300

    Fix values for root plugin attributes

    Currently root plugin attributes values inconsistent with
    specific plugin version attributes provided by client. This patch
    fills plugin attributes with proper values for specific plugin version.

    Change-Id: I1c85d6e080f8fd16d5b65c1bf670fdfb3ba0ff1b
    Closes-Bug: #1573440
    (cherry picked from commit cea2d5cc55de724fd9262803ca7472b0c59644ba)

Changed in fuel-plugins:
status: Confirmed → Won't Fix
status: Won't Fix → Fix Committed
no longer affects: fuel-plugins
Revision history for this message
Vasily Gorin (vgorin) wrote :

Verified on ISO 305 , plugin build number 373

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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