Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1672255

Summary: Cannot Install Octavia by adding "-e octavia.yaml" to overcloud_deploy.sh file
Product: Red Hat OpenStack Reporter: Bruna Bonguardo <bbonguar>
Component: openstack-octaviaAssignee: Assaf Muller <amuller>
Status: CLOSED NOTABUG QA Contact: Bruna Bonguardo <bbonguar>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 14.0 (Rocky)CC: bbonguar, cgoncalves, ihrachys, lpeer, majopela, nyechiel
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-02-13 14:58:44 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:

Description Bruna Bonguardo 2019-02-04 11:43:23 UTC
Description of problem:

Deployed OSPD version 14 from:
https://rhos-qe-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/job/OSPD-Customized-Deployment-virt/
It worked without errors.
After that, I decided to install Octavia by adding:
--environment-file /usr/share/openstack-tripleo-heat-templates/environments/services/octavia.yaml \

to overcloud_deploy.sh and running overcloud_deploy.sh again:

[stack@undercloud-0 ~]$ . stackrc
(undercloud) [stack@undercloud-0 ~]$ ./overcloud_deploy.sh


overcloud_deploy.sh file:

(undercloud) [stack@undercloud-0 ~]$ cat overcloud_deploy.sh
#!/bin/bash

openstack overcloud deploy \
--timeout 100 \
--templates /usr/share/openstack-tripleo-heat-templates \
--stack overcloud \
--libvirt-type kvm \
--ntp-server clock.redhat.com \
-e /home/stack/virt/config_lvm.yaml \
-e /usr/share/openstack-tripleo-heat-templates/environments/network-isolation.yaml \
-e /home/stack/virt/network/network-environment.yaml \
-e /home/stack/virt/inject-trust-anchor.yaml \
-e /home/stack/virt/hostnames.yml \
-e /home/stack/virt/nodes_data.yaml \
-e /usr/share/openstack-tripleo-heat-templates/environments/services/octavia.yaml \
-e ~/containers-prepare-parameter.yaml \
-e /home/stack/virt/extra_templates.yaml \
--log-file overcloud_deployment_60.log


Actual results:

PLAY RECAP *********************************************************************
compute-0                  : ok=128  changed=24   unreachable=0    failed=0   
compute-1                  : ok=128  changed=24   unreachable=0    failed=0   
controller-0               : ok=174  changed=24   unreachable=0    failed=0   
controller-1               : ok=174  changed=24   unreachable=0    failed=0   
controller-2               : ok=174  changed=24   unreachable=0    failed=0   
undercloud                 : ok=7    changed=4    unreachable=0    failed=1   

Monday 04 February 2019  04:42:46 -0500 (0:00:46.112)       0:05:02.900 ******* 
=============================================================================== 

Ansible failed, check log at /var/lib/mistral/overcloud/ansible.log.
Overcloud configuration failed.

When checking if Octavia is installed:
[stack@undercloud-0 ~]$ . stackrc
(undercloud) [stack@undercloud-0 ~]$ ssh heat-admin.24.6  ---> Connect to controller-1
[heat-admin@controller-1 ~]$ sudo -i
[root@controller-1 ~]# docker ps -a | grep octavia   ---> EMPTY

Octavia is NOT installed.

Comment 2 Carlos Goncalves 2019-02-05 09:20:08 UTC
Installing Octavia (or any other new service) to an existing overcloud requires some preparation steps. In this case, what you are missing are the container images in the registry. Please refer to https://bugzilla.redhat.com/show_bug.cgi?id=1607567#c7 for a step-by-step guide. Do not copy-paste container tags "2018-08-20.1", instead adapt to your deployment (OSP14, latest image tag).