AIO-SX upgrade : Ansible execution failure in Ansible
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Medium
|
Lucas |
Bug Description
Brief Description
AIO-SX upgrade ansible failure during the upgrade.
++
Severity
standard
Steps to Reproduce
1. Install simplex lab with stx 6.0
2. Follow the upgrade procedure for AIO-SX stx/master . Ansible execution failed.
Expected Behavior
No failure on ansible.
Actual Behavior
Ansible failure on execution.
Reproducibility
100% reproducible. Seen in 2 labs
System Configuration
WCP-13,AIO-SX
Load info
stx 6.0
++
Timestamp/Logs
{u'namespace': u'flux-helm', u'deployment': u'helm-controller'}
, u'ansible_job_id': u'332081948425.
2022-06-10 18:43:00,147 p=29480 u=sysadmin | changed: [localhost] => (item={
{u'namespace': u'flux-helm', u'deployment': u'source-
, u'ansible_job_id': u'291623480296.
2022-06-10 18:43:00,156 p=29480 u=sysadmin | TASK [common/
2022-06-10 18:43:00,156 p=29480 u=sysadmin | Friday 10 June 2022 18:43:00 +0000 (0:03:59.484) 0:23:35.492 ***********
2022-06-10 18:43:00,207 p=29480 u=sysadmin | failed: [localhost] (item={
{u'namespace': u'flux-helm', u'deployment': u'helm-controller'}
, u'ansible_job_id': u'332081948425.
{u'namespace': u'flux-helm', u'deployment': u'helm-controller'}
, u'started': 1, 'changed': True, 'failed': False, u'finished': 0, u'results_file': u'/root/
item:
ansible_job_id: '332081948425.
attempts: 40
changed: true
cmd:
- kubectl
- --kubeconfig=
- wait
- --namespace=
- --for=condition
- deployment
- helm-controller
- --timeout=240s
delta: '0:04:00.064085'
end: '2022-06-10 18:42:58.682014'
failed: false
failed_
finished: 1
module_args:
argv: null
chdir: null
creates: null
executable: null
removes: null
stdin: null
warn: true
item:
ansible_
changed: true
failed: false
finished: 0
item:
deployment: source-controller
namespace: flux-helm
results_file: /root/.
started: 1
msg: non-zero return code
rc: 1
start: '2022-06-10 18:38:59.710057'
stderr: 'error: timed out waiting for the condition on deployments/
stderr_lines:
- 'error: timed out waiting for the condition on deployments/
stdout: ''
stdout_lines: []
msg: 'Pod {u''namespace'': u''flux-helm'', u''deployment'': u''source-
2022-06-10 18:43:00,225 p=29480 u=sysadmin | PLAY RECAP *******
2022-06-10 18:43:00,225 p=29480 u=sysadmin | localhost : ok=416 changed=219 unreachable=0 failed=1
2022-06-10 18:43:00,225 p=29480 u=sysadmin | Friday 10 June 2022 18:43:00 +0000 (0:00:00.068) 0:23:35.560 ***********
2022-06-10 18:43:00,225 p=29480 u=sysadmin | =======
++
Test Activity
Regression testing
Workaround
**
**
Changed in starlingx: | |
assignee: | nobody → Lucas (lcavalca) |
Changed in starlingx: | |
importance: | Undecided → Medium |
tags: | added: stx.update |
tags: | added: stx.7.0 |
Fix proposed to branch: master /review. opendev. org/c/starlingx /ansible- playbooks/ +/845811
Review: https:/