New darga 2 openstack appliance webapp doesn't respond


#1

Hello, I’m new to manageiq and just downloaded the openstack image.

I’ve created an instance on my private cloud and have trouble when trying to access the webpage.

Hitting 80 I get forwarded to https but from there it just spins…

From the command line using openssl s_client -connect <my_instance>:443 when I type “GET /” it just sits there and does not return anything.

tailing logs in /var/log/httpd doesn’t show anything interesting.

Thanks in advance!
Brandon


#2

Hi @brandor5,

Have you configured the appliance? SSH to the appliance, and run the appliance_console. From there you can setup the database, external auth, extended temp, etc.


#3

@jockey10,

Yep, but I don’t think I changed anything. I’m just wanting to play around a bit. I thought that was the point of the appliance, fire it up and go. At least that’s what the download instructions suggested.

I poked around and found where the app logs are, but didn’t see anything useful there either.


#4

You need to configure the database and start the services in order to being able to connect, there are some things like the region number that need to be defined before you can connect to the appliance.

In the documentation you can find how to do it.

Generic:
http://manageiq.org/documentation/

Specifically for OpenStack:
http://manageiq.org/pdf/ManageIQ-0-Installing_ManageIQ_on_Red_Hat_Enterprise_Linux_OpenStack_Platform-en-US.pdf


#5

I did find that document and it doesn’t help.

When trying to create an internal database it errors saying an internal database already exists. It also tells me to reset the internal database, but that doesn’t help either.

Also, stopping and starting the evm server processes do not help.

I have a feeling that document wasn’t written for darga-2?


#6

I see the same behaviour for darqa-2 image for Openstack. I just wanted to look what ManageIQ is but didn’t want to dig deeply so I just got devel image and playing with it.

Nethertheless I have a clue for darqa-2 image: it seems that someone forgot to put one file into the build.

Jul 27 07:10:23 host-192-168-12-14 systemd[1]: Failed to start The Apache HTTP Server.
Jul 27 07:10:23 host-192-168-12-14 systemd[1]: Unit httpd.service entered failed state.
Jul 27 07:10:23 host-192-168-12-14 systemd[1]: httpd.service failed.

Jul 27 07:31:06 host-192-168-12-14 httpd[3649]: httpd: Syntax error on line 353 of /etc/httpd/conf/httpd.conf: Syntax error on line 10 of /etc/httpd/conf.d/manageiq-https-application.conf: Could not open configuration file /etc/httpd/conf.d/manageiq-redirects-ws: No such file or directory


#7

@carbonin This is interesting…can you take a look at this?


#8

Sure, I’ll take a look.


#9

I can’t reproduce this. What was the download link to the exact build you were trying this with?

@al_indigo @brandor5


#10

http://manageiq.org/download/manageiq-openstack-darga-2.qc2

md5 for my download: 8b2cfcbe05611eebd53cb8d0527941b4

the file mentioned in the log is actually missing


#11

@al_indigo I’m not sure what’s happening, but I downloaded that exact image and httpd started fine and the file you seem to be missing is definitely there.

@jockey10 @sergio_ocon There is no need to access to appliance_console on first boot for the darga appliances.

On first boot a database will be configured with region 0 and you should be able to access the web UI after a few minutes (the process of creating the database and starting the server takes some time).

@brandor5 Sorry it took so long to get back to you on this, but were you able to deploy the appliance successfully eventually?


#12

@carbonin, sorry, I messed around with it for a couple of days after my post but made no progress so I stopped messing with it to work on other stuff.

I’ll give it another shot in the next couple of days to see if I can make any more progress.


#13

I actually had a few minutes this morning to try again and this is what’s happening:

After the image is booted and everything starts (I checked httpd and evmserverd) the website accepts my connection and then just spins indefinitely.

I did check to see if the file @al_indigo mentioned was missing and it’s there.