Bug 1680520

Summary: Unable to deploy Openstack with Octavia
Product: Red Hat OpenStack Reporter: Amit Ugol <augol>
Component: openstack-octaviaAssignee: Assaf Muller <amuller>
Status: CLOSED DUPLICATE QA Contact: Alexander Stafeyev <astafeye>
Severity: high Docs Contact:
Priority: unspecified    
Version: 14.0 (Rocky)CC: beagles, cgoncalves, ihrachys, lpeer, majopela, scohen
Target Milestone: ---Keywords: ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-02-25 15:58:07 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
deployment log none

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.