Bug 1834161

Summary: [RFE][OSP16.2] install python3-osc-placement along with other osc-client on undercloud
Product: Red Hat OpenStack Reporter: Mauro Oddi <moddi>
Component: openstack-tripleo-heat-templatesAssignee: David Vallee Delisle <dvd>
Status: CLOSED ERRATA QA Contact: Pavan <pkesavar>
Severity: low Docs Contact:
Priority: low    
Version: 16.0 (Train)CC: aschultz, dvd, egallen, jjoyce, jparker, mburns, mgarciac, morazi, mschuppe, mwitt, pkesavar, smooney, spower, stephenfin
Target Milestone: AlphaKeywords: FeatureBackport, FutureFeature, Patch, Triaged
Target Release: 16.2 (Train on RHEL 8.4)   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: puppet-placement-2.4.1-2.20210324155954.d57a3d9.el8ost openstack-tripleo-heat-templates-11.4.1-2.20210318010111.e30b34a.el8ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1906053 (view as bug list) Environment:
Last Closed: 2021-09-15 07:07:50 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: Train
Embargoed:
Bug Depends On:    
Bug Blocks: 1906053, 1919882    

Description Mauro Oddi 2020-05-11 08:34:56 UTC
Description of problem:
Nova placement service has become an important part of openstack in Train, however its CLI component is not pulled in by default.


Version-Release number of selected component (if applicable):
16.0

How reproducible:

[stack@undercloud-osp16 ~]$ openstack resoruce
openstack: 'resoruce' is not an openstack command. See 'openstack --help'.
Did you mean one of these?
  resource member create
  resource member delete
  resource member list
  resource member show
  resource member update

(it misses resource provider subcommands)

Steps to Reproduce:
1. Install undercloud 
2. Try to interact with placement via CLI
3.

Actual results:
subcommands are missing

Expected results:
they should be there

Additional info:
Deps:
https://github.com/rdo-packages/tripleoclient-distgit/blob/rpm-master/python-tripleoclient.spec

Comment 1 Alex Schultz 2020-05-11 13:42:09 UTC
I commented on this packaging request and we have a way to install all the clients on the undercloud in tripleo-heat-templates. Since there is no hard requirement for placement, I would not recommend updating the package requirements as described.

Comment 2 smooney 2020-05-13 16:42:37 UTC
*** Bug 1834162 has been marked as a duplicate of this bug. ***

Comment 3 Piotr Kopec 2020-05-22 13:37:26 UTC
Following Alex advice we will install placement client via OS::TripleO::Services::OpenStackClients resource and tripleo_clients_install ansible role.

Comment 5 David Vallee Delisle 2020-12-08 20:22:11 UTC
It looks like it was submitted pretty recently upstream on the train branch. Downstream [1], it's part of the 16.2 branch [2] and included in tripleo-ansible-0.5.1-2.20201030004910.9b6ef7b.el8ost  [a]

[a] https://brewweb.engineering.redhat.com/brew/buildinfo?buildID=1369850

[1]
commit 4b5691d3827f6d8936a40e5a368ec682add7cb94
Author:     Takashi Kajinami <tkajinam>
AuthorDate: Fri Jun 19 22:23:08 2020 +0900
Commit:     Takashi Kajinami <tkajinam>
CommitDate: Wed Oct 28 09:46:09 2020 +0900

    Install osc-placement package during client package installation
    
    This patch makes osc-placmeent package installed as a part of client
    packages, because this package is required to manage resources in
    placement service.
    
    Change-Id: Ib2524cf97f97693d7d03c1bb4fb1c2bde40d3bec
    (cherry picked from commit 8f758e5e4ffc9cbca2b979f730da0fa2cd461057)
    (cherry picked from commit 80e0bf2e1fa3ab91f58601b0f15d1852b490821c)

[2]
$  git branch -r --contains 4b5691d3827f6d8936a40e5a368ec682add7cb94
  origin/rhos-16.2-patches
  origin/rhos-16.2-patches-20201121174748-backup
  origin/rhos-16.2-patches-20201124201509-backup
  origin/rhos-16.2-trunk-patches

Comment 9 spower 2021-01-06 11:44:10 UTC
To be included in 16.2 this needs to go through the exception process.

Comment 25 errata-xmlrpc 2021-09-15 07:07:50 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 (Red Hat OpenStack Platform (RHOSP) 16.2 enhancement 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/RHEA-2021:3483