143 Commits

Author SHA1 Message Date
Jenkins
d110f456f3 Merge "Avoid pm-is-supported spam in logs" 2014-04-14 01:42:57 +00:00
Masayuki Igawa
28491ef1f2 Install fping package
Now, we can't use os-fping API by default because devstack doesn't
install the fping package.
This commit adds installing the package and enabling to use os-fping
API.

Change-Id: Ibdc7479a9038321e4fc3953774a6f3e1dac90530
Closes-Bug: #1287468
2014-04-04 09:41:11 +09:00
Sergey Skripnick
d7f7cb275c Add python-dev to general requirements
Package python-openstackclient depends on pycrypto, and pycrypto depends
on python-dev. Since python-openstackclient should be installed in any
case, python-dev should be in general requirements.

Change-Id: I2d6f5919bdc1175252c78cd203a8769d3892b923
Closes: bug 1292477
2014-04-02 15:35:28 +00:00
Jenkins
473add7e0b Merge "Remove unused package dependencies" 2014-04-02 15:27:22 +00:00
Davanum Srinivas
878376aabb Avoid pm-is-supported spam in logs
Per the libvirt team, the only way to stop the spam in
libvirtd logs is to install pm-utils package. Details are in:

https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/994476

Closes-Bug: #1274772
Closes-Bug: #1297512

Change-Id: Ia2f7a388470dcd8a3e2c12cf2980beccd65af94c
2014-03-31 19:19:54 -04:00
Adam Gandelman
b0f8beb8f1 Install qemu-kvm instead of kvm package on Ubuntu
Since at least 12.04, the kvm package is a transitional dummy
package intended to move users to the newer qemu-kvm package.  This
removes the dependency on this dummy package, which will be going away
in 14.04, and instead depends on the proper qemu-kvm package.

Change-Id: I4a88ada3cf32106413a9fae6fe77c9c4c28a524e
Closes-bug: #1294557
2014-03-27 00:18:22 -07:00
Alexander Gordeev
06fb29c661 Integration testing preparation for Ironic
Add ability to create/register qemu vms for Ironic testing purposes

Implements bp:deprecate-baremetal-driver

Change-Id: If452438fcc0ff562531b33a36cd189b235654b48
2014-03-14 13:44:00 -07:00
Jenkins
63d06bcad9 Merge "Make mongo install for ceilometer NOPRIME" 2014-03-12 16:59:22 +00:00
Attila Fazekas
1749106c3a Remove unused package dependencies
* /sbin/vconfig command is not used by either nova or neutron.
* Now the AMQP carrot is not used, not even optionally by
  the oslo.messaging.
* python-gfalgs just referenced as a similar configuration style,
  by neutron.

Change-Id: Idde5446e47e7da1dd204ea518ab816e2cce77c7d
2014-03-12 14:38:25 +01:00
Jenkins
349394b0cf Merge "Update required packages for ryu" 2014-03-11 08:46:19 +00:00
Ian Wienand
936284b02a Make mongo install for ceilometer NOPRIME
mongodb packages are missing on some platforms, so we switch to a
manual install.  Also gate the mongo call in cleanup

Change-Id: I1755e461c66be30da3db2a0994f908503c4c38ea
2014-03-11 10:32:01 +11:00
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
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
YAMAMOTO Takashi
a439faa85b Update required packages for ryu
Sync with the recent reality.

Change-Id: I4c37d09e511f3763d2267267815387bd5c825e0e
Closes-Bug: 1287541
2014-03-04 15:43:01 +09:00
Eric Windisch
201850120b Make python-guestfs NOPRIME & install for libvirt
The libguestfs dependency tree includes a number
of packages that we may not want or work everywhere, such as fuse.

Now python-(lib)guestfs will install from lib/nova_plugins/hypervisor-libvirt

