Bug 1333750 - Nova endpoint v2 deployed instead of v2.1
Summary: Nova endpoint v2 deployed instead of v2.1
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-packstack
Version: 9.0 (Mitaka)
Hardware: Unspecified
OS: Unspecified
medium
high
Target Milestone: async
: 9.0 (Mitaka)
Assignee: Alfredo Moralejo
QA Contact: Joe H. Rahme
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-05-06 10:08 UTC by Ricardo Noriega
Modified: 2017-10-10 17:31 UTC (History)
7 users (show)

Fixed In Version: openstack-packstack-8.0.3-1.el7ost.src.rpm
Doc Type: Bug Fix
Doc Text:
Cause: Before this version, packstack was deploying endpoint with nova v2.0 for compute. Consequence: API calls included in microversions after 2.1 was not available. Fix: Since openstack-packstack-8.0.3, endpoint is created with v2.1 which is backwards compatible with api v2.0. Result: All nova API features are available to packsack users.
Clone Of:
Environment:
Last Closed: 2017-10-10 17:31:14 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 316241 0 None None None 2016-05-13 22:00:37 UTC
OpenStack gerrit 359329 0 None None None 2016-09-21 08:04:12 UTC
OpenStack gerrit 468480 0 None None None 2017-05-31 10:06:25 UTC

Description Ricardo Noriega 2016-05-06 10:08:16 UTC
Description of problem:

After an All-In-One deployment made with Packstack, Nova V2 service endpoint was present in Keystone catalog, instead of the newer V2.1.

Default endpoint version should be 2.1. 



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

packstack Mitaka 8.0.0.0rc2



How reproducible:

Highly

Steps to Reproduce:
1. Create an AIO environment
2. Some commands output an error message related to microversion mismatch

Actual results:


Expected results:


Additional info:

OSP-d is deploying v2.1 endpoint in version 8, so Packstack should do the same.

Comment 2 Ivan Chavero 2016-05-12 19:44:51 UTC
Can you please provide log files with the microversion error?

Comment 3 Ivan Chavero 2016-05-12 22:27:43 UTC
confirmed that nova v2 is deprecated

Comment 4 Ricardo Noriega 2016-08-24 11:42:14 UTC
I've pushed this patch:

https://review.openstack.org/#/c/359329/

Comment 7 Alfredo Moralejo 2017-05-31 15:33:14 UTC
Required patch has been included in upstream tag 8.0.3, so we'll rebase packstack to this tag

Comment 8 Alfredo Moralejo 2017-05-31 17:29:12 UTC
Testing instructions:

1. Install packstack:

yum install -y openstack-packstack

2. Deploy any configuration (nova is mandatory in packstack)

packstack --allinone

3. Get URL for nova endpoint:

# source keystonerc_admin 

# openstack endpoint list | grep nova
| 646aaa8b8c254e2fab8e005e53b2bdf8 | RegionOne | nova          | compute      |

# openstack endpoint show 646aaa8b8c254e2fab8e005e53b2bdf8
+--------------+-----------------------------------------------+
| Field        | Value                                         |
+--------------+-----------------------------------------------+
| adminurl     | http://192.168.121.83:8774/v2.1/%(tenant_id)s |
| enabled      | True                                          |
| id           | 646aaa8b8c254e2fab8e005e53b2bdf8              |
| internalurl  | http://192.168.121.83:8774/v2.1/%(tenant_id)s |
| publicurl    | http://192.168.121.83:8774/v2.1/%(tenant_id)s |
| region       | RegionOne                                     |
| service_id   | 4152fb2e975a4d4d8f37c56d4af7bde0              |
| service_name | nova                                          |
| service_type | compute                                       |
+--------------+-----------------------------------------------+

internalurl, adminurl and publicurl should be  http://<ip address>:8774/v2.1/%(tenant_id)s

Comment 9 Lon Hohberger 2017-09-06 19:59:28 UTC
According to our records, this should be resolved by openstack-packstack-8.0.3-1.el7ost.  This build is available now.

Comment 10 Mike Burns 2017-10-10 17:31:14 UTC
sanity test shows v2.1 with released versions.


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