Cannot access Horizon BUI on multiple labs
I am trying to go back through labs again to prepare for COA Exam - I have been unable to get BUI access to the following labs (at least) - 2, 3.1, 3.2, 3.3, 3.4, 4.1. Myself and multiple colleagues have tried access on two different VPNs and on direct internet. Please advise.
Comments
-
Hello,
Thank you for bringing this to our attention. The 3.x and 4.x labs seem to have an issue with networking which is preventing ./stack.sh from finishing. I have forwarded the information to the infrastructure support team.
In lab2.1 did you receive any errors during ./stack.sh? I will continue to investigate the issue and let the support team know.
Regards,
0 -
I have not tested all the steps, but the simple fix, so far, is to use the Pike release. so the clone command ends with -b stable/pike.
The BUI looks a little different, but the steps are the same with what I've run so far. I will continue to look into the differences and update the errata file and the lab.
Regards,
0 -
I am getting errors on running stack.sh - with both newton and pike as the releases.
0 -
Was able to get stack.sh to run in Lab 2 with ocata release.
Unable to get 3.1 lab to start3.2 lab good until need to login to BUI -(ran stack.sh with ocata relase) IP not reachable
It would be really helpful if we had usable labs so we are prepared for the COA Exam.
0 -
I am in agreement and extremely disappointed that I paid for a course, specifically to use the labs, and it cannot be used. If they cannot be corrected now then everyone that has paid for the course should be reimbursed.
0 -
Ping to the BUI address OK from the laptop in the local system. But connection with browsers (Chrome, IE) fails.
0 -
Sounds like this has been a long-term issue...I'm seeing the same many months later...guess it's not just me lol
I took this course to potentially help with teaching the skills and tools necessary for this kind of troubleshooting because I've been trying to set up OpenStack by myself using devstack as a playground but these kinds of issues are very common when playing with OpenStack; so common and so time-consuming, in fact, that I figured a Linux Foundation course on the topic may help out but it looks to be the same thing even when experts are trying to setup simple sandboxes for instructional purposes.
If nothing else, to all the other students: if you're having these kinds of issues, congratulations, you are one step closer to learning what managing an OpenStack cloud is really like
That being said, it looks like the labs are potentially useless and at best running through the course material may provide some useful information but in terms of practical experience self-guided tinkering is still the way to go...
0 -
It's now Sept. 10, 2018. After installing Openstack I can launch the BUI but the admin credentials are not accepted even though pass is setup in local.conf
0 -
Hello,
Please paste your ~/devstack/local.conf file.
Any errors in your stack log file?
Regards,
0 -
Here it is:
[[local|localrc]]
HOST_IP=172.17.0.27
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
there are some errors in the logfile:
error: 'Access denied for user 'root'@'localhost' (using password: YES)'
2018-09-10 16:27:42.177 | Job for devstack@etcd.service failed because the control process exited with error code. See "systemctl status devstack@
etcd.service" and "journalctl -xe" for details.
2018-09-10 16:27:42.188 | +lib/etcd3:start_etcd3:1 exit_trap
2018-09-10 16:27:42.198 | +./stack.sh:exit_trap:521 local r=1
2018-09-10 16:27:42.208 | ++./stack.sh:exit_trap:522 jobs -p
2018-09-10 16:27:42.218 | +./stack.sh:exit_trap:522 jobs=
2018-09-10 16:27:42.226 | +./stack.sh:exit_trap:525 [[ -n '' ]]
2018-09-10 16:27:42.234 | +./stack.sh:exit_trap:531 '[' -f /tmp/tmp.kT3QlJM79D ']'
2018-09-10 16:27:42.244 | +./stack.sh:exit_trap:532 rm /tmp/tmp.kT3QlJM79D
2018-09-10 16:27:42.255 | +./stack.sh:exit_trap:536 kill_spinner
2018-09-10 16:27:42.264 | +./stack.sh:kill_spinner:417 '[' '!' -z '' ']'
2018-09-10 16:27:42.274 | +./stack.sh:exit_trap:538 [[ 1 -ne 0 ]]
2018-09-10 16:27:42.282 | +./stack.sh:exit_trap:539 echo 'Error on exit'
2018-09-10 16:27:42.282 | Error on exit
2018-09-10 16:27:42.293 | +./stack.sh:exit_trap:541 type -p generate-subunit
2018-09-10 16:27:42.302 | +./stack.sh:exit_trap:542 generate-subunit 1536596605 257 fail
2018-09-10 16:27:42.730 | +./stack.sh:exit_trap:544 [[ -z /opt/stack/logs ]]
2018-09-10 16:27:42.738 | +./stack.sh:exit_trap:547 /home/ubuntu/devstack/tools/worlddump.py -d /opt/stack/logs
2018-09-10 16:27:43.569 | +./stack.sh:exit_trap:556 exit 10 -
Hello,
Yes. If the installation does not complete you would probably not see the GUI.
Are you running the ./stack.sh script as a non-root user?
There may be some other errors in the log, often a few messages prior to the first exit statement. In this case the "error: 'Access denied for user 'root'@'localhost' (using password: YES)'" output would indicate the script was run as root instead of the ubuntu (non-root) user.What did the prompt look like when you ran ./stack.sh?
Regards,
0 -
I do see the GUI, it won't authorize me with admin credentials as noted in the lab guide...
no I am not running as root, but as ubuntu..0 -
I did reboot and start over no change, but can do again...
0 -
Correct, even if you see the BUI, it does not mean the ./stack.sh process completed the installation. Often the installation fails prior to the BUI becoming available. If it did not install fully some things will not work correctly.
The Keystone service may not be running and fully talking to Horizon. Thus it may be unable to verify the password you are using has been entered properly.
If you see errors and an exit statement in the log file its best to assume there is a large issue and attempt to fix that issue prior to attempting access via the BUI.
I will attempt to use your local.conf and see if I get the same error.
0 -
Also, when you reboot you have to run ./stack.sh again. Best would be to run ./unstack.sh then ./clean.sh then ./stack.sh to ensure everything is cleared out.
0 -
Hanan,
I noticed that when you pasted your local.conf file the line " # Use the following to explore new project ", around line 13, did not have the octothorpe ( # ) as the first character on that line. Does your local.conf have that line commented out?
Also please could you verify the local.conf file is in the ./devstack/ directory.
I just ran ./stack.sh after putting in the octothorpe. It worked and I can log in via the BUI. This was the end of the ./stack.sh output:
Total runtime 1378
run_process 24
test_with_retry 3
apt-get-update 6
pip_install 344
osc 142
wait_for_service 17
git_timed 241
dbsync 32
apt-get 72This is your host IP address: 172.17.0.39
This is your host IPv6 address: ::1
Horizon is now available at http://172.17.0.39/dashboard
Keystone is serving at http://172.17.0.39/identity/
The default users are: admin and demo
The password: openstackPerhaps the editor you were using removed the necessary character? Please advise if it worked once that line was properly commented or removed.
Regards,
0 -
OK something is weird here, just refreshed as the session expired, I got a different hostname, refreshed again, and got the devstack-cc, but I think it's a clean VM with no devstack dir or openstack env..
ubuntu@devstack-cc:~$ cd devstack
-bash: cd: devstack: No such file or directory
guess will repeat the whole thing and see if it's better...0 -
Correct. Each session is unique.
If you refresh, or shutdown and start over your previous work for that particular lab will be gone. We have links for each lab which allows you to run that particular section over, so you will start a new lab when you get to lab 3, and it will have previous steps done on your behalf.
Regards,
0 -
Thanks Tim,
Yes that line was commented out, I must have copied it from the screen skipping the hash.
I re-did the install and now I have access to the BUI (w/o permission to the dashboard is that expected?). Hopefully things will go smoother now.0 -
Glad the installation is working. When you say you don't have permission to the dashboard, what do you mean? When you select the tab does it not come up with the BUI? Could you explain the error you are receiving please.
0 -
It just popped up twice when I logged in to Horizon, but not blocking me from continuing... will take a snapshot next time.
0 -
0
Categories
- All Categories
- 217 LFX Mentorship
- 217 LFX Mentorship: Linux Kernel
- 791 Linux Foundation IT Professional Programs
- 353 Cloud Engineer IT Professional Program
- 178 Advanced Cloud Engineer IT Professional Program
- 82 DevOps Engineer IT Professional Program
- 147 Cloud Native Developer IT Professional Program
- 137 Express Training Courses
- 137 Express Courses - Discussion Forum
- 6.2K Training Courses
- 47 LFC110 Class Forum - Discontinued
- 71 LFC131 Class Forum
- 42 LFD102 Class Forum
- 226 LFD103 Class Forum
- 18 LFD110 Class Forum
- 38 LFD121 Class Forum
- 18 LFD133 Class Forum
- 7 LFD134 Class Forum
- 18 LFD137 Class Forum
- 71 LFD201 Class Forum
- 4 LFD210 Class Forum
- 5 LFD210-CN Class Forum
- 2 LFD213 Class Forum - Discontinued
- 128 LFD232 Class Forum - Discontinued
- 2 LFD233 Class Forum
- 4 LFD237 Class Forum
- 24 LFD254 Class Forum
- 697 LFD259 Class Forum
- 111 LFD272 Class Forum
- 4 LFD272-JP クラス フォーラム
- 12 LFD273 Class Forum
- 148 LFS101 Class Forum
- 1 LFS111 Class Forum
- 3 LFS112 Class Forum
- 2 LFS116 Class Forum
- 4 LFS118 Class Forum
- LFS120 Class Forum
- 7 LFS142 Class Forum
- 5 LFS144 Class Forum
- 4 LFS145 Class Forum
- 2 LFS146 Class Forum
- 3 LFS147 Class Forum
- 1 LFS148 Class Forum
- 15 LFS151 Class Forum
- 2 LFS157 Class Forum
- 28 LFS158 Class Forum
- 7 LFS162 Class Forum
- 2 LFS166 Class Forum
- 4 LFS167 Class Forum
- 3 LFS170 Class Forum
- 2 LFS171 Class Forum
- 3 LFS178 Class Forum
- 3 LFS180 Class Forum
- 2 LFS182 Class Forum
- 5 LFS183 Class Forum
- 31 LFS200 Class Forum
- 737 LFS201 Class Forum - Discontinued
- 3 LFS201-JP クラス フォーラム
- 18 LFS203 Class Forum
- 134 LFS207 Class Forum
- 2 LFS207-DE-Klassenforum
- 1 LFS207-JP クラス フォーラム
- 302 LFS211 Class Forum
- 56 LFS216 Class Forum
- 52 LFS241 Class Forum
- 48 LFS242 Class Forum
- 38 LFS243 Class Forum
- 15 LFS244 Class Forum
- 2 LFS245 Class Forum
- LFS246 Class Forum
- 48 LFS250 Class Forum
- 2 LFS250-JP クラス フォーラム
- 1 LFS251 Class Forum
- 152 LFS253 Class Forum
- 1 LFS254 Class Forum
- 1 LFS255 Class Forum
- 7 LFS256 Class Forum
- 1 LFS257 Class Forum
- 1.2K LFS258 Class Forum
- 10 LFS258-JP クラス フォーラム
- 118 LFS260 Class Forum
- 159 LFS261 Class Forum
- 42 LFS262 Class Forum
- 82 LFS263 Class Forum - Discontinued
- 15 LFS264 Class Forum - Discontinued
- 11 LFS266 Class Forum - Discontinued
- 24 LFS267 Class Forum
- 22 LFS268 Class Forum
- 30 LFS269 Class Forum
- LFS270 Class Forum
- 202 LFS272 Class Forum
- 2 LFS272-JP クラス フォーラム
- 1 LFS274 Class Forum
- 4 LFS281 Class Forum
- 9 LFW111 Class Forum
- 259 LFW211 Class Forum
- 181 LFW212 Class Forum
- 13 SKF100 Class Forum
- 1 SKF200 Class Forum
- 1 SKF201 Class Forum
- 795 Hardware
- 199 Drivers
- 68 I/O Devices
- 37 Monitors
- 102 Multimedia
- 174 Networking
- 91 Printers & Scanners
- 85 Storage
- 758 Linux Distributions
- 82 Debian
- 67 Fedora
- 17 Linux Mint
- 13 Mageia
- 23 openSUSE
- 148 Red Hat Enterprise
- 31 Slackware
- 13 SUSE Enterprise
- 353 Ubuntu
- 468 Linux System Administration
- 39 Cloud Computing
- 71 Command Line/Scripting
- Github systems admin projects
- 93 Linux Security
- 78 Network Management
- 102 System Management
- 47 Web Management
- 63 Mobile Computing
- 18 Android
- 33 Development
- 1.2K New to Linux
- 1K Getting Started with Linux
- 371 Off Topic
- 114 Introductions
- 174 Small Talk
- 22 Study Material
- 805 Programming and Development
- 303 Kernel Development
- 484 Software Development
- 1.8K Software
- 261 Applications
- 183 Command Line
- 3 Compiling/Installing
- 987 Games
- 317 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)