Change-Id: I6c3a614010ee8d65813eec66a56680def622514c
2014-02-25 22:15:46 -05:00
Jenkins
339ec17731 Merge "remove sysstat & pidstat" 2014-02-26 02:38:30 +00: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
Ian Wienand
4f1fee6eae Fix missing libffi-devel for python-glanceclient
python-glanceclient is failing to install on rhel6 with a dependency
chain from pip as

  cryptography>=0.2.1 (from pyOpenSSL>=0.11->python-glanceclient==0.12.0.56.gb8a850c)

cryptography requires libffi-devel to build.  I'm not sure what
changed, but remove it from "testonly" so it is always installed.

However, RHEL6 includes this in the optional repo, so we enable this
repo in the fixup script.

Change-Id: I9da0e91b75f41578861ee9685b8c7e91dd12dae7
2014-02-25 08:21:22 +11: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
Russell Bryant
43d9508437 Install libguestfs for nova-compute on Ubuntu
We were already installing this for n-cpu on rpm distros, but not
Ubuntu.  Install it so that nova-compute can use it for file injection,
which is the preferred method over nbd.

Set CONF.libvirt.inject_partition to -1.  This enables using libguestfs to
determine the proper partition to inject into.

Don't bother trying to load the nbd kernel module anymore.  It won't be used
since we know always expect libguestfs to be installed.

Change-Id: Ifa9d95bf759f1dad8685590a2df242d852dd2cb0
2014-01-31 09:37:14 -05:00
Akihiro Motoki
fbe12f988c Add 'bc' to files/apts/general
After commit def4c141, "bc" command is used in stack.sh,
but 'bc' command is not available in very minimal Ubuntu
installation (without any tasks installed).
We need to add 'bc' to required package list.

Closes-Bug: #1272914
Change-Id: I5797707e8eaa9dd2a21d1a1fc3af028d1951a2ee
2014-01-26 23:00:46 +09:00
Jenkins
a6a009b76f Merge "clean up ubuntu versions" 2014-01-13 14:40:09 +00:00
Sean Dague
2bb483d32e clean up ubuntu versions
oneiric is long dead, remove references to it whenever possible
(one more subtle issue in cinder should be a seperate patch). This
includes removing the oneiric only tool build_uec.sh.

also remove the bulk of references to quantal, which is 8 months
out of support. note: raring only has support for the rest of the
month.

Change-Id: Ib17502be7572af76dc95560615221b48b970a547
2014-01-11 19:13:47 -05:00
Akihiro Motoki
72dc98ed6b Correct Qpid package name in files/apts/neutron
Ubuntu qpid server package is named as "qpidd", but
files/apts/neutron has an entry "qpid".

Change-Id: Ie3f8391a7404bdeb222acfcce77ca80a14ea8693
Closes-Bug: #1267459
2014-01-09 21:57:22 +09:00
Sean Dague
db54311552 add libxslt1-dev to tempest required files
tempest actually needs a pretty new lxml, which means it's
going to build it from source. To do that it needs libxslt1-dev
to compile. We should be good and let devstack do this out of
the box so it works on minimal environments.

Change-Id: Ia527905c1c15fb8c6793f0ce543ad05e25a88179
2013-12-16 20:16:03 -05:00
Geronimo Orozco
485dd811f6 Adds python2 to general packages to be installed
devstack works only for python2 python3 will break the install.
This commit adds python2 to the general dependencies of ubuntu

Change-Id: I7721ff85a63f635ff798407a5ee1d6766405c683
Closes-Bug: #1188215
2013-12-06 10:44:48 -06:00
Jenkins
271f38b313 Merge "freshen the LDAP support" 2013-12-06 13:24:17 +00:00
Flaper Fesp
06b345e509 Add marconi support to devstack
Marconi has an optional dependency on keystone for authentication. This
code was tested with everything enabled and also with the following
localrc:

    STACK_USER=fedora
    SERVICE_TOKEN=secrete
    ADMIN_PASSWORD=secrete
    MYSQL_PASSWORD=secrete
    RABBIT_PASSWORD=secrete
    SERVICE_PASSWORD=secrete

    disable_all_services
    enable_service qpid
    enable_service key
    enable_service mysql
    enable_service marconi-server

