NoVNCConsoleTestJSON.test_novnc fails in nova-multi-cell job since 5/20
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
devstack |
Fix Released
|
Medium
|
Stephen Finucane |
Bug Description
Ever since we enabled the n-novnc service in the nova-multi-cell job on May 20:
The tempest.
2019-05-24 01:55:59.786818 | controller | {2} tempest.
2019-05-24 01:55:59.787151 | controller |
2019-05-24 01:55:59.787193 | controller | Captured traceback:
2019-05-24 01:55:59.787226 | controller | ~~~~~~~~~~~~~~~~~~~
2019-05-24 01:55:59.787271 | controller | b'Traceback (most recent call last):'
2019-05-24 01:55:59.787381 | controller | b' File "/opt/stack/
2019-05-24 01:55:59.787450 | controller | b' self._validate_
2019-05-24 01:55:59.787550 | controller | b' File "/opt/stack/
2019-05-24 01:55:59.787643 | controller | b" 'Token must be invalid because the connection '"
2019-05-24 01:55:59.787748 | controller | b' File "/opt/stack/
2019-05-24 01:55:59.787796 | controller | b' raise self.failureExc
2019-05-24 01:55:59.787894 | controller | b'AssertionError: True is not false : Token must be invalid because the connection closed.'
2019-05-24 01:55:59.787922 | controller | b''
My guess would be (without checking the test or the code) that something isn't properly routing console auth token information/
Changed in devstack: | |
assignee: | melanie witt (melwitt) → Matt Riedemann (mriedem) |
Changed in devstack: | |
assignee: | Matt Riedemann (mriedem) → melanie witt (melwitt) |
importance: | Undecided → Medium |
no longer affects: | nova |
Changed in devstack: | |
assignee: | melanie witt (melwitt) → Stephen Finucane (stephenfinucane) |
Looks like the API request is making it into cell2:
http:// logs.openstack. org/73/ 638073/ 31/check/ nova-multi- cell/6ea3306/ controller/ logs/screen- n-cond- cell2.txt. gz#_May_ 24_01_55_ 59_037329
May 24 01:55:59.037329 ubuntu- bionic- vexxhost- sjc1-0006505703 nova-conductor[ 29514]: DEBUG nova.objects. console_ auth_token [None req-b2bcfa81- 3ab0-4c0d- 80a9-0c801bbaad d2 tempest- NoVNCConsoleTes tJSON-158211433 4 tempest- NoVNCConsoleTes tJSON-158211433 4] Authorized token with expiry 1558663559 for console connection ConsoleAuthToke n(access_ url_base= 'http:// 38.108. 68.149: 6080/vnc_ auto.html' ,console_ type='novnc' ,created_ at=2019- 05-24T01: 55:59Z, host='38. 108.68. 205',id= 1,instance_ uuid=d3895054- 0cc8-4539- 82f7-66bec6decf 4a,internal_ access_ path=None, port=5901, token=' ***',updated_ at=None) {{(pid=30338) authorize /opt/stack/ nova/nova/ objects/ console_ auth_token. py:136} }
It looks like that is routing properly because the instance is on the host in cell2:
http:// logs.openstack. org/73/ 638073/ 31/check/ nova-multi- cell/6ea3306/ compute1/ logs/screen- n-cpu.txt. gz#_May_ 24_01_55_ 57_776181
May 24 01:55:57.776181 ubuntu- bionic- vexxhost- sjc1-0006505705 nova-compute[ 17132]: INFO nova.compute. manager [None req-a5e680df- 3175-4f31- b2cb-48318ce6f8 53 tempest- NoVNCConsoleTes tJSON-158211433 4 tempest- NoVNCConsoleTes tJSON-158211433 4] [instance: d3895054- 0cc8-4539- 82f7-66bec6decf 4a] Took 6.86 seconds to build instance.
http:// logs.openstack. org/73/ 638073/ 31/check/ nova-multi- cell/6ea3306/ compute1/ logs/etc/ nova/nova- cpu_conf. txt.gz
transport_url = rabbit: //stackrabbit: secretrabbit@ 38.108. 68.149: 5672/nova_ cell2