Controller is the internal openstack name for the neutron controller.

https://docs.openstack.org/neutron/stein/install/controller-install-rdo.html


Are you running devstack or regular openstack ?

Can you confirm that heat works via the openstack cli or horizon portal ?

Brian


From: Velugubantla Praveen <velugubantla.prav...@ltts.com>
Sent: Wednesday, July 8, 2020 4:02 PM
To: FREEMAN, BRIAN D <bf1...@att.com>; onap-discuss@lists.onap.org
Cc: JOMY JOSE <jomy.j...@ltts.com>; Sudarshan K.S <sudarshan...@ltts.com>
Subject: Re: [ONAP-DISCUSS] #so [Frankfurt] Issue while deploying a service 
from SO-OPENSTACK Adapter

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<https://urldefense.proofpoint.com/v2/url?u=http-3A__192.168.9.75-3A5000_v3&d=DwQFAw&c=LFYZ-o9_HUMeMTSQicvjIg&r=e3d1ehx3DI5AoMgDmi2Fzw&m=llya2kUed8tN8n54CPxEn3HwTs2JGtOAfw7cbTISreo&s=twK95Ez9V9zuTT-XxvwTvkJ-Y_fC0Et7--tM7o9kuOQ&e=>
                  | 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: "a...@appc.onap.org<mailto:a...@appc.onap.org>"
  appcPassword: "demo123456!"
  openStackKeystoneAPIVersion: "v3"
  openStackKeyStoneUrl: 
"http://192.168.9.75:5000";<https://urldefense.proofpoint.com/v2/url?u=http-3A__192.168.9.75-3A5000-2522&d=DwQFAw&c=LFYZ-o9_HUMeMTSQicvjIg&r=e3d1ehx3DI5AoMgDmi2Fzw&m=llya2kUed8tN8n54CPxEn3HwTs2JGtOAfw7cbTISreo&s=Rx9JfzyzR24s7vzJGn2VdQc2WeNUvpY64ctKoV8VQt4&e=>
  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";<https://urldefense.proofpoint.com/v2/url?u=https-3A__nexus.onap.org_content_repositories_releases-2522&d=DwQFAw&c=LFYZ-o9_HUMeMTSQicvjIg&r=e3d1ehx3DI5AoMgDmi2Fzw&m=llya2kUed8tN8n54CPxEn3HwTs2JGtOAfw7cbTISreo&s=LWJ29-wRqPHHua_ux9zLS3SKa_3qRHe6PZSaPm_qLMw&e=>
  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";<https://urldefense.proofpoint.com/v2/url?u=http-3A__192.168.9.75-3A5000_v3-2522&d=DwQFAw&c=LFYZ-o9_HUMeMTSQicvjIg&r=e3d1ehx3DI5AoMgDmi2Fzw&m=llya2kUed8tN8n54CPxEn3HwTs2JGtOAfw7cbTISreo&s=cC0JtWN0IjS7MBQHaClN42s5vQg_iDB8ZfBpwFV-ILI&e=>
      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<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.ltts.com_&d=DwMFAw&c=LFYZ-o9_HUMeMTSQicvjIg&r=e3d1ehx3DI5AoMgDmi2Fzw&m=llya2kUed8tN8n54CPxEn3HwTs2JGtOAfw7cbTISreo&s=IwAmSZmTNMVDHI1IYuPEbkSfEeIEwv0WFpv54m9Mcww&e=>

[cid:image001.jpg@01D6554B.2D685A10]


________________________________
From: FREEMAN, BRIAN D <bf1...@att.com<mailto:bf1...@att.com>>
Sent: Thursday, July 9, 2020 12:09 AM
To: onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org> 
<onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org>>; Velugubantla 
Praveen <velugubantla.prav...@ltts.com<mailto:velugubantla.prav...@ltts.com>>; 
seshu kumar m via Lists.Onap.Org 
<seshu.kumar.m=huawei....@lists.onap.org<mailto:seshu.kumar.m=huawei....@lists.onap.org>>
Cc: JOMY JOSE <jomy.j...@ltts.com<mailto:jomy.j...@ltts.com>>
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://urldefense.proofpoint.com/v2/url?u=https-3A__ind01.safelinks.protection.outlook.com_-3Furl-3Dhttps-253A-252F-252Fjira.onap.org-252Fbrowse-252FOOM-2D1982-26data-3D02-257C01-257Cvelugubantla.praveen-2540ltts.com-257Cbeb06993597140cbafc708d8236e548a-257C311b33788e8a4b5ea33fe80a3d8ba60a-257C0-257C0-257C637298304055459812-26sdata-3DyD0-252BrGwUSlyaBvw0-252BRHvl4ypY7qwwH6nE1RpcrVx1MM-253D-26reserved-3D0&d=DwMFAw&c=LFYZ-o9_HUMeMTSQicvjIg&r=e3d1ehx3DI5AoMgDmi2Fzw&m=llya2kUed8tN8n54CPxEn3HwTs2JGtOAfw7cbTISreo&s=ZGpmpULodiy_hasZh4CSBW2KGdsCD2pR2gSprM9py3w&e=>
  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: onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org> 
<onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org>> On Behalf Of 
Velugubantla Praveen
Sent: Wednesday, July 8, 2020 1:07 PM
To: onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org>; seshu 
kumar m via Lists.Onap.Org 
<seshu.kumar.m=huawei....@lists.onap.org<mailto:seshu.kumar.m=huawei....@lists.onap.org>>
Cc: JOMY JOSE <jomy.j...@ltts.com<mailto:jomy.j...@ltts.com>>
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://urldefense.proofpoint.com/v2/url?u=https-3A__ind01.safelinks.protection.outlook.com_-3Furl-3Dhttps-253A-252F-252Furldefense.proofpoint.com-252Fv2-252Furl-253Fu-253Dhttp-2D3A-5F-5Fwww.LTTS.com-2526d-253DDwQFAw-2526c-253DLFYZ-2Do9-5FHUMeMTSQicvjIg-2526r-253De3d1ehx3DI5AoMgDmi2Fzw-2526m-253DLEYw9tAjjfiFQ9mHXHquvdYXooaYXIHsx4IZhMIty18-2526s-253DpkJWWhwxca0Hc-2DM4dH7ZYh8jTbk0hMo6es0ld6XdjAI-2526e-253D-26data-3D02-257C01-257Cvelugubantla.praveen-2540ltts.com-257Cbeb06993597140cbafc708d8236e548a-257C311b33788e8a4b5ea33fe80a3d8ba60a-257C0-257C0-257C637298304055459812-26sdata-3DUPrWUg1VPPB532Gn3oBj-252FLMbdLyg9C4UiIPf4njDxvw-253D-26reserved-3D0&d=DwMFAw&c=LFYZ-o9_HUMeMTSQicvjIg&r=e3d1ehx3DI5AoMgDmi2Fzw&m=llya2kUed8tN8n54CPxEn3HwTs2JGtOAfw7cbTISreo&s=IXoB6CGVZlJPHfYE7RcX2dAzn7Gutcs-Ebsv1jicyQY&e=>

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://urldefense.proofpoint.com/v2/url?u=https-3A__ind01.safelinks.protection.outlook.com_-3Furl-3Dhttps-253A-252F-252Furldefense.proofpoint.com-252Fv2-252Furl-253Fu-253Dhttp-2D3A-5F-5Fwww.Ltts.com-2526d-253DDwQFAw-2526c-253DLFYZ-2Do9-5FHUMeMTSQicvjIg-2526r-253De3d1ehx3DI5AoMgDmi2Fzw-2526m-253DLEYw9tAjjfiFQ9mHXHquvdYXooaYXIHsx4IZhMIty18-2526s-253DFKLApwahvl0kU6uQ-2DWerFz8TJx055vbkB0RW2-5FXTi6A-2526e-253D-26data-3D02-257C01-257Cvelugubantla.praveen-2540ltts.com-257Cbeb06993597140cbafc708d8236e548a-257C311b33788e8a4b5ea33fe80a3d8ba60a-257C0-257C0-257C637298304055469809-26sdata-3Dm3WO9Wl27LNmXZUCL5LLqlaAslTG6-252FDfgi2-252FOPbE-252FOg-253D-26reserved-3D0&d=DwMFAw&c=LFYZ-o9_HUMeMTSQicvjIg&r=e3d1ehx3DI5AoMgDmi2Fzw&m=llya2kUed8tN8n54CPxEn3HwTs2JGtOAfw7cbTISreo&s=_yT5Nz-C6sQlBymSpeV1giNja77v0sbtuyf6vo5lqI8&e=>.
 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<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.LTTS.com&d=DwQFAw&c=LFYZ-o9_HUMeMTSQicvjIg&r=e3d1ehx3DI5AoMgDmi2Fzw&m=llya2kUed8tN8n54CPxEn3HwTs2JGtOAfw7cbTISreo&s=gkpfUBeEwfH-Z4VDD9nfdTELHCVBVRo3MV34xyvv5io&e=>

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://urldefense.proofpoint.com/v2/url?u=http-3A__www.Ltts.com&d=DwQFAw&c=LFYZ-o9_HUMeMTSQicvjIg&r=e3d1ehx3DI5AoMgDmi2Fzw&m=llya2kUed8tN8n54CPxEn3HwTs2JGtOAfw7cbTISreo&s=RmK_gv_0_zxLJah-9UaQsnBfsLygPuYf2nRuLq-YxtY&e=>.
 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 (#21636): https://lists.onap.org/g/onap-discuss/message/21636
Mute This Topic: https://lists.onap.org/mt/75381131/21656
Mute #so: https://lists.onap.org/g/onap+onap-discuss/mutehashtag/so
Group Owner: onap-discuss+ow...@lists.onap.org
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to