[Openstack] Traits is not working

Jay Pipes jaypipes at gmail.com
Tue Oct 3 15:55:40 UTC 2017


On 10/03/2017 11:34 AM, Ramu, MohanX wrote:
> Hi,
> 
> We have implemented OpenStack Ocata and Pike releases, able to consume 
> Placement resource providers API, not able to consume resource class APIs’.
> 
> I tried to run Triats API in Pike set up too. I am not able to run any 
> Traits API.
> 
> As per the Open Stack doc, the Placement API URL is a base URL for 
> Traits also. I am able to run Placement API as per the given doc, not 
> able to run/access the Traits APIs’ . Getting 404 (Not Found error).

The /traits REST endpoint is part of the Placement API, yes.

> As mentioned in below link, the placement-manage os-traits sync/command 
> is not working, it says that command not found.

This means you have not installed (or updated) packages for Pike.

> https://specs.openstack.org/openstack/nova-specs/specs/pike/approved/resource-provider-traits.html
> 
> Pike – Placement API version is 1.0 to 1.10
> 
> Ocata – Placement API version is 1.0 to 1.4 which support
> 
> We got  404 only, It seems there is a disconnect btw Placement and 
> Triats. Need to understand that are we missing any configuration.

You do not have Pike installed. You have Ocata installed. You need to 
upgrade to Pike.

Best,
-jay



More information about the Openstack mailing list