37 Commits

Author SHA1 Message Date
Joe Gordon
bb1e07859c Don't install vim or locate by default
Devstack doesn't need vim or locate, if someone wants to use them, they
can just install them afterwards.

Change-Id: I00f27c20c86d89465e4aefc67ed645a309c09a03
2014-03-07 12:47:06 -08:00
Jenkins
e11e68911e Merge "Add a few missing package for SUSE" 2014-03-07 20:21:43 +00:00
Kyle Mestery
d44517dfcf Add support for configuring OVS to work with OpenDaylight
This adds support for running OpenDaylight as an OpenStack Neutron plugin
under devstack. This entails downloading the latest version of OpenDaylight,
configuring it, and running it as a service under devstack. This code also
includes pieces which configure Open vSwitch on each devstack node to point
at OpenDaylight as their OpenFlow and OVSDB control interface. This is
required for compute hosts, which will not be running any Neutron software
on them at all. This post-devstack configuration is handled in the extras
directory because of the fact there is no Neutron code running on the compute
hosts themselves.

Closes-bug: #1273917

Change-Id: I696e7c7fe63c835f90c56105775def305a702877
2014-03-06 16:19:10 +00:00
Ralf Haferkamp
581f0ee485 Add a few missing package for SUSE
Additionally rearranged the package list to be alphabetically sorrted

Change-Id: I52cea97da60437250d0b7cf86a71e4a05d765568
2014-03-06 10:16:04 +01:00
Sean Dague
78096b5073 remove sysstat & pidstat
dstat is far cleaner for getting results out of the environment,
and covers the bulk of our use cases for sysstat and pidstat with
a much better ui.

devstack is allowed to be opinionated, so become opinionated here.

Change-Id: I21ec96339dcd704098512fdafd896738f352962d
2014-02-25 10:30:31 -05:00
Sean Dague
062cdaf84c add dstat to see top process info
pidstat data isn't exceptionally useful, it's lots of lines, and
seems to be missing some of the most critical one.

dstat is kind of like sysstat, except the formatting is much better.
It also supports advanced features like the top CPU using process
at every interval.

put this behind the sysstat variable, as we'll probably want to
replace sysstat & pidstat with this if it works

Change-Id: I48dc22a0a7e63fe3abb527646cc70525998a7d85
2014-02-11 17:53:03 -05:00
Attila Fazekas
e7b6399d45 Install bc with all distribution
After commit def4c141 the bc is requred for devstack install on minimal
image, commit fbe12f98 fixed the issue with ubuntu, but not with other
distribution.

Adding bc to the files/rpms-suse/general and files/rpms/general.

Change-Id: Ieb2e3e2af454bca03bb3d7565ff731dc357e699f
2014-01-27 11:58:45 +01:00
Gonéri Le Bouder
394c11c721 horizon: drop nodejs dependency
since commit a0739c9423a4c559b45af96fa4cdb30539dcdbd7, horizon use
a pure Python alternative to nodejs

Change-Id: I231b453e42c303c3cc29e8bea4d7b935fecdccd2
2013-11-14 10:28:51 +01:00
Jenkins
2671a8b97e Merge "Fix handling of pip and virtualenv on openSUSE" 2013-10-04 18:37:30 +00:00
Adam Spiers
6d8fce7325 Fix handling of pip and virtualenv on openSUSE
openSUSE's python-virtualenv rpm depends on the python-pip rpm, but
tools/install_pip.sh prefers to deinstall the latter (if installed) and
install pip directly from upstream source instead.

This deinstallation of python-pip will break if attempted via rpm -e,
since rpm does not transitively remove dependents (in this case
python-virtualenv).  In contrast, "zypper rm" does, so we switch to
that.

It is safe to remove the python-virtualenv package, since stack.sh will
install virtualenv via pip instead.

Change-Id: I5bc23de0f2de2e3940c4be3b76b7c0634836239b
2013-10-01 18:07:39 +01:00
Adam Spiers
1f3e193638 Ensure SSL CA certificates are installed for curl
On openSUSE, ensure that the ca-certificates-mozilla package is
installed to avoid curl aborting with

  curl: (60) SSL certificate problem: unable to get local issuer certificate

