I made dirty fix to bypass this problem:<br><a href="http://paste.openstack.org/show/5326/">http://paste.openstack.org/show/5326/</a><br><br>Doude.<br><br><div class="gmail_quote">2012/2/28 Jérôme Gallard <span dir="ltr"><<a href="mailto:jeronimo974@gmail.com">jeronimo974@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<br>
<br>
I use the trunk version of Nova, Quantum (with the OVS plugin) and Melange.<br>
I created networks, everything seems to be right.<br>
<br>
I have two questions :<br>
- the first VM I boot takes always a wrong IP address (for instance<br>
172.16.0.0). However, when I boot a second VM, this one takes a good<br>
IP (for instance 172.16.0.2). Do you know why this can happened ?<br>
<br>
- I have an error regarding an fixed IP not found. Effectively, when I<br>
check the nova database, the fixed_ip table is empty but as I am using<br>
quantum and melange and their tables seems to be nicely filled. Do you<br>
have an idea about this issue ?<br>
This is a copy/paste of the error:<br>
2012-02-28 10:45:53 DEBUG nova.rpc.common [-] received<br>
{u'_context_roles': [u'admin'], u'_context_request_id':<br>
u'req-461788a6-3570-4fa9-8620-6705eb69243c', u│··<br>
'_context_read_deleted': u'no', u'args': {u'address': u'172.16.0.2'},<br>
u'_context_auth_token': None, u'_context_strategy': u'noauth',<br>
u'_context_is_admin': Tr│··<br>
ue, u'_context_project_id': None, u'_context_timestamp':<br>
u'2012-02-28T09:45:53.484445', u'_context_user_id': None, u'method':<br>
u'lease_fixed_ip', u'_context_r│··<br>
emote_address': None} from (pid=8844) _safe_log<br>
/usr/local/src/nova/nova/rpc/common.py:144 │··<br>
2012-02-28 10:45:53 DEBUG nova.rpc.common<br>
[req-461788a6-3570-4fa9-8620-6705eb69243c None None] unpacked context:<br>
{'request_id': u'req-461788a6-3570-4fa9-8620│··<br>
-6705eb69243c', 'user_id': None, 'roles': [u'admin'], 'timestamp':<br>
'2012-02-28T09:45:53.484445', 'is_admin': True, 'auth_token': None,<br>
'project_id': None, 'r│··<br>
emote_address': None, 'read_deleted': u'no', 'strategy': u'noauth'}<br>
from (pid=8844) unpack_context<br>
/usr/local/src/nova/nova/rpc/amqp.py:187 │··<br>
2012-02-28 10:45:53 DEBUG nova.network.manager<br>
[req-461788a6-3570-4fa9-8620-6705eb69243c None None] Leased IP<br>
|172.16.0.2| from (pid=8844) lease_fixed_ip<br>
/us│··r/local/src/nova/nova/network/manager.py:1186 │··<br>
2012-02-28 10:45:53 ERROR nova.rpc.common [-] Exception during message<br>
handling │··(nova.rpc.common): TRACE: Traceback (most recent call<br>
last): │··<br>
(nova.rpc.common): TRACE: File "/usr/local/src/nova/nova/rpc/amqp.py",<br>
line 250, in _process_data │··(nova.rpc.common): TRACE: rval =<br>
node_func(context=ctxt, **node_args) │··(nova.rpc.common): TRACE: File<br>
"/usr/local/src/nova/nova/network/manager.py", line 1187, in<br>
lease_fixed_ip │··(nova.rpc.common): TRACE: fixed_ip =<br>
self.db.fixed_ip_get_by_address(context, address) │··<br>
(nova.rpc.common): TRACE: File "/usr/local/src/nova/nova/db/api.py",<br>
line 473, in fixed_ip_get_by_address │··(nova.rpc.common): TRACE:<br>
return IMPL.fixed_ip_get_by_address(context, address)<br>
│··(nova.rpc.common): TRACE: File<br>
"/usr/local/src/nova/nova/db/sqlalchemy/api.py", line 119, in wrapper<br>
│··<br>
(nova.rpc.common): TRACE: return f(*args, **kwargs)<br>
│··(nova.rpc.common): TRACE: File<br>
"/usr/local/src/nova/nova/db/sqlalchemy/api.py", line 1131, in<br>
fixed_ip_get_by_address │··<br>
(nova.rpc.common): TRACE: raise<br>
exception.FixedIpNotFoundForAddress(address=address) │··<br>
(nova.rpc.common): TRACE: FixedIpNotFoundForAddress: Fixed ip not<br>
found for address 172.16.0.2. │··<br>
(nova.rpc.common): TRACE:<br>
<br>
Thank you very much for your help.<br>
<br>
Regards,<br>
Jérôme<br>
<br>
_______________________________________________<br>
Mailing list: <a href="https://launchpad.net/%7Eopenstack" target="_blank">https://launchpad.net/~openstack</a><br>
Post to     : <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
Unsubscribe : <a href="https://launchpad.net/%7Eopenstack" target="_blank">https://launchpad.net/~openstack</a><br>
More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
</blockquote></div><br>