Hi Syd, <div><br></div><div>Unfortunately, I don't believe there are any tools to upgrade the ovs_quantum db to it's current format. That said, I don't believe it would be that hard to write one to migrate your setup. </div>
<div><br></div><div>If you read though this page <a href="http://wiki.openstack.org/RunningQuantumV2Api">http://wiki.openstack.org/RunningQuantumV2Api</a> it gives an example of creating a network and boot vms on it. I'm not familiar with horizon (maybe someone else who is can help you out). </div>
<div><br></div><div>One last thing. Are you running the latest devstack code? The v1 api code has been removed from quantum so you can remove the following line from rclocal NOVA_USE_QUANTUM_API=v2</div><div> </div><div>I'd also suggest also removing this line since devstack can now configure quantum to use keystone by default. <br>
<br><div>Q_AUTH_STRATEGY=noauth</div><div><br></div><div>Best, </div><div><br>Aaron</div><div><br></div><div class="gmail_quote">On Wed, Aug 29, 2012 at 12:53 AM, Syd (Sydney) Logan <span dir="ltr"><<a href="mailto:slogan@broadcom.com" target="_blank">slogan@broadcom.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div lang="EN-US" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span style="color:#1f497d">I played around with horizon a bit more and discovered that the “demo” project page does have a Create Instance button, but when I try and do so I get an error message saying that horizon is unable to get quota
 information. I tracked down a bug that was filed 5 days ago on someone seeing the same message, and it was punted over to nova after the horizon guys concluded that it was a nova bug.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="color:#1f497d">I’m going to see if I can work around this problem in horizon (or rootcause it) tomorrow only because I have no other obvious course of action at the moment.<u></u><u></u></span></p>

<p class="MsoNormal"><span style="color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="color:#1f497d">Here is my localrc, the same as what was working well before I grabbed latest devstack (and it grabbed the latest git versions of the openstack apps):<u></u><u></u></span></p>

<p class="MsoNormal"><span style="color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="color:#1f497d">HOST_IP=192.168.4.1<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:#1f497d">FLAT_INTERFACE=eth1<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:#1f497d">FIXED_RANGE=<a href="http://10.4.128.0/20" target="_blank">10.4.128.0/20</a><u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:#1f497d">FIXED_NETWORK_SIZE=4096<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:#1f497d">FLOATING_RANGE=<a href="http://192.168.4.128/25" target="_blank">192.168.4.128/25</a><u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:#1f497d">MULTI_HOST=True<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:#1f497d">Q_INTERFACE=eth1<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:#1f497d">LOGFILE=/opt/stack/logs/stack.sh.log<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:#1f497d">ADMIN_PASSWORD=password<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:#1f497d">MYSQL_PASSWORD=password<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:#1f497d">RABBIT_PASSWORD=password<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:#1f497d">SERVICE_PASSWORD=password<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:#1f497d">SERVICE_TOKEN=xyzpdqlazydog<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:#1f497d">LIBVIRT_FIREWALL_DRIVER=nova.virt.firewall.NoopFirewallDriver<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:#1f497d">ENABLED_SERVICES=g-api,g-reg,key,n-api,n-crt,n-obj,n-cpu,cinder,c-sch,c-api,c-vol,n-sch,n-novnc,n-xvnc,n-cauth,horizon,mysql,rabbit,openstackx,q-svc,quantum,q-agt<u></u><u></u></span></p>

<p class="MsoNormal"><span style="color:#1f497d">Q_PLUGIN=openvswitch<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:#1f497d">Q_AUTH_STRATEGY=noauth<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:#1f497d">NOVA_USE_QUANTUM_API=v2<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="color:#1f497d">syd<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:#1f497d"><u></u> <u></u></span></p>
<div>
<div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Syd (Sydney) Logan
<br>
<b>Sent:</b> Tuesday, August 28, 2012 2:19 PM<br>
<b>To:</b> '<a href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a>'<br>
<b>Subject:</b> Upgrading from devstack pre-F3/quantum v1/OVS to latest not going well :-(<u></u><u></u></span></p>
</div>
</div><div><div class="h5">
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Hi,<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Is there a recommended procedure for upgrading nodes that were configured pre-Folsom 3 to use quantum V1/OVS that were deployed with devstack? I probably should have asked this question before trying, but I went ahead and tried. I had a
 multi-node setup that I was driving with Horizon that was working very well. Now I’m just trying to get a single node setup working, and not getting far.
<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">To get sync’d up with the latest, I did the following:<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">$ rm –rf /opt/stack (this is where devstack pulled things to)<u></u><u></u></p>
<p class="MsoNormal">$ rm –rf /etc/quantum; rm –rf /etc/nova<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">In the devstack localrc:<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Removed n-net from ENABLED_SERVICES<u></u><u></u></p>
<p class="MsoNormal">Added q-dhcp to ENABLED_SERVICES (I had this disabled in pre-F3 after e-mails with Aaron Rosen when he helped me get going earlier, I’ve tried both ways and seems not to make a difference)<u></u><u></u></p>

<p class="MsoNormal">Added NOVA_USE_QUANTUM=v2 (but this doesn’t seem to make a difference either)<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">And I ran devstack.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I got no errors when I ran devstack.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">When I launched Horizon, some problems are evident. There is no launch instance button on the Instances page. Because I don’t yet know the command UI enough to spin up and configure VMs, I figured I’d try running the devstack exercise.sh
 script to see what happens. It creates a few VMs, but none get an IP address (before I used to get IPs in 10.4.128.0).  It reports all tests passed, as well. If I click through in the UI on the VM, I see that for networking address it assigns all VMs is the
 value “Net1”. <u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I’ve looked at console logs for the VMs created and see failures trying to dhcp (that’s why I naively added q-dhcp back to ENABLED_SERVICES), but as I mentioned above, adding q-dhcp didn’t help, and I’m wondering if it was a good idea anyway
 since Aaron steered me away from it before.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Output of ps shows expected services running (e.g., OVS daemon, plugins, agents) and services lists displayed by Horizon (e.g., nova, quantum, etc.) all seem normal to me.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Notably missing is the OVS gw- interface that was present before I upgraded (at
<a href="http://wiki.openstack.org/RunningWQuantumV2Api" target="_blank">http://wiki.openstack.org/RunningWQuantumV2Api</a> there is this: “Note: with v2, Quantum no longer uses the L3 + NAT logic from nova-network. Quantum will not have the equivalent functionality until
 F-3, so you won't be able to ping the VMs from the nova controller host.” Is that the reason?)  The gw interface is the way I could ping VMs from the host.
<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">The missing gateway, horizon UI missing the create instance button, and not getting networks for VMs spun up by devstack’s exercise script are the major symptoms.  I trust that devstack is up to sync with what is happening in Folsom, and
 that I am actually pulling down F3 code at this point (I’ve not tried to verify this).  I’m not aware of any need to tweek the devstack exercise script, I am assuming it is designed to work as is.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I’m thinking of wiping my entire disk and starting from scratch in case blowing away /etc/nova etc. and /opt/stack were not enough to reset state, but before I do this, any pointers to links or mail messages (I’ve scanned for relevant posts
 but missed finding any) that would be helpful before I do this?<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Thanks,<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">syd<u></u><u></u></p>
</div></div></div>
</div>

<br>_______________________________________________<br>
Mailing list: <a href="https://launchpad.net/~openstack" 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/~openstack" 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>
<br></blockquote></div><br></div>