when trying to download the pip source tarball.

Change-Id: Iaf74204ea5330e9abf56f6c9d5a0f9d83992aa59
2013-10-01 18:00:28 +01:00
Jenkins
abd1f24dd6 Merge "Added Trove (Database as a Service)." 2013-09-12 22:42:18 +00:00
Nikhil Manchanda
0cccad43aa Added Trove (Database as a Service).
- Added changes to stackrc for the Trove Repos.
- Added support to devstack for "install", "configure",
  "init", and "run"

implements blueprint:trove-devstack-integration

Change-Id: Ib3f6daad33e629f764a174b80762c808ce8588e2
2013-09-11 23:48:07 +00:00
Walter A. Boring IV
4d0d5ce778 Cinder needs iscsiadm available
This patch adds the binary packages that contains
the iscsiadm utility for cinder.   Cinder
uses the iscsiadm utility for various actions
and it should be there for devstack users.

Fixes bug #1219032

Change-Id: I8e1c6e2e5d4bfade50aba9259b6da3957d6d622d
2013-09-03 13:27:28 -07:00
John Griffith
4b60089874 Add some missing pkgs to Cinder install
Added python-dev even though it's picked up
by other projects already, just to be explicit.

Also added libpq-dev, this way users can just
run "sudo pip install -r test-requirements.txt"
and perform everything in run_tests.sh without the
need for venv.

Change-Id: I3953032ac40ef78fc6f67d77539e13539fbbb2ac
2013-08-10 17:51:36 +00:00
Dean Troyer
62d1d698a0 Add tools/install_pip.sh
Install a known working recent version of pip that handles installation
dependencies more correctly than before.  Extract to a separate script
so it can be used apart from stack.sh.

* Install distro setuptools if it not already present
* Install pip from source tarball as get-pip.py proved to be unreliable
* Remove python-distribute and python-pip from all prereq files,
  move python-setuptools to 'general'
* Remove the earlier unfubar_setuptppls() call that attenpted to fix this
* Only update requirements.txt when no changes in repo

Tested on Precise, F18 and CentOS6.
* Fedora and RHEL allow pip to install packages ON TOP OF RPM-installed
  packages.  THIS IS BROKEN.  And is one reason we have to be so picky
  about order and so forth.

Change-Id: Ibb4b42119dc2e51577c77bbbbffb110863e5324d
2013-08-07 20:28:56 -05:00
Monty Taylor
60aba9cb6a Remove installation of python-netaddr
System and pip installation of this conflit and cause breakages.

