Bug 1431753

Summary: os-traits needs to be deployed/upgraded right after Placement
Product: Red Hat OpenStack Reporter: Sylvain Bauza <sbauza>
Component: openstack-novaAssignee: Rajesh Tailor <ratailor>
Status: CLOSED ERRATA QA Contact: Archit Modi <amodi>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 12.0 (Pike)CC: berrange, dasmith, eglynn, jschluet, kchamart, lyarwood, ratailor, sbauza, sferdjao, sgordon, srevivo, tvignaud, vromanso
Target Milestone: rcKeywords: InstallerIntegration
Target Release: 12.0 (Pike)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-nova-16.0.2-0.20171023105738.a2e4540.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-12-13 21:13:42 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 Sylvain Bauza 2017-03-13 17:07:58 UTC
The blueprint implementing traits for Placement provides a new library called os-traits that needs to be synchronizing what Placement knows about traits.

Basically, that library provides a list of known traits that Placement can support, and any new capabilities would require a synchronization between the library and the Placement DB.

As a consequence, os-traits becomes a dependency for placement service, and any upgrade of os-traits requires a os-traits sync command that updates the placement DB.

All the deployer impacts are written in :

http://specs.openstack.org/openstack/nova-specs/specs/pike/approved/resource-provider-traits.html#other-deployer-impact

Comment 1 Rajesh Tailor 2017-09-28 04:51:17 UTC
Created a BZ [1] for adding os-traits library in RDO packages.
[1] https://bugzilla.redhat.com/show_bug.cgi?id=1455901


Since the design has changed, instead of having a separate placement-manage command to sync the traits from os-traits library to placement db,
the change https://review.openstack.org/#/c/469578/ sync os-traits library to placement db, whenever new version of library is released.

Comment 2 Rajesh Tailor 2017-09-28 04:53:22 UTC
This is done, as the python-os-traits module is available in RDO packages and dependency for nova-distgit package was added to use this module in nova.

Comment 4 Rajesh Tailor 2017-09-29 05:22:20 UTC
Hi Jon,

Thank you for the providing correct info and setting appropriate status.

I will make sure not to make such mistake again.

Comment 10 errata-xmlrpc 2017-12-13 21:13:42 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/RHEA-2017:3462