[Openstack] Instance Networking Issue

Dan Wendlandt dan at nicira.com
Wed May 16 20:04:30 UTC 2012


On Tue, May 15, 2012 at 2:24 PM, Salman Malik <salmanmk at live.com> wrote:

>  Hi Guys,
>
> I am having trouble with launching instances. The launch fails on
> networking task with status error. Here is the output (at nova-compute
> screen session) on launching instance :
>
> 2012-05-02 06:41:52 TRACE nova.rpc.amqp RemoteError: Remote error:
> QuantumNotFoundException (u'Quantum entity not found: %s',
> '{"QuantumError": {"message": "Unable to find a network with the specified
> identifier.", "type": "NetworkNotFound", "detail": "Network
> 5f227bba-eb3b-4dba-ad4c-b47c80aaffd7 could not be found"}}')
>

You're seeing this after a clean run of stack.sh (i.e., all databases wiped
clean)?  It seems like Nova knows about a network that Quantum does not.
 To me this looks like the same issue you reported before, where you
deleted the network via Quantum API rather than using nova-manage, leaving
the system in an inconsistent state.

I think we're going to need more information on this, such as your devstack
config, any additional networks you've created, output of "nova-manage
network list", how you're starting your VM (i.e., are you using --nic ?),
etc.

I'd suggest you file an issue on https://answers.launchpad.net/quantum so
you can attach config, etc.  But again, its important that you start from a
clean run of stack.sh, especially if you've previously been tweaking things
directly via quantum API.

Dan



>
>
> Here is the output when I terminated the instance:
> 2012-05-02 06:44:04 TRACE nova.rpc.amqp Command: sudo
> /usr/local/bin/nova-rootwrap ovs-vsctl get Interface tap772ad8ff-89 ofport
> 2012-05-02 06:44:04 TRACE nova.rpc.amqp Exit code: 1
> 2012-05-02 06:44:04 TRACE nova.rpc.amqp Stdout: ''
> 2012-05-02 06:44:04 TRACE nova.rpc.amqp Stderr: 'ovs-vsctl: no row
> "tap772ad8ff-89" in table Interface\n'
>

this is something we should clean up, but not really an issue.  Removing
the tap device is failing b/c the instance never booted and thus the tap
device was never created.



>
>
> Question/Problems:
>
> 1. Network with uuid 5f227bba-eb3b-4dba-ad4c-b47c80aaffd7 is not a
> Quantum network (or may be its a quantum network but it doesn't belong to
> any tenant) . This network got created automatically when I ran stack.sh
> script and is associated with the fixed_range=10.0.0.0/24 in the
> nova.conf file. So problem here is that I wanted to launch this instance on
> a quantum network managed by a tenant/use (that I created before launching
> instance), how can I fix this?
>
> 2. Before running stack.sh, I could see gw-** port in my br-int bridge.
> Now it doesn't show up anywhere. Can you tell me what is the purpose of
> this port and how can I get it back in my br-int ?
>
> 3. Would answer to 1 and 2 help in succesful launch of instances ? If not,
> what else do I need to do ?
>
>
> Thanks,
> Salman
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack at lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~
Dan Wendlandt
Nicira, Inc: www.nicira.com
twitter: danwendlandt
~~~~~~~~~~~~~~~~~~~~~~~~~~~
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20120516/9f39b943/attachment.html>


More information about the Openstack mailing list