show "Apache2 Default Page" instead of the dashboard

Hello folks
For the labs 3.1 to 3.4, when I try to log to the horizon dashboard it is showing me the "Apache2 Ubuntu Default Page" instead.
On the solution pdf, it is not talking about doing any setup or configuration... So what shoud I do ?
Should I setup by myself the dashboard ? And how I can do it ?
thanks
Comments
-
Hello,
If you can view the default Apache page, but not the expected dashboard content this is usually due to a failure of the software to install. I have just replicated the problem myself. I am looking into a fix.
If you look in the logs output you will see an error similar to the following. It indicates some sort of mismatch between the software expected and what is available. This does happen with DevStack.
2017-04-10 02:43:10.334 | Stored in directory: /home/ubuntu/.cache/pip/wheels/19/8a/01 /20cf74c3f38d49ef8e9b9aa7ffd38cefff79bad9f6f2c651f0 2017-04-10 02:43:10.339 | Successfully built cmd2 cryptography pycparser retrying wrapt 2017-04-10 02:43:10.339 | Installing collected packages: appdirs, pycparser, cffi, pypar sing, cmd2, pbr, stevedore, cliff, idna, pyasn1, ipaddress, cryptography, wrapt, debtcol lector, jsonschema, monotonic, netaddr, retrying, oslo.i18n, oslo.config, pytz, oslo.uti ls, oslo.concurrency, oslo.context, oslo.serialization, python-dateutil, oslo.log, param iko, python-mimeparse, urllib3 2017-04-10 02:43:10.339 | Found existing installation: appdirs 1.4.3 2017-04-10 02:43:10.345 | Uninstalling appdirs-1.4.3: 2017-04-10 02:43:10.356 | Successfully uninstalled appdirs-1.4.3 2017-04-10 02:43:10.459 | Rolling back uninstall of appdirs 2017-04-10 02:43:10.525 | Exception: 2017-04-10 02:43:10.526 | Traceback (most recent call last):
A search of the internet shows this may be tied to a recent bug: https://bugs.launchpad.net/devstack/+bug/1667545
Or at least it has the same characterists. I will send this information along to the infrastructure team to work on once we find a fix. As these sorts of errors are common with DevStack, and even OpenStack, troubleshooting can be valuable. Should you discover a fix on your own, please let the forum know.
Regards,
0 -
thanks for your fast reply.
It means everybody on this labs 3.x should be impacted too.
0 -
Yes, I have tried a couple things to get python/pip to be happy but so far it causes other issues. Will continue to work on it.
All the 2.x and 3.x labs will be affected until a bug fix comes out or I figure out a work-around.
One idea is to use the 8.x and 10.x labs and run the steps found in 3.x labs. The RDO distro is more consistent than DevStack, but they are very similar. It would be a way to continue with labs and learn some of the diffrerences between DevStack and RDO.
Regards,
0 -
I tryed the lab 3.4 and by default it is still not working. but after re-run stack.sh all went fine and now the installation is up and running.
But it is a basic and empty environment, without the exercises.
Is there a way (or a script) who is setting up the lab ?
PS : about using the lab 8, it seems also empty
0 -
Hello,
If I understand you correclty you were able to get a 3.x lab to work by running the ./stack.sh script twice? I have not tried that, but will if it worked for you. Did you try any other steps?
As for lab 8, when you say it is empty, I am not sure what you mean. What is empty?
Regards,
0 -
In fact once the lab is ready, just running the script stack.sh is enough
Sorry, I was not clear about the lab 8. This lab is without the install of openstack by default, so before being able to work on the lab 3.x, all the install must be done
0 -
With lab8 and later labs there will be a new cloud setup and used. Instead of DevStack you will be using RDO. So when lab8 begins you would not have any OpenStack installed and will use packstack.
As for lab 3.x have you found the ,/stack.sh script just works for you the first time? I have just tried again without luck, but lots of python errors. If it is working, any steps you are following outside the labs would be much appreciated.
Regards,
0 -
I didn't change the conf, I just ran stack.sh
But before I checked that no "devstack" process were running
0 -
Hopefully the bug fix has fully rolled out and you won't have to adjust anything but lab 2, which requires an edit to a configuration file. The infrastructure team is using that fix when they roll out later chapters, so they should work as suggested in the book.
Regards,
0 -
I had the same problem right out of the gate with Lab 2.1. I ran unstack.sh followed by clearn.sh and then reran stack.sh. That seemed to fix the problem. Either that or the bug fix came out during those few minutes that I did the above. I like to think I managed to figure out a solution myself.
Cheers
0 -
Hi Guys,
Just installed lab2. And no dashboard came out. Only Apache default page.
Any procedure to fix this ?
best rgds
Giovanni
0 -
Giovanni,
Are there errors in your log file? If you could post the errors, typically the lines right before and following an exit_trap type event. If you grep for errors in general you should at least see what the reported issue was. This would help the troubleshooting process.
In general errors to the terminal and log files will be the best place to start when dealing with OpenStack.
Regards,
0 -
Hi serewicz,
Tks for your help.
I 've cleaned all up ( ./unstack + cleanup ) and used ./stack.sh again.
Now it works. Horizon came up.
Isn't that supposed to be a controlled environment ?
Will be any other surprises along the way ?
best,
Giovanni
0 -
Giovanni,
Glad to hear it is working for you. We use the live and real-time software. When you work with the product outside of the learning environment it will be very dynamic as it is here. It is better to understand how the software really works, blemish and all, instead of a "demo" which does not reflect the real product.
Regards,
0 -
"We use the live and real-time software. When you work with the product outside of the learning environment it will be very dynamic as it is here. It is better to understand how the software really works, blemish and all, instead of a "demo" which does not reflect the real product."
Absolutely disagree. We paid a lot of money to be here. Having things work first time without the 12 hour delay (cause i'm in Australia) is ABSOLUTELY what we want.
We are here to learn not be sidetracked by having to fix things and guess at things that have been deprecated and mismatches between actual and the documentation.
P
0 -
Thank you for your thoughtful feedback.
0
Categories
- All Categories
- 50 LFX Mentorship
- 103 LFX Mentorship: Linux Kernel
- 553 Linux Foundation Boot Camps
- 296 Cloud Engineer Boot Camp
- 119 Advanced Cloud Engineer Boot Camp
- 52 DevOps Engineer Boot Camp
- 53 Cloud Native Developer Boot Camp
- 4 Express Training Courses
- 4 Express Courses - Discussion Forum
- 1.9K Training Courses
- 18 LFC110 Class Forum
- 6 LFC131 Class Forum
- 25 LFD102 Class Forum
- 150 LFD103 Class Forum
- 17 LFD121 Class Forum
- LFD137 Class Forum
- 61 LFD201 Class Forum
- LFD210 Class Forum
- LFD210-CN Class Forum
- 1 LFD213 Class Forum - Discontinued
- 128 LFD232 Class Forum
- LFD237 Class Forum
- 23 LFD254 Class Forum
- 598 LFD259 Class Forum
- 102 LFD272 Class Forum
- 1 LFD272-JP クラス フォーラム
- LFD273 Class Forum
- 2 LFS145 Class Forum
- 24 LFS200 Class Forum
- 739 LFS201 Class Forum
- 1 LFS201-JP クラス フォーラム
- 3 LFS203 Class Forum
- 69 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
- 34 LFS250 Class Forum
- 1 LFS250-JP クラス フォーラム
- LFS251 Class Forum
- 140 LFS253 Class Forum
- LFS254 Class Forum
- 1K LFS258 Class Forum
- 10 LFS258-JP クラス フォーラム
- 92 LFS260 Class Forum
- 130 LFS261 Class Forum
- 32 LFS262 Class Forum
- 79 LFS263 Class Forum
- 15 LFS264 Class Forum
- 11 LFS266 Class Forum
- 17 LFS267 Class Forum
- 17 LFS268 Class Forum
- 23 LFS269 Class Forum
- 203 LFS272 Class Forum
- 1 LFS272-JP クラス フォーラム
- LFS281 Class Forum
- 221 LFW211 Class Forum
- 167 LFW212 Class Forum
- SKF100 Class Forum
- 902 Hardware
- 219 Drivers
- 74 I/O Devices
- 44 Monitors
- 115 Multimedia
- 209 Networking
- 101 Printers & Scanners
- 85 Storage
- 761 Linux Distributions
- 88 Debian
- 66 Fedora
- 15 Linux Mint
- 13 Mageia
- 24 openSUSE
- 141 Red Hat Enterprise
- 33 Slackware
- 13 SUSE Enterprise
- 356 Ubuntu
- 477 Linux System Administration
- 41 Cloud Computing
- 69 Command Line/Scripting
- Github systems admin projects
- 95 Linux Security
- 77 Network Management
- 108 System Management
- 49 Web Management
- 66 Mobile Computing
- 23 Android
- 29 Development
- 1.2K New to Linux
- 1.1K Getting Started with Linux
- 536 Off Topic
- 131 Introductions
- 216 Small Talk
- 21 Study Material
- 817 Programming and Development
- 275 Kernel Development
- 508 Software Development
- 928 Software
- 260 Applications
- 184 Command Line
- 3 Compiling/Installing
- 76 Games
- 316 Installation
- 59 All In Program
- 59 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)