[fuel-qa] verify_bootstrap checker can not connect to bootstrapped node

Bug #1659747 reported by Vladimir Khlyunev
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
High
Sergey Novikov
Newton
Fix Committed
High
Sergey Novikov
Ocata
Fix Committed
High
Sergey Novikov

Bug Description

10.0 iso 1280
Whole bvt_ubuntu_bootstrap test failed with:
BadAuthenticationType: ('Bad authentication type', [u'publickey']) (allowed_types=[u'publickey'])

But when I tried to do the same manually it works (with sudo=False parameter)

https://product-ci.infra.mirantis.net/job/10.0.system_test.ubuntu.bvt_ubuntu_bootstrap/163/console

Changed in fuel:
assignee: Fuel QA Team (fuel-qa) → Sergey Novikov (snovikov)
status: New → Confirmed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-qa (stable/newton)

Fix proposed to branch: stable/newton
Review: https://review.openstack.org/433600

Changed in fuel:
status: Confirmed → In Progress
Revision history for this message
Alexander Kurenyshev (akurenyshev) wrote :
Revision history for this message
Sergey Novikov (snovikov) wrote :

The bug is related to non-root access feature which was implemented with "workaround" for fuel-devops 2.9.x. And for now the proposed fix unblocks only part of failed tests. The full normal fix requires fuel-devops 3.0.3

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

Reviewed: https://review.openstack.org/433600
Committed: https://git.openstack.org/cgit/openstack/fuel-qa/commit/?id=e4a2acfc23d8f2ceddd0b2af1f002a0c57ca89e4
Submitter: Jenkins
Branch: stable/newton

commit e4a2acfc23d8f2ceddd0b2af1f002a0c57ca89e4
Author: Sergey Novikov <email address hidden>
Date: Tue Feb 14 15:27:19 2017 +0400

    Improve failover of SSH connections

    We had invalid procedure of handling stored SSH connections
    when non-root access feature was enabled. This patch fixs that
    and contains the following items:
     * Use method `update_connection` when exist connection fails
     * close current connection in method `update_connection`
     * catch SSHException instead AuthenticationException

    Change-Id: Id488abf5b21c3bf16f21546c5b26c16e29bc6a58
    Closes-Bug: 1659747

tags: added: in-stable-newton
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-qa (stable/ocata)

Fix proposed to branch: stable/ocata
Review: https://review.openstack.org/444203

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

Fix proposed to branch: master
Review: https://review.openstack.org/444204

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

Reviewed: https://review.openstack.org/444204
Committed: https://git.openstack.org/cgit/openstack/fuel-qa/commit/?id=45e773d9dbd8ac9c85e3f11eb80b85edfcc12692
Submitter: Jenkins
Branch: master

commit 45e773d9dbd8ac9c85e3f11eb80b85edfcc12692
Author: Sergey Novikov <email address hidden>
Date: Tue Feb 14 15:27:19 2017 +0400

    Improve failover of SSH connections

    We had invalid procedure of handling stored SSH connections
    when non-root access feature was enabled. This patch fixs that
    and contains the following items:
     * Use method `update_connection` when exist connection fails
     * close current connection in method `update_connection`
     * catch SSHException instead AuthenticationException

    Change-Id: Id488abf5b21c3bf16f21546c5b26c16e29bc6a58
    Closes-Bug: 1659747
    (cherry picked from commit e4a2acfc23d8f2ceddd0b2af1f002a0c57ca89e4)

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-qa (stable/ocata)

Reviewed: https://review.openstack.org/444203
Committed: https://git.openstack.org/cgit/openstack/fuel-qa/commit/?id=7e38e370d4a8981c4fa792013f43aeec05a63564
Submitter: Jenkins
Branch: stable/ocata

commit 7e38e370d4a8981c4fa792013f43aeec05a63564
Author: Sergey Novikov <email address hidden>
Date: Tue Feb 14 15:27:19 2017 +0400

    Improve failover of SSH connections

    We had invalid procedure of handling stored SSH connections
    when non-root access feature was enabled. This patch fixs that
    and contains the following items:
     * Use method `update_connection` when exist connection fails
     * close current connection in method `update_connection`
     * catch SSHException instead AuthenticationException

    Change-Id: Id488abf5b21c3bf16f21546c5b26c16e29bc6a58
    Closes-Bug: 1659747
    (cherry picked from commit e4a2acfc23d8f2ceddd0b2af1f002a0c57ca89e4)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/fuel-qa ocata-eol

This issue was fixed in the openstack/fuel-qa ocata-eol release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.