Keystone with memcached backend may fail in get tokens after the memcached restart
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Released
|
Critical
|
Sergii Golovatiuk | ||
5.1.x |
Won't Fix
|
Critical
|
Fuel Library (Deprecated) | ||
6.0.x |
Fix Committed
|
Critical
|
Bogdan Dobrelya | ||
6.1.x |
Fix Released
|
Critical
|
Sergii Golovatiuk |
Bug Description
sometime successful deploy was fail with diagnostic:
AssertionError: Cidr after deployment is not equal to cidr by default
But ssh to ENV and start
# fuel health --env 1 --check sanity
give positive result.
In the logs I found following related information:
2015-03-14 19:16:30,863 - DEBUG __init__.py:50 -- Done: get_nailgun_
2015-03-14 19:16:30,863 - DEBUG fuel_web_
2015-03-14 19:16:30,863 - DEBUG helpers.py:324 -- Executing command: '. openrc; neutron subnet-list | awk '$4 == "net04_
2015-03-14 19:16:32,553 - DEBUG fuel_web_
2015-03-14 19:16:32,554 - DEBUG __init__.py:45 -- Calling: generate_logs with args: (<fuelweb_
I can't imagine, why somebody make decision to use awk instead 'neutron subnet-list -f json' and parse json locally.
But
# neutron subnet-list | awk '$4 == "net04_
started on the controller give positive result, expected by test toolkit.
more information can be obtained on
https:/
UPDATE
Reproducing steps:
0) Deploy Ubuntu HA with 3 controllers
1) restart memcached services at controllers one by one, but do not restart keystone services
2) At some controller, run ". openrc; while true; do date; neutron subnet-list | awk '$4 == "net04__subnet" {print}'; sleep 2; done"
3) watch for periodic message in keystone logs: "WARNING keystonemiddlew
There are also sporadic failures with neutron subnet-list authorization
and the tracebacks in neutron server logs similar to http://
In order to "fix" it, just restart keystone services at controller nodes
information type: | Private → Public |
Changed in fuel: | |
assignee: | Fuel QA Team (fuel-qa) → Fuel Library Team (fuel-library) |
description: | updated |
Changed in fuel: | |
status: | Confirmed → Triaged |
summary: |
- error on CI: Cidr after deployment is not equal to cidr by default + Keystone with memcached backend may fail in get tokens after the + memcached restart |
Changed in fuel: | |
assignee: | Aleksandr Didenko (adidenko) → Egor Kotko (ykotko) |
Changed in fuel: | |
assignee: | Egor Kotko (ykotko) → Fuel Library Team (fuel-library) |
Changed in fuel: | |
status: | Confirmed → In Progress |
Changed in fuel: | |
assignee: | MOS Keystone (mos-keystone) → Alexander Makarov (amakarov) |
tags: | added: on-verification |
https:/ /github. com/stackforge/ fuel-qa/ blob/ee7c5b3332 d145e8dcad09685 b0d8831f594aa1f /fuelweb_ test/models/ fuel_web_ client. py#L1350