[sys-tests] Changing of keystone password fails: 'Bad Gateway (HTTP 502)'

Bug #1401692 reported by Artem Panchenko
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
High
Artem Panchenko
5.1.x
Fix Released
High
Dennis Dmitriev
6.0.x
Fix Released
High
Artem Panchenko
6.1.x
Fix Released
High
Artem Panchenko

Bug Description

Fuel version: http://paste.openstack.org/show/149606/

Changing of keystone admin password fails in system tests when we revert environment from snapshot and then reset Fuel master node (because it isn't accessible after resume):

http://jenkins-product.srt.mirantis.net:8080/view/6.0_swarm/job/6.0_fuelmain.system_test.centos.thread_5/53/testReport/junit/%28root%29/ha_delete_vips/ha_delete_vips/
http://paste.openstack.org/show/149607/

As you can see after master node reset it became to respond on 8000/tcp port and then test got Fuel version using API. This should mean that all services are started and work fine on master node but it doesn't, because access to '/api/version/' url isn't protected and doesn't require valid keystone token in request. So actually keystone service was starting at that moment and changing of admin tenant password at the next step failed:

http://paste.openstack.org/show/149608/

We should wait until all services are started and running on master node after its reset before proceed with tests.

Revision history for this message
Artem Panchenko (apanchenko-8) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-main (master)

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

Changed in fuel:
assignee: Fuel QA Team (fuel-qa) → Artem Panchenko (apanchenko-8)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-main (stable/6.0)

Fix proposed to branch: stable/6.0
Review: https://review.openstack.org/141195

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

Reviewed: https://review.openstack.org/141195
Committed: https://git.openstack.org/cgit/stackforge/fuel-main/commit/?id=01a807a40012f26c5041d9144a351ac8b0dbbc87
Submitter: Jenkins
Branch: stable/6.0

commit 01a807a40012f26c5041d9144a351ac8b0dbbc87
Author: Artem Panchenko <email address hidden>
Date: Fri Dec 12 00:37:39 2014 +0200

    Wait for Keystone start after master node reset

    Use protected Nailgun API URL to check that Keystone
    is up and works fine before running tests.

    Change-Id: I28a84f8e2a304e18cf54eb7d08b24f0ef67503f5
    Closes-bug: #1401692

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

Reviewed: https://review.openstack.org/141194
Committed: https://git.openstack.org/cgit/stackforge/fuel-main/commit/?id=4a00e4565b879f110ff56a3c941c0bd81efa7086
Submitter: Jenkins
Branch: master

commit 4a00e4565b879f110ff56a3c941c0bd81efa7086
Author: Artem Panchenko <email address hidden>
Date: Fri Dec 12 00:37:39 2014 +0200

    Wait for Keystone start after master node reset

    Use protected Nailgun API URL to check that Keystone
    is up and works fine before running tests.

    Change-Id: I28a84f8e2a304e18cf54eb7d08b24f0ef67503f5
    Closes-bug: #1401692

Revision history for this message
Dennis Dmitriev (ddmitriev) wrote :

The same issue faced in the upgrade job 'ceph_multinode_compact.upgrade' , when environment 5.1.1 was reverted:

http://jenkins-product.srt.mirantis.net:8080/view/6.0_swarm/job/6.0.system_test.Ubuntu.ceph_multinode_compact.upgrade/20/console

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

Fix proposed to branch: stable/5.1
Review: https://review.openstack.org/143264

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

Reviewed: https://review.openstack.org/143264
Committed: https://git.openstack.org/cgit/stackforge/fuel-main/commit/?id=bb837820f27c00cf54620e65934184d65f7a898a
Submitter: Jenkins
Branch: stable/5.1

commit bb837820f27c00cf54620e65934184d65f7a898a
Author: Artem Panchenko <email address hidden>
Date: Fri Dec 12 00:37:39 2014 +0200

    Wait for Keystone start after master node reset

    Use protected Nailgun API URL to check that Keystone
    is up and works fine before running tests.

    Change-Id: I28a84f8e2a304e18cf54eb7d08b24f0ef67503f5
    Closes-bug: #1401692
    (cherry picked from commit 4a00e4565b879f110ff56a3c941c0bd81efa7086)

tags: added: system-test-not-required
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.