Cluster 'components' field does not contain values declared by an enabled plugin

Bug #1597336 reported by Igor Zinovik
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel NSXv plugin
Opinion
High
Igor Zinovik
Fuel for OpenStack
Invalid
Medium
Fuel Python (Deprecated)

Bug Description

Plugin contains .py script that adds restrictions to roles that are not applicable
to environment with the plugin.

Steps to reproduce:
1. Create new environment with NSXv plugin
2. Open "Add nodes" pane.

Expected result:
Compute, Cinder and Ironic roles are not shown.

Actual result:
Compute, Cinder and Ironic roles are show. It is possible to assign them
to nodes, but actually it is not possible to use them.

Bug found on Fuel NSXv plugin commit f326348f530b80ee012584dd759d577c8e94b131

Script works fine if executed directly by user. Seems that post_install action
uses wrong path to script.

Revision history for this message
Igor Zinovik (izinovik) wrote :
Changed in fuel-plugin-nsxv:
status: Confirmed → Invalid
status: Invalid → Fix Committed
Revision history for this message
Igor Zinovik (izinovik) wrote :

Regression found in #771 build which includes patch for aforementioned problem.

Changed in fuel-plugin-nsxv:
status: Fix Committed → Confirmed
Revision history for this message
Igor Zinovik (izinovik) wrote :

Seems that problem might be related to plugin components registration during
cluster creation.

Here is a 'clusters' table that contains 'components' field:
http://paste.openstack.org/show/526961/

First cluster was created by automated test - 'components' field is empty.
Two other clusters was created via fuel web UI and contain 'components' that
are declared by the plugin.

summary: - Incompatible roles are available in 3.0.0
+ Cluster 'componentes' field does not contain values declared by an
+ enabled plugin
Changed in fuel:
milestone: none → 9.0
Revision history for this message
Igor Zinovik (izinovik) wrote : Re: Cluster 'componentes' field does not contain values declared by an enabled plugin
Changed in fuel:
assignee: nobody → Fuel Python (Deprecated) (fuel-python)
importance: Undecided → Medium
summary: - Cluster 'componentes' field does not contain values declared by an
+ Cluster 'components' field does not contain values declared by an
enabled plugin
Changed in fuel-plugin-nsxv:
status: Confirmed → Opinion
Revision history for this message
Andriy Popovych (popovych-andrey) wrote :
Changed in fuel:
status: New → Invalid
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.