Bug 1482559 - [UPDATES] Error response from daemon: No such image: openstack-haproxy-docker:2017-08-16.1
Summary: [UPDATES] Error response from daemon: No such image: openstack-haproxy-docker...
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-heat-templates
Version: 12.0 (Pike)
Hardware: Unspecified
OS: Unspecified
Target Milestone: beta
: 12.0 (Pike)
Assignee: Sofer Athlan-Guyot
QA Contact: Yurii Prokulevych
Depends On:
TreeView+ depends on / blocked
Reported: 2017-08-17 14:58 UTC by Yurii Prokulevych
Modified: 2023-02-22 23:02 UTC (History)
11 users (show)

Fixed In Version: openstack-tripleo-heat-templates-7.0.3-0.20171023134947.8da5e1f.el7ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2017-12-13 21:53:35 UTC
Target Upstream Version:

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
OpenStack gerrit 510408 0 None MERGED Adds pacemaker update_tasks for Pike minor update workflow 2020-07-02 16:44:43 UTC
Red Hat Product Errata RHEA-2017:3462 0 normal SHIPPED_LIVE Red Hat OpenStack Platform 12.0 Enhancement Advisory 2018-02-16 01:43:25 UTC

Description Yurii Prokulevych 2017-08-17 14:58:47 UTC
Description of problem:
Attempt to run minor update playbook for oc controllers fail:

ansible-playbook --module /usr/share/ansible-modules/ -b -i oc-hosts tmpconfig/tripleo-EqbcnY-config/update_steps_playbook.yaml --limit co
ntroller -vv
TASK [Delete old container image so latest is pulled] *************************************************************************************************************************************************************
task path: /home/stack/tmpconfig/tripleo-EqbcnY-config/Controller/update_tasks.yaml:4
fatal: []: FAILED! => {"changed": true, "cmd": ["docker", "rmi", ""], "delta": "0:00:00.024980", "end": "2017-08-17 14:37:50.730261", "failed": true, "rc": 1, "start": "2017-08-17 14:37:50.705281", "stderr": "Error response from daemon: No such image:", "stderr_lines": ["Error response from daemon: No such image:"], "stdout": "", "stdout_lines": []}
        to retry, use: --limit @/home/stack/tmpconfig/tripleo-EqbcnY-config/update_steps_playbook.retry

Indeed there are no such image, rather:                                            2017-08-16.1        b07b35397bc8        24 hours ago        479.4 MB                                            2017-08-08.4        bc00f7e9bb6b        8 days ago          478.3 MB

Version-Release number of selected component (if applicable):

Steps to Reproduce:
1. Update uc
2. Setup latest repos on oc
3. Uploaded latest images to registry
4. Apply patches
5. Re-run initial deploy command with update_noop.yaml
6. Generate update playbook
7. Try to run minor update and limit run to oc controllers.

Actual results:
Playbook run fails

Expected results:
Minor updates succeeds

Comment 1 Yurii Prokulevych 2017-08-18 06:43:01 UTC
Additional notes.
Tag '2017-08-16.1' is the latest image that has to replace existing one '2017-08-08.4'

Image with tag '2017-08-16.1' is not pulled to the oc nodes yet hence docker complains:
docker rmi
Error response from daemon: No such image:

Attempt to delete existing image '2017-08-08.4' fails cause there are containers using it:
docker rmi
Error response from daemon: conflict: unable to remove repository reference "" (must force) - container 1c928c188a32 is using its referenced image ce4df25c4ff3

Comment 2 mathieu bultel 2017-10-06 15:39:52 UTC
Needs A+ and cherry pick, so moving on on_dev

Comment 4 Yurii Prokulevych 2017-11-07 09:51:37 UTC
Update tasks present in THT package 

Comment 8 errata-xmlrpc 2017-12-13 21:53:35 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.


Note You need to log in before you can comment on or make changes to this bug.