centos-binary-kuryr-libnetwork not found

Bug #1786238 reported by Sabbir Sakib
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla-ansible
Fix Released
Medium
Mark Goddard
Train
Fix Released
Medium
Mark Goddard

Bug Description

Hi,
   I was trying to install zun which is depended on kuryr service. But, kuryr installation is failing with following error. Looks like the binary container does not exist. Any plan to add binary container soon ?

TASK [kuryr : Pulling kuryr image] ********************************************************************************************************************************************************************************************************************************************
fatal: [hyp14.example.pvt]: FAILED! => {"changed": true, "msg": "'Traceback (most recent call last):\\n File \"/tmp/ansible_wzy_uh/ansible_module_kolla_docker.py\", line 828, in main\\n result = bool(getattr(dw, module.params.get(\\'action\\'))())\\n File \"/tmp/ansible_wzy_uh/ansible_module_kolla_docker.py\", line 474, in pull_image\\n repository=image, tag=tag, stream=True\\n File \"/usr/lib/python2.7/site-packages/docker/api/image.py\", line 399, in pull\\n self._raise_for_status(response)\\n File \"/usr/lib/python2.7/site-packages/docker/api/client.py\", line 231, in _raise_for_status\\n raise create_api_error_from_http_exception(e)\\n File \"/usr/lib/python2.7/site-packages/docker/errors.py\", line 31, in create_api_error_from_http_exception\\n raise cls(e, response=response, explanation=explanation)\\nImageNotFound: 404 Client Error: Not Found (\"repository kolla/centos-binary-kuryr-libnetwork not found: does not exist or no pull access\")\\n'"}
fatal: [hyp15.example.pvt]: FAILED! => {"changed": false, "msg": "The requested image does not exist: kolla/centos-binary-kuryr-libnetwork:queens"}
fatal: [hyp17.example.pvt]: FAILED! => {"changed": false, "msg": "The requested image does not exist: kolla/centos-binary-kuryr-libnetwork:queens"}
fatal: [hyp18.example.pvt]: FAILED! => {"changed": false, "msg": "The requested image does not exist: kolla/centos-binary-kuryr-libnetwork:queens"}
fatal: [hyp19.example.pvt]: FAILED! => {"changed": false, "msg": "The requested image does not exist: kolla/centos-binary-kuryr-libnetwork:queens"}
fatal: [hyp21.example.pvt]: FAILED! => {"changed": false, "msg": "The requested image does not exist: kolla/centos-binary-kuryr-libnetwork:queens"}
fatal: [hyp24.example.pvt]: FAILED! => {"changed": false, "msg": "The requested image does not exist: kolla/centos-binary-kuryr-libnetwork:queens"}
fatal: [hyp23.example.pvt]: FAILED! => {"changed": false, "msg": "The requested image does not exist: kolla/centos-binary-kuryr-libnetwork:queens"}
fatal: [hyp22.example.pvt]: FAILED! => {"changed": false, "msg": "The requested image does not exist: kolla/centos-binary-kuryr-libnetwork:queens"}

Revision history for this message
wu.chunyang (wuchunyang) wrote :

kuryr-libnetwork does not support install_type==binary . but it supports install_type=source.

Revision history for this message
Eduardo Gonzalez (egonzalez90) wrote :

In centos repos there are few kuryr packages, need to find if any of those is for the libnetwork part.

Anyway, if the package exists, it will not be backported to a stable branch, so it will need to wait for steins release (if package exists)

Regards

affects: kolla-ansible → kolla
Changed in kolla:
importance: Undecided → Wishlist
status: New → Triaged
Revision history for this message
Eduardo Gonzalez (egonzalez90) wrote :

Just checked RDO kuryr packages, and there is not any for libnetwork, there are kuryr-lib (common library) and kuryr-kubernetes.

Regards

Revision history for this message
Eduardo David Paredes Vara (epava) wrote :

Little change to kolla-ansible to get kolla/centos-binary-kuryr-libnetwork without changing the whole kolla-install-type.
sed '/{{ kolla_install_type }}/i kuryr_install_type: "{{ kolla_install_type }}"' -i /usr/share/kolla-ansible/ansible/roles/kuryr/defaults/main.yml
sed 's/{{ kolla_install_type }}/{{ kuryr_install_type }}/g' -i /usr/share/kolla-ansible/ansible/roles/kuryr/defaults/main.yml

And add on globals.yml
kuryr_install_type: source

Revision history for this message
Mark Goddard (mgoddard) wrote :

Thanks for posting the fix Eduardo, I proposed it to kolla-ansible.

no longer affects: kolla
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla-ansible (master)

Fix proposed to branch: master
Review: https://review.opendev.org/683367

Changed in kolla-ansible:
assignee: nobody → Mark Goddard (mgoddard)
status: New → In Progress
Mark Goddard (mgoddard)
no longer affects: kolla/train
Changed in kolla-ansible:
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla-ansible (master)

Reviewed: https://review.opendev.org/683367
Committed: https://git.openstack.org/cgit/openstack/kolla-ansible/commit/?id=cc555c41966e53aa43d96e0d66a169720c3c98a4
Submitter: Zuul
Branch: master

commit cc555c41966e53aa43d96e0d66a169720c3c98a4
Author: Mark Goddard <email address hidden>
Date: Fri Sep 20 12:32:13 2019 +0100

    Add <project>_install_type for all projects

    This allows the install type for the project to be different than
    kolla_install_type

    This can be used to avoid hitting bug 1786238, since kuryr only supports
    the source type.

    Change-Id: I2b6fc85bac092b1614bccfd22bee48442c55dda4
    Closes-Bug: #1786238

Changed in kolla-ansible:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla-ansible (stable/stein)

Fix proposed to branch: stable/stein
Review: https://review.opendev.org/687669

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla-ansible (stable/stein)

Reviewed: https://review.opendev.org/687669
Committed: https://git.openstack.org/cgit/openstack/kolla-ansible/commit/?id=d82439a41e98aba92f7440820fd1837a87343880
Submitter: Zuul
Branch: stable/stein

commit d82439a41e98aba92f7440820fd1837a87343880
Author: Mark Goddard <email address hidden>
Date: Fri Sep 20 12:32:13 2019 +0100

    Add <project>_install_type for all projects

    This allows the install type for the project to be different than
    kolla_install_type

    This can be used to avoid hitting bug 1786238, since kuryr only supports
    the source type.

    Change-Id: I2b6fc85bac092b1614bccfd22bee48442c55dda4
    Closes-Bug: #1786238
    (cherry picked from commit cc555c41966e53aa43d96e0d66a169720c3c98a4)

tags: added: in-stable-stein
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla-ansible 9.0.0.0rc1

This issue was fixed in the openstack/kolla-ansible 9.0.0.0rc1 release candidate.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla-ansible 8.1.0

This issue was fixed in the openstack/kolla-ansible 8.1.0 release.

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.