Ask Your Question
0

Unable to launch demo instance

asked 2014-05-05 00:08:51 -0500

angbermu gravatar image

updated 2014-05-05 00:11:11 -0500

Hi, I am requesting a little help here, I installed Openstack following the "Three-node architecture" following this http://docs.openstack.org/trunk/install-guide/install/apt/content/ch_preface.html (guide), I am stuck launching the instance (cirrOS test image), where I can't get and error status:

nova show demo-instance1

{"message": "Error during following call to agent: ['ovs-vsctl', '--timeout=120', 'del-port', 'br-int', u'qvo749bf21a-b0']", "code": 500, "created": "2014-05-05T04:51:14Z"}

In the nova-compute.log this lines got my attention:

2014-05-05 00:51:14.042 4000 ERROR glanceclient.common.http [-] Request returned failure status.

2014-05-05 00:51:14.043 4000 ERROR nova.compute.manager [req-d448ac3c-9520-4fde-9f2f-0254b6d48f95 edd9a817c8d4424da4e32d71e59d6187 35ef7ed545114d559ef4da0dbd9f3494] [instance: 9cac4056-3dc8-4641-93 58-920946bd76f3] Instance failed to spawn

2014-05-05 00:51:14.043 4000 TRACE nova.compute.manager [instance: 9cac4056-3dc8-4641-9358-920946bd76f3] ImageNotAuthorized: Not authorized for image 8d6211ab-a8c8-4d0f-ab8a-2782ec91a114.

Stderr: 'ovs-vsctl: no port named qvo749bf21a-b0\n'

if I do a tcpdump in the controller node I see an http error "401 Unauthorized" for glance:

This server could not verify that you are authorized to access the document you requested. Either you supplied the wrong credentials (e.g., bad password), or your browser does not understand how to supply the credentials required.\n

Complete log here: http://pastebin.com/3Ta1DFWL

I have reviewed this site few times, and the configuration for installation/configuration and I can't get to a solution.

My tree nodes are in Ubuntu 14.04 LTS...

Any help is appreciated.

Thanks in advance.

edit retag flag offensive close merge delete

Comments

Can you please check whether the networks are created properly and ovs cli ovs

SGPJ gravatar imageSGPJ ( 2014-05-05 00:19:28 -0500 )edit

this is:

ovs-vsctl list-br
br-ex
br-int
br-tun

ovs-vsctl list-ports br-ex
eth2
qg-9f968683-89

I can ping the tenant router gateway as in the instrucctions:

ping 203.0.113.101

Pinging 203.0.113.101 with 32 bytes of data:
Reply from 203.0.113.101: bytes=32 time=2ms TTL=64
Reply from 203.0.113.101: bytes=32 time<1ms TTL=64
Reply from 203.0.113.101: bytes=32 time<1ms TTL=64
Reply from 203.0.113.101: bytes=32 time<1ms TTL=64
angbermu gravatar imageangbermu ( 2014-05-05 00:35:41 -0500 )edit

Do you have any ERROR in your neutron log files? If so, pastebin them.

Antonio G. gravatar imageAntonio G. ( 2014-05-05 02:00:37 -0500 )edit

I don't think is a network error, the ovs-vsctl failed command seems to be that the instance failed to spawn, and after failure it tries to delete a non existent port 'qvo749bf21a-b0' (someone need to elaborate on this).

I think the problem lies here:

nova image-list shows

8d6211ab-a8c8-4d0f-ab8a-2782ec91a114 | cirros-0.3.2-x86_64

But nova-compute complaings:

ImageNotAuthorized: Not authorized for image 8d6211ab-a8c8-4d0f-ab8a-2782ec91a114

angbermu gravatar imageangbermu ( 2014-05-05 07:44:41 -0500 )edit

what is the output of

glance image-show 8d6211ab-a8c8-4d0f-ab8a-2782ec91a114

I have for all my images :

is_public = True
protected = False
status = active
Antonio G. gravatar imageAntonio G. ( 2014-05-05 07:51:28 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
2

answered 2014-05-05 23:03:04 -0500

angbermu gravatar image

After a lot of time trying to find the effing problem, I could see that nova-compute didn't send any authentication information to the glance service, after reviewing the configuration the problem was a missing line in nova.conf about the auth_strategy:

auth_strategy = keystone

Thanks to those interested in helping me.

edit flag offensive delete link more

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: 2014-05-05 00:08:51 -0500

Seen: 1,779 times

Last updated: May 05 '14