456 Commits

Author SHA1 Message Date
Devananda van der Veen
23a64e2af8 Install 'ipmitool' package for Ironic
Ironic's reference / recommended driver is the "pxe_ipmitool" driver,
which requires the 'ipmitool' package and system binary. Thus,
devstack should install it.

Also, Ironic will soon be validating that ipmitool is present in the
system path when loading the pxe_ipmitool driver, as it does for other
drivers (seamicro, pyghmi) that have external dependencies.

Causing devstack to install this package when Ironic is enabled will
also help users who wish to test Ironic against physical hardware that
has IPMI support, without having to perform additional manual steps
(like enabling the pxe_ipmitool driver and installing the ipmitool
packge by hand).

Change-Id: I13da5f8978b280b192f9b033c348a11bfc44c9d2
2014-06-12 10:45:11 -07:00
Attila Fazekas
692011593e Move gcc to general
Lot of packages explicitly requires gcc now, but almost all of
the components needs it.

Always keep gcc in hand-range.

files/rpms/general: always installs the libxlst2-devel, not just on
RHEL 6, package recompile capability always handy and these are small
packages anyway.

Change-Id: Ia7d0e1938fb2453e3c02b979f99d6d179c6a24c6
2014-05-18 09:40:23 +02:00
Attila Fazekas
522cfe0951 tempest py26 setup
Simplifying the steps between devstack install and tempest run, by
 * installing tox<1.7, bacuse 1.7 is not compatible with our tox.ini
 * installing and patching 'discover' when the python version is 2.6

Change-Id: I8008837d2fae6cebeeeb051b63066279ca477e01
2014-05-05 07:36:49 +02:00
Jenkins
64162aaace Merge "Insert required iptables rules for Ironic" 2014-05-02 21:28:24 +00:00
Adam Gandelman
c1f0db2b1d Insert required iptables rules for Ironic
Devstack gate slaves have locked down local iptables firewalls.
Ironic nodes boot on an 'external' network and require TFTP
and Ironic API access back to the node via its HOST_IP.  This inserts
the required rules to the top of the INPUT chain.

Change-Id: I2e5dfa2346d45fdd549a3a3fbc255f190195cdd6
2014-04-30 11:21:47 -07:00
Ralf Haferkamp
65aaa183f4 Some smaller fixes for openSUSE 13.1 support
* dnsmasq-utils is also required on openSUSE 13.1 (for dhcp_release)
* make sure that iscsid is actually started. On openSUSE it's not
  started by default.

Change-Id: Ibceb7ce1372ca74010bdc9f44258a5a25182adc6
2014-04-15 17:56:58 +02:00
Jenkins
d110f456f3 Merge "Avoid pm-is-supported spam in logs" 2014-04-14 01:42:57 +00:00
Jenkins
cc39d54dc2 Merge "Fix openvswitch package and service names for openSUSE" 2014-04-11 00:11:50 +00:00
Jenkins
c139a70fe2 Merge "horizon does not uses django-registration" 2014-04-07 18:41:16 +00:00
Ralf Haferkamp
ce03d10287 Fix openvswitch package and service names for openSUSE
Change-Id: Iaf173422e4d009bdd7ed7ed79af2269c44039060
2014-04-07 17:02:39 +02: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
Attila Fazekas
45d3d9ab2b horizon does not uses django-registration
It was removed from the requirements since long, by
a47aa6fdc33ee29be886b45236e276a42a70b4df.

Just the files/rpms/horizon referencing it.

Change-Id: Ic1d413855e80a6f64d9d255f2d3a41f0925332c5
2014-04-02 18:47:02 +02: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
Sascha Peilicke
c9c0e37039 Update openSUSE-13.1 dependencies
The package libxml2-python was replaced by python-libxml2 since 12.2.
Rather use mariadb instead of mysql-community-server since the package
receives far more attention.

Change-Id: I8514048d05731750684862aa1e94331d7f602b68
2014-03-31 16:07:08 +02: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
Jenkins
5d4406c56d Merge "Complete moving Keystone setup out of keystone_data.sh" 2014-03-18 05:46:48 +00: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
f8afb8bee1 Merge "remove additional f18 references" 2014-03-13 19:12:47 +00: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
Ralf Haferkamp
c20bab89c4 Use the python-pyOpenSSL package openSUSE
Recent pyOpenSSL releases when installed from pip depend on
cryptography>=0.2.1, which itself depends on cffi>=0.8. That is conflicting
with the python-cffi (0.7.2) package on openSUSE-13.1 which is required by the
installed python-xattr.

