Ask Your Question
3

my nova doesn't work now, shows url's project_id doesn't match context's project_id. The url's project_id I thought is the role of admin added to the nova at tenant service, but my question is, how can I check the "context's project_id"?

asked 2013-12-01 21:29:17 -0600

Yuanzhen Gu gravatar image

updated 2014-01-22 15:12:41 -0600

Evgeny gravatar image

my nova doesn't work now, shows url's project_id doesn't match context's project_id. The url's project_id I thought is the role of admin added to the nova at tenant service, but my question is, how can I check the "context's project_id"?

pasted the error here: ERROR: Malformed request URL: URL's project_id 'f9caf1029f374911ad5262af7d126ebe ' doesn't match Context's project_id 'MIILEQYJKoZIhvcNAQcCoIILAjCCCv4CAQExCTAHBg UrDgMCGjCCCWcGCSqGSIb3DQEHAaCCCVgEgglUeyJhY2Nlc3MiOiB7InRva2VuIjogeyJpc3N1ZWRfYX QiOiAiMjAxMy0xMi0wMlQwMzoxMToxOC40MTQ2OTIiLCAiZXhwaXJlcyI6ICIyMDEzLTEyLTAzVDAzOj ExOjE4WiIsICJpZCI6ICJwbGFjZWhvbGRlciIsICJ0ZW5hbnQiOiB7ImRlc2NyaXB0aW9uIjogIkFkbW luIFRlbmFudCIsICJlbmFibGVkIjogdHJ1ZSwgImlkIjogImY5Y2FmMTAyOWYzNzQ5MTFhZDUyNjJhZj dkMTI2ZWJlIiwgIm5hbWUiOiAiYWRtaW4ifX0sICJzZXJ2aWNlQ2F0YWxvZyI6IFt7ImVuZHBvaW50cy I6IFt7ImFkbWluVVJMIjogImh0dHA6Ly9jb250cm9sbGVyOjg3NzQvdjIvZjljYWYxMDI5ZjM3NDkxMW FkNTI2MmFmN2QxMjZlYmUiLCAicmVnaW9uIjogInJlZ2lvbk9uZSIsICJpbnRlcm5hbFVSTCI6ICJodH RwOi8vY29udHJvbGxlcjo4Nzc0L3YyL2Y5Y2FmMTAyOWYzNzQ5MTFhZDUyNjJhZjdkMTI2ZWJlIiwgIm lkIjogIjJmNWRkZjIyYjQ2YzQ2ZjU5ZjcxNjM1ZmQ5YTA1MmM5IiwgInB1YmxpY1VSTC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W5kcG9pbnRzX2xpbmtzIjogW10sIC J0eXBlIjogImlkZW50aXR5IiwgIm5hbWUiOiAia2V5c3RvbmUifV0sICJ1c2VyIjogeyJ1c2VybmFtZS I6ICJhZG1pbiIsICJyb2xlc19saW5rcyI6IFtdLCAiaWQiOiAiODZiNzhjZDg2NWU5NDA4NGI0ZjQ5NT U1ODc2MGIyZjQiLCAicm9sZXMiOiBbeyJuYW1lIjogImFkbWluIn1dLCAibmFtZSI6ICJhZG1pbiJ9LC AibWV0YWRhdGEiOiB7ImlzX2FkbWluIjogMCwgInJvbGVzIjogWyIyNmJlN2ZjMmQ0MmU0ZDQ1YmE1Nz JiNzcwMTZkZDFkNCJdfX19MYIBgTCCAX0CAQEwXDBXMQswCQYDVQQGEwJVUzEOMAwGA1UECAwFVW5zZX QxDjAMBgNVBAcMBVVuc2V0MQ4wDAYDVQQKDAVVbnNldDEYMBYGA1UEAwwPd3d3LmV4YW1wbGUuY29tAg EBMAcGBSsOAwIaMA0GCSqGSIb3DQEBAQUABIIBAKi9Q7JWMFZP52lBWfnCjj2ogQWBmviLVoMTpxODsJ RSfGMdwfuIebwCfkBR44UYwwYgiiZctCoaVjDH48VuFcuLB2q-YUeDc1LtCoPYt3M6uke0cFbRxgj8Sa 7ItXqh8d39hHfO2cFbftdFCBOqi6QHSXgiWgrITxcmLpN5Ie+brjy7sSqJSBtwMVLQpRT-IIDubQ2csQ sOQllg6i+FkgeHbwGhNtpgMLyRiq+vJ98IJtZh0XbYxof7kqSZwZ770ZwNKGaAUEnvOUrGABwtIefBKR TmU1JwVoic4ladt3fqZoUH-+pqpfmUU8qJa5Na1Ld7qt6JTgfOVwp7Ba-ipYo=' (HTTP 400) (Requ est-ID: req-2de2c17a-f0ed-4f19-b141-2d7e5ff9ade4)

Any suggestion is appreciated, thanks!

edit retag flag offensive close merge delete

3 answers

Sort by ยป oldest newest most voted
5

answered 2014-06-04 14:45:30 -0600

Jonesi gravatar image

Adding auth_strategy=keystone under [default] works fine. Ubuntu 14.04 Merci

edit flag offensive delete link more

Comments

It works for me ,thankx so much in nova.conf and restarted nova services.

emad gravatar imageemad ( 2018-01-25 16:40:07 -0600 )edit
1

answered 2014-04-02 14:11:13 -0600

Vanathu chinnappan gravatar image

updated 2014-04-02 14:11:57 -0600

I had the same issue. Seems that guide recommends to add following line in nova.conf: auth_strategy=keystone after section [database] I have moved this line to [default] section, restarted nova services - now seems working fine

Thank you its working for me :)

edit flag offensive delete link more
1

answered 2013-12-02 18:30:21 -0600

pyrius gravatar image

I had the same issue. Seems that guide recommends to add following line in nova.conf: auth_strategy=keystone after section [database] I have moved this line to [default] section, restarted nova services - now seems working fine

edit flag offensive delete link more

Comments

Well, I've tried it, it didn't work for me. Well, when I deployed nova, with auth_strategy=keystone, everything was fine, however, after I installed neutron configuring networking with different plugins and user cases,that happened. might need double check the conf of nova Thanks anyway.

Yuanzhen Gu gravatar imageYuanzhen Gu ( 2013-12-04 20:39:54 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2013-12-01 21:29:17 -0600

Seen: 5,761 times

Last updated: Jun 04 '14