Bug 1579714

Summary: Cannot create Openstack compute resource
Product: Red Hat Satellite Reporter: Sanket Jagtap <sjagtap>
Component: Compute Resources - OpenStackAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED WORKSFORME QA Contact: Martin Korbel <mkorbel>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.4CC: dlobatog, mkorbel
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-07-10 13:39:45 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:
Attachments:
Description Flags
production log of failure none

Description Sanket Jagtap 2018-05-18 07:43:29 UTC
Created attachment 1438370 [details]
production log of failure

Version-Release number of selected component (if applicable):
Build:Satellite 6.4 snap3


How reproducible:
Always

Steps to Reproduce:
1. Try to create OSP compute resource
 
 b'LANG=en_US.UTF-8  hammer -v -u admin -p changeme --output=csv compute-resource create --tenant="satellite" --name="EemguGSWKH" --url="htt
ps://<osphost>.com:13000/v2.0/tokens" --user="satellite" --provider="Openstack" --password="000000000000000"'



Actual results:
Could not create the compute resource:
  OpenStack compute binding only supports version v2 and v2.1


Expected results:
OSP compute resource should be created 

Additional info:

Comment 2 Marek Hulan 2018-06-15 15:21:27 UTC
Connecting redmine issue http://projects.theforeman.org/issues/23948 from this bug

Comment 3 Daniel Lobato Garcia 2018-07-06 13:24:28 UTC
Martin, Sanket. I'm unable to reproduce this on the latest OSP at least. What URL are you seeing for "Identity services (Keystone)" at $OPENSTACKURL:dashboard/project/api_access/ ?

Comment 4 Sanket Jagtap 2018-07-06 14:02:03 UTC
This happens on OSP 10 with v2 API

version	
status	"deprecated"
updated	"2016-08-04T00:00:00Z"
media-types	
0	
base	"application/json"
type	"application/vnd.openstack.identity-v2.0+json"
id	"v2.0"
links	
0	
href	"https://osp/v2.0/"
rel	"self"
1	
href	"http://docs.openstack.org/"
type	"text/html"
rel	"describedby"

Comment 5 Sanket Jagtap 2018-07-10 13:39:45 UTC
Build :Satellite 6.4.0 snap 11

I am able to create OSP resource successfully

Comment 6 Daniel Lobato Garcia 2018-07-10 13:48:40 UTC
This has been fixed since we forced to use fog-openstack 0.1.25