Sanity: auth not to use SSL for Vcenter-only mode
Bug #1663089 reported by
Sarath
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R3.1 |
Fix Committed
|
High
|
Senthilnathan Murugappan | |||
R3.2 |
Fix Committed
|
High
|
Senthilnathan Murugappan | |||
Trunk |
Fix Committed
|
High
|
Senthilnathan Murugappan |
Bug Description
R3.2 Vcenter-only sanity broken due to this.
Debugged with Senthil, and as Vcenter-only not involving keystone, so vnc should not use “ssl”
and part of this below commit, shows use of ssl for API server and so causing issue on Vcenter-only sanity runs.
(Pdb) pp url
'https:/
-------
/contrail-
Modified scripts to support SSL
Change-Id: I82e2d1a4c8d9d5
-------
Seeing automation error in vrouter_gw mode
From: Sandip Dey <email address hidden>
Date: Thursday, March 9, 2017 at 2:43 PM
To: Senthilnathan Murugappan <email address hidden>, Sarathbabu Narasimhan <email address hidden>, Usha Rani Mani <email address hidden>
Cc: Jeba Paulaiyan <email address hidden>
Subject: Re: Commit : Modified scripts to support SSL causing issues on Vcenter-only sanity : Bug #1663089
Yes.Its a openstack setup .
We launch vm in vcenter and create ports in api.We manage both orchestrator in this scenario.Contrail side is pure openstack provisioning.
From: Senthilnathan Murugappan <email address hidden>
Date: Thursday, March 9, 2017 at 2:40 PM
To: Sandip Dey <email address hidden>, Sarathbabu Narasimhan <email address hidden>, Usha Rani Mani <email address hidden>
Cc: Jeba Paulaiyan <email address hidden>
Subject: Re: Commit : Modified scripts to support SSL causing issues on Vcenter-only sanity : Bug #1663089
File "/contrail- test/fixtures/ vcenter_ gateway. py", line 90, in _get_project_object project_ read(fq_ name = self._inputs. project_ fq_name) python2. 7/dist- packages/ vnc_api/ vnc_api. py", line 42, in wrapper python2. 7/dist- packages/ vnc_api/ vnc_api. py", line 440, in _object_read python2. 7/dist- packages/ vnc_api/ vnc_api. py", line 741, in _read_args_to_id name_to_ id(res_ type, fq_name)) python2. 7/dist- packages/ vnc_api/ vnc_api. py", line 42, in wrapper python2. 7/dist- packages/ vnc_api/ vnc_api. py", line 982, in fq_name_to_id server( rest.OP_ POST, uri, data=json_body) python2. 7/dist- packages/ vnc_api/ vnc_api. py", line 755, in _request_server retry_count) python2. 7/dist- packages/ vnc_api/ vnc_api. py", line 827, in _request exceptions. NoIdError: Unknown id: Error: oper 1 url /fqname-to-id body {"fq_name": ["default-domain", "admin"], "type": "project"} response Name ['default-domain', 'admin'] not found
return self._vnc.
File "/usr/lib/
return func(self, *args, **kwargs)
File "/usr/lib/
res_type, fq_name, fq_name_str, id, ifmap_id)
File "/usr/lib/
return (True, self.fq_
File "/usr/lib/
return func(self, *args, **kwargs)
File "/usr/lib/
content = self._request_
File "/usr/lib/
retry_count=
File "/usr/lib/
% (op, url, data, content))
cfgm_common.
Is admin project expected to be present in vcenter_gateway scenarios?
- Senthil
From: Sandip Dey <email address hidden>
Date: Thursday, March 9, 2017 at 11:29 AM
To: Senthilnathan Murugappan <email address hidden>, Sarathbabu Narasimhan <email address hidden>, Usha Rani Mani <email address hidden>
Cc: Jeba Paulaiyan <email address hidden>
Subject: Re: Commit : Modified scripts to support SSL causing issues on Vcenter-only sanity : Bug #1663089
Hi Senthil
Was it fixed?Could you check why its still failing.Looks like similar failures.You can use the setup is needed.
Regards
Sandip
Build : 3.2.1.0-26 test_runs/ nodea19/ jenkins- ubuntu- 14-04_vcenter_ gateway_ Sanity_ mitaka- 8 10.204. 216.50/ Docs/logs/ 3.2.1.0- 26_jenkins- ubuntu- 14-04_vcenter_ gateway_ Sanity_ mitaka- 8_1489037790. 41/logs/ 10.204. 216.50/ Docs/logs/ 3.2.1.0- 26_jenkins- ubunt...
CoreLocation : /cs-shared/
cores : {'10.204.217.212': ['sh:', '/bin/bash:', 'not', 'found'], '10.204.217.215': ['sh:', '/bin/bash:', 'not', 'found']}
LogsLocation : http://
Report : http://