Partition preservation with stop reinstall doesn't work

Bug #1525116 reported by Veronica Krayneva
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
In Progress
High
Evgeny Konstantinov

Bug Description

Scenario:
1. Revert the snapshot
2. Create an OS volume and OS instance
3. Mark 'cinder' and 'vm' partitions to be preserved
4. Stop reinstallation process of compute
5. Start the reinstallation process again
6. Run network verification
7. Run OSTF
8. Verify that the volume is present and has 'available' status
     after the node reinstallation
9. Verify that the VM is available and pingable
    after the node reinstallation

Actual result -
 VM is not available

Error Message

test-serv207766473 VM is not available after its node-2.test.domain.local hosting node reinstallation
Stacktrace

Traceback (most recent call last):
  File "/usr/lib/python2.7/unittest/case.py", line 331, in run
    testMethod()
  File "/usr/lib/python2.7/unittest/case.py", line 1043, in runTest
    self._testFunc()
  File "/home/jenkins/venv-nailgun-tests-2.9/local/lib/python2.7/site-packages/proboscis/case.py", line 296, in testng_method_mistake_capture_func
    compatability.capture_type_error(s_func)
  File "/home/jenkins/venv-nailgun-tests-2.9/local/lib/python2.7/site-packages/proboscis/compatability/exceptions_2_6.py", line 27, in capture_type_error
    func()
  File "/home/jenkins/venv-nailgun-tests-2.9/local/lib/python2.7/site-packages/proboscis/case.py", line 350, in func
    func(test_case.state.get_state())
  File "/home/jenkins/workspace/8.0.system_test.ubuntu.partition_preservation/fuelweb_test/helpers/decorators.py", line 81, in wrapper
    result = func(*args, **kwargs)
  File "/home/jenkins/workspace/8.0.system_test.ubuntu.partition_preservation/fuelweb_test/tests/test_node_reinstallation.py", line 745, in compute_stop_reinstallation
    cmp_host.hypervisor_hostname))
AssertionError: test-serv207766473 VM is not available after its node-2.test.domain.local hosting node reinstallation

VERSION:
  feature_groups:
    - mirantis
  production: "docker"
  release: "8.0"
  api: "1.0"
  build_number: "283"
  build_id: "283"
  fuel-nailgun_sha: "073beb9f02e103e8f78abe9425d4c9feb5fab6e4"
  python-fuelclient_sha: "f96659066e522e28b389de3cc685f6f2aacca3da"
  fuel-agent_sha: "2f18b7596bc7da79d2f28c34f42620b2090d8a35"
  fuel-nailgun-agent_sha: "a33a58d378c117c0f509b0e7badc6f0910364154"
  astute_sha: "f7df18ab6b2089649abcfa8cf667ffd6b332be1a"
  fuel-library_sha: "66fc43373039a23fb63c26e7919a60b3560e0db1"
  fuel-ostf_sha: "632730169e8c01afe7fd5d78a898f00d4646358b"
  fuel-mirror_sha: "31b9df814960ec69b644ca9b689dacec0c7e10a1"
  fuelmenu_sha: "680b720291ff577f4c058cee25f85e563c96312e"
  shotgun_sha: "a0bd06508067935f2ae9be2523ed0d1717b995ce"
  network-checker_sha: "a3534f8885246afb15609c54f91d3b23d599a5b1"
  fuel-upgrade_sha: "1e894e26d4e1423a9b0d66abd6a79505f4175ff6"
  fuelmain_sha: "1577a306c2c9e7bd12f28c0e16cf3652997da004"

https://product-ci.infra.mirantis.net/view/8.0_swarm/job/8.0.system_test.ubuntu.partition_preservation/69/testReport/(root)/compute_stop_reinstallation/compute_stop_reinstallation/

Revision history for this message
Veronica Krayneva (vkrayneva) wrote :
description: updated
Changed in fuel:
milestone: none → 8.0
importance: Undecided → High
assignee: nobody → Fuel Telco (fuel-telco-team)
tags: added: feature-reinstall
tags: added: team-telco
description: updated
Dmitry Klenov (dklenov)
Changed in fuel:
status: New → Confirmed
Dmitry Klenov (dklenov)
tags: added: area-python
Changed in fuel:
assignee: Fuel Telco (fuel-telco-team) → Arthur Svechnikov (asvechnikov)
status: Confirmed → In Progress
tags: added: blocker-for-qa
Revision history for this message
Dmitry Kalashnik (dkalashnik) wrote :

According number of affected cases it is not a blocker, just bug with advanced usage of feature.

tags: removed: blocker-for-qa
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to fuel-qa (master)

Related fix proposed to branch: master
Review: https://review.openstack.org/261311

Revision history for this message
Dmitry Kalashnik (dkalashnik) wrote :

Disabling related tests till bug resolution.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to fuel-qa (master)

Reviewed: https://review.openstack.org/261311
Committed: https://git.openstack.org/cgit/openstack/fuel-qa/commit/?id=77a672c3c6a37723a4d24d3db3260ab58661f518
Submitter: Jenkins
Branch: master

commit 77a672c3c6a37723a4d24d3db3260ab58661f518
Author: Dmitry Kalashnik <email address hidden>
Date: Thu Dec 24 16:04:48 2015 +0300

    Move stop_reinstallation tests to known_issues group

    Change-Id: I9678ad684c08f2f6e987d7ebba46498a55ce1e65
    Related-Bug: #1525116

Revision history for this message
Arthur Svechnikov (asvechnikov) wrote :

This bug is tricky. There is needed to rewrite plenty of things in astute, nailgun, fuel-agent or figure out how to deal with it. So current solution is to change documentation.

Also, I'm not sure that this is bug, because it happened due to stop deployment workflow.

tags: added: area-docs tricky
Changed in fuel:
assignee: Arthur Svechnikov (asvechnikov) → Evgeny Konstantinov (evkonstantinov)
status: In Progress → Confirmed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to fuel-qa (stable/8.0)

Related fix proposed to branch: stable/8.0
Review: https://review.openstack.org/266823

Dmitry Pyzhov (dpyzhov)
tags: removed: area-python
tags: removed: team-telco
Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix proposed to mos/mos-docs (master)

Fix proposed to branch: master
Change author: Evgeny <email address hidden>
Review: https://review.fuel-infra.org/16374

Changed in fuel:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to fuel-qa (stable/8.0)

Reviewed: https://review.openstack.org/266823
Committed: https://git.openstack.org/cgit/openstack/fuel-qa/commit/?id=7d356fe0d936fe026493ec60e1b6307de2e8d194
Submitter: Jenkins
Branch: stable/8.0

commit 7d356fe0d936fe026493ec60e1b6307de2e8d194
Author: Dmitry Kalashnik <email address hidden>
Date: Thu Dec 24 16:04:48 2015 +0300

    Move stop_reinstallation tests to known_issues group

    Change-Id: I9678ad684c08f2f6e987d7ebba46498a55ce1e65
    Related-Bug: #1525116
    (cherry picked from commit 77a672c3c6a37723a4d24d3db3260ab58661f518)

Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Change abandoned on mos/mos-docs (master)

Change abandoned by Evgeny <email address hidden> on branch: master
Review: https://review.fuel-infra.org/16374
Reason: Abandoning. The bug is a duplicate and there's work to be made on fixing the root cause. I can reintroduce the docs warning on request.

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.