Change-Id: I87a03f88a134683310d6ec0bd62d86c5007fcd72
2013-08-02 23:52:38 +00:00
Jenkins
026560d0ef Merge "On openSUSE, qemu-tools provides qemu-img" 2013-07-22 15:57:23 +00:00
Dean Troyer
53fe11a822 More neutron renames
Rename quantum-adv-test.sh and the package prereq files in files/*/quantum

Change-Id: I4dab635c2ae79f1f42a9cfdadbf7a4d06cf2b925
2013-07-08 15:49:35 -05:00
Jenkins
4cb476c279 Merge "Update dependencies on openSUSE" 2013-07-05 14:28:52 +00:00
Vincent Untz
1957030271 On openSUSE, qemu-tools provides qemu-img
Change-Id: I6ab0b7dd871acd6103b15b5fe10350667b72d1a8
2013-07-04 09:45:58 +02:00
Mate Lakat
46fe276a53 xenapi: Add qemu-utils as a cinder dependency
If you are using xenapi, your system won't have qemu-img installed. This
patch adds the package qemu-utils to the list of cinder
apts/rpms/suse-rpms, thus devstack will pull the required binaries.

Change-Id: Id701880ce03bb3e78223df0af6a00b052408407c
2013-06-22 20:16:44 +01:00
Jenkins
f606adb4a8 Merge "Make dependency on libvirt dynamic" 2013-06-10 22:30:44 +00:00
Bob Ball
b1e49bfdf7 Make dependency on libvirt dynamic
Fixes bug 1184960

Change-Id: If702807d9ae326bf216a2e076ce61062045d7c6b
2013-06-07 09:42:04 +01:00
Joe Gordon
5747b80175 Don't install pep8 from packages
We have migrated to flake8 and most distros don't have the version of
pep8 that flake8 (and hacking) use.  Instead of installing pep8 from
packages it should be installed from pip

Change-Id: I86e4f8316f3cdc27303bfd039a78c0d6202ce321
2013-06-06 17:37:56 -07:00
Vincent Untz
5fe933399f Install polkit on Fedora/openSUSE when using nova
We clearly depend on polkit. It's usually already installed, but for
people using JeOS images, it's not.

Change-Id: Ieccd0ff569f7d4541833b98232aeebb36b3493cb
2013-04-23 10:04:12 +02:00
Vincent Untz
d8246c2abb Update dependencies on openSUSE
openSUSE 12.3 comes with the DHCP lease utilities in the dnsmasq-utils
package.

Also drop the gcc dependency in n-api (like it was done for debian, see
e9e80f9)

Change-Id: Id045674946d7856f6364c2357f3e126b05651461
2013-04-04 09:22:02 +02:00
Zang MingJie
4b1dbb5dab Keystone doesn't depend on bcrypt any more
see 48f2f650c8 (keystone)/common/utils.py

Change-Id: I3038a96deb9ca319224c07f549c893d24707be0d
2013-04-02 08:27:23 -04:00
Jenkins
c3c04fdba4 Merge "Make openSUSE port up-to-date" 2013-03-14 21:15:31 +00:00
Jenkins
80da9fa4dd Merge "Remove unused n-vol package lists" 2013-03-14 20:22:25 +00:00
Vincent Untz
3f34d9af71 Make openSUSE port up-to-date
Several changes didn't properly deal with openSUSE, so fix this.

Change-Id: Icc9c894031a8a693d9c41e2ec5717bd76f618342
2013-03-12 18:02:55 +01:00
David Ripton
a0f660b0f9 Add a dependency on openssl.
Nova and Keystone use openssl to setup certificates.  If it's not
there then Keystone fails with "Error 2: No such file or directory",
Nova fails with "openssl: command not found" and glance fails with
"glance: error: argument --os-auth-token: expected one argument"
Basically, cascading errors everywhere.  So I put the dependency
in "general" since it affects multiple packages.

Fixes bug 1152315

Change-Id: I803f91644443d7aba78c0a90384e32f6eece36ec
2013-03-07 15:46:25 -05:00
Joe Gordon
933120695d Remove unused n-vol package lists
Nova-volume was removed in Grizzly

Change-Id: If911e50d4d5cd89ce6d4e442335634ed635545cd
2013-03-06 10:25:47 -08:00
Nachi Ueno
e3aaa96a72 Adding sysstat monitoring
You can add sysstat logging on the devstack run.
In CI environemnt, sometimes VM creation, Volume creation or
Python unit testing timeouts. It is valuable to monitor
sysstat for investigate the issues.

- How to enable sysstat ( Default is off )
enable_service sysstat

- This commit adds two env variables.
SYSSTAT_FILE : sysstat log file
SYSSTAT_DURATION : duration of sysstat monitoring

Change-Id: I65efb574ef141e6e78c69218f4327df59b3258e2
2013-02-20 18:36:51 -08:00
Walter A. Boring IV
f2696c0d85 Add Nova fibre channel support required packages
This patch is to support the nova patch that adds
Fibre Channel support to nova.  Fibre Channel requires
sysfsutils, sg3-utils, multipath-tools

Change-Id: I9e44ef9152f1916b245dba3be77076f0283fed44
2013-01-18 13:18:00 -08:00
Vincent Untz
818a9fa327 Install qemu on openSUSE
qemu is used as a fallback when kvm cannot be used.

On Debian and Fedora, the binaries are there when kvm is installed, but
this is not the case on openSUSE.

Change-Id: I96592d105428acde9636608002109c166ac7a56a
2012-12-05 17:39:33 +01:00
Vincent Untz
ca5c471386 Add package names for openSUSE/SLE
Change-Id: I487cc7b8bd228ff77c9881528e3395cbe3c43d4a
2012-11-28 16:26:53 +01:00