[upgrade] OSTF isn't available after upgrade: Unable to find authentication token in headers

Bug #1351334 reported by Artem Panchenko
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Invalid
High
Evgeniy L

Bug Description

api: '1.0'
astute_sha: b16efcec6b4af1fb8669055c053fbabe188afa67
auth_required: false
build_id: 2014-07-30_02-30-36
build_number: '373'
feature_groups:
- mirantis
fuellib_sha: 8729e696e0653920bf937329e45a9c23a8f20a1f
fuelmain_sha: 11ef72a20409ba34535ec9e6e093a2e1695161de
nailgun_sha: 8cf375f7687d7d0797e7f085a909df8087fc82a6
ostf_sha: 9c0454b2197756051fc9cee3cfd856cf2a4f0875
production: docker
release: '5.1'

Steps to reproduce:

1. Upgarde Fuel from 5.0.1 to 5.1
2. Go to the 'Health Check' tab in some environment

Expected result:

- health checks can be started

Actual:

- got error message: OSTF server is not available.

OSTF docker container was running, here is the part of OSTF log:

2014-08-01 14:55:39 INFO (server) Discovery is completed
2014-08-01 14:55:39 INFO (server) Starting server in PID 777
2014-08-01 14:55:39 INFO (server) serving on http://0.0.0.0:8777
2014-08-01 14:55:52 WARNING (auth_token) Unable to find authentication token in headers
2014-08-01 14:55:52 INFO (auth_token) Invalid user token - rejecting request
172.17.42.1 - - [2014-08-01 14:55:52] "GET /v1/testsets/10 HTTP/1.0" 401 215 0.002295
2014-08-01 14:55:52 WARNING (auth_token) Unable to find authentication token in headers
2014-08-01 14:55:52 INFO (auth_token) Invalid user token - rejecting request
172.17.42.1 - - [2014-08-01 14:55:52] "GET /v1/testruns/last/10 HTTP/1.0" 401 215 0.002159
2014-08-01 14:55:52 WARNING (auth_token) Unable to find authentication token in headers
2014-08-01 14:55:52 INFO (auth_token) Invalid user token - rejecting request
172.17.42.1 - - [2014-08-01 14:55:52] "GET /v1/tests/10 HTTP/1.0" 401 215 0.002044
2014-08-01 14:56:36 WARNING (auth_token) Unable to find authentication token in headers

Tags: ostf upgrade
Revision history for this message
Dmitry Pyzhov (dpyzhov) wrote :

Please attach diagnostic snapshot

Revision history for this message
Evgeniy L (rustyrobot) wrote :

Artem, could you please attach logs because they can have very useful information which will reduce time of debugging in several times?

Changed in fuel:
status: New → Confirmed
Revision history for this message
Artem Panchenko (apanchenko-8) wrote :

Here is the link to diagnostic snapshot: https://yadi.sk/d/sYjOm-EfYnEAv
(can't attach it because of huge size)

Revision history for this message
Dima Shulyak (dshulyak) wrote :

Maybe you didnot refreshed UI static after upgrade? In such case it can send request without X-Auth-Token

Evgeniy L (rustyrobot)
Changed in fuel:
assignee: Fuel Python Team (fuel-python) → Evgeniy L (rustyrobot)
Revision history for this message
Artem Panchenko (apanchenko-8) wrote :

Dima,

thanks, the issue was cause by disabled authorization in Nailgun, but for OSTF it was enabled. I disabled it for OSTF too and Health Checks became available.

Revision history for this message
Evgeniy L (rustyrobot) wrote :

Thanks for debugging the issue, will mark as invalid.

Changed in fuel:
status: Confirmed → Invalid
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.