<div dir="ltr"><div class="gmail_extra"><div><div dir="ltr"><div style><div style="font-family:arial;font-size:small">upps :-) thx again.<p style="color:rgb(34,34,34)"><span style="color:rgb(11,83,148)"><b></b></span><font> </font></p><font size="1"></font></div><div style="font-family:arial;font-size:small">So, as conclusion after any yum upgrade we need to run packstack again and do a neutron-db-manage like:</div><div style="font-family:arial;font-size:small"><br></div><div style><div style>[root@controller ~(keystone_admin)]# neutron-db-manage --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugin.ini upgrade head</div><div style>INFO [alembic.migration] Context impl MySQLImpl.</div><div style>INFO [alembic.migration] Will assume non-transactional DDL.</div><div style>INFO [alembic.migration] Running upgrade juno -> c00e3802ef7, empty message</div><div style><br></div><div style>and openstack-service restart</div><div style><br></div><div style>right?</div><div style><br></div><div style>Now I've a small problem with the vnc console, it doesn't work anymore, in the vnc proxy log I see:</div><div style><br></div><div style><div>2014-10-12 06:08:46.583 23108 INFO nova.console.websocketproxy [req-83b79c9e-9f2f-467e-87fe-b73d589b9532 None] connecting to: <controller-ip>:5900</div><div>2014-10-12 06:08:56.170 23106 INFO nova.console.websocketproxy [-] <vpn-server-ip>: ignoring empty handshake</div><div><br></div><div>cirros needs a long time to come up, due to "failed to get instance-id of datasource": ???</div><div><br>cirros-ds 'net' up at 60.74<br></div><div><pre class="">checking <a href="http://169.254.169.254/2009-04-04/instance-id">http://169.254.169.254/2009-04-04/instance-id</a>
failed 1/20: up 60.75. request failed
failed 2/20: up 65.76. request failed
....</pre><pre class="">failed 19/20: up 122.76. request failed
failed 20/20: up 125.76. request failed
failed to read iid from metadata. tried 20
no results found for mode=net. up 128.76. searched: nocloud configdrive ec2
failed to get instance-id of datasource
Starting dropbear sshd: generating rsa key... generating dsa key... OK
=== system information ===
Platform: Fedora Project OpenStack Nova</pre><pre class=""><span style="font-family:arial">
Tested that with CentOS image too, it seems to be a routing problem:</span><br></pre><pre class=""><pre class="" style="overflow:auto;font-family:Menlo,Monaco,Consolas,'Courier New',monospace;font-size:12px;padding:8.5px;margin-top:0px;margin-bottom:9px;line-height:1.42857;word-break:break-all;word-wrap:break-word;color:rgb(51,51,51);border:1px solid rgb(204,204,204);border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:4px;border-bottom-left-radius:4px;background-color:rgb(245,245,245)"><pre class="" style="overflow:auto;font-family:Menlo,Monaco,Consolas,'Courier New',monospace;padding:8.5px;margin-top:0px;margin-bottom:9px;line-height:1.42857;word-break:break-all;word-wrap:break-word;border:1px solid rgb(204,204,204);border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:4px;border-bottom-left-radius:4px">cloud-init[778]: 2014-10-17 09:39:57,539 - url_helper.py[WARNING]: Calling '<a href="http://169.254.169.254/2009-04-04/meta-data/instance-id">http://169.254.169.254/2009-04-04/meta-data/instance-id</a>' failed [119/120s]: request error [[Errno 113] No route to host]
cloud-init[778]: 2014-10-17 09:40:02,544 - DataSourceEc2.py[CRITICAL]: Giving up on md from ['<a href="http://169.254.169.254/2009-04-04/meta-data/instance-id">http://169.254.169.254/2009-04-04/meta-data/instance-id</a>'] after 124 seconds
cloud-init[778]: 2014-10-17 09:40:05,552 - url_helper.py[WARNING]: Calling '<a href="http://20.0.0.1//latest/meta-data/instance-id">http://20.0.0.1//latest/meta-data/instance-id</a>' failed [3/120s]: request error [[Errno 113] No route to host]</pre><pre class="" style="overflow:auto;font-family:Menlo,Monaco,Consolas,'Courier New',monospace;padding:8.5px;margin-top:0px;margin-bottom:9px;line-height:1.42857;word-break:break-all;word-wrap:break-word;border:1px solid rgb(204,204,204);border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:4px;border-bottom-left-radius:4px"><pre class="" style="overflow:auto;font-family:Menlo,Monaco,Consolas,'Courier New',monospace;padding:8.5px;margin-top:0px;margin-bottom:9px;line-height:1.42857;word-break:break-all;word-wrap:break-word;border:1px solid rgb(204,204,204);border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:4px;border-bottom-left-radius:4px">loud-init[778]: 2014-10-17 09:42:00,666 - url_helper.py[WARNING]: Calling '<a href="http://20.0.0.1//latest/meta-data/instance-id">http://20.0.0.1//latest/meta-data/instance-id</a>' failed [118/120s]: request error [[Errno 113] No route to host]
cloud-init[778]: 2014-10-17 09:42:05,672 - DataSourceCloudStack.py[CRITICAL]: Giving up on waiting for the metadata from ['<a href="http://20.0.0.1//latest/meta-data/instance-id">http://20.0.0.1//latest/meta-data/instance-id</a>'] after 123 seconds
cloud-init[960]: Cloud-init v. 0.7.5 running 'modules:config' at Fri, 17 Oct 2014 09:42:07 +0000. Up 323.40 seconds.</pre></pre></pre></pre></div></div><div style>Thanks!</div><div style>-Arash</div></div></div></div></div>
<br><div class="gmail_quote">On Fri, Oct 17, 2014 at 10:38 AM, Ihar Hrachyshka <span dir="ltr"><<a href="mailto:ihrachys@redhat.com" target="_blank">ihrachys@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class="">-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA512<br>
<br>
</span>You've missed 'head' at the end of the command.<br>
<span class=""><br>
On 17/10/14 10:36, Arash Kaffamanesh wrote:<br>
> .. wenn I run: [root@controller~(keystone_admin)]#<br>
> neutron-db-manage --config-file /etc/neutron/neutron.conf<br>
> --config-file /etc/neutron/plugin.ini upgrade<br>
><br>
> I'm getting:<br>
><br>
> You must provide a revision or relative delta<br>
><br>
> any ideas?<br>
><br>
> Thx -Arash<br>
><br>
> On Fri, Oct 17, 2014 at 10:34 AM, Arash Kaffamanesh<br>
</span><span class="">> <<a href="mailto:ak@cloudssky.com">ak@cloudssky.com</a> <mailto:<a href="mailto:ak@cloudssky.com">ak@cloudssky.com</a>>> wrote:<br>
><br>
> Ihar, thanks, much appreciated. When I run:<br>
><br>
><br>
> On Fri, Oct 17, 2014 at 10:13 AM, Ihar Hrachyshka<br>
</span><span class="">> <<a href="mailto:ihrachys@redhat.com">ihrachys@redhat.com</a> <mailto:<a href="mailto:ihrachys@redhat.com">ihrachys@redhat.com</a>>> wrote:<br>
><br>
> On 16/10/14 18:12, Arash Kaffamanesh wrote:<br>
>> Just let you know, I did a yum upgrade on controller and compute<br>
>> nodes and the packages was upgraded to rc2 and rc3 packages,<br>
>> after that neutron didn't work on controller and I'd only to<br>
>> re-run packstack and reboot my instances and I was more than<br>
>> lucky :-)<br>
>"<br>
> I suspect this is because you need to run db migration steps after<br>
> each update till the final release, otherwise you loose some db<br>
> migration steps, and service crashes.<br>
><br>
</span>> # neutron-db-manage \ --config-file /etc/neutron/neutron.conf \<br>
<span class="">> --config-file /etc/neutron/plugin.ini upgrade head<br>
><br>
> /Ihar<br>
><br>
><br>
><br>
-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG/MacGPG2 v2.0.22 (Darwin)<br>
<br>
</span>iQEcBAEBCgAGBQJUQNV9AAoJEC5aWaUY1u57PHkH/0CdZGaGL0KFuAoA1Wp85JvO<br>
TD43ZfCgfhx4P9UxT96FpIOw7X4/QrD0Z/vrKn27+8yF1yHZTUZhG4zBZibgyjEu<br>
kEFeu+w43+0Ckfe/m1Wz0KI/SLkHcfgsiCXp6kfqvQEdjrriFrY3k1gD++dGzgEI<br>
MfMTNcliXimdZ1RR5EE9SdtvviZW8xLLmBpFClEzTKA9mPVaTQOlSu/SSVXv2v5Z<br>
ALWsshnN7X1Fb/Za8/VsJKQORO4EhZUB4zbL2jXd96tGgs7XoJeYpqrJUqAiUNVl<br>
nKVqGQHz5F8QnSzLkos8T3fWo7N0SMDP7EHqY9Ed2f8ZQrXYsngeD2zWcd8hhkw=<br>
=NheQ<br>
-----END PGP SIGNATURE-----<br>
</blockquote></div><br></div></div>