Exercise 3.2 - Add compute host
Hello,
I have problem with exercise 3.2. I log in to compute-node, run apt-get update and then install vim and git forllowing:
git clone https://git.openstack.org/openstack-dev/devstack
I then edit local.conf and copy the values from Lab Notes. I have:
[...]
HOST_IP=192.168.97.2 # <<-- compute-node IP address
FIRST_HOST=192.168.97.1 # <<-- devstack-cc IP address
[...]
I run ./devstack.sh on compute node and it completes successfully. When I log in to the devstack-cc node first as user developer1, add an instance, and then log out and log in as admin, I don't see seconnd hypervisor nor compute node anywhere.
What would be best way to find out if compute-node ever connects with first-node (devstack-cc)?
The IPs look correct but I don't see any connections.
Thank you!
Comments
-
I'm in the learning process myself so I hope I'm not misleading you, forgive me if I am ;
Based on other topics in this blog, it seems that they are recommending that we use a more stable devstack version rather than the one mentioned in our lab documents :
for cloning, the suggestion is to use :
git clone https://git.openstack.org/openstack-dev/devstack -b stable/liberty
for local.conf file, I suggest you remove or comment out the following line :
FIXED_RANGE=10.10...
This is what I used and it worked fine for me :
[[local|localrc]]
HOST_IP=192.168.97.2
FIRST_HOST=192.168.97.1
FLAT_INTERFACE=eth0
FIXED_NETWORK_SIZE=4096
MULTI_HOST=1
LOGFILE=/opt/stack/logs/stack.sh.log
ADMIN_PASSWORD=openstack
MYSQL_PASSWORD=DB-secret
RABBIT_PASSWORD=MQ-secret
SERVICE_PASSWORD=SERVICE-secret
SERVICE_TOKEN=ALongStringUsuallyHere
DATABASE_TYPE=mysql
SERVICE_HOST=$FIRST_HOST
MYSQL_HOST=$FIRST_HOST
RABBIT_HOST=$FIRST_HOST
GLANCE_HOSTPORT=$FIRST_HOST:9292
ENABLED_SERVICES=n-cpu,n-net,c-vol
NOVA_VNC_ENABLED=True
NOVNCPROXY_URL="http://$FIRST_HOST:6080/vnc_auto.html"
VNCSERVER_LISTEN=$HOST_IP
VNCSERVER_PROXYCLIENT_ADDRESS=$VNCSERVER_LISTEN
0 -
Only difference to thre one on Lab Notes seem to be that yours is missing below two lines:
FIXED_RANGE=10.10.128.0/20
FLOATING_RANGE=192.168.100.128/25
Well, I will try anyway.0 -
Unortunately no change. I removed FIXED_RAGE and FLOATING_RANGE from ~/devstack/local.conf ran ./unstack.sh && ./clean.sh && ./stack.sh
received:[...]
=========================
DevStack Component Timing
=========================
Total runtime 137
run_process 13
apt-get-update 15
pip_install 55
wait_for_service 0
apt-get 7
=========================
This is your host IP address: 192.168.97.2
This is your host IPv6 address: ::1For whatever reason, when connecting to devstack-cc, compute-node is neither available on compute nodes nor can I see more than one hypervisor.
Thanks.
0 -
Did you use the stable version of devstack ?
git clone https://git.openstack.org/openstack-dev/devstack -b stable/liberty
I tried it again and it works for me,...
0 -
I missed that. I did think it actually before I tried even first time, but then I decided just to follow the docs. I will try this next,
0 -
Yes that was the thing, thank you!
If any of the admins are reading this, please update the docs, since the Labs don't work if you follow the docs exactly as they are at the moment.
0 -
On page 2 of 3.2 lab excercise, for Task 1, item4 the command needs to be applied as below:
ubuntu@compute-node: ~$ cd devstack
ubuntu@compute-node: ~/devstack$ ./stack.sh
Hope this helps.
0 -
My before and after ip output is as below:
ubuntu@compute-node:~$ cat ip.before.out
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group defau
lt
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP g
roup default qlen 1000
link/ether bc:76:4e:04:5d:26 brd ff:ff:ff:ff:ff:ff
inet 192.168.97.2/24 brd 192.168.97.255 scope global eth0
valid_lft forever preferred_lft forever
inet6 fe80::be76:4eff:fe04:5d26/64 scope link
valid_lft forever preferred_lft forever
ubuntu@compute-node:~$ cat ip.after.out
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group defau
lt
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet 169.254.169.254/32 scope link lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP g
roup default qlen 1000
link/ether bc:76:4e:04:5d:26 brd ff:ff:ff:ff:ff:ff
inet 192.168.97.2/24 brd 192.168.97.255 scope global eth0
valid_lft forever preferred_lft forever
inet6 fe80::be76:4eff:fe04:5d26/64 scope link
valid_lft forever preferred_lft forever
3: virbr0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOW
N group default
link/ether 2a:ed:56:d4:db:69 brd ff:ff:ff:ff:ff:ff
inet 192.168.122.1/24 brd 192.168.122.255 scope global virbr0
valid_lft forever preferred_lft forever
I tried all above mentioned ip to open a browser and point it at the public IP Address of your devstack-cc node.
Nothing is working. Which IP I should be pointing that too.
0 -
I am doing the course in October and still having this same problem, i have used cd >devstack and run the ./stack.sh script form there and all went well. The problem is i cannot access the BUI of the devstack-cc from its public IP which is 192.168.97.1 according to the instruction on the lab3.2 sheet. I tried a couple of clean install by running ./unstack.sh &./clean.sh as recommanded and everytime no horizon BUI on the public address of the devstack-cc.
Any help will be very appreciated,
regards
0 -
Thanks for the reply, for anyone who made the same mistake i made ( see above,) to fix this problem you need to exit the node environment by typing "EXIT" this will take you back to the devstack cc environment, here you can lookup the "eth0" which is the public ip for the destack, just issue this command "ip addr show eth0". This solved my problem.
Mybe there are other issues that will affect your labenvironment aswell so becarefull and keep learning!!
I realy do not mind the little mistakes here and there in the instructions because it makes the learning more effective. BUT the lab environment need to be more responsive and stable for this course to reach its potential.
I do hope this small input helps
thank you very much to the staff and all the learners here.
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
- 930 Programming and Development
- 310 Kernel Development
- 602 Software Development
- 970 Software
- 362 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)