There are two tables that need to be updated if you want to manually add a cloud to SO and there is a REST interface for it as well. We are adding multi-cloud configuration to robot in Dublin since there is a REST interface that does not require a re-deploy to trigger the database updates like in Beijing.
Brian From: FREEMAN, BRIAN D Sent: Tuesday, February 12, 2019 9:52 AM To: 'Signorelli Marco' <[email protected]>; '[email protected]' <[email protected]> Subject: RE: [onap-discuss] [Casablanca] Kafka's pod in crashloobackoff Signorelli, Reading your email further down it looks like you did update integration but you used variables instead of explicit strings (as best I can tell). While t may work we always use an explicit string in (helm deploy dev local/onap -f /root/oom/kubernetes/onap/resources/environments/public-cloud.yaml -f /root/integration-override.yaml --namespace onap) Brian From: FREEMAN, BRIAN D Sent: Tuesday, February 12, 2019 9:46 AM To: Signorelli Marco <[email protected]<mailto:[email protected]>>; [email protected]<mailto:[email protected]> Subject: RE: [onap-discuss] [Casablanca] Kafka's pod in crashloobackoff You integration-override.yaml should have a section for SO. You are not over riding the default settings in the SO helm chart with your environment. 1. You can either create and use an integration-override.yaml in your helm deploy command line or 2. Edit the appropriate sections in robot and SO to use the Openstack parameters in your environment and then do a make so, make robot, make onap I’ve attached the pertinent sections of integration-override.yaml from windriver with some redactions. https://docs.onap.org/en/casablanca/submodules/integration.git/docs/index.html?highlight=Environment%20and%20RC%20files has more details. You need all the robot parameters so that the preload data references the correct data for your environment. Brian global: repository: 10.12.5.2:5000 pullPolicy: IfNotPresent robot: flavor: large image: onap/testsuite:1.4.0-STAGING-latest (I am testing master branch – you will have a 1.3.X version here) appcUsername: "[email protected]<mailto:[email protected]>" appcPassword: "demo123456!" openStackKeyStoneUrl: "http://10.12.25.2:5000" openStackPublicNetId: "971040b2-7059-49dc-b220-4fab50cb2ad4" openStackTenantId: "41d6d38489bd40b09ea8a6b6b852dcbd" openStackUserName: " XXX_OPENSTACK_USERNAME_XXX " ubuntu14Image: "ubuntu-14-04-cloud-amd64" ubuntu16Image: "ubuntu-16-04-cloud-amd64" openStackPrivateNetId: "5c8ec15e-5513-4b38-be63-6cd3267772f9" openStackPrivateSubnetId: "1f3b78d6-b065-4921-b852-b88f49209c1d" openStackPrivateNetCidr: "10.0.0.0/16" openStackSecurityGroup: "d33d24d5-0f41-4759-9a32-892b7bae2f0d" openStackOamNetworkCidrPrefix: "10.0" dcaeCollectorIp: "10.12.5.175" vnfPubKey: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDKXDgoo3+WOqcUG8/5uUbk81+yczgwC4Y8ywTmuQqbNxlY1oQ0YxdMUqUnhitSXs5S/yRuAVOYHwGg2mCs20oAINrP+mxBI544AMIb9itPjCtgqtE2EWo6MmnFGbHB4Sx3XioE7F4VPsh7japsIwzOjbrQe+Mua1TGQ5d4nfEOQaaglXLLPFfuc7WbhbJbK6Q7rHqZfRcOwAMXgDoBqlyqKeiKwnumddo2RyNT8ljYmvB6buz7KnMinzo7qB0uktVT05FH9Rg0CTWH5norlG5qXgP2aukL0gk1ph8iAt7uYLf1ktp+LJI2gaF6L0/qli9EmVCSLr1uJ38Q8CBflhkh" demoArtifactsVersion: "1.3.0" demoArtifactsRepoUrl: "https://nexus.onap.org/content/repositories/releases" scriptVersion: "1.3.0" rancherIpAddress: "10.12.6.20" config: openStackEncryptedPasswordHere: "XXXX_AES_ENCRYPETED_PASSWORD_REDACTED_XXXXX " so: so-openstack-adapter: config: openStackUserName: "XXX_OPENSTACK_USERNAME_XXX" openStackKeyStoneUrl: "http://10.12.25.2:5000/v2.0" openStackEncryptedPasswordHere: "XXXX_AES_ENCRYPETED_PASSWORD_REDACTED_XXXXX" From: Signorelli Marco <[email protected]<mailto:[email protected]>> Sent: Tuesday, February 12, 2019 9:09 AM To: FREEMAN, BRIAN D <[email protected]<mailto:[email protected]>>; [email protected]<mailto:[email protected]> Subject: Re: [onap-discuss] [Casablanca] Kafka's pod in crashloobackoff Hi, we executed ./demo-k8s.sh onap instantiateVFW but the command failed with the following error: ConnectionError: HTTPConnectionPool(host='1.2.3.4', port=5000): Max retries exceeded with url: /v2.0/tokens (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f1516e82c50>: Failed to establish a new connection: [Errno 110] Connection timed out',)) It seems that the host IP is setted to default value (1.2.3.4) . Seeing at the table catalogdb.identity_services located in so-db we find the following data: 'DEFAULT_KEYSTONE', 'http://1.2.3.4:5000/v2.0', 'vnf_user', 'c124921a3a0efbe579782cde8227681e', 'service', 'admin', '1', 'KEYSTONE', 'USERNAME_PASSWORD', 'FLYWAY', '2019-02-09 14:52:30', '2019-02-09 14:52:30' We can't find any table row containg our openstack custom configuration We tried also to update values (red) in table with the proper values but test failed again ... the parameter values seems to be still the default ones. According to step 3 of OOM installation guide, we customized the onap/values.yaml file and more specifically information about openstack cloud configuration for SO and APPC as below: openStackUserName: "$OPENSTACK_USER_NAME" openStackRegion: "$OPENSTACK_REGION" openStackKeyStoneUrl: "$OPENSTACK_KEYSTONE_URL" openStackServiceTenantName: "$OPENSTACK_TENANT_NAME" openStackEncryptedPasswordHere: "$OPENSTACK_ENCRYPTED_PASSWORD" We find this kind of configuration information also in file with default values /oom/kubernetes/onap/resources/environments/dev.yaml /oom/kubernetes/so/charts/so-openstack-adapter/values.yaml My questions are: 1) should I configure just one file (onap/values.yaml) as described into the oom_quickstart_guide.html guide (but it seems not being enough) or should I configure some extra files (e.g. …. environments/dev.yaml and …. so-openstack-adapter/values.yaml…other ones) ? 2) is it possible to update configuration files without re-installing ONAP component ? -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#15494): https://lists.onap.org/g/onap-discuss/message/15494 Mute This Topic: https://lists.onap.org/mt/29665079/21656 Group Owner: [email protected] Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
