Bug 1794328 - Octavia Composable role job failing - podman "you must provide at least one name or id"
Summary: Octavia Composable role job failing - podman "you must provide at least one n...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: tripleo-ansible
Version: 16.0 (Train)
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: z1
: 16.0 (Train on RHEL 8.1)
Assignee: Brent Eagles
QA Contact: Carlos Goncalves
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-01-23 10:18 UTC by Bruna Bonguardo
Modified: 2020-03-03 09:45 UTC (History)
13 users (show)

Fixed In Version: tripleo-ansible-0.4.2-0.20200207140442.b750574.el8ost
Doc Type: Bug Fix
Doc Text:
Previously, Red Hat OpenStack Platform (RHOSP) 16.0 overcloud deployments failed when the Load-Balancing service (octavia) was configured with a composable role. With this update, overcloud deployments complete successfully when octavia uses a composable role.
Clone Of:
Environment:
Last Closed: 2020-03-03 09:45:05 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1861413 0 None None None 2020-01-30 14:31:52 UTC
OpenStack gerrit 705093 0 None MERGED Octavia: do not attempt container restart on empty list 2020-10-05 23:10:25 UTC
OpenStack gerrit 706495 0 None MERGED Octavia: do not attempt container restart on empty list 2020-10-05 23:10:25 UTC
Red Hat Product Errata RHBA-2020:0655 0 None None None 2020-03-03 09:45:28 UTC

Description Bruna Bonguardo 2020-01-23 10:18:40 UTC
Octavia Composable role job [1] failing in the Overcloud stage with the following ERROR message:

From: http://pastebin.test.redhat.com/829871

[networker-0]", "changed: [networker-1]", "changed: [networker-2]", "", "TASK [octavia-controller-post-config : restart octavia containers] *************", "Tuesday 21 January 2020  21:25:48 +0000 (0:00:00.791)       0:02:54.927 ******* ", "fatal: [networker-0]: FAILED! => {\"changed\": true, \"cmd\": \"podman restart $(sudo podman ps -f name=octavia -q)\", \"delta\": \"0:00:00.178875\", \"end\": \"2020-01-21 21:25:49.353330\", \"msg\": \"non-zero return code\", \"rc\": 125, \"start\": \"2020-01-21 21:25:49.174455\", \"stderr\": \"Error: you must provide at least one name or id\", \"stderr_lines\": [\"Error: you must provide at least one name or id\"], \"stdout\": \"\", \"stdout_lines\": []}", "fatal: [networker-1]: FAILED! => {\"changed\": true, \"cmd\": \"podman restart $(sudo podman ps -f name=octavia -q)\", \"delta\": \"0:00:00.173508\", \"end\": \"2020-01-21 21:25:49.425757\", \"msg\": \"non-zero return code\", \"rc\": 125, \"start\": \"2020-01-21 21:25:49.252249\", \"stderr\": \"Error: you must provide at least one name or id\", \"stderr_lines\": [\"Error: you must provide at least one name or id\"], \"stdout\": \"\", \"stdout_lines\": []}", "fatal: [networker-2]: FAILED! => {\"changed\": true, \"cmd\": \"podman restart $(sudo podman ps -f name=octavia -q)\", \"delta\": \"0:00:00.154697\", \"end\": \"2020-01-21 21:25:49.488639\", \"msg\": \"non-zero return code\", \"rc\": 125, \"start\": \"2020-01-21 21:25:49.333942\", \"stderr\": \"Error: you must provide at least one name or id\", \"stderr_lines\": [\"Error: you must provide at least one name or id\"], \"stdout\": \"\", \"stdout_lines\": []}",


Also:
undercloud-0/home/stack/overcloud_deployment_100.log

2020-01-21 20:38:02.671 157900 WARNING tripleoclient.workflows.parameters [  admin] WARNING: Following parameter(s) are defined but not currently used in the deployment plan. These parameters may be valid but not in use due to the service or deployment configuration. AlertManagerContainerImage, CephAnsiblePlaybookVerbosity, CephStorageHostnameFormat, GrafanaContainerImage, NeutronEnableForceMetadata, NeutronTunnelTypes, NodeExporterContainerImage, ObjectStorageHostnameFormat, PrometheusContainerImage
2020-01-21 20:49:44.232 157900 WARNING tripleoclient.plugin [  admin] Waiting for messages on queue 'tripleo' with no timeout.
2020-01-21 21:25:54.854 157900 ERROR openstack [  admin] Overcloud configuration failed.

It seems that the command:
sudo podman ps -f name=octavia -q

is not returning the right output when run in the network nodes.

[1] https://rhos-qe-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/view/DFG/view/network/view/octavia/job/DFG-network-octavia-16_director-rhel-virthost-3cont_2comp_3net-ipv4-geneve-composable/

Comment 14 Greg Rakauskas 2020-02-05 20:37:14 UTC
Hi Carlos,

I have edited the contents of the Doc Text field (below) which will appear in
the RHOSP 16.0 GA Release Notes. Please review and make any necessary changes.

Do you really want to reference the BZ itself in the release notes? It appears
that most of the comments in this BZ are marked private. So, customers will not 
be able to read most of the BZ. (Not a criticism, just making an observation.)
:^)

Thanks for your help with this,
--Greg


PROPOSED DOC TEXT EDIT
----------------------
There is a known issue where Red Hat OpenStack Platform 16.0 overcloud installs
fail, when the Load-balancing service (octavia) is configured with a composable
role. Currently, there is no identified workaround for this issue. For more
information, see the BZ# itself: 
https://bugzilla.redhat.com/show_bug.cgi?id=1794328.

Comment 15 Carlos Goncalves 2020-02-05 20:46:44 UTC
Your edits look good to me, thank you.
The intent of referring to this BZ is so that customers can follow the progress of the fix. If this does not add much value, I am okay with removing the reference.

Comment 19 Carlos Goncalves 2020-02-19 13:36:02 UTC
Should the doc text be updated for 16.0.1 release notes now that the bug is fixed, verified and will ship in 16.0.1?

Comment 20 Carlos Goncalves 2020-02-19 13:36:40 UTC
Alex, please see comment #19.

Comment 21 Alex McLeod 2020-02-19 13:39:17 UTC
Hi Carlos, yes - if this BZ is fixed and verified then I will change the doc text. Does this sound good to you?

Doc Type: Bug Fix

Previously, Red Hat OpenStack Platform (RHOSP) 16.0 overcloud deployments failed when the Load-Balancing service (octavia) was configured with a composable role. With this update, overcloud deployments complete successfully when octavia uses a composable role.

Comment 22 Carlos Goncalves 2020-02-19 13:41:22 UTC
Perfect, thanks!

Comment 27 errata-xmlrpc 2020-03-03 09:45:05 UTC
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/RHBA-2020:0655


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