Upgrage maaster node is allowed during OSTF check

Bug #1367357 reported by Sergii Golovatiuk
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
Medium
Ihor Kalnytskyi

Bug Description

How to reproduce:

1. Prepare master node for upgrade
2. Run OSFT tests
3. Execute upgrade scripts during OSTF tests

Result: script performs upgrade leaving OSTF resources in openstack (test instances, networks)
Expected: do not allow upgrade until OSTF tests are done

{"build_id": "2014-09-09_00-01-11", "ostf_sha": "f7b5d9d0d1cfaba5f1fe1e2c634493e92bce11db", "build_number": "505", "auth_required": true, "api": "1.0", "nailgun_sha": "7683df5722975c1cae48a1a3efdad872b4aaace6", "production": "docker", "fuelmain_sha": "6cdd8c3deaa5e52806a5c75c4177f3b41d157a22", "astute_sha": "b622d9b36dbdd1e03b282b9ee5b7435ba649e711", "feature_groups": ["mirantis"], "release": "5.1", "release_versions": {"2014.1.1-5.0.1": {"VERSION": {"build_id": "2014-08-14_19-52-36", "mirantis": "yes", "build_number": "170", "ostf_sha": "09b6bccf7d476771ac859bb3c76c9ebec9da9e1f", "nailgun_sha": "af3d1922bfc21345f81be3454115ab6139675c35", "production": "docker", "api": "1.0", "fuelmain_sha": "fd58828f404e4298ed338e8f44c6a326cebd31de", "astute_sha": "6db5f5031b74e67b92fcac1f7998eaa296d68025", "release": "5.0.1", "fuellib_sha": "a31dbac8fff9cf6bc4cd0d23459670e34b27a9ab"}}, "2014.1.1-5.0.2": {"VERSION": {"build_id": "2014-09-08_15-45-27", "ostf_sha": "2969c1ad443b632e815bb1f01149c3800cd7aa3a", "build_number": "71", "api": "1.0", "nailgun_sha": "c18a21381843dffe807b254a4ff96eec259953cb", "production": "docker", "fuelmain_sha": "b1e46c8c3ac86a8eafac225507294226322160ea", "astute_sha": "6db5f5031b74e67b92fcac1f7998eaa296d68025", "feature_groups": ["mirantis"], "release": "5.0.2", "fuellib_sha": "c891490242d7d88f3c9582cf023e8f2db0b9d337"}}, "2014.1.1-5.1": {"VERSION": {"build_id": "2014-09-09_00-01-11", "ostf_sha": "f7b5d9d0d1cfaba5f1fe1e2c634493e92bce11db", "build_number": "505", "api": "1.0", "nailgun_sha": "7683df5722975c1cae48a1a3efdad872b4aaace6", "production": "docker", "fuelmain_sha": "6cdd8c3deaa5e52806a5c75c4177f3b41d157a22", "astute_sha": "b622d9b36dbdd1e03b282b9ee5b7435ba649e711", "feature_groups": ["mirantis"], "release": "5.1", "fuellib_sha": "203ef3179007cffe3236032e61ecbaf1cd20605f"}}}, "fuellib_sha": "203ef3179007cffe3236032e61ecbaf1cd20605f"}

Changed in fuel:
importance: Undecided → High
assignee: nobody → Evgeniy L (rustyrobot)
milestone: none → 5.1
Dmitry Pyzhov (dpyzhov)
Changed in fuel:
importance: High → Medium
milestone: 5.1 → 6.0
Dmitry Pyzhov (dpyzhov)
Changed in fuel:
assignee: Evgeniy L (rustyrobot) → Igor Kalnitsky (ikalnitsky)
Changed in fuel:
status: New → Confirmed
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/120476

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/120476
Committed: https://git.openstack.org/cgit/stackforge/fuel-web/commit/?id=2dd50b7d85cd7a8f6f60db0c20e5a59226debf35
Submitter: Jenkins
Branch: master

commit 2dd50b7d85cd7a8f6f60db0c20e5a59226debf35
Author: Igor Kalnitsky <email address hidden>
Date: Wed Sep 10 19:18:12 2014 +0300

    fuel_upgrade: check for OSTF tasks before starting

    We must do not start fuel upgrade procedure in case we have
    running OSTF tasks.

    Change-Id: I6717037b8f8cf4ed8cf3acb5a5998815470a7afb
    Closes-Bug: #1367357

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.