Lab 3.2 Unable to configure Nova compute node
Can you please help me to troubleshoot this issue ?
2018-09-07 05:56:40.444 | ' /home/ubuntu/devstack/local.conf
2018-09-07 05:56:40.458 | +./stack.sh:main:1432 [[ -x /home/ubuntu/devstack/local.sh ]]
2018-09-07 05:56:40.467 | +./stack.sh:main:1443 is_service_enabled n-cpu
2018-09-07 05:56:40.521 | +functions-common:is_service_enabled:2184 return 0
2018-09-07 05:56:40.530 | +./stack.sh:main:1444 is_nova_ready
2018-09-07 05:56:40.541 | +lib/nova:is_nova_ready:954 is_service_enabled n-cell
2018-09-07 05:56:40.600 | +functions-common:is_service_enabled:2184 return 1
2018-09-07 05:56:40.611 | +lib/nova:is_nova_ready:961 [[ libvirt == \x\e\n\s\e\r\v\e\r ]]
2018-09-07 05:56:40.619 | +lib/nova:is_nova_ready:966 wait_for_compute 120
2018-09-07 05:56:40.628 | +functions:wait_for_compute:411 local timeout=120
2018-09-07 05:56:40.638 | +functions:wait_for_compute:412 local rval=0
2018-09-07 05:56:40.647 | +functions:wait_for_compute:413 time_start wait_for_service
2018-09-07 05:56:40.658 | +functions-common:time_start:2495 local name=wait_for_service
2018-09-07 05:56:40.667 | +functions-common:time_start:2496 local start_time=
2018-09-07 05:56:40.676 | +functions-common:time_start:2497 [[ -n '' ]]
2018-09-07 05:56:40.687 | ++functions-common:time_start:2500 date +%s%3N
2018-09-07 05:56:40.698 | +functions-common:time_start:2500 _TIME_START[$name]=1536299800688
2018-09-07 05:56:40.707 | +functions:wait_for_compute:414 timeout 120 bash -x
2018-09-07 05:56:40.718 | ++functions:wait_for_compute:414 hostname
2018-09-07 05:56:40.726 | +:: ID=
2018-09-07 05:56:40.731 | +:: [[ '' == '' ]]
2018-09-07 05:56:40.735 | +:: sleep 1
2018-09-07 05:56:41.744 | ++:: openstack --os-cloud devstack-admin --os-region RegionOne compute service list --host compute-node --service nova-compute -c ID -f value
2018-09-07 05:58:40.736 | +functions:wait_for_compute:414 rval=124
2018-09-07 05:58:40.745 | +functions:wait_for_compute:421 time_stop wait_for_service
2018-09-07 05:58:40.754 | +functions-common:time_stop:2509 local name
2018-09-07 05:58:40.762 | +functions-common:time_stop:2510 local end_time
2018-09-07 05:58:40.769 | +functions-common:time_stop:2511 local elapsed_time
2018-09-07 05:58:40.776 | +functions-common:time_stop:2512 local total
2018-09-07 05:58:40.784 | +functions-common:time_stop:2513 local start_time
2018-09-07 05:58:40.792 | +functions-common:time_stop:2515 name=wait_for_service
2018-09-07 05:58:40.799 | +functions-common:time_stop:2516 start_time=1536299800688
2018-09-07 05:58:40.807 | +functions-common:time_stop:2518 [[ -z 1536299800688 ]]
2018-09-07 05:58:40.819 | ++functions-common:time_stop:2521 date +%s%3N
2018-09-07 05:58:40.827 | +functions-common:time_stop:2521 end_time=1536299920820
2018-09-07 05:58:40.835 | +functions-common:time_stop:2522 elapsed_time=120132
2018-09-07 05:58:40.843 | +functions-common:time_stop:2523 total=139
2018-09-07 05:58:40.851 | +functions-common:time_stop:2525 _TIME_START[$name]=
2018-09-07 05:58:40.859 | +functions-common:time_stop:2526 _TIME_TOTAL[$name]=120271
2018-09-07 05:58:40.866 | +functions:wait_for_compute:423 [[ 124 != 0 ]]
2018-09-07 05:58:40.874 | +functions:wait_for_compute:424 echo 'Didn'\''t find service registered by hostname after 120 seconds'
2018-09-07 05:58:40.874 | Didn't find service registered by hostname after 120 seconds
2018-09-07 05:58:40.881 | +functions:wait_for_compute:425 openstack --os-cloud devstack-admin --os-region RegionOne compute service list
2018-09-07 06:00:49.161 | Failed to discover available identity versions when contacting http://192.168.97.1/identity. Attempting to parse version from URL.
2018-09-07 06:00:49.162 | Could not determine a suitable URL for the plugin
2018-09-07 06:00:49.224 | +functions:wait_for_compute:1 exit_trap
2018-09-07 06:00:49.234 | +./stack.sh:exit_trap:521 local r=1
2018-09-07 06:00:49.246 | ++./stack.sh:exit_trap:522 jobs -p
2018-09-07 06:00:49.257 | +./stack.sh:exit_trap:522 jobs=
2018-09-07 06:00:49.268 | +./stack.sh:exit_trap:525 [[ -n '' ]]
2018-09-07 06:00:49.278 | +./stack.sh:exit_trap:531 '[' -f /tmp/tmp.0EQnDWvzPQ ']'
2018-09-07 06:00:49.288 | +./stack.sh:exit_trap:532 rm /tmp/tmp.0EQnDWvzPQ
2018-09-07 06:00:49.298 | +./stack.sh:exit_trap:536 kill_spinner
2018-09-07 06:00:49.307 | +./stack.sh:kill_spinner:417 '[' '!' -z '' ']'
2018-09-07 06:00:49.316 | +./stack.sh:exit_trap:538 [[ 1 -ne 0 ]]
2018-09-07 06:00:49.325 | +./stack.sh:exit_trap:539 echo 'Error on exit'
2018-09-07 06:00:49.325 | Error on exit
2018-09-07 06:00:49.335 | +./stack.sh:exit_trap:541 type -p generate-subunit
2018-09-07 06:00:49.346 | +./stack.sh:exit_trap:542 generate-subunit 1536299625 424 fail
2018-09-07 06:00:49.543 | +./stack.sh:exit_trap:544 [[ -z /opt/stack/logs ]]
2018-09-07 06:00:49.554 | +./stack.sh:exit_trap:547 /home/ubuntu/devstack/tools/worlddump.py -d /opt/stack/logs
2018-09-07 06:00:50.043 | +./stack.sh:exit_trap:556 exit 1
Comments
-
I have tried with the below local.conf files
[[local|localrc]]
HOST_IP=172.17.0.19 # IP for compute-node
SERVICE_HOST=192.168.97.1 # devstack-cc IP, first node you used
FLAT_INTERFACE=ens3
FIXED_RANGE=10.4.128.0/20
FIXED_NETWORK_SIZE=4096
FLOATING_RANGE=192.168.42.128/25
MULTI_HOST=1
LOGFILE=/opt/stack/logs/stack.sh.log
ADMIN_PASSWORD=openstack
DATABASE_PASSWORD=db-secret
RABBIT_PASSWORD=rb-secret
SERVICE_PASSWORD=sr-secret
DATABASE_TYPE=mysql
MYSQL_HOST=$SERVICE_HOST
RABBIT_HOST=$SERVICE_HOST
GLANCE_HOSTPORT=$SERVICE_HOST:9292
ENABLED_SERVICES=n-cpu,q-agt,n-api-meta,c-vol,placement-client
ENABLED_SERVICES=placement-api
NOVA_VNC_ENABLED=True
NOVNCPROXY_URL="http://$SERVICE_HOST:6080/vnc_auto.html"
VNCSERVER_LISTEN=$HOST_IP
VNCSERVER_PROXYCLIENT_ADDRESS=$VNCSERVER_LISTEN0 -
also with the one which is shown in the exercise
[[local|localrc]]
HOST_IP=192.168.97.2 # IP for compute-node
SERVICE_HOST=192.168.97.1 # devstack-cc IP, first node you used
FLAT_INTERFACE=ens3
FIXED_RANGE=10.4.128.0/20
FIXED_NETWORK_SIZE=4096
FLOATING_RANGE=192.168.42.128/25
MULTI_HOST=1
LOGFILE=/opt/stack/logs/stack.sh.log
ADMIN_PASSWORD=openstack
DATABASE_PASSWORD=db-secret
RABBIT_PASSWORD=rb-secret
SERVICE_PASSWORD=sr-secret
DATABASE_TYPE=mysql
MYSQL_HOST=$SERVICE_HOST
RABBIT_HOST=$SERVICE_HOST
GLANCE_HOSTPORT=$SERVICE_HOST:9292
ENABLED_SERVICES=n-cpu,q-agt,n-api-meta,c-vol,placement-client
NOVA_VNC_ENABLED=True
NOVNCPROXY_URL="http://$SERVICE_HOST:6080/vnc_auto.html"
VNCSERVER_LISTEN=$HOST_IP
VNCSERVER_PROXYCLIENT_ADDRESS=$VNCSERVER_LISTEN0 -
Thanks ! it worked
0 -
UNABLE TO CONNECT compute -node. Please suggest how to fix the issue.
ubuntu@devstack-cc:~$ ssh compute-node
ssh: Could not resolve hostname compute-node: Name or service not known
ubuntu@devstack-cc:~$ubuntu@devstack-cc:~/devstack$ cat local.conf
[[local|localrc]]
HOST_IP=172.17.0.33
FLAT_INTERFACE=ens3
FIXED_RANGE=10.4.128.0/20
FIXED_NETWORK_SIZE=4096
FLOATING_RANGE=192.168.42.128/25
MULTI_HOST=1
LOGFILE=/opt/stack/logs/stack.sh.log
ADMIN_PASSWORD=openstack
DATABASE_PASSWORD=db-secret
RABBIT_PASSWORD=rb-secret
SERVICE_PASSWORD=sr-secretUse the following to explore new project
enable_plugin barbican https://git.openstack.org/openstack/barbican stable/pike
ubuntu@devstack-cc:~/devstack$0 -
Hi serewicz thanks for the prompt response let me try once again but still iam not sure which IP address is considered for compute-node or how does ssh to compute-node works.
0
Categories
- All Categories
- 175 LFX Mentorship
- 175 LFX Mentorship: Linux Kernel
- 744 Linux Foundation IT Professional Programs
- 372 Cloud Engineer IT Professional Program
- 168 Advanced Cloud Engineer IT Professional Program
- 72 DevOps IT Professional Program - Discontinued
- 3 DevOps & GitOps IT Professional Program
- 98 Cloud Native Developer IT Professional Program
- 39 Express Training Courses & Microlearning
- 34 Express Courses - Discussion Forum
- 7.6K Training Courses & Learning Paths
- AI & ML Training
- Blockchain & Decentralized Identity Training
- Cloud & Containers Training
- Cybersecurity Training
- DevOps & Site-Reliability Training
- Linux Kernel Development Training
- Networking Training
- Open Source Best Practice Training
- System Administration Training
- System Engineering Training
- Web & Application Development Training
- 55 LFD102 Class Forum
- 261 LFD103 Class Forum
- 2 LFD103-JP クラス フォーラム
- 2 LFD114 Class Forum
- 56 LFD121 Class Forum
- 4 LFD123 Class Forum
- 3 LFD125 Class Forum
- 5 LFD137 Class Forum
- 2 LFD140 Class Forum
- 4 LFD210-CN Class Forum
- 2 LFD221 Class Forum
- 26 LFD254 Class Forum
- 764 LFD259 Class Forum
- 679 LFS101 Class Forum
- 3 LFS114 Class Forum
- 6 LFS118 Class Forum
- 3 LFS120 Class Forum
- 2 LFS140 Class Forum
- 13 LFS142 Class Forum
- 10 LFS144 Class Forum
- 8 LFS146 Class Forum
- 30 LFS148 Class Forum
- 6 LFS157 Class Forum
- 179 LFS158 Class Forum
- 2 LFS158-JP クラス フォーラム
- 19 LFS162 Class Forum
- 4 LFS180 Class Forum
- 3 LFS184 Class Forum
- 162 LFS207 Class Forum
- 3 LFS207-DE-Klassenforum
- 4 LFS207-JP クラス フォーラム
- 61 LFS241 Class Forum
- 52 LFS242 Class Forum
- 42 LFS243 Class Forum
- 19 LFS244 Class Forum
- 9 LFS245 Class Forum
- 3 LFS246 Class Forum
- 2 LFS248 Class Forum
- 179 LFS250 Class Forum
- 4 LFS250-JP クラス フォーラム
- 166 LFS253 Class Forum
- 5 LFS255 Class Forum
- 19 LFS256 Class Forum
- 3 LFS257 Class Forum
- 1.4K LFS258 Class Forum
- 13 LFS258-JP クラス フォーラム
- 151 LFS260 Class Forum
- 165 LFS261 Class Forum
- 26 LFS267 Class Forum
- 28 LFS268 Class Forum
- 39 LFS269 Class Forum
- 13 LFS270 Class Forum
- 792 Hardware
- 202 Drivers
- 68 I/O Devices
- 37 Monitors
- 95 Multimedia
- 173 Networking
- 91 Printers & Scanners
- 87 Storage
- 768 Linux Distributions
- 81 Debian
- 67 Fedora
- 22 Linux Mint
- 13 Mageia
- 24 openSUSE
- 150 Red Hat Enterprise
- 31 Slackware
- 13 SUSE Enterprise
- 356 Ubuntu
- 465 Linux System Administration
- 31 Cloud Computing
- 73 Command Line/Scripting
- Github systems admin projects
- 98 Linux Security
- 78 Network Management
- 101 System Management
- 46 Web Management
- 105 Mobile Computing
- 18 Android
- 72 Development
- 1.2K New to Linux
- 1K Getting Started with Linux
- 392 Off Topic
- 121 Introductions
- 181 Small Talk
- 29 Study Material
- 928 Programming and Development
- 310 Kernel Development
- 600 Software Development
- 969 Software
- 361 Applications
- 182 Command Line
- 5 Compiling/Installing
- 68 Games
- 317 Installation
- Archived
- 75 All In Program
- 75 All In Forum
- 25 LFC110 Class Forum - Discontinued
- 2 LFS112 Class Forum - Discontinued
- 22 LFS151 Class Forum - Discontinued
- 1 LFS166 Class Forum - Discontinued
- 9 LFS167 Class Forum - Discontinued
- 4 LFS170 Class Forum - Discontinued
- 1 LFS171 Class Forum - Discontinued
- 3 LFS178 Class Forum - Discontinued
- 736 LFS201 Class Forum - Discontinued
- 2 LFS201-JP クラス フォーラム - Discontinued
- 301 LFS211 Class Forum - Discontinued
- 55 LFS216 Class Forum - Discontinued
- 2 LFS251 Class Forum - Discontinued
- 1 LFS254 Class Forum - Discontinued
- 82 LFS263 Class Forum - Discontinued
- 15 LFS264 Class Forum - Discontinued
- 11 LFS266 Class Forum - Discontinued
- 2 LFS272-JP クラス フォーラム - Discontinued
- 202 LFS272 Class Forum - Discontinued
- 1 LFS274 Class Forum - Discontinued
- 4 LFS281 Class Forum - Discontinued
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)