Implements blueprint marconi-devstack-integration
Implements blueprint devstack-support

Change-Id: I13495bcc5c5eb66cee641894e9f84a0089460c8b
2013-11-27 11:09:21 +01:00
Dean Troyer
b9e25135c5 freshen the LDAP support
* Build the base DN from a given domain name
* Remove all hard-coded names to allow configuration of base DN
* Fix manager DN (cn=Manager,dc=...)
* Add ldap init_ldap()
* Add support for clean.sh

Change-Id: Ieb69be9740653645b8e000574ad3fe59a0f97540
2013-11-26 11:28:54 -06: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
Akihiro MOTOKI
7a4ae3d242 Modification for Ubuntu 13.10 and minor fixes in Neutron NEC plugin
Modifications for Ubuntu 13.10:
* Add .conf suffix to apache2 config files. In Ubuntu 13.10,
  files in sites-available should have ".conf" suffix.
  Otherwise it is not recognized by a2ensite.
* libglib2.0-dev is added to lib/files/apt/trema. Trema is
  an OpenFlow controler framework used by Neutron NEC plugin
  Ubuntu package dependency seems to be changed.

Minor cleanups are also done in OVS configuration:
* Set datapath_id before connecting to the OpenFlow controller
  to ensure datapath_id changes after connected.
  Previously datapath_id is changed after connecting to the controller.
* Drop "0x" prefix from datapath_id passed to OVS.
  OVS ignores datapath_id with 0x prefix.
* Fix a bug that SKIP_OVS_BRIDGE_SETUP skips all confiugration of
  the plugin agent. It should skip only OVS setup.

Change-Id: Ifac3def8decda577b5740c82fe8d24e8520c7777
2013-10-23 15:47:06 +09: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
Christian Berendt
71d5630c4a Adds new tag for testonly packages in package lists
Also introduces a new parameter INSTALL_TESTONLY_PACKAGES
in the stackrc with False as default value. Setting it to
True stack.sh will install all packages tagged with the tag
testonly in the package lists.

Includes needed packages for Ubuntu and Fedora

fixes bug #1203680

Change-Id: I911a6601819a34262853bba0658f6751148bfbec
2013-08-21 14:15:20 -05: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
Alex Gaynor
b6f7ea4fb0 Added libffi-dev to the needed packages
Change-Id: Ida7001886f17c9413b33312f12f2478a54bd6c90
2013-07-29 08:12:39 -07: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
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
53797878a6 Merge "Add a new dependency for n-api" 2013-06-16 22:56:26 +00:00
Jenkins
f606adb4a8 Merge "Make dependency on libvirt dynamic" 2013-06-10 22:30:44 +00:00
Jenkins
689e3ef01a Merge "Don't install pep8 from packages" 2013-06-10 17:35:49 +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
Émilien Macchi
e32b4853c5 Add a new dependency for n-api
msgpack-python is missing as a dependency in Ubuntu.

Fix Bug #1186739

Change-Id: I9e6ccc27970fb9fef2352a3d9864f325160a6e19
2013-06-02 15:58:14 +02:00
Emanuele Rocca
796cf890ff Add missing .debs required by Debian
dnsmasq-utils is available on all Debian-based supported distros.

Debian Wheezy and Jessie need qemu to be installed in order for the resulting
OpenStack environment to be fully functional.

Change-Id: I910968f60ca1ed5c300a1fa599fb480d65591145
2013-05-30 00:37:12 +01:00
Émilien Macchi
b2ef890db3 Add Debian OS support in DevStack
Fix bug #1176216

Change-Id: Ia94c332f02a921a936db249dc3b4a7ae4eff0400
2013-05-09 00:18:37 +02:00
Jian Wen
f661658ed1 Remove redundant arping package from apts/nova
Nova is dependent on arping because 'arping -U' is used.
Arping package doesn't provide 'arping -U'. Let iputils-arping
do the arping job.

Change-Id: Iad4cbf823881de4656fb6a4e32285cf2a49b1d2a
2013-04-25 15:34:18 +08:00