Sanity: auth not to use SSL for Vcenter-only mode

Bug #1663089 reported by Sarath
6
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://10.204.216.63:8082/'

----------------------------
/contrail-test/fixtures/vnc_api_test.py
Modified scripts to support SSL
Change-Id: I82e2d1a4c8d9d5a0da6b4df457f6198a33c78b5f
-----------------------------

Sarath (nsarath)
description: updated
Revision history for this message
Sandip Dey (sandipd) wrote :
Download full text (3.5 KiB)

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
return self._vnc.project_read(fq_name = self._inputs.project_fq_name)
File "/usr/lib/python2.7/dist-packages/vnc_api/vnc_api.py", line 42, in wrapper
return func(self, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/vnc_api/vnc_api.py", line 440, in _object_read
res_type, fq_name, fq_name_str, id, ifmap_id)
File "/usr/lib/python2.7/dist-packages/vnc_api/vnc_api.py", line 741, in _read_args_to_id
return (True, self.fq_name_to_id(res_type, fq_name))
File "/usr/lib/python2.7/dist-packages/vnc_api/vnc_api.py", line 42, in wrapper
return func(self, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/vnc_api/vnc_api.py", line 982, in fq_name_to_id
content = self._request_server(rest.OP_POST, uri, data=json_body)
File "/usr/lib/python2.7/dist-packages/vnc_api/vnc_api.py", line 755, in _request_server
retry_count=retry_count)
File "/usr/lib/python2.7/dist-packages/vnc_api/vnc_api.py", line 827, in _request
% (op, url, data, content))
cfgm_common.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

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
CoreLocation : /cs-shared/test_runs/nodea19/jenkins-ubuntu-14-04_vcenter_gateway_Sanity_mitaka-8
cores : {'10.204.217.212': ['sh:', '/bin/bash:', 'not', 'found'], '10.204.217.215': ['sh:', '/bin/bash:', 'not', 'found']}
LogsLocation : http://10.204.216.50/Docs/logs/3.2.1.0-26_jenkins-ubuntu-14-04_vcenter_gateway_Sanity_mitaka-8_1489037790.41/logs/
Report : http://10.204.216.50/Docs/logs/3.2.1.0-26_jenkins-ubunt...

Read more...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.