Hi Eswar,

Since you are using MultiCloud to proxy the API calls, the underlying 
OpenStack’s Identity API does not have to be 2.0.  MultiCloud presents a 2.0 
API (as specified by the dcae_keystone_url parameter) on its northbound which 
DCAE calls.  Then MultiCloud converts these 2.0 API calls to v3 calls into 
underlying OpenStack.

It appears that there is some confusion when MultiCloud is converting these 
calls.  I am also cc-ing Bin from MultiCloud for his suggestions.  One thing I 
can think of is to try to set dnsaas_keystone_url to 
http://172.27.29.47/identity/v3  (with v3 explicit)?

Thanks,
Lusheng




From: <[email protected]> on behalf of ESWAR RAO 
<[email protected]>
Date: Tuesday, January 2, 2018 at 8:07 PM
To: "[email protected]" <[email protected]>
Subject: [onap-discuss] [DCAE] [Multicloud] problem in DCAE VMs in amsterdam 
release

HI All,

Can you please help me in resolving below issues??

I installed ocata openstack devstack version and installed designate manually.
I followed ONAP amsterdam release document.


I am facing problems in DCAE VM's bring up as they rely on keystone V2 but my 
devstack has V3 support.


Is it mandatory to have both V2 and V3 installed in setup ??

I could see in below link:
https://wiki.onap.org/questions/16007597/does-any-component-in-onap-amsterdam-release-require-keystone-v2.0-version<https://urldefense.proofpoint.com/v2/url?u=https-3A__wiki.onap.org_questions_16007597_does-2Dany-2Dcomponent-2Din-2Donap-2Damsterdam-2Drelease-2Drequire-2Dkeystone-2Dv2.0-2Dversion&d=DwMFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=qiKb3LQBLje9oy8MjG3MEx1ia4mIocif7RoUY8WQWV8&m=HGwAtyLAEiwovSJdfGNGC_OG7M_IL0GWs4dpE3j9Se0&s=d0rOhBupei13Tu_2O9GMD_eQqqtuUzNedS0W3IhKE7E&e=>

So in env file I gave:

dnsaas_keystone_url: 
http://172.27.29.47/identity<https://urldefense.proofpoint.com/v2/url?u=http-3A__172.27.29.47_identity&d=DwMFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=qiKb3LQBLje9oy8MjG3MEx1ia4mIocif7RoUY8WQWV8&m=HGwAtyLAEiwovSJdfGNGC_OG7M_IL0GWs4dpE3j9Se0&s=LJB5fwT9PxfqyzNk8A8NU7AOj3Ui3ROTiVQZzyHiqw8&e=>
dcae_keystone_url: 
"http://10.0.14.1/api/multicloud-titanium_cloud/v0/pod25_RegionOne/identity/v2.0<https://urldefense.proofpoint.com/v2/url?u=http-3A__10.0.14.1_api_multicloud-2Dtitanium-5Fcloud_v0_pod25-5FRegionOne_identity_v2.0&d=DwMFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=qiKb3LQBLje9oy8MjG3MEx1ia4mIocif7RoUY8WQWV8&m=HGwAtyLAEiwovSJdfGNGC_OG7M_IL0GWs4dpE3j9Se0&s=jmaQ98ZiXkW7iqyI--8yf2Umq0meTisbXZV1mcsd32o&e=>"


But during dcae2-bootstrap VM its failing like:


2018-01-02 10:47:28 CFY <local> [key_pair_248cd.create] Task started 
'nova_plugin.keypair.create' [retry 10/10]
2018-01-02 10:47:29 CFY <local> [key_pair_248cd.create] Task failed 
'nova_plugin.keypair.create' -> 'unicode' object has no attribute 'get' [retry 
10/10] 2018-01-02 10:47:29 CFY <local> 'install' workflow execution failed: 
Workflow failed: Task failed 'nova_plugin.keypair.create'
-> 'unicode' object has no attribute 'get' Workflow failed: Task failed 
'nova_plugin.keypair.create' -> 'unicode' object has no attribute 'get'




installer@a7717e214ba0:~$ cat /tmp/local_inputs
centos7image_id: "52d4ea09-cc69-4a9a-9961-938a3282d209"
ubuntu1604image_id: "97bbe637-5d42-419a-a2c7-beff33ffa23c"
flavor_id: "4"
security_group: "abc0687d-34ab-4d37-8fe8-4b544d94ba71"
public_net: "ext-net"
private_net: "onap_oam"
openstack:
  username: "admin"
  password: "onap123"
  tenant_name: "admin"
  auth_url: 
'http://10.0.14.1/api/multicloud-titanium_cloud/v0/pod25_RegionOne/identity/v2.0<https://urldefense.proofpoint.com/v2/url?u=http-3A__10.0.14.1_api_multicloud-2Dtitanium-5Fcloud_v0_pod25-5FRegionOne_identity_v2.0&d=DwMFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=qiKb3LQBLje9oy8MjG3MEx1ia4mIocif7RoUY8WQWV8&m=HGwAtyLAEiwovSJdfGNGC_OG7M_IL0GWs4dpE3j9Se0&s=jmaQ98ZiXkW7iqyI--8yf2Umq0meTisbXZV1mcsd32o&e=>'
  region: "RegionOne"
keypair: "dcae-g2"
key_filename: ./key600
location_prefix: "onapr1"
location_domain: "onap-dcaegen2"
codesource_url: 
"https://nexus.onap.org/content/sites/raw<https://urldefense.proofpoint.com/v2/url?u=https-3A__nexus.onap.org_content_sites_raw&d=DwMFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=qiKb3LQBLje9oy8MjG3MEx1ia4mIocif7RoUY8WQWV8&m=HGwAtyLAEiwovSJdfGNGC_OG7M_IL0GWs4dpE3j9Se0&s=9BMf5pqXXYwLvOruLnrFsRLUfywxbjmf-0jM_bnOgic&e=>"
codesource_version: "org.onap.dcaegen2.deployments/releases/scripts/"






I could see call tracing as : DCAE VM -> Multiservice VM (gateway container -> 
windriver container) -> host devstack nova-api


In dev-stack nova-api logs, I could see "GET /compute/v2.1/v2.1/os-keypairs"


v2.1 is getting appended additionally ???


stack@onap-S2600TPR:~/ONAP/init$ sudo journalctl -f --unit devstack@n-api* Jan 
02 16:17:04 onap-S2600TPR [email protected][153784]: [pid: 153789|app: 
0|req: 1068/10690] 172.27.29.236 () {62 vars in 1287
bytes} [Tue Jan 2 16 :17:04 2018] GET /compute/v2.1/v2.1/os-keypairs => 
generated 112 bytes in 62 msecs (HTTP/1.1 404) 5 headers in 228 bytes (1 
switches on core 0) Jan 02 16:17:08 onap-S2600TPR 
[email protected][153784]: INFO nova.api.openstack.requestlog
[ None req-07e8498c-1531-4448-95e3-bb77483693e2 admin admin] 172.27.29.236 "GET 
/compute/v2.1/v2.1/os-keypairs" status: 404 len: 112 microversion: - time: 
0.052375 Jan 02 16:17:08 onap-S2600TPR [email protected][153784]: [pid: 
153787|app: 0|req: 1076/10691]
172.27.29.236 () {62 vars in 1287 bytes} [Tue Jan 2 16 :17:08 2018] GET 
/compute/v2.1/v2.1/os-keypairs => generated 112 bytes in 56 msecs (HTTP/1.1 
404) 5 headers in 228 bytes (1 switches on core 0) Jan 02 16:17:10 
onap-S2600TPR [email protected][153784]:
INFO nova.api.openstack.requestlog [None 
req-dea1ec44-6d8c-4f7f-92d2-dafe1cf8a9a1 admin admin] 172.27.29.236 "GET 
/compute/v2.1/v2.1/os-keypairs" status: 404 len: 112 microversion: - time: 
0.043575


Thanks
Eswar Rao


_______________________________________________
onap-discuss mailing list
[email protected]
https://lists.onap.org/mailman/listinfo/onap-discuss

Reply via email to