Change-Id: I721ce5288d150a3b01fb2558f7ca86028d734138
2014-03-11 12:11:56 +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
Dean Troyer
42a59c2bfa Complete moving Keystone setup out of keystone_data.sh
* Move remaining role creation to create_keystone_accounts()
* Move glance creation to create_glance_accounts()
* Move nova/ec2/s3 creation to create_nova_accounts()
* Move ceilometer creation to create_ceilometer_accounts()
* Move tempest creation to create_tempest_accounts()
* Convert moved code to use OpenStackClient for setup
* files/keystone_data.sh is removed

Note that the SERVICE_TENANT and ADMIN_ROLE lookups in the other service
implementations are not necessary with OSC, all operations can be done
using names rather than requiring IDs.

Change-Id: I4283ca0036ae39fd44ed2eed834b69d78e4f8257
2014-03-10 15:17:30 -05:00
Sean Dague
353c4f1240 remove additional f18 references
f18 has been EOL for 6 weeks now, time to purge it from devstack

Change-Id: I5aac2c63b2f4cd8b01ae685b1acf4c188637558b
2014-03-10 08:44:18 -04:00
Ian Wienand
b27f16d716 Detect missing packages with yum
yum -y doesn't report an error when packages are missing (see [1] for
upstream discussion).  Thus we run the output of yum through a small
awk script looking for missing packages output.

The one change required for RHEL is that python-wsgiref is included in
the distro python, so doesn't need a separate package.

[1] https://bugzilla.redhat.com/show_bug.cgi?id=965567

Change-Id: I9908ff4edbf2b0d961d25837a08a34e1417bbb02
2014-03-10 14:10:56 +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
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
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
Steven Hardy
57d478d874 Move heat keystone setup into lib/heat
Move the heat setup which currently happens in files/keystone_data.sh
to lib/heat, where we have create_heat_accounts.

Move the user, role, service and endpoint creation as that is consistent
with what other services, e.g lib/nova are doing.

Change-Id: Iaa2c822cad581d6b2b4f22f8863daf81e25f8485
2014-03-03 18:18:28 +00: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
Jenkins
215be7a733 Merge "Update orchestration-related service names in template catalog" 2014-02-24 03:30:11 +00:00
Attila Fazekas
2d65059e72 Add RHEL7 beta support
RHEL7 still in beta status, so it will require the FORCE option,
until the GA release.

The main notable difference from another RHEL family members, it does
not have the mysql alias for the mariadb.

Change-Id: Ic90bb6c3dd9447fc80453c3dc1adb22cdfc6226f
2014-02-20 17:02:51 +01: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
Brant Knudson
a7a23addd3 Update orchestration-related service names in template catalog
The orchestration-related service names were not consistent with
the other AWS compatibility and native API names, so this change
makes them consistent.

Related-Bug: #1240138
Change-Id: I29a26bc6b0ddab0bff579a900e28da65df097a96
2014-02-05 15:22:55 -06:00
Attila Fazekas
85a85f87f8 Use service role with glance service
glance just used to admin role for token validation,
the service role is sufficient for this.

glance also needs an user with enough permission to use swift,
so creating a dedictated service user for swift usage when s-proxy is
enabled.

Change-Id: I6df3905e5db35ea3421468ca1ee6d8de3271f8d1
2014-02-02 10:30:15 +01:00
Nathan Kinder
7bc783b95b LDAP root DN creation fails
When keystone is configured to set up an LDAP server to use as
it's identity backend, the creation of the root DN fails.  The
problem is that one of the mods in the modify operation that sets
up the root DN is incorrect, which causes the entire modify
operation to fail.  The incorrect mod is attempting to configure
some attribute indexes, but one of the attributes it specifies is
undefined.  This patch removes the undefined attribute from the
template that is used to create the modify operation.

Change-Id: I413587130c64ca4f5f467b2ea1c0ab12867999ce
Closes-Bug: 1275158
2014-01-31 16:54:10 -08: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
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
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
cac3c6b110 Merge "Add missing mongodb client package on Fedora" 2014-01-26 02:44:27 +00:00
Gordon Chung
ab0595e9cd ERRORs in ceilometer-acentral log after succesful tempest run
recent merge added duplicate creation of ceilometer user. remove
ceilometer user creation from keystone_data so we can correctly add
ResellerAdmin role to ceilometer user which it needs to interact
with swift

Change-Id: I043c6b9337dfb147c3c8f364b462708a4030b41c
Closes-Bug: #1268730
2014-01-24 10:17:06 -05:00
Ana Krivokapic
39d500335a Add missing mongodb client package on Fedora
On Fedora, when ceilometer is enabled and mongodb is used as backend,
devstack installation would fail due to missing mongodb client package.
This patch ensures the package gets installed.

Change-Id: I981bb55f86541e5ff19c52160269a7789b94423f
2014-01-17 18:34:29 +01:00