Hi Brian, Thanks for your quick response,
* Here was my identity_services tables from so_catalogdb, it has openstack
url has ip address only not the hostname.
MariaDB [catalogdb]> select * from identity_services;
+-----------------------+----------------------------------------------+----------------------+--------------------------------------------------------------------------+----------------------------------+-------------+-----------------+-
| ID | IDENTITY_URL | MSO_ID
| MSO_PASS
| ADMIN_TENANT | MEMBER_ROLE | TENANT_METADATA |
IDENTITY_SERVER_TYPE | IDENTITY_AUTHENTICATION_TYPE | LAST_UPDATED_BY |
CREATION_TIMESTAMP | UPDATE_TIMESTAMP | PROJECT_DOMAIN_NAME |
USER_DOMAIN_NAME |
+-----------------------+----------------------------------------------+----------------------+--------------------------------------------------------------------------+----------------------------------+-------------+-----------------+-
| DEFAULT_KEYSTONE | http://192.168.9.75:5000/v3 | admin
|
5E6FC1FCBE8FB5C91821866D7F0510B7A1C1913A38E6D795268AAB2449FB133A697679 |
70968f3b213c4c8d81d92c06a9dddf7c | admin | NULL | KEYSTONE_V3
| USERNAME_PASSWORD | NULL | 2020-07-06 09:04:18
| NULL | default | Default |
* As per the jira shared, i had checked the override file robot section
that matches with that comment.
robot:
enabled: true
flavor: large
appcUsername: "[email protected]"
appcPassword: "demo123456!"
openStackKeystoneAPIVersion: "v3"
openStackKeyStoneUrl: "http://192.168.9.75:5000"
openStackPublicNetId: "f387dcf8-0d46-49df-9eaf-440c9221654e"
openStackTenantId: "70968f3b213c4c8d81d92c06a9dddf7c"
openStackUserName: "admin"
openStackUserDomain: "Default"
openStackProjectName: "admin"
ubuntu14Image: "ubuntu-14-04-cloud-amd64"
ubuntu16Image: "ubuntu-16-04-cloud-amd64"
openStackPrivateNetId: "519a384a-b187-43f3-9faa-ce6d4894db96"
openStackPrivateSubnetId: "69754aaf-ef22-46af-836a-1c5b9f6b7e5e"
openStackPrivateNetCidr: "60.0.0.0/24"
openStackSecurityGroup: "c035bc82-9f6a-4628-b776-37ed04dd5a20"
openStackOamNetworkCidrPrefix: "60.0"
dcaeCollectorIp: "20.0.0.28"
kubernetesExternalIp: "20.0.0.28"
vnfPubKey: "ssh-rsa
AAAAB3NzaC1yc2EAAAADAQABAAABAQCxohO+vv7lG456I3E8K4HOlPhQbt8lxOhHTJT5wqgiC2dR1MpxZvvD78F9hyeI6WhFl52uI2h9eWosmzeZGRSfSMMdPhi1uX6eEBonYdHzq4vZSwZfpFEph/9h0/ilITpf+ns+XW+1ihZkzQOPp3Yyirq4C7MVfdvRFzPLWkU6TUreCg1EFoNdKT+Zm1P7XqVYjNvmuZLN4gW3QI0aYi1aAZITBDX95tvGxz0CCL11i/CRDnJ21N98MIkQGkt7heSxxwKTMpr2HYoQPyY4DFB9StJpzTeVER6vhgxemd+0i7HUwSoRgl14abiirIj7fnmHGOZkLBeWQP3H47U7sA9NISF
user@controller"
demoArtifactsVersion: "1.6.0-SNAPSHOT"
demoArtifactsRepoUrl: "https://nexus.onap.org/content/repositories/releases"
scriptVersion: "1.6.0-SNAPSHOT"
nfsIpAddress: "20.0.0.48"
config:
openStackEncryptedPasswordHere: "15650822a7b470459dd57a73e3f4aca8"
openStackSoEncryptedPassword:
"5E6FC1FCBE8FB5C91821866D7F0510B7A1C1913A38E6D795268AAB2449FB133A697679"
so:
enabled: true
so-catalog-db-adapter:
config:
openStackUserName: "admin"
openStackKeyStoneUrl: "http://192.168.9.75:5000/v3"
openStackEncryptedPasswordHere:
"5E6FC1FCBE8FB5C91821866D7F0510B7A1C1913A38E6D795268AAB2449FB133A697679"
openStackServiceTenantName: "admin"
openStackTenantId: "70968f3b213c4c8d81d92c06a9dddf7c"
* According to your suggestion i checked the so-openstack-adapter debug
logs, i did not find any issue here, in the response identity url also it was
proper, but still getting the controller hostname not found error only. I am
attaching that trace to this mail.
Please suggestion any solution to come out of this.
Regards,
________________________________________________________
Velugubantla Praveen
Engineer - CTO-Common
L&T TECHNOLOGY SERVICES LIMITED
L3 Building, Manyata Embassy Business Park,
Nagawara Hobli, Bengaluru-560045
________________________________________________________
Mobile: +91 9154111420
www.LTTS.com<http://www.ltts.com/>
[cid:9ba44961-c589-46d4-a683-dbb147730fe6]
________________________________
From: FREEMAN, BRIAN D <[email protected]>
Sent: Thursday, July 9, 2020 12:09 AM
To: [email protected] <[email protected]>; Velugubantla
Praveen <[email protected]>; seshu kumar m via Lists.Onap.Org
<[email protected]>
Cc: JOMY JOSE <[email protected]>
Subject: RE: [ONAP-DISCUSS] #so [Frankfurt] Issue while deploying a service
from SO-OPENSTACK Adapter
SO containers only support sh since they are alpine based.
The mariadb tables for cloud_identity services is where the openstack url ,
hostname, domain etc are set.
./demo-k8s.sh onap init will set them based on your helm charts and override
files.
You do not need to update /etc/hosts
https://jira.onap.org/browse/OOM-1982<https://ind01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fjira.onap.org%2Fbrowse%2FOOM-1982&data=02%7C01%7Cvelugubantla.praveen%40ltts.com%7Cbeb06993597140cbafc708d8236e548a%7C311b33788e8a4b5ea33fe80a3d8ba60a%7C0%7C0%7C637298304055459812&sdata=yD0%2BrGwUSlyaBvw0%2BRHvl4ypY7qwwH6nE1RpcrVx1MM%3D&reserved=0>
has some examples of what a properly configured SO should look like.
KEYSTONE_V3 is the row you should be comparing your environment to.
If you look in the /app/logs directory there should be an indicator of the url
SO is trying to use that should be an IP address not a hostname.
Brian
From: [email protected] <[email protected]> On Behalf Of
Velugubantla Praveen
Sent: Wednesday, July 8, 2020 1:07 PM
To: [email protected]; seshu kumar m via Lists.Onap.Org
<[email protected]>
Cc: JOMY JOSE <[email protected]>
Subject: [ONAP-DISCUSS] #so [Frankfurt] Issue while deploying a service from
SO-OPENSTACK Adapter
Hi SO Team,
As a part of Service Instantiation, While deploying a network we are getting an
error in openstack adapter like "STATUS: Received error from Network Adapter:
org.onap.so.openstack.exceptions.MsoIOException: Unknown Host: controller". PFA
of error_trace.txt, it's just an minor issue with hostname mapping
configuration.
Note:- I am attaching my setup integration-override.yaml file for reference.
We tried adding the hostname entry in /etc/hosts but as we don't have root
permission inside the pod, so unable to do that.
# Having an issue to enter into the pod via bash, so tried with sh but blocked
due to permission issue.
root@rndfrankfurt-nfs:/home/ubuntu#
root@rndfrankfurt-nfs:/home/ubuntu# kubectl exec -it
frankfurt-so-openstack-adapter-c99c6fb8f-zpv78 apk add bash
Defaulting container name to so-openstack-adapter.
Use 'kubectl describe pod/frankfurt-so-openstack-adapter-c99c6fb8f-zpv78 -n
onap' to see all of the containers in this pod.
ERROR: Unable to lock database: Permission denied
ERROR: Failed to open apk database: Permission denied
command terminated with exit code 99
root@rndfrankfurt-nfs:/home/ubuntu# kubectl exec -it
frankfurt-so-openstack-adapter-c99c6fb8f-zpv78 sh
Defaulting container name to so-openstack-adapter.
Use 'kubectl describe pod/frankfurt-so-openstack-adapter-c99c6fb8f-zpv78 -n
onap' to see all of the containers in this pod.
/app $
/etc $ ls -lrt | grep hosts
-rw-r--r-- 1 root root 241 Jul 6 08:07 hosts
/etc $
To resolve it, we want to know either of the below questions
* How we can edit that hosts file to add our controller host mapping
details ?
* From where actually this openstack-adapter pod will read that Keystone
data ??
Regards,
Praveen V
L&T Technology Services Ltd
www.LTTS.com<https://ind01.safelinks.protection.outlook.com/?url=https%3A%2F%2Furldefense.proofpoint.com%2Fv2%2Furl%3Fu%3Dhttp-3A__www.LTTS.com%26d%3DDwQFAw%26c%3DLFYZ-o9_HUMeMTSQicvjIg%26r%3De3d1ehx3DI5AoMgDmi2Fzw%26m%3DLEYw9tAjjfiFQ9mHXHquvdYXooaYXIHsx4IZhMIty18%26s%3DpkJWWhwxca0Hc-M4dH7ZYh8jTbk0hMo6es0ld6XdjAI%26e%3D&data=02%7C01%7Cvelugubantla.praveen%40ltts.com%7Cbeb06993597140cbafc708d8236e548a%7C311b33788e8a4b5ea33fe80a3d8ba60a%7C0%7C0%7C637298304055459812&sdata=UPrWUg1VPPB532Gn3oBj%2FLMbdLyg9C4UiIPf4njDxvw%3D&reserved=0>
L&T Technology Services Limited (LTTS) is committed to safeguard your data
privacy. For more information to view our commitment towards data privacy under
GDPR, please visit the privacy policy on our website
www.Ltts.com<https://ind01.safelinks.protection.outlook.com/?url=https%3A%2F%2Furldefense.proofpoint.com%2Fv2%2Furl%3Fu%3Dhttp-3A__www.Ltts.com%26d%3DDwQFAw%26c%3DLFYZ-o9_HUMeMTSQicvjIg%26r%3De3d1ehx3DI5AoMgDmi2Fzw%26m%3DLEYw9tAjjfiFQ9mHXHquvdYXooaYXIHsx4IZhMIty18%26s%3DFKLApwahvl0kU6uQ-WerFz8TJx055vbkB0RW2_XTi6A%26e%3D&data=02%7C01%7Cvelugubantla.praveen%40ltts.com%7Cbeb06993597140cbafc708d8236e548a%7C311b33788e8a4b5ea33fe80a3d8ba60a%7C0%7C0%7C637298304055469809&sdata=m3WO9Wl27LNmXZUCL5LLqlaAslTG6%2FDfgi2%2FOPbE%2FOg%3D&reserved=0>.
This Email may contain confidential or privileged information for the intended
recipient (s). If you are not the intended recipient, please do not use or
disseminate the information, notify the sender and delete it from your system.
L&T Technology Services Ltd
www.LTTS.com
L&T Technology Services Limited (LTTS) is committed to safeguard your data
privacy. For more information to view our commitment towards data privacy under
GDPR, please visit the privacy policy on our website www.Ltts.com. This Email
may contain confidential or privileged information for the intended recipient
(s). If you are not the intended recipient, please do not use or disseminate
the information, notify the sender and delete it from your system.
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#21635): https://lists.onap.org/g/onap-discuss/message/21635
Mute This Topic: https://lists.onap.org/mt/75381131/21656
Mute #so: https://lists.onap.org/g/onap+onap-discuss/mutehashtag/so
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
openstack_adapter_debug.log
Description: openstack_adapter_debug.log
