[Openstack-operators] Network error - multihost networking

Linux Datacenter linuxdatacenter at gmail.com
Wed Jan 25 07:33:06 UTC 2012


Michael!

Thanks for clarifying this - the hint helped me a lot ;-)

Now I am running my diablo installation without a SPOF ;-)

I also found that it reduces the load on the cloud controller a lot when
you simultaneously spawn several tens of instances.

Cheers,




On 24 January 2012 13:40, Michael J Fork <mjfork at us.ibm.com> wrote:

> A recent forum post on this topic: *
> http://forums.openstack.org/viewtopic.php?f=16&t=562&p=2212#p2212*<http://forums.openstack.org/viewtopic.php?f=16&t=562&p=2212#p2212>
>
> You didn't specify the version, but I believe these steps would be valid
> for both Diablo and Essex.
>
> First, on each compute node as described in the forum post, ensure that
> the --ec2_dmz_host flag in nova.conf is pointed to local machine and that
> nova-api is running in addition to nova-compute and nova-network.
>
> For the network not found error, depending on the docs followed,  it is
> likely you have an incorrect flag in nova.conf  (see *
> https://bugs.launchpad.net/openstack-manuals/+bug/914829*<https://bugs.launchpad.net/openstack-manuals/+bug/914829>  ).
>  Ensure --multi_host=true is being used instead of --multi-host=true.  If
> the flag was incorrect, or changed after the network was created, a manual
> update to the MySQL database should correct it.
>
> # mysql -uroot -p -e "SELECT project_id, multi_host FROM networks;" nova
>
> If the values are NOT:
>
> +------------+------------+
> | project_id | multi_host |
> +------------+------------+
> | NULL       |          1 |
> +------------+------------+
>
> run
>
> # mysql -uroot -p -e "UPDATE networks SET multi_host = true, project_id =
> NULL;" nova
>
> After running, restart nova-network on all the compute nodes and try again.
>
> Hopefully this helps.
>
> Michael
>
> -------------------------------------------------
> Michael Fork
> Cloud Architect, Emerging Solutions
> IBM Systems & Technology Group
>
>
>
> From:        Linux Datacenter <linuxdatacenter at gmail.com>
> To:        openstack-operators at lists.openstack.org
> Date:        01/24/2012 03:54 AM
> Subject:        [Openstack-operators] Network error - multihost networking
> Sent by:        openstack-operators-bounces at lists.openstack.org
> ------------------------------
>
>
>
> Hi,
>
> I keep trying to set up multihost networking. My machines get ips from
> local dnsmasq running on the compute node. But then I have this error:
>
> On the vm:
> cloud-init start running: Tue, 24 Jan 2012 08:42:05 +0000. up 2.43 seconds
> 2012-01-24 08:42:05,616 - DataSourceEc2.py[WARNING]: '*
> http://169.254.169.254* <http://169.254.169.254/>' failed: http error
> [500]
> 2012-01-24 08:42:06,654 - DataSourceEc2.py[WARNING]: '*
> http://169.254.169.254* <http://169.254.169.254/>' failed: http error
> [500]
> 2012-01-24 08:42:07,695 - DataSourceEc2.py[WARNING]: '*
> http://169.254.169.254* <http://169.254.169.254/>' failed: http error
> [500]
> 2012-01-24 08:42:08,734 - DataSourceEc2.py[WARNING]: '*
> http://169.254.169.254* <http://169.254.169.254/>' failed: http error
> [500]
> 2012-01-24 08:42:09,775 - DataSourceEc2.py[WARNING]: '*
> http://169.254.169.254* <http://169.254.169.254/>
> ' failed: http error [500]
>
>
> On nova-api.log:
>
> (nova.rpc): TRACE: Traceback (most recent call last):
> (nova.rpc): TRACE:   File
> "/usr/lib/python2.7/dist-packages/nova/rpc/impl_kombu.py", line 723, in
> _process_data
> (nova.rpc): TRACE:     rval = node_func(context=ctxt, **node_args)
> (nova.rpc): TRACE:   File
> "/usr/lib/python2.7/dist-packages/nova/network/manager.py", line 200, in
> wrapped
> (nova.rpc): TRACE:     return func(self, context, *args, **kwargs)
> (nova.rpc): TRACE:   File
> "/usr/lib/python2.7/dist-packages/nova/network/manager.py", line 727, in
> get_instance_uuids_by_ip_filter
> (nova.rpc): TRACE:     network = self._get_network_by_id(context,
> vif['network_id'])
> (nova.rpc): TRACE:   File
> "/usr/lib/python2.7/dist-packages/nova/network/manager.py", line 1591, in
> _get_network_by_id
> (nova.rpc): TRACE:     network_id)
> (nova.rpc): TRACE:   File
> "/usr/lib/python2.7/dist-packages/nova/network/manager.py", line 1455, in
> _get_network_by_id
> (nova.rpc): TRACE:     return self.db.network_get(context, network_id)
> (nova.rpc): TRACE:   File
> "/usr/lib/python2.7/dist-packages/nova/db/api.py", line 794, in network_get
> (nova.rpc): TRACE:     return IMPL.network_get(context, network_id)
> (nova.rpc): TRACE:   File
> "/usr/lib/python2.7/dist-packages/nova/db/sqlalchemy/api.py", line 116, in
> wrapper
> (nova.rpc): TRACE:     return f(*args, **kwargs)
> (nova.rpc): TRACE:   File
> "/usr/lib/python2.7/dist-packages/nova/db/sqlalchemy/api.py", line 1849, in
> network_get
> (nova.rpc): TRACE:     raise
> exception.NetworkNotFound(network_id=network_id)
> (nova.rpc): TRACE: NetworkNotFound: Network 1 could not be found.
>
> select id from networks; - shows me that the id of my network is 1
>
>
>
> --
> checkout my blog on linux clusters:
> -- *linuxdatacenter.blogspot.com* <http://linuxdatacenter.blogspot.com/>--
> _______________________________________________
> Openstack-operators mailing list
> Openstack-operators at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
>
>


-- 
checkout my blog on linux clusters:
-- linuxdatacenter.blogspot.com --
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-operators/attachments/20120125/cabb3df3/attachment-0002.html>


More information about the Openstack-operators mailing list