[PCE] Impossible to select multiple storage backends in case at least one component contains any incompatibility option.

Bug #1526969 reported by Olesia Tsvigun
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
High
Anton Zemlyanov

Bug Description

 Impossible to select multiple storage backends in case at least one component contains any incompatibility section.

Steps to reproduce
1. Create plugin with components:
-name: 'storage:image:swift'
  label: 'swift'
  description: 'swift'
  incompatible:
    - name: 'storage:image:ceph'
  compatible:
    - name: 'storage:image:cat'
- name: 'storage:image:cat'
  label: 'cat'
  description: 'cat'
2. Try to create env with swift and cat storages.

Actual result
 All storage image components are displayed as radio buttons instead of checkboxes. So it's impossible to select multiple storages swift and cat. But in case ' incompatible' section is absent, all storage image components are displayed as checkboxes and it's possible to select these components.

Changed in fuel-plugins:
milestone: none → 8.0
importance: Undecided → High
assignee: nobody → Partner Centric Engineering (fuel-partner-engineering)
Changed in fuel-plugins:
status: New → Confirmed
affects: fuel-plugins → fuel
Changed in fuel:
milestone: 8.0 → none
milestone: none → 8.0
assignee: Partner Centric Engineering (fuel-partner-engineering) → Anton Zemlyanov (azemlyanov)
tags: added: area-partners
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/258972

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

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

commit f337a81945de42e5792967cb2663f01bf487c4c5
Author: Anton Zemlyanov <email address hidden>
Date: Thu Dec 17 15:11:32 2015 +0300

    Fix the multiple storage backends incompatibility testing

    Fixes the areComponentsMutuallyExclusive method to work properly

    Change-Id: I11ea9608fdb02e2f1d3c4523f18733f7b7d5c50d
    Closes-Bug: 1526969

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
Olesia Tsvigun (otsvigun) wrote :

Verified at Fuel ISO#328
OS Ubuntu

Changed in fuel:
status: Fix Committed → Fix Released
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.