Error on running script aio-centos-gcp-deploy.sh
Hi,
hopefully you can help to troubleshoot this asap.
Tried aio-centos-gcp-deploy.sh script for LAB 4.1, step 4.1.5 several times -
but it fails each time in the same way.
nohup sudo bash -x aio-centos-gcp-deploy.sh 4 &
=>
--- import errors ---
Failed to import test module: neutron_tempest_plugin.api.admin.test_agent_availability_zone
Traceback (most recent call last):
File "/usr/lib64/python3.6/unittest/loader.py", line 428, in _find_test_path
module = self._get_module_from_name(name)
File "/usr/lib64/python3.6/unittest/loader.py", line 369, in _get_module_from_name
import(name)
File "/openstack/venvs/tempest-22.3.2/lib/python3.6/site-packages/neutron_tempest_plugin/api/admin/test_agent_availability_zone.py", line 16, in
from neutron_tempest_plugin.api import base
File "/openstack/venvs/tempest-22.3.2/lib/python3.6/site-packages/neutron_tempest_plugin/api/base.py", line 28, in
from neutron_tempest_plugin.api import clients
File "/openstack/venvs/tempest-22.3.2/lib/python3.6/site-packages/neutron_tempest_plugin/api/clients.py", line 25, in
from tempest.lib.services.network import qos_limit_bandwidth_rules_client
ImportError: cannot import name 'qos_limit_bandwidth_rules_client'
. . .
aio1_utility_container-702cc7d3 : ok=68 changed=39 unreachable=0 failed=1 skipped=19 rescued=0 ignored=0
. . .
EXIT NOTICE [Playbook execution failure] **************************************
How can I resolve this?
Comments
-
Hi @YuriiKantonistov ,
Could you please add my below public key to the /home/aarna/.ssh/authorized_keys and share the Public IP of OpenStack VM?. i will take a look and get back to you.
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC4wz7H/63GV4XmIFLpAh2VhFOuGDZhrABXThtQ80gpPunwI0zgtZJq15k77tdig3540l/DE2JU+QXQfHy38A7TZI9bcUixTbP8Qw4P5hY639dRyU5sBN/PFd1h9kSqZAmWuNXSHV2vdhUJDLn9idbPEJ1YdpwtfxF25ESi5RDvHiunZjZudecGwGlIL+pvu92+VR8j1itUl7aA1b6NCU6Z+Dj3fpWuHz+LkgFH4yaTH1tsPcq9GXPqhACver00INj8sVfSznQZ0cEsnFpr0HTZqGts9KM7YG/j9GfM7gzKjYrqvGL4a90N4+CQ9fBqqEMlNi9sicUWPF0WSjaNuw0j raghuram@raghuram-Latitude-7410
0 -
Hi,
many thanks for the quick response.
Sent you a mail with the information you requested.
Best regaards, Yurii
0 -
Hi @YuriiKantonistov ,
I have verified the setup and everything looks good to me. please ignore the below task which is failed and continue with the next steps.aio1_utility_container-702cc7d3 : ok=57 changed=3 unreachable=0 failed=1 skipped=26 rescued=0 ignored=
0 -
@raghuramg said:
Hi @YuriiKantonistov ,
I have verified the setup and everything looks good to me. please ignore the below task which is failed and continue with the next steps.aio1_utility_container-702cc7d3 : ok=57 changed=3 unreachable=0 failed=1 skipped=26 rescued=0 ignored=
Thank you for the comment, so you are sure openstack horizon/keystone services are ok?
According to the lab description this would be the OK status, but no such line in my log:
EXIT NOTICE [Playbook execution success] ********************************
grep -q'Playbook execution success'setup-openstack.outI'm afraid if I just continue - will run again into the issue mentioned in https://forum.linuxfoundation.org/discussion/860326/error-on-running-onap-deploy-all-sh-script#latest
=> cannot login into Horizon UI, always get plaintext json as a response instead of login page.
0 -
Hi @YuriiKantonistov ,
The setup looks good, I have verified. Please continue with the next steps. I am able to access the "Horizon UI" of your setup.0 -
@raghuramg said:
Hi @YuriiKantonistov ,
The setup looks good, I have verified. Please continue with the next steps. I am able to access the "Horizon UI" of your setup.Thank you! Will continue then.
Could you share how did you verify Horizon UI corectness, somehow myself cannot get to it.
0 -
Hi @YuriiKantonistov ,
Please proceed with the next steps and you will see the steps to access "Horizon UI" on pages # 18 and 19.0 -
This becomes interesting and intense...
Same story - when accessing Horizon GUI via browser only plain json response, see attached picture.
All prior steps were done as aarna user.Apparently something wrong - could you take a look/give a hint?
$ gcloud compute ssh --zone us-central1-f openstack-01 -- -N -D localhost:5000
+
http://10.128.0.30:5000/v3
=>
{"version": {"id": "v3.14", "status": "stable", "updated": "2020-04-07T00:00:00Z", "links": [{"rel": "self", "href": "http://10.128.0.30:5000/v3/"}], "media-types": [{"base": "application/json", "type": "application/vnd.openstack.identity-v3+json"}]}}(openstackcli) aarna@anod-master:~/openstack$ cat overcloudrc.v3
export OS_AUTH_URL=http://10.128.0.30:5000/v3
export OS_PROJECT_ID=a54078069a2f47108793f7a44bbe46e3
export OS_PROJECT_NAME="admin"
export OS_USER_DOMAIN_NAME="Default"
export OS_PROJECT_DOMAIN_ID="default"
export OS_USERNAME="admin"
export OS_PASSWORD=e3b0da3b681d940bb83714341bee16071ae518876
export OS_REGION_NAME="RegionOne"
export OS_INTERFACE=public
export OS_IDENTITY_API_VERSION=30 -
Hi @YuriiKantonistov ,
Please try accessing only with IP. like this; https://10.128.0.30. It works for me.
0 -
@raghuramg said:
Hi @YuriiKantonistov ,Please try accessing only with IP. like this; https://10.128.0.30. It works for me.
Thank you for the quick response.
Could you share details what is your tunnel/SOCK5 setup when you got it working?In my case https://10.128.0.30 just fails.
0 -
Hi @YuriiKantonistov ,
- Run SSH Tunnel command:gcloud compute ssh --zone us-central1-f openstack-01 -- -N -D localhost:5000
- I have used Firefox browser and here is my proxy settings: Browser Setting --> Network Settings
0 -
Lots of thanks for your patience and assistance. Got it working.
0 -
Hi,
still one question regarding this - is something wrong with my setup?:
Login as user admin and with the password in the above file(OS_PASSWORD).
Answer the following questions:
Is DHCP enabled for the external-subnet under the external network?
Is there a router between the OAM_NETWORK and external network?
. . .
How big is the root disk for the m1.medium flavor?
What is the size of the ’trusty’ image in MB?But I do not see either of external-subnet or OAM_NETWORK or m1.medium flavor or trusty image, like below:
[aarna@aio1 ~]$ source /home/aarna/overcloudrc.v3
[aarna@aio1 ~]$ openstack image list
+--------------------------------------+--------+--------+
| ID | Name | Status |
+--------------------------------------+--------+--------+
| 7a9c9518-a0dd-4466-921b-baef21df4584 | cirros | active |
+--------------------------------------+--------+--------+
[aarna@aio1 ~]$ openstack flavor list
+-----+----------+-----+------+-----------+-------+-----------+
| ID | Name | RAM | Disk | Ephemeral | VCPUs | Is Public |
+-----+----------+-----+------+-----------+-------+-----------+
| 201 | tempest1 | 256 | 1 | 0 | 1 | True |
| 202 | tempest2 | 512 | 1 | 0 | 1 | True |
+-----+----------+-----+------+-----------+-------+-----------+[aarna@aio1 ~]$ openstack subnet list
+--------------------------------------+----------------+--------------------------------------+-----------------+
| ID | Name | Network | Subnet |
+--------------------------------------+----------------+--------------------------------------+-----------------+
| 495d6dca-536c-41d5-aba9-24acde1f940c | public-subnet | 3a7b761e-2682-4e19-b544-cb612c9b6707 | 172.29.248.0/22 |
| ec82d5f0-9375-434f-bd83-21911a2a2f51 | private-subnet | a106d739-ba75-4b46-840c-a849d68afba6 | 192.168.74.0/28 |
+--------------------------------------+----------------+--------------------------------------+-----------------+[aarna@aio1 ~]$ cat /home/aarna/overcloudrc.v3
export OS_AUTH_URL=http://10.128.0.30:5000/v3
export OS_PROJECT_ID=a54078069a2f47108793f7a44bbe46e3
export OS_PROJECT_NAME="admin"
export OS_USER_DOMAIN_NAME="Default"
export OS_PROJECT_DOMAIN_ID="default"
export OS_USERNAME="admin"
export OS_PASSWORD=e3b0da3b681d940bb83714341bee16071ae518876
export OS_REGION_NAME="RegionOne"
export OS_INTERFACE=public
export OS_IDENTITY_API_VERSION=30 -
Hi @YuriiKantonistov , You will all those only after you deploy vFW VNF on OpenStack.
0 -
@raghuramg said:
Hi @YuriiKantonistov , You will all those only after you deploy vFW VNF on OpenStack.Not an easy step either. When ran these steps in LAB 4.4:
aarna@anod-master $ cd $HOME/onap-custom/util-scripts/
aarna@anod-master $ git pull -v
aarna@anod-master $ nohup ./onap_deploy_all.sh &=> onap_deploy_all.sh does nothing.
When added "--all" option:
aarna@anod-master $ nohup ./onap_deploy_all.sh &
it did lots of things giving lots of errors about helm/tiller(???), see attached nohup_onap_deply.txt
Kubernetes cluster is up and running but ONAP deployment totally failed.
Would appreciate any hint how to troubleshoot/fix this without total rebuild.
If you need to access it - anod-master public IP is 35.239.221.208, you can get to it with a key I sent couple days ago by private email.
0 -
...second run was of course like this:
aarna@anod-master $ nohup ./onap_deploy_all.sh --all &
0 -
Hi @YuriiKantonistov ,
Tiller pod is UP. however, 3 nodes out of 5 worker nodes are not in a Ready state. Please fix this issue and re-run the script again.
aarna@anod-master:~$ kubectl get nodes
NAME STATUS ROLES AGE VERSION
anod-master Ready controlplane,etcd 12h v1.13.5
anod-worker-01 NotReady worker 12h v1.13.5
anod-worker-02 NotReady worker 12h v1.13.5
anod-worker-03 Ready worker 12h v1.13.5
anod-worker-04 NotReady worker 12h v1.13.5
anod-worker-05 Ready worker 12h v1.13.5
anod-worker-06 Ready worker 12h v1.13.5aarna@anod-master:~$ kubectl get pods -A |grep tiller
kube-system tiller-deploy-7c654c6fbb-g6jsk 1/1 Running 7 9h0
Categories
- All Categories
- 167 LFX Mentorship
- 219 LFX Mentorship: Linux Kernel
- 795 Linux Foundation IT Professional Programs
- 355 Cloud Engineer IT Professional Program
- 179 Advanced Cloud Engineer IT Professional Program
- 82 DevOps Engineer IT Professional Program
- 127 Cloud Native Developer IT Professional Program
- 112 Express Training Courses
- 112 Express Courses - Discussion Forum
- 6.2K Training Courses
- 48 LFC110 Class Forum - Discontinued
- 17 LFC131 Class Forum
- 35 LFD102 Class Forum
- 227 LFD103 Class Forum
- 14 LFD110 Class Forum
- 39 LFD121 Class Forum
- 15 LFD133 Class Forum
- 7 LFD134 Class Forum
- 17 LFD137 Class Forum
- 63 LFD201 Class Forum
- 3 LFD210 Class Forum
- 5 LFD210-CN Class Forum
- 2 LFD213 Class Forum - Discontinued
- 128 LFD232 Class Forum - Discontinued
- 1 LFD233 Class Forum
- 2 LFD237 Class Forum
- 23 LFD254 Class Forum
- 697 LFD259 Class Forum
- 109 LFD272 Class Forum
- 3 LFD272-JP クラス フォーラム
- 10 LFD273 Class Forum
- 152 LFS101 Class Forum
- 1 LFS111 Class Forum
- 1 LFS112 Class Forum
- 1 LFS116 Class Forum
- 1 LFS118 Class Forum
- LFS120 Class Forum
- 7 LFS142 Class Forum
- 7 LFS144 Class Forum
- 3 LFS145 Class Forum
- 1 LFS146 Class Forum
- 3 LFS147 Class Forum
- 1 LFS148 Class Forum
- 15 LFS151 Class Forum
- 1 LFS157 Class Forum
- 33 LFS158 Class Forum
- 8 LFS162 Class Forum
- 1 LFS166 Class Forum
- 1 LFS167 Class Forum
- 3 LFS170 Class Forum
- 2 LFS171 Class Forum
- 1 LFS178 Class Forum
- 1 LFS180 Class Forum
- 1 LFS182 Class Forum
- 1 LFS183 Class Forum
- 29 LFS200 Class Forum
- 736 LFS201 Class Forum - Discontinued
- 2 LFS201-JP クラス フォーラム
- 14 LFS203 Class Forum
- 102 LFS207 Class Forum
- 1 LFS207-DE-Klassenforum
- 1 LFS207-JP クラス フォーラム
- 301 LFS211 Class Forum
- 55 LFS216 Class Forum
- 48 LFS241 Class Forum
- 42 LFS242 Class Forum
- 37 LFS243 Class Forum
- 15 LFS244 Class Forum
- LFS245 Class Forum
- LFS246 Class Forum
- 50 LFS250 Class Forum
- 1 LFS250-JP クラス フォーラム
- LFS251 Class Forum
- 154 LFS253 Class Forum
- LFS254 Class Forum
- LFS255 Class Forum
- 5 LFS256 Class Forum
- 1 LFS257 Class Forum
- 1.3K LFS258 Class Forum
- 10 LFS258-JP クラス フォーラム
- 111 LFS260 Class Forum
- 159 LFS261 Class Forum
- 41 LFS262 Class Forum
- 82 LFS263 Class Forum - Discontinued
- 15 LFS264 Class Forum - Discontinued
- 11 LFS266 Class Forum - Discontinued
- 20 LFS267 Class Forum
- 24 LFS268 Class Forum
- 29 LFS269 Class Forum
- 1 LFS270 Class Forum
- 199 LFS272 Class Forum
- 1 LFS272-JP クラス フォーラム
- LFS274 Class Forum
- 3 LFS281 Class Forum
- 9 LFW111 Class Forum
- 260 LFW211 Class Forum
- 182 LFW212 Class Forum
- 13 SKF100 Class Forum
- 1 SKF200 Class Forum
- 1 SKF201 Class Forum
- 782 Hardware
- 198 Drivers
- 68 I/O Devices
- 37 Monitors
- 96 Multimedia
- 174 Networking
- 91 Printers & Scanners
- 83 Storage
- 743 Linux Distributions
- 80 Debian
- 67 Fedora
- 15 Linux Mint
- 13 Mageia
- 23 openSUSE
- 143 Red Hat Enterprise
- 31 Slackware
- 13 SUSE Enterprise
- 348 Ubuntu
- 461 Linux System Administration
- 39 Cloud Computing
- 70 Command Line/Scripting
- Github systems admin projects
- 90 Linux Security
- 77 Network Management
- 101 System Management
- 46 Web Management
- 64 Mobile Computing
- 17 Android
- 34 Development
- 1.2K New to Linux
- 1K Getting Started with Linux
- 371 Off Topic
- 114 Introductions
- 174 Small Talk
- 19 Study Material
- 507 Programming and Development
- 285 Kernel Development
- 204 Software Development
- 1.8K Software
- 211 Applications
- 180 Command Line
- 3 Compiling/Installing
- 405 Games
- 309 Installation
- 97 All In Program
- 97 All In Forum
Upcoming Training
-
August 20, 2018
Kubernetes Administration (LFS458)
-
August 20, 2018
Linux System Administration (LFS301)
-
August 27, 2018
Open Source Virtualization (LFS462)
-
August 27, 2018
Linux Kernel Debugging and Security (LFD440)