[Openstack] Traits is not working

Jay Pipes jaypipes at gmail.com
Tue Oct 3 18:06:12 UTC 2017


Against the Pike placement API endpoint, make sure you send the 
following HTTP header:

OpenStack-API-Version: placement 1.10

Best,
-jay

On 10/03/2017 02:01 PM, Ramu, MohanX wrote:
> Please refer attached original one.
> 
> 
> -----Original Message-----
> From: Jay Pipes [mailto:jaypipes at gmail.com]
> Sent: Tuesday, October 3, 2017 10:03 PM
> To: Ramu, MohanX <mohanx.ramu at intel.com>; openstack at lists.openstack.org
> Subject: Re: [Openstack] Traits is not working
> 
> On 10/03/2017 12:12 PM, Ramu, MohanX wrote:
>> Thanks for reply Jay.
>>
>> No Jay,
>>
>> I have installed Pike. There also I face the same problem.
> 
> No, you haven't installed Pike (or at least not properly). Otherwise, the max_version returned from the Pike placement API would be 1.10, not 1.4.
> 
> Best,
> -jay
> 
>> Thanks & Regards,
>>
>> Mohan Ramu
>> -----Original Message-----
>> From: Jay Pipes [mailto:jaypipes at gmail.com]
>> Sent: Tuesday, October 3, 2017 9:26 PM
>> To: openstack at lists.openstack.org
>> Subject: Re: [Openstack] Traits is not working
>>
>> 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/
>>> r
>>> esource-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
>>
>> _______________________________________________
>> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>> Post to     : openstack at lists.openstack.org
>> Unsubscribe :
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>>



More information about the Openstack mailing list