Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1482559 - [UPDATES] Error response from daemon: No such image: openstack-haproxy-docker:2017-08-16.1
[UPDATES] Error response from daemon: No such image: openstack-haproxy-docker...
Status: CLOSED ERRATA
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-heat-templates (Show other bugs)
12.0 (Pike)
Unspecified Unspecified
high Severity high
: beta
: 12.0 (Pike)
Assigned To: Sofer Athlan-Guyot
Yurii Prokulevych
: Triaged
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-08-17 10:58 EDT by Yurii Prokulevych
Modified: 2018-02-05 14:12 EST (History)
12 users (show)

See Also:
Fixed In Version: openstack-tripleo-heat-templates-7.0.3-0.20171023134947.8da5e1f.el7ost
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-12-13 16:53:35 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
OpenStack gerrit 510408 None None None 2017-10-09 06:32 EDT
Red Hat Product Errata RHEA-2017:3462 normal SHIPPED_LIVE Red Hat OpenStack Platform 12.0 Enhancement Advisory 2018-02-15 20:43:25 EST

  None (edit)
Description Yurii Prokulevych 2017-08-17 10:58:47 EDT
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
...omitted...
TASK [Delete old container image so latest is pulled] *************************************************************************************************************************************************************
task path: /home/stack/tmpconfig/tripleo-EqbcnY-config/Controller/update_tasks.yaml:4
fatal: [192.168.24.9]: FAILED! => {"changed": true, "cmd": ["docker", "rmi", "192.168.24.1:8787/rhosp12/openstack-haproxy-docker:2017-08-16.1"], "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: 192.168.24.1:8787/rhosp12/openstack-haproxy-docker:2017-08-16.1", "stderr_lines": ["Error response from daemon: No such image: 192.168.24.1:8787/rhosp12/openstack-haproxy-docker:2017-08-16.1"], "stdout": "", "stdout_lines": []}
        to retry, use: --limit @/home/stack/tmpconfig/tripleo-EqbcnY-config/update_steps_playbook.retry

Indeed there are no such image, rather:

192.168.24.1:8787/rhosp12/openstack-haproxy-docker                                            2017-08-16.1        b07b35397bc8        24 hours ago        479.4 MB
192.168.24.1:8787/rhosp12/openstack-haproxy-docker                                            2017-08-08.4        bc00f7e9bb6b        8 days ago          478.3 MB



Version-Release number of selected component (if applicable):
=============================================================
openstack-tripleo-heat-templates-7.0.0-0.20170805163048.el7ost.noarch


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 02:43:01 EDT
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 192.168.24.1:8787/rhosp12/openstack-nova-api-docker:2017-08-16.1
Error response from daemon: No such image: 192.168.24.1:8787/rhosp12/openstack-nova-api-docker:2017-08-16.1

Attempt to delete existing image '2017-08-08.4' fails cause there are containers using it:
docker rmi 192.168.24.1:8787/rhosp12/openstack-nova-api-docker:2017-08-08.4
Error response from daemon: conflict: unable to remove repository reference "192.168.24.1:8787/rhosp12/openstack-nova-api-docker:2017-08-08.4" (must force) - container 1c928c188a32 is using its referenced image ce4df25c4ff3
Comment 2 mathieu bultel 2017-10-06 11:39:52 EDT
Needs A+ and cherry pick, so moving on on_dev
Comment 4 Yurii Prokulevych 2017-11-07 04:51:37 EST
Update tasks present in THT package 
openstack-tripleo-heat-templates-7.0.3-0.20171024200823.el7ost.noarch
Comment 8 errata-xmlrpc 2017-12-13 16:53:35 EST
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.

https://access.redhat.com/errata/RHEA-2017:3462

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