stx-admin-ks-user for openstack sometimes is not ready on AIO-SX

Bug #1918181 reported by Yvonne Ding
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
Invalid
Medium
Douglas Lopes Pereira

Bug Description

Brief Description
-----------------
Job stx-admin-ks-user is not ready on AIO-SX.

Severity
------------------------------
Major

Steps to Reproduce
-----------------------------
Apply stx-openstack

Expected Behavior
------------------
stx-openstack is applied successfully

Actual Behavior
----------------
stx-openstack is apply-failed

Reproducibility
----------------------------
Intermittent

System Configuration
----------------------------
AIO-SX

Timestamp/Logs
----------------------------
2021-03-05 16:25:42.977 627 ERROR armada.handlers.wait [-] [chart=openstack-keystone]: Timed out waiting for jobs (namespace=openstack, labels=(release_group=osh-openstack-keystone)). These jobs were not ready=['keystone-bootstrap', 'stx-admin-ks-user']^[[00m
2021-03-05 16:25:42.978 627 ERROR armada.handlers.armada [-] Chart deploy [openstack-keystone] failed: armada.exceptions.k8s_exceptions.KubernetesWatchTimeoutException: Timed out waiting for jobs (namespace=openstack, labels=(release_group=osh-openstack-keystone)). These jobs were not ready=['keystone-bootstrap', 'stx-admin-ks-user']
2021-03-05 16:25:42.978 627 ERROR armada.handlers.armada Traceback (most recent call last):
2021-03-05 16:25:42.978 627 ERROR armada.handlers.armada File "/usr/local/lib/python3.6/dist-packages/armada/handlers/armada.py", line 225, in handle_result
2021-03-05 16:25:42.978 627 ERROR armada.handlers.armada result = get_result()
2021-03-05 16:25:42.978 627 ERROR armada.handlers.armada File "/usr/local/lib/python3.6/dist-packages/armada/handlers/armada.py", line 236, in <lambda>
2021-03-05 16:25:42.978 627 ERROR armada.handlers.armada if (handle_result(chart, lambda: deploy_chart(chart))):
2021-03-05 16:25:42.978 627 ERROR armada.handlers.armada File "/usr/local/lib/python3.6/dist-packages/armada/handlers/armada.py", line 214, in deploy_chart
2021-03-05 16:25:42.978 627 ERROR armada.handlers.armada chart, cg_test_all_charts, prefix, known_releases)
2021-03-05 16:25:42.978 627 ERROR armada.handlers.armada File "/usr/local/lib/python3.6/dist-packages/armada/handlers/chart_deploy.py", line 248, in execute
2021-03-05 16:25:42.978 627 ERROR armada.handlers.armada chart_wait.wait(timer)
2021-03-05 16:25:42.978 627 ERROR armada.handlers.armada File "/usr/local/lib/python3.6/dist-packages/armada/handlers/wait.py", line 134, in wait
2021-03-05 16:25:42.978 627 ERROR armada.handlers.armada wait.wait(timeout=timeout)
2021-03-05 16:25:42.978 627 ERROR armada.handlers.armada File "/usr/local/lib/python3.6/dist-packages/armada/handlers/wait.py", line 294, in wait
2021-03-05 16:25:42.978 627 ERROR armada.handlers.armada modified = self._wait(deadline)
2021-03-05 16:25:42.978 627 ERROR armada.handlers.armada File "/usr/local/lib/python3.6/dist-packages/armada/handlers/wait.py", line 354, in _wait
2021-03-05 16:25:42.978 627 ERROR armada.handlers.armada raise k8s_exceptions.KubernetesWatchTimeoutException(error)
2021-03-05 16:25:42.978 627 ERROR armada.handlers.armada armada.exceptions.k8s_exceptions.KubernetesWatchTimeoutException: Timed out waiting for jobs (namespace=openstack, labels=(release_group=osh-openstack-keystone)). These jobs were not ready=['keystone-bootstrap', 'stx-admin-ks-user']
2021-03-05 16:25:42.978 627 ERROR armada.handlers.armada ^[[00m
2021-03-05 16:25:42.979 627 ERROR armada.handlers.armada [-] Chart deploy(s) failed: ['openstack-keystone']^[[00m
2021-03-05 16:25:43.817 627 INFO armada.handlers.lock [-] Releasing lock^[[00m
2021-03-05 16:25:43.841 627 ERROR armada.cli [-] Caught internal exception: armada.exceptions.armada_exceptions.ChartDeployException: Exception deploying charts: ['openstack-keystone']
2021-03-05 16:25:43.841 627 ERROR armada.cli Traceback (most recent call last):
2021-03-05 16:25:43.841 627 ERROR armada.cli File "/usr/local/lib/python3.6/dist-packages/armada/cli/__init__.py", line 38, in safe_invoke
2021-03-05 16:25:43.841 627 ERROR armada.cli self.invoke()
2021-03-05 16:25:43.841 627 ERROR armada.cli File "/usr/local/lib/python3.6/dist-packages/armada/cli/apply.py", line 213, in invoke
2021-03-05 16:25:43.841 627 ERROR armada.cli resp = self.handle(documents, tiller)
2021-03-05 16:25:43.841 627 ERROR armada.cli File "/usr/local/lib/python3.6/dist-packages/armada/handlers/lock.py", line 81, in func_wrapper
2021-03-05 16:25:43.841 627 ERROR armada.cli return future.result()
2021-03-05 16:25:43.841 627 ERROR armada.cli File "/usr/lib/python3.6/concurrent/futures/_base.py", line 425, in result
2021-03-05 16:25:43.841 627 ERROR armada.cli return self.__get_result()
2021-03-05 16:25:43.841 627 ERROR armada.cli File "/usr/lib/python3.6/concurrent/futures/_base.py", line 384, in __get_result
2021-03-05 16:25:43.841 627 ERROR armada.cli raise self._exception
2021-03-05 16:25:43.841 627 ERROR armada.cli File "/usr/lib/python3.6/concurrent/futures/thread.py", line 56, in run
2021-03-05 16:25:43.841 627 ERROR armada.cli result = self.fn(*self.args, **self.kwargs)
2021-03-05 16:25:43.841 627 ERROR armada.cli File "/usr/local/lib/python3.6/dist-packages/armada/cli/apply.py", line 256, in handle
2021-03-05 16:25:43.841 627 ERROR armada.cli return armada.sync()
2021-03-05 16:25:43.841 627 ERROR armada.cli File "/usr/local/lib/python3.6/dist-packages/armada/handlers/armada.py", line 252, in sync
2021-03-05 16:25:43.841 627 ERROR armada.cli raise armada_exceptions.ChartDeployException(failures)
2021-03-05 16:25:43.841 627 ERROR armada.cli armada.exceptions.armada_exceptions.ChartDeployException: Exception deploying charts: ['openstack-keystone']
2021-03-05 16:25:43.841 627 ERROR armada.cli ^[[00m

Test Activity
-------------
STX regression

Ghada Khalil (gkhalil)
tags: added: stx.distro.openstack
Revision history for this message
Yvonne Ding (yding) wrote :
Revision history for this message
Frank Miller (sensfan22) wrote :

Screening note: Intermittent issue so tagging for the next STX release.

Changed in starlingx:
status: New → Triaged
importance: Undecided → Medium
assignee: nobody → Douglas Lopes Pereira (douglaspereira)
tags: added: stx.6.0
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to config (master)

Fix proposed to branch: master
Review: https://review.opendev.org/c/starlingx/config/+/789309

Changed in starlingx:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on config (master)

Change abandoned by "Yvonne Ding <email address hidden>" on branch: master
Review: https://review.opendev.org/c/starlingx/config/+/789309

Revision history for this message
Austin Sun (sunausti) wrote :

Hi Yvonne:
   any update for this issue?

Revision history for this message
Yvonne Ding (yding) wrote :

A new LP will be created to avoid progress updates on this LP1918181. The scenarios are different according to code review. I am not working on this LP.

Revision history for this message
Austin Sun (sunausti) wrote :

Hi Douglas:
    any update for this issue ?

Revision history for this message
Douglas Lopes Pereira (douglaspereira) wrote :

Hey, Austin. Yvonne fixed this problem a while ago: https://review.opendev.org/c/starlingx/openstack-armada-app/+/792696/6..7
Can we close this LP?

Revision history for this message
Austin Sun (sunausti) wrote :

ok thanks.

Changed in starlingx:
status: In Progress → 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.