Changing Glance backend with pending nodes issue

Bug #1442475 reported by Damia Pastor
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
High
Julia Aranovich

Bug Description

Summary:

After the user added nodes to be deployed, and before deploying, if the user changes the storage configuration, the partition layout will be rendered unusable, even using the "load defaults" button (cinder LVM to Ceph).

Steps to reproduce:

- Create a new environment with Fuel UI, and configure the glance backend to default.
- Add new nodes to this new environment.
- (Optional, tested both ways) Change the partition layout.
- Go to settings, change the Glance backend to Ceph RBD backend for images.
- Access again the node storage layout.

Expected behaviour:

- Disk storage layout should be default as if we added a new node.

Real behaviour:

- From Swift backend to Ceph backend, the layout UI screen isn't usable and shows an error dialog (screenshot attached).
- From Ceph backend to Swift backend, using the "load defaults" switches back to the default partition settings, but it will not be properly saved.

Workaround:

- Deleting and adding back again the nodes will fix the issue.

Tags: tricky
Revision history for this message
Damia Pastor (magradallegir) wrote :
Revision history for this message
Damia Pastor (magradallegir) wrote :
Stanislav Makar (smakar)
Changed in fuel:
assignee: nobody → Fuel Python Team (fuel-python)
importance: Undecided → High
milestone: none → 6.1
Dmitry Pyzhov (dpyzhov)
Changed in fuel:
status: New → Confirmed
Revision history for this message
Dmitry Pyzhov (dpyzhov) wrote :

We do not support this use case. Have you done it with UI or with console client?

Changed in fuel:
status: Confirmed → Incomplete
Revision history for this message
Damia Pastor (magradallegir) wrote :

Hi Dmitry,

It was a user experience, made with the UI. We do support changing the storage configuration on settings and changing the partition settings as well, correct?

Revision history for this message
Damia Pastor (magradallegir) wrote :

Additionally, I tested it on our environment, both ways and combining as well the NetApp plugin and off, after the user comment.

Revision history for this message
Vitaly Kramskikh (vkramskikh) wrote :

It seems the culprit is improper removal of cinder partition after changing backend (or absence of any repartitioning at all). I think we should reset disk configuration to default in case of changing backend (and thus available partitions) like we do it in case of editing roles.

BTW, this is yet another example why we need to relayout storage section of the setting tab and group cinder and glance backends into radio groups.

Dmitry Pyzhov (dpyzhov)
tags: added: tricky
Revision history for this message
Damia Pastor (magradallegir) wrote :

The bug is currently stated as Incomplete. Is there any extra information necessary for this case?

Changed in fuel:
status: Incomplete → New
status: New → Incomplete
Revision history for this message
Ryan Moe (rmoe) wrote :

I can reproduce this on 6.1. Changing the storage settings after nodes have been added completely breaks the disk layout UI. If we're not going to support this use case we shouldn't allow these settings to be changed on the settings page.

Changed in fuel:
status: Incomplete → Confirmed
Revision history for this message
Ryan Moe (rmoe) wrote :

Per conversation with Mike we think the UI can examine the JSON returned by nailgun and triage this further.

Changed in fuel:
assignee: Fuel Python Team (fuel-python) → Fuel UI Team (fuel-ui)
Changed in fuel:
assignee: Fuel UI Team (fuel-ui) → Julia Aranovich (jkirnosova)
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/178545
Committed: https://git.openstack.org/cgit/stackforge/fuel-web/commit/?id=ea13f0c5bdf1a6d2e03a51735bc49eedb23f448d
Submitter: Jenkins
Branch: master

commit ea13f0c5bdf1a6d2e03a51735bc49eedb23f448d
Author: Julia Aranovich <email address hidden>
Date: Wed Apr 29 18:04:32 2015 +0300

    Lock Glance storage setting in env with allocated controllers

    Closes-Bug: #1442475

    Change-Id: I8acb937bc101765b2ad1a3fed425c2c8536e315d

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
Vitaly Kramskikh (vkramskikh) wrote :

Fixed this particular issue by a hack on UI side. I've created a separate bug to not lose root cause of this issue: https://bugs.launchpad.net/fuel/+bug/1450100

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.