Ansible reports no issues when critical image is missing
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Medium
|
Tee Ngo |
Bug Description
Brief Description
-----------------
This is a follow-up on https:/
In this report, a private registry was used in the install. The registry was missing the calico images (ex: calico/cni:v3.6.2). This resulted in the system not coming up and rebooting due to a kernel panic (this is being investigated separately).
2019-06-
However, no errors were reported from Ansible.
This new bug is opened to investigate if the Ansible apply success criteria can be updated to detect this kind of issue.
From Christopher Lemus - https:/
- With config_controller, if an image was missing, the execution of config_controller failed. It was relatively easy to identify, because the list of missing images were on puppet.log, looked like a pre-check. Is it possible to have that pre-check on Ansible? On all cases it reported that the playbook completed without errors.
Severity
--------
Medium - ansible reporting success when critical images are failing to download
Steps to Reproduce
------------------
- Install controller-0
- Update the calico manifest to point to a non-existent image
- Run Ansible
Expected Behavior
------------------
Ansible reports an error
Actual Behavior
----------------
Ansible reported success, but the system rebooted shortly after due to the missing image
Reproducibility
---------------
100%
System Configuration
-------
All
Branch/Pull Time/Commit
-------
Reported on 20190602T233000Z, but likely reproducible on any recent load
Last Pass
---------
N/A - this particular scenario was not attempted previously
Timestamp/Logs
--------------
See https:/
Test Activity
-------------
Follow-up on sanity issue
Changed in starlingx: | |
assignee: | nobody → Tee Ngo (teewrs) |
importance: | Undecided → Medium |
tags: | added: stx.config |
Marking as release gating as critical deployment issues should be flagged by Ansible whenever possible. Medium priority as this deals with failure conditions.