Network settings are not protected when environment deployment is in progress

Bug #1559170 reported by Sofiia Andriichenko
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
Medium
slava valyavskiy
Mitaka
Won't Fix
Medium
Fuel Python (Deprecated)
Newton
Fix Committed
Medium
slava valyavskiy

Bug Description

There are several environment can be in production fuel. Sometimes we can break settings of another environment while it is being deployed.

Steps to reproduce:.
1. Prepare FueL environment
2. Configure network settings
3. Start deployment. Do next steps while deployment is in progress.
4. Go to tab "Networks"
5. Check that "Network Settings" blocked
6. ssh root@<IP-fuel>
7. [root@nailgun ~]# fuel network-group list
8. [root@nailgun ~]# fuel network-group --set --network <id_public> --cidr <CIDR> --gateway <Gateway>

Actual result:
Network group id=<id_public> has been updated.
Network settings do not protected.

Expected result:
"Network Settings" protected

Changed in fuel:
milestone: none → 9.0
importance: Undecided → Medium
assignee: nobody → Fuel for Openstack (fuel)
status: New → Confirmed
summary: - Network settings are not protected when environment deployment
+ Network settings are not protected when environment deployment is in
+ progress
description: updated
Revision history for this message
Sergey Vasilenko (xenolog) wrote :

IMHO

Expected result:
* Network Settings are blocked for change while deploy process going
* Network Settings are able for change while deploy process end (it does not matter fail or successful)

Revision history for this message
Artem Panchenko (apanchenko-8) wrote :

Sofiia,

thank you for the report! I removed private links to iso from the description, because the bug is public. Please attach an output of `shotgun2 report` command instead, if you want to provide Fuel version information in a bug report.

Changed in fuel:
assignee: Fuel for Openstack (fuel) → Fuel Python Team (fuel-python)
tags: added: area-python
description: updated
Revision history for this message
Sofiia Andriichenko (sandriichenko) wrote :
Download full text (17.0 KiB)

2016-03-21 09:58:33 DEBUG 3589 (manager) Initializing snapshot manager
2016-03-21 09:58:33 DEBUG 3589 (manager) Making report
2016-03-21 09:58:33 DEBUG 3589 (manager) Gathering report for: {'command': ['cat /etc/fuel_build_id', 'cat /etc/fuel_build_number', 'cat /etc/fuel_release', 'cat /etc/fuel_openstack_version', "rpm -qa | \\\negrep 'fuel|astute|network-checker|shotgun' | \\\nwhile read package; do\n echo\n echo $package\n rpm -q --changelog $package | head -2\ndone\n"], 'host': {}, 'type': 'command'}
2016-03-21 09:58:33 DEBUG 3589 (driver) Initializing driver Command: host={}
2016-03-21 09:58:33 DEBUG 3589 (driver) Running local command: cat /etc/fuel_build_id
2016-03-21 09:58:33 DEBUG 3589 (utils) Trying to execute command: cat /etc/fuel_build_id
2016-03-21 09:58:33 DEBUG 3589 (driver) Running local command: cat /etc/fuel_build_number
2016-03-21 09:58:33 DEBUG 3589 (utils) Trying to execute command: cat /etc/fuel_build_number
2016-03-21 09:58:33 DEBUG 3589 (driver) Running local command: cat /etc/fuel_release
2016-03-21 09:58:33 DEBUG 3589 (utils) Trying to execute command: cat /etc/fuel_release
2016-03-21 09:58:33 DEBUG 3589 (driver) Running local command: cat /etc/fuel_openstack_version
2016-03-21 09:58:33 DEBUG 3589 (utils) Trying to execute command: cat /etc/fuel_openstack_version
2016-03-21 09:58:33 DEBUG 3589 (driver) Running local command: rpm -qa | \
egrep 'fuel|astute|network-checker|shotgun' | \
while read package; do
  echo
  echo $package
  rpm -q --changelog $package | head -2
done

2016-03-21 09:58:33 DEBUG 3589 (utils) Trying to execute command: rpm -qa | \
egrep 'fuel|astute|network-checker|shotgun' | \
while read package; do
  echo
  echo $package
  rpm -q --changelog $package | head -2
done

+---------------------------+-------------------------------------------------+--------------------------------------------------------------------------------+
| Host | Reporter | Report |
+---------------------------+-------------------------------------------------+--------------------------------------------------------------------------------+
| nailgun.test.domain.local | cat /etc/fuel_build_id | 68 |
| | | |
| nailgun.test.domain.local | cat /etc/fuel_build_number | 68 |
| | | |
| nailgun.test.domain.local | cat /etc/fuel_release | 9.0 |
| | | |
| n...

Dmitry Pyzhov (dpyzhov)
tags: added: team-bugfix
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/308017

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/308017
Committed: https://git.openstack.org/cgit/openstack/fuel-web/commit/?id=6ba4c90f41dd23eea99ef055e1950f25e011b4b2
Submitter: Jenkins
Branch: master

commit 6ba4c90f41dd23eea99ef055e1950f25e011b4b2
Author: slava <email address hidden>
Date: Tue Apr 19 22:51:10 2016 +0300

    Do not allow to update network group when deploy is in progress

    Change-Id: Ia49e2524613171e14d69d8038db439f1f87bdf13
    Closes-Bug: #1559170

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