[SWARM][7.0] test cli_node_deletion_check has failed on node deletion

Bug #1634835 reported by Dmitry
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
In Progress
High
Vladimir Jigulin

Bug Description

Run test cli_node_deletion_check that includes:

1. Revert snapshot 'cli_selected_nodes_deploy'
2. Check 'slave-03' is present
3. Destroy 'slave-03'
4. Wait until 'slave-03' become offline
5. Delete offline 'slave-03' from db

Actual result:
Node as remote has no attribute 'open_session' while deleting.
Test has status:
File "/home/jenkins/qa-venv-7.0/local/lib/python2.7/site-packages/devops/helpers/ssh_client.py", line 745, in execute_async
    chan = self._ssh.get_transport().open_session()
AttributeError: 'NoneType' object has no attribute 'open_session'

https://patching-ci.infra.mirantis.net/job/7.0.system_test.ubuntu.command_line/60/testReport/(root)/cli_node_deletion_check/cli_node_deletion_check/

https://github.com/openstack/fuel-qa/blob/stable-mu/7.0/fuelweb_test/tests/test_cli.py#L369

Need to add "with self.env.d_env.get_admin_remote() as remote" before deleting node.

Changed in fuel:
milestone: none → 7.0-updates
summary: - [SWARM][7.0] Remote has no attribute 'open_session'
+ [SWARM][7.0] test cli_node_deletion_check has failed on node deletion
Changed in fuel:
assignee: nobody → MOS Maintenance (mos-maintenance)
importance: Undecided → High
Dmitry (dtsapikov)
description: updated
Changed in fuel:
assignee: MOS Maintenance (mos-maintenance) → Vladimir Jigulin (vjigulin)
Changed in fuel:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-qa (stable-mu/7.0)

Fix proposed to branch: stable-mu/7.0
Review: https://review.openstack.org/391783

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-qa (stable-mu/7.0)

Reviewed: https://review.openstack.org/391783
Committed: https://git.openstack.org/cgit/openstack/fuel-qa/commit/?id=cd918b0ec65d1652bfd21c157bfc8208edee2578
Submitter: Jenkins
Branch: stable-mu/7.0

commit cd918b0ec65d1652bfd21c157bfc8208edee2578
Author: Vladimir Jigulin <email address hidden>
Date: Mon Oct 31 13:47:36 2016 +0300

    Fix cli_node_deletion_check connection handling

    Handle ssh connection loss after node destroying
    Also wrap connections with context manager

    Change-Id: Iefeee00edabda606e28038169b5f4c99029c1d55
    Closes-bug: #1634835

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-qa (stable/7.0)

Fix proposed to branch: stable/7.0
Review: https://review.openstack.org/392550

Changed in fuel:
status: In Progress → Fix Committed
Changed in fuel:
status: Fix Committed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on fuel-qa (stable/7.0)

Change abandoned by Vladimir Khlyunev (<email address hidden>) on branch: stable/7.0
Review: https://review.openstack.org/392550

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.