[openstack-dev] [devstack] Devstack on wheezy

Paul Carlton paul.carlton2 at hpe.com
Thu Nov 26 15:52:46 UTC 2015


Matt

Been working on getting devstack running in wheezy.

Hit one issue with a recent change to devstack....

202279c4e5a222018e40883ee6500f9d26690b48 202279c 
jenkins at review.openstack.org Fri, 20 Nov 2015 22:02:18 +0000 Merge "Add 
liberasurecode-dev as a swift dependency"
2960bfa7f63c26d94c8aed2c3e1a6ff039b530f0 2960bfa tushar.gohad at intel.com 
Tue, 17 Nov 2015 14:06:28 -0700 Add liberasurecode-dev as a swift dependency

liberasurecode-dev is not available on wheezy. Since we are meant to 
support wheezy (clearly we don't
have a CI job to test with it) I will raise a bug for this but for now I 
just checked out a version of devstack
prior to this change.

tgt version on wheezy was DOA so I installed a latter version from the 
backports repo.
Added 'deb http://ftp.de.debian.org/debian wheezy-backports main' to my 
sources.list

sudo apt-get install tgt=1:1.0.51-1~bpo70+1
...
The following packages have unmet dependencies:
  tgt : Depends: librdmacm1 (>= 1.0.16) but 1.0.15-1+deb7u1 is to be 
installed
E: Unable to correct problems, you have held broken packages.
pcarlton at debian7a:~$ sudo apt-cache policy librdmacm1
librdmacm1:
   Installed: (none)
   Candidate: 1.0.15-1+deb7u1
   Version table:
      1.0.16-1~bpo70+1 0
         100 http://ftp.de.debian.org/debian/ wheezy-backports/main 
amd64 Packages
      1.0.15-1+deb7u1 0
         500 http://ukdebian.mirror.anlx.net/debian/ wheezy/main amd64 
Packages

sudo apt-get install librdmacm1=1.0.16-1~bpo70+1
...
Setting up librdmacm1 (1.0.16-1~bpo70+1) ...

sudo apt-get install tgt=1:1.0.51-1~bpo70+1
...
Setting up tgt (1:1.0.51-1~bpo70+1) ...
[ ok ] Starting target framework daemon: tgtd.
pcarlton at debian7a:~$ sudo apt-cache policy tgt
tgt:
   Installed: 1:1.0.51-1~bpo70+1
   Candidate: 1:1.0.51-1~bpo70+1
   Version table:
  *** 1:1.0.51-1~bpo70+1 0
         100 http://ftp.de.debian.org/debian/ wheezy-backports/main 
amd64 Packages
         100 /var/lib/dpkg/status
      1:1.0.17-1 0
         500 http://ukdebian.mirror.anlx.net/debian/ wheezy/main amd64 
Packages

The final issue seems to be the version of ovs-vsctl.  Wheezy comes with 
1.4.2.
I first hit some issues with use of --may-exist option in devstack which 
1.4.2 doesn't support.
I tweak devstack code to get round that but it fails to start neutron 
agent with

2015-11-26 15:01:07.155 92027 DEBUG neutron.agent.linux.utils [-] 
Running command (rootwrap daemon): ['ovs-vsctl', '--timeout=10', 
'--oneline', '--format=json', '--', 'set', 'Bridge', 'br-int', 
'protocols=[OpenFlow10]'] execute_rootwrap_daemon 
/home/pcarlton/openstack/neutron/neutron/agent/linux/utils.py:100
2015-11-26 15:01:07.162 92027 ERROR neutron.agent.ovsdb.impl_vsctl [-] 
Unable to execute ['ovs-vsctl', '--timeout=10', '--oneline', 
'--format=json', '--', 'set', 'Bridge', 'br-int', 
'protocols=[OpenFlow10]']. Exception: Exit code: 1; Stdin: ; Stdout: ; 
Stderr: ovs-vsctl: Bridge does not contain a column whose name matches 
"protocols"

2015-11-26 15:01:07.163 92027 ERROR 
neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent [-] Exit 
code: 1; Stdin: ; Stdout: ; Stderr: ovs-vsctl: Bridge does not contain a 
column whose name matches "protocols"
  Agent terminated!

I'll raise a bug for this too.

I couldn't see an obvious way to update ovs-vsctl on wheezy.

I'll ask the neutron team what the minimum version of ovs-ctl we are 
meant to support is.
Given the US holiday we may not get answers till next week and I've 
spent long enough on this for now!

-- 
Paul Carlton
Software Engineer
Cloud Services
Hewlett Packard
BUK03:T242
Longdown Avenue
Stoke Gifford
Bristol BS34 8QZ

Mobile:    +44 (0)7768 994283
Email:    mailto:paul.carlton2 at hpe.com
Hewlett-Packard Limited registered Office: Cain Road, Bracknell, Berks RG12 1HN Registered No: 690597 England.
The contents of this message and any attachments to it are confidential and may be legally privileged. If you have received this message in error, you should delete it from your system immediately and advise the sender. To any recipient of this message within HP, unless otherwise stated you should consider this message and attachments as "HP CONFIDENTIAL".




More information about the OpenStack-dev mailing list