[Rdo-list] RDO, packstack, Keypair creation is failing

Marius Cornea marius at remote-lab.net
Fri Jan 15 12:59:12 UTC 2016


Giving another shot - I saw that the shell prompt shows the localhost
name. Could you try setting a proper hostname (hostname -f returns a
fqdn) and retry?

On Fri, Jan 15, 2016 at 1:48 PM, Javier Pena <javier.pena at redhat.com> wrote:
> ----- Original Message -----
>
>> Hello Javier,
>
>> Okay, I did what you said. This took some fumbling around. There are 7 files.
>> The two biggest are 13k and 12k , the others are 4k and below. Hope they
>> aren't too big!
>
>> == 1> nova-api.log:=============================
>
> [...snip...]
>
>> c73d477ea608499eb117fb79b28bff80 - - -] Option "sql_connection" from group
>> "DEFAULT" is deprecated. Use option "connection" from group "database".
>> 2016-01-14 14:26:44.407 6099 INFO nova.api.openstack.wsgi
>> [req-fdc4d3ba-9f6b-4b98-85f9-51dfeb5dca84 c2114578a647492c985508e88c06f24b
>> c73d477ea608499eb117fb79b28bff80 - - -] HTTP exception thrown: Keypair data
>> is invalid: failed to generate fingerprint
>> 2016-01-14 14:26:44.408 6099 INFO nova.osapi_compute.wsgi.server
>> [req-fdc4d3ba-9f6b-4b98-85f9-51dfeb5dca84 c2114578a647492c985508e88c06f24b
>> c73d477ea608499eb117fb79b28bff80 - - -] 192.168.1.12 "POST
>> /v2/c73d477ea608499eb117fb79b28bff80/os-keypairs HTTP/1.1" status: 400 len:
>> 319 time: 3.4419072
>
> So this is all the Nova logs show, it is just complaining that the keypair data is not valid.
>
> While we try to get some other ideas, does dmesg show any application segfaulting?
>
> Javier
>
> [... all other logs, snipping ...]
>
>> On Thursday, January 14, 2016 1:56 AM, Javier Pena <javier.pena at redhat.com>
>> wrote:
>
>> ----- Original Message -----
>
>> > "I wasn't able to reproduce your issue."
>> > Thanks for that, Sasha!
>
>> > I have looked through the eight log files in /var/log/nova and I found
>> > three
>> > things, which you can see here:
>> > http://paste.openstack.org/show/483844/
>
>> > It looks like the SQL server is not working right?
>
>> Hi John,
>
>> This just looks like a startup thing, where the Nova services were up before
>> the database was available. It is working as expected, as services are
>> retrying and eventually connect.
>
>> To simplify the log issue, let's try this:
>
>> - openstack-service stop nova
>> - go to /var/log/nova and move all log files to a backup location, so they
>> are empty
>> - openstack-service start nova
>> - Try to reproduce the issue
>> - openstak-service stop nova
>
>> The log file size should be manageable now and there should be little noise.
>> If they are not too big, could you try pasting them? There should be
>> something in api.log to move forward.
>
>> Regards,
>> Javier
>
>> > System resources. I'm looking at the Gnome System Monitor.
>> > Total Memory is 9.4 gigabytes, with 3.2 gigbytes used.
>
>> > But, this is strange, it says that CPU usage is at 100%. Not sure how that
>> > can be.
>
>> > vmtoolsd is using around 98% of the cpu! I have an 8 core machine, so I'm
>> > not
>> > sure how this is measuring.
>
>> > ...John
>
>> > On Wednesday, January 13, 2016 9:48 PM, Sasha Chuzhoy < sasha at redhat.com >
>> > wrote:
>
>> > Hi John,
>> > I wasn't able to reproduce your issue.
>> > Could you please check the logs for errors and also double check that the
>> > system's resources aren't exhausted.
>> > Thanks.
>
>> > Best regards,
>> > Sasha Chuzhoy.
>
>> > ----- Original Message -----
>> > > From: "Thales" < thaleslv at yahoo.com >
>> > > To: "Sasha Chuzhoy" < sasha at redhat.com >
>> > > Cc: "Ivan Chavero" < ichavero at redhat.com >, rdo-list at redhat.com
>> > > Sent: Wednesday, January 13, 2016 7:47:34 PM
>> > > Subject: Re: [Rdo-list] RDO, packstack, Keypair creation is failing
>> > >
>> > > Okay, I decided to go back to the very start, to a clean install of
>> > > CentOS
>> > > 7.
>> > > I ran all of the commands to install rdo as root.That is, the commands
>> > > from the quick start website here:
>> > > https://www.rdoproject.org/install/quickstart/
>> > >
>> > > Alas, the same HTTP 400 error crops up! I ran the keypair commands from
>> > > the
>> > > CLI as well. Wow.
>> > >
>> > > It has to be something simple and obvious.
>> > > ...John
>> > >
>> > > On Wednesday, January 13, 2016 3:52 PM, Sasha Chuzhoy < sasha at redhat.com
>> > > >
>> > > wrote:
>> > >
>> > >
>> > > Did the run of "packstack --allinone" completed successfully or exited
>> > > with
>> > > error?
>> > >
>> > > The should be no conflict with the previous install (not sure if the
>> > > previous
>> > > install completed successfully).
>> > > Thanks.
>> > >
>> > > Best regards,
>> > > Sasha Chuzhoy.
>> > >
>> > > ----- Original Message -----
>> > > > From: "Thales" < thaleslv at yahoo.com >
>> > > > To: "Sasha Chuzhoy" < sasha at redhat.com >
>> > > > Cc: "Ivan Chavero" < ichavero at redhat.com >, rdo-list at redhat.com
>> > > > Sent: Wednesday, January 13, 2016 4:38:29 PM
>> > > > Subject: Re: [Rdo-list] RDO, packstack, Keypair creation is failing
>> > > >
>> > > > Sasha,
>> > > > Okay, I ran it. I hope there is not a conflict with the previous
>> > > > install.
>> > > > I ran the web interface, Dashboard, and the same error pops up, the
>> > > > HTTP
>> > > > 400 error. I then ran the keypair command line command at root, and get
>> > > > a different error, a n HTTP 401 authentication error:
>> > > > Here are the commands and the
>> > > > output: http://paste.openstack.org/show/483817/
>> > > >
>> > > >
>> > > >
>> > > > ...John
>> > > >
>> > > >
>> > > > On Wednesday, January 13, 2016 2:46 PM, Sasha Chuzhoy <
>> > > > sasha at redhat.com
>> > > > >
>> > > > wrote:
>> > > >
>> > > >
>> > > > John,
>> > > > please try to run the " packstack --allinone" command as root (or with
>> > > > sudo).
>> > > >
>> > > > Then see if the error reproduces.
>> > > > Thanks.
>> > > >
>> > > > Best regards,
>> > > > Sasha Chuzhoy.
>> > > >
>> > > > ----- Original Message -----
>> > > > > From: "Thales" < thaleslv at yahoo.com >
>> > > > > To: "Ivan Chavero" < ichavero at redhat.com >
>> > > > > Cc: rdo-list at redhat.com
>> > > > > Sent: Wednesday, January 13, 2016 12:26:21 PM
>> > > > > Subject: Re: [Rdo-list] RDO, packstack, Keypair creation is failing
>> > > > >
>> > > > > Ivan,
>> > > > >
>> > > > > You're right, I ran it without the sudo command. I was following the
>> > > > > directions here, where they don't use sudo:
>> > > > > https://www.rdoproject.org/install/quickstart/
>> > > > >
>> > > > >
>> > > > > Is that wrong?
>> > > > >
>> > > > > Regards,
>> > > > > ...John
>> > > > >
>> > > > >
>> > > > > On Wednesday, January 13, 2016 9:37 AM, Ivan Chavero
>> > > > > < ichavero at redhat.com >
>> > > > > wrote:
>> > > > >
>> > > > >
>> > > > >
>> > > > >
>> > > > > >
>> > > > > > Here is the pastebin, basically a repeat of the "quickstart"
>> > > > > > website
>> > > > > >
>> > > > > > http://paste.openstack.org/show/483685/
>> > > > >
>> > > > >
>> > > > > Looking at your history i noticed that you run packstack withuout the
>> > > > > sudo
>> > > > > command.
>> > > > > Are you sure it finished correctly? It should be run as root.
>> > > > >
>> > > > > Cheers,
>> > > > > Ivan
>> > > > >
>> > > > >
>> > > > >
>> > > > >
>> > > > > _______________________________________________
>> > > > > Rdo-list mailing list
>> > > > > Rdo-list at redhat.com
>> > > > > https://www.redhat.com/mailman/listinfo/rdo-list
>> > > > >
>> > > > > To unsubscribe: rdo-list-unsubscribe at redhat.com
>
>> > > >
>> > > >
>> > > >
>> > >
>> > >
>
>> > _______________________________________________
>> > Rdo-list mailing list
>> > Rdo-list at redhat.com
>> > https://www.redhat.com/mailman/listinfo/rdo-list
>
>> > To unsubscribe: rdo-list-unsubscribe at redhat.com
>
>> _______________________________________________
>> Rdo-list mailing list
>> Rdo-list at redhat.com
>> https://www.redhat.com/mailman/listinfo/rdo-list
>
>> To unsubscribe: rdo-list-unsubscribe at redhat.com
>
> _______________________________________________
> Rdo-list mailing list
> Rdo-list at redhat.com
> https://www.redhat.com/mailman/listinfo/rdo-list
>
> To unsubscribe: rdo-list-unsubscribe at redhat.com




More information about the rdo-list mailing list