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 [email protected] 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
- 50 LFX Mentorship
- 103 LFX Mentorship: Linux Kernel
- 576 Linux Foundation IT Professional Programs
- 304 Cloud Engineer IT Professional Program
- 125 Advanced Cloud Engineer IT Professional Program
- 53 DevOps Engineer IT Professional Program
- 61 Cloud Native Developer IT Professional Program
- 5 Express Training Courses
- 5 Express Courses - Discussion Forum
- 2K Training Courses
- 19 LFC110 Class Forum
- 7 LFC131 Class Forum
- 27 LFD102 Class Forum
- 157 LFD103 Class Forum
- 20 LFD121 Class Forum
- 1 LFD137 Class Forum
- 61 LFD201 Class Forum
- 1 LFD210 Class Forum
- LFD210-CN Class Forum
- 1 LFD213 Class Forum - Discontinued
- 128 LFD232 Class Forum
- LFD237 Class Forum
- 23 LFD254 Class Forum
- 611 LFD259 Class Forum
- 105 LFD272 Class Forum
- 1 LFD272-JP クラス フォーラム
- 1 LFD273 Class Forum
- 2 LFS145 Class Forum
- 24 LFS200 Class Forum
- 739 LFS201 Class Forum
- 1 LFS201-JP クラス フォーラム
- 11 LFS203 Class Forum
- 75 LFS207 Class Forum
- 300 LFS211 Class Forum
- 54 LFS216 Class Forum
- 47 LFS241 Class Forum
- 41 LFS242 Class Forum
- 37 LFS243 Class Forum
- 11 LFS244 Class Forum
- 36 LFS250 Class Forum
- 1 LFS250-JP クラス フォーラム
- LFS251 Class Forum
- 140 LFS253 Class Forum
- LFS254 Class Forum
- 1.1K LFS258 Class Forum
- 10 LFS258-JP クラス フォーラム
- 93 LFS260 Class Forum
- 132 LFS261 Class Forum
- 33 LFS262 Class Forum
- 80 LFS263 Class Forum
- 15 LFS264 Class Forum
- 11 LFS266 Class Forum
- 18 LFS267 Class Forum
- 17 LFS268 Class Forum
- 23 LFS269 Class Forum
- 203 LFS272 Class Forum
- 1 LFS272-JP クラス フォーラム
- LFS274 Class Forum
- LFS281 Class Forum
- 234 LFW211 Class Forum
- 172 LFW212 Class Forum
- 7 SKF100 Class Forum
- SKF200 Class Forum
- 902 Hardware
- 219 Drivers
- 74 I/O Devices
- 44 Monitors
- 115 Multimedia
- 209 Networking
- 101 Printers & Scanners
- 85 Storage
- 763 Linux Distributions
- 88 Debian
- 66 Fedora
- 15 Linux Mint
- 13 Mageia
- 24 openSUSE
- 142 Red Hat Enterprise
- 33 Slackware
- 13 SUSE Enterprise
- 357 Ubuntu
- 479 Linux System Administration
- 41 Cloud Computing
- 70 Command Line/Scripting
- Github systems admin projects
- 95 Linux Security
- 78 Network Management
- 108 System Management
- 49 Web Management
- 68 Mobile Computing
- 23 Android
- 30 Development
- 1.2K New to Linux
- 1.1K Getting Started with Linux
- 537 Off Topic
- 131 Introductions
- 217 Small Talk
- 21 Study Material
- 826 Programming and Development
- 278 Kernel Development
- 514 Software Development
- 928 Software
- 260 Applications
- 184 Command Line
- 3 Compiling/Installing
- 76 Games
- 316 Installation
- 62 All In Program
- 62 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)