My nova is still messed up.

asked 2014-08-10 18:55:27 -0600

mdiehl gravatar image

updated 2014-08-11 02:21:10 -0600

Still at it..

I've gotten to the point where I'm adding keys to my system. When I run:

nova keypair-add --pub-key ~/.ssh/id_rsa.pub testme

I get:

ERROR: The server has either erred or is incapable of performing the requested operation. (HTTP 500) (Request-ID: req-f2845829-19d5-434c-a7d4-0ff6bb2997cc)

I went ahead and added the horizon dashboard thinking I'd at least be able to launch something. However, I find that nova doesn't have any "flavors" installed, either. So, I guess I need to figure out what's wrong.

Here is the debug output: (Note that netstat says that something is listening on tcp/8774.)

nova --debug keypair-add --pub-key ~/.ssh/id_rsa.pub testme

REQ: curl -i 'http://192.168.1.231:35357/v2.0/tokens' -X POST -H "Content-Type: application/json" -H "Accept: application/json" -H "User-Agent: python-novaclient" -d '{"auth": {"tenantName": "admin", "passwordCredentials": {"username": "admin", "password": "Liebchen"}}}'

New session created for: (http://192.168.1.231:35357)
INFO (connectionpool:258) Starting new HTTP connection (1): 192.168.1.231
DEBUG (connectionpool:375) Setting read timeout to 600.0
DEBUG (connectionpool:415) "POST /v2.0/tokens HTTP/1.1" 200 4663
RESP: [200] CaseInsensitiveDict({'date': 'Sun, 10 Aug 2014 23:53:59 GMT', 'vary': 'X-Auth-Token', 'content-length': '4663', 'content-type': 'application/json', 'x-distribution': 'Ubuntu'})
RESP BODY: {"access": {"token": {"issued_at": "2014-08-10T23:53:59.833253", "expires": "2014-08-11T00:53:59Z", "id": "MIIIkwYJKoZIhvcNAQcCoIIIhDCCCIACAQExDTALBglghkgBZQMEAgEwggbhBgkqhkiG9w0BBwGgggbSBIIGznsiYWNjZXNzIjogeyJ0b2tlbiI6IHsiaXNzdWVkX2F0IjogIjIwMTQtMDgtMTBUMjM6NTM6NTkuODMzMjUzIiwgImV4cGlyZXMiOiAiMjAxNC0wOC0xMVQwMDo1Mzo1OVoiLCAiaWQiOiAicGxhY2Vob2xkZXIiLCAidGVuYW50IjogeyJkZXNjcmlwdGlvbiI6ICJBZG1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BhTCCAYECAQEwXDBXMQswCQYDVQQGEwJVUzEOMAwGA1UECAwFVW5zZXQxDjAMBgNVBAcMBVVuc2V0MQ4wDAYDVQQKDAVVbnNldDEYMBYGA1UEAwwPd3d3LmV4YW1wbGUuY29tAgEBMAsGCWCGSAFlAwQCATANBgkqhkiG9w0BAQEFAASCAQBttdamj5+HbrQGqWT1PGX3C1+kDkcylsKWHVT12c618OhKfgHjg39ocnouf7QQcSie2J1lmaFxQvIg8pKKEeiZ6fPrwzmbuytrhinZRfWmkAzhANy1P9+4FZuk8lGqOUeyZ4gUWrNGHzxb5k6GS1cxG+g9LYipoA7u6FarH-ou4Q0CA8vGFnA1fvnlZ9JsMONkRz2YQyLoAkhU5VdQrHz2Au1d88nNUGDZa6clw3H2aUmrwLP5BiLQwcTp3oe5jph-5Tjeq7fKeEm8nGt8ofm00ooCZryIgrrzfkL5mtpcOj+6VAp9USOETvs70+nwEIxkgVzAmCweaaZ3ZOTOFmYR", "tenant": {"description": "Admin Tenant", "enabled": true, "id": "fefdd7ee6cdb4ee8a7068a4d9fae4355", "name": "admin"}}, "serviceCatalog": [{"endpoints": [{"adminURL": "http://192.168.1.231:9292", "region": "regionOne", "internalURL": "http://192.168.1.231:9292", "id": "91cc7ab9acdb44ed9256cad3ede741a2", "publicURL": "http://192.168.1.231:9292"}], "endpoints_links": [], "type": "image", "name": "glance"}, {"endpoints": [{"adminURL": "http://192.168.1.231:8774/v2/fefdd7ee6cdb4ee8a7068a4d9fae4355", "region": "regionOne", "internalURL": "http://192.168.1.231:8774/v2/fefdd7ee6cdb4ee8a7068a4d9fae4355", "id": "0ec1908375794490a70b2bfbe0d19026", "publicURL": "http://192.168.1.231:8774/v2/fefdd7ee6cdb4ee8a7068a4d9fae4355"}], "endpoints_links": [], "type": "compute", "name": "nova"}, {"endpoints": [{"adminURL": "http://192.168.1.231:9696", "region": "regionOne", "internalURL": "http://192.168.1.231:9696", "id": "068cd5952b1f44e8b8294397f3ff2b7c", "publicURL": "http://192.168.1.231:9696"}], "endpoints_links": [], "type": "network", "name": "neutron"}, {"endpoints": [{"adminURL": "http://192.168.1.231:35357/v2.0", "region": "regionOne", "internalURL": "http://192.168.1.231:5000/v2.0", "id": "0962b26a3abf4707bd1b7c9126c420fa", "publicURL": "http://192.168.1.231:5000/v2.0"}], "endpoints_links": [], "type": "identity", "name": "keystone"}], "user": {"username": "admin", "roles_links": [], "id": "4c4cbb15b215491fb0207bf0ecf4928f", "roles": [{"name": "admin"}, {"name": "_member_"}], "name": "admin"}, "metadata": {"is_admin": 0, "roles": ["f5856b4469754d2c91b4473174a4a518", "9fe2ff9ee4384b1894a90878d3e92bab"]}}}

REQ: curl -i 'http://192.168.1.231:8774/v2/fefdd7ee6cdb4ee8a7068a4d9fae4355/os-keypairs' -X POST -H "X-Auth-Project-Id: admin" -H "User-Agent: python-novaclient" -H "Content-Type: application/json" -H "Accept: application/json" -H "X-Auth-Token: MIIIkwYJKoZIhvcNAQcCoIIIhDCCCIACAQExDTALBglghkgBZQMEAgEwggbhBgkqhkiG9w0BBwGgggbSBIIGznsiYWNjZXNzIjogeyJ0b2tlbiI6IHsiaXNzdWVkX2F0IjogIjIwMTQtMDgtMTBUMjM6NTM6NTkuODMzMjUzIiwgImV4cGlyZXMiOiAiMjAxNC0wOC0xMVQwMDo1Mzo1OVoiLCAiaWQiOiAicGxhY2Vob2xkZXIiLCAidGVuYW50IjogeyJkZXNjcmlwdGlvbiI6ICJBZG1pbiBUZW5hbnQiLCAiZW5hYmxlZCI6IHRydWUsICJpZCI6ICJmZWZkZDdlZTZjZGI0ZWU4YTcwNjhhNGQ5ZmFlNDM1NSIsICJuYW1lIjogImFkbWluIn19LCAic2VydmljZUNhdGFsb2ciOiBbeyJlbmRwb2ludHMiOiBbeyJhZG1pblVSTCI6ICJodHRwOi8vMTkyLjE2OC4xLjIzMTo5MjkyIiwgInJlZ2lvbiI6ICJyZWdpb25PbmUiLCAiaW50ZXJuYWxVUkwiOiAiaHR0cDovLzE5Mi4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+4FZuk8lGqOUeyZ4gUWrNGHzxb5k6GS1cxG+g9LYipoA7u6FarH-ou4Q0CA8vGFnA1fvnlZ9JsMONkRz2YQyLoAkhU5VdQrHz2Au1d88nNUGDZa6clw3H2aUmrwLP5BiLQwcTp3oe5jph-5Tjeq7fKeEm8nGt8ofm00ooCZryIgrrzfkL5mtpcOj+6VAp9USOETvs70+nwEIxkgVzAmCweaaZ3ZOTOFmYR" -d '{"keypair": {"public_key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC4T64Bn4dZnZ0o309hmf4mYt6C7Iyv60IWJ7ufXogTauy/kTNKgM5JLbcY7DV56xLJE/rpsRTzXt6jpUndW2fuPHa07xNzodUqRUYC50+tNz2XJ1YQAjfY2KqH+/9+rOt3lPCxRhVEov68WQfhi9WlxH8+spBeBwjiFcLJetumUdvmCrNeya8MXlpa23L86XrOw4v9btbXDke+KHxqlOzmHqHXhULEq9QCl3wq3Dd+gjmb4QFn58Yn/4sTU4KQfgTgwKxzSQqoZLxuX0YnstJTL0QU4Y8dG4rKwa7q+vmQ3vyu7gUoudoG4CgUzHklCfLsFeRn6W/+NzleNhsOv/Pz root@collective\n", "name": "testme"}}'

New session created for: (http://192.168.1.231:8774)
INFO (connectionpool:258) Starting new HTTP connection (1): 192.168.1.231
DEBUG (connectionpool:375) Setting read timeout to 600.0
DEBUG (connectionpool:415) "POST /v2/fefdd7ee6cdb4ee8a7068a4d9fae4355/os-keypairs HTTP/1.1" 500 128
RESP ...
(more)
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-08-16 08:09:25 -0600

New-stack gravatar image

i have the same problem...Are there news?

edit flag offensive delete link more

Comments

I' ve solved reading int the conductor log file that the user 'nova' can't access to the db on server...

i've grant the privileges on user 'nova'%'name_controller' to fix

New-stack gravatar imageNew-stack ( 2014-08-16 09:23:56 -0600 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-08-10 18:55:27 -0600

Seen: 132 times

Last updated: Aug 11 '14