Bug 1680520 - Unable to deploy Openstack with Octavia
Summary: Unable to deploy Openstack with Octavia
Keywords:
Status: CLOSED DUPLICATE of bug 1593341
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-octavia
Version: 14.0 (Rocky)
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: ---
Assignee: Assaf Muller
QA Contact: Alexander Stafeyev
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-02-25 09:32 UTC by Amit Ugol
Modified: 2019-09-10 14:09 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-02-25 15:58:07 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
deployment log (195.83 KB, application/x-xz)
2019-02-25 09:32 UTC, Amit Ugol
no flags Details

Description Amit Ugol 2019-02-25 09:32:32 UTC
Created attachment 1538367 [details]
deployment log

Description of problem:
Octavia deployment tasks fail and fail the deployment.


Version-Release number of selected component (if applicable):
Puddle 2019-02-22.2


How reproducible:
100%


Steps to Reproduce:
1. openstack undercloud install
2. yum install -y octavia-amphora-image
3. deploy with:
openstack overcloud deploy \
    --templates \
    --libvirt-type kvm \
    --ntp-server clock.redhat.com \
    -e /usr/share/openstack-tripleo-heat-templates/environments/ceph-ansible/ceph-ansible.yaml \
    -e /usr/share/openstack-tripleo-heat-templates/environments/net-multiple-nics.yaml \
    -e /usr/share/openstack-tripleo-heat-templates/environments/network-isolation.yaml \
    -e /usr/share/openstack-tripleo-heat-templates/environments/services/octavia.yaml \
    ## other stuff like the scale of your environment nodes...


Actual results:
Several failures including:
1. \"stderr\": \"Could not find resource octavia-amphora-14.0-20190221.1.x86_64\",
but:
locate octavia-amphora-14.0-20190221.1.x86_64
/usr/share/openstack-octavia-amphora-images/octavia-amphora-14.0-20190221.1.x86_64-CHECKSUM.md5
/usr/share/openstack-octavia-amphora-images/octavia-amphora-14.0-20190221.1.x86_64-CHECKSUM.sha256
/usr/share/openstack-octavia-amphora-images/octavia-amphora-14.0-20190221.1.x86_64.qcow2

2. \"stderr\": \"/bin/sh: qemu-img: command not found\",
but:
which qemu-img
/usr/bin/qemu-img


Expected results:
1. Amphora image was uploaded correctly.
(2. Should amphora failure stop the entire deployment?)


Additional info:
Attached deployment log

Comment 2 Carlos Goncalves 2019-02-25 15:58:07 UTC
Thank you for the report. This is being handled in rhbz #1593341.

*** This bug has been marked as a duplicate of bug 1593341 ***

Comment 3 Brent Eagles 2019-02-25 19:46:03 UTC
Please note the stderr output of 1. \"stderr\": \"Could not find resource octavia-amphora-14.0-20190221.1.x86_64\" is expected. This is the part of the deployment code checking for an existing amphora image in glance.

Comment 4 Carlos Goncalves 2019-02-26 01:06:06 UTC
The first error is a soft error: we're checking if an amphora image exists in Glance. The task error is ignored by Ansible -- see https://github.com/openstack/tripleo-common/blob/b5dbc4e2e90cc29591bd110905c168a34dca19a3/playbooks/roles/octavia-undercloud/tasks/image_mgmt.yml#L22-L26

The second error is a duplicate of rhbz #1593341.


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