Commit Graph

195 Commits

Author SHA1 Message Date
Radosław Piliszek d04e795b31 [TrivialFix] Delete symlink apts-debs
Follow up on old I0416180db5b6add996ce5b48c6966c1b68adbcb0

Change-Id: If2f6166cf7c585bf303d0f6c28a2745d85eabbed
2021-04-19 06:52:30 +00:00
Monty Taylor 81a016dbcd Rename apts to debs
apts aren't a thing, debs are. apt-get installs debs, like yum installs
rpms. Another option would be to rename rpms to yums, but that is even
sillier, considering then for suse we'd have to call it "zypper-suse" or
something, even though it would want to consume yums-general as a base.

Include a symlink to the old name to help out with grenade. The symlink
should go away later.

This is a long-standing annoyance of mine.

Related-to: I915f0e59c13d8cf5fb3549c6202f8aa2f8be0856
Change-Id: I0416180db5b6add996ce5b48c6966c1b68adbcb0
2014-11-24 09:51:17 -05:00
Adam Gandelman ffd66ad77f Log early boot of Ironic VMs to serial with sgabios
This adds sgabios to the list of packages for Ironic and configures
the libvirt domain to redirect BIOS messages to serial via sgabios,
when console logging is enabled.  The sgabios package in Ubuntu
currently has an apparmor bug, so that is worked around here.

This allows visibility into early boot of Ironic nodes and should
help get to the bottom of a frequent failure we're seeing in the gate.

Change-Id: Ifd18851e2d23d198d36e67883a81afc6a92d2a58
Related-Bug: #1393099
2014-11-17 12:32:27 -08:00
Akihiro Motoki 20522e3b0e Add pcre devel package for Horizon
pyScss python module uses pcre if available for performance
and it is better to be installed.
This commit adds it for files/{apts,rpms}/horizon.

Change-Id: If711fa222d3f395efd670334c8a84f35d195dc25
2014-10-29 15:51:38 -04:00
Jenkins 18c007451a Merge "Configure an authorized user for the QPID broker" 2014-10-28 03:25:05 +00:00
Akihiro Motoki 6518c0b88e Compile Horizon message catalogs during stack.sh
Recently compiled message catalogs (mo files) were removed
in Horizon and django_openstack_auth repositories.
We need to compile message catalogs to make translations
available for Horizon users. It is useful for developers too.

Change-Id: I0831e8308205c116d8e3bb8b43be7f0dd6fa0c0a
2014-10-18 06:40:08 +09:00
Jenkins 552459cbcc Merge "Added libvirt-dev[el] as a required system package" 2014-10-05 13:59:35 +00:00
Jenkins 608491c0f7 Merge "Add support for redis to Zaqar's lib" 2014-10-04 09:25:55 +00:00
Mike Spreitzer 3edd4540b9 Added libvirt-dev[el] as a required system package
Added libvirt-dev as a system package to install with apt-get and
libvirt-devel as a system package to install with rpm.

Early drafts qualified with "testonly" (meaning to install only if
INSTALL_TESTONLY_PACKAGES is true).  This is needed because installing
libvirt-python version 1.2.5 on Ubuntu 14.04 was observed to fail in
the building step if libvirt-dev is missing.  Later drafts removed
that qualification, because Sean Dague said he thinks libvirt-dev[el]
is always required.

Change-Id: Ie6a272f60059a1f363630f307416b32c450a1ebb
Closes-Bug: 1362948
2014-10-02 23:23:18 -04:00
Adam Gandelman 6566f21ddf Adds qemu packages to ironic's apts
Nodepool images have recently migrated to being built with DIB, resulting
in strange changes in how the package dependency chain works out.  This
explicitly adds required qemu packages to Ironic's apts to avoid some
not being pulled in by package dependencies alone.

Change-Id: I60373ee5ad7445cd54c8c013085b28d82bb0d085
Closes-bug: #1376863
2014-10-02 11:25:03 -07:00
Flavio Percoco e29a55ade1 Add support for redis to Zaqar's lib
A new redis driver has landed in Zaqar. This patch adds support for that
driver to Zaqar's lib.

Change-Id: I97629a303c55ee098e3bfbc534bfb05ccab94649
2014-10-02 09:24:58 +02:00
Kenneth Giusti 062a3c3e70 Configure an authorized user for the QPID broker
If QPID_USERNAME is set, add the user to the QPID broker's
authentication database.  Use the value of QPID_PASSWORD as the
password for the user, prompting for a password if QPID_PASSWORD is
not set.  This requires that all clients provide this username and
password when connecting to the QPID broker, or the connection will be
rejected.

If QPID_USERNAME is not set (the default), disable QPID broker
authentication. This allows any client to connect to the QPID broker
without needing authentication.

Change-Id: Ibd79873379740930ce5f598018c1ca1fffda7c31
Closes-Bug: 1272399
2014-10-01 16:06:52 -04:00
Sean Dague 68e9f05f7c remove kombu from package lists
This is a pure python library that we should probably let pip
handle so that we don't accidentally only test whatever patched
version is in trusty instead of the upstream versions.

Change-Id: I93d2f9344b9f83d2397466b4bc29c97210919ed9
2014-09-28 10:38:29 -04:00
Kenneth Giusti a1875b7b67 The python-qpid packages must be installed when qpidd is configured
The python-qpid package is available for Ubuntu trusty, precise, and
all the supported RHEL based platforms.  This package is necessary if
qpidd is configured as the RPC backend.  It is the client API used to
talk to the broker, and must be installed on each system that
communicates with the broker.

Change-Id: I635d3e857aa4b769a80cb7cde405cfd6cae44d32
2014-09-15 14:21:55 -04:00
Jenkins b3ae835d7c Merge "don't install boto from packages" 2014-09-13 15:46:27 +00:00
Jenkins 4bd4264960 Merge "Allow devstack to build ironic agent ramdisk" 2014-09-09 03:04:49 +00:00
Jim Rollenhagen f00766b8bb Allow devstack to build ironic agent ramdisk
This provides a way to test Ironic-python-agent code that is
not yet merged.

Change-Id: I85084c383263173a33250592a95a17f46827b347
2014-09-04 16:31:02 -07:00
Sean Dague bcd3f63a99 don't install boto from packages
installing boto from packages pins some other pure python libraries
(like requests) in an unexpected way. As this is pure python we should
instead let this be install from pip and thus be controlled by global
requirements.

Change-Id: If5df9de8c3e1ad8faceab4b43c86134dbbc55a51
2014-09-03 11:30:54 -04:00
Jenkins 38f5fb7252 Merge "Support ipset for security group" 2014-08-31 06:38:04 +00:00
Jenkins 9a59e81eb0 Merge "Add graphviz package to general list for building docs" 2014-08-30 15:43:18 +00:00
shihanzhang 9ec58aec64 Support ipset for security group
Install ipset if the q-agt service is enabled.

Partially implements blueprint: add-ipset-to-security

Change-Id: Ic0820a03e9823be39e26254e7c99fe2c4c811c8b
2014-08-28 10:42:03 +08:00
Jenkins 11d6bde264 Merge "Add mysql devel as testonly alongside mysql-server" 2014-08-26 20:28:56 +00:00
Maru Newby 1a332836df Add mysql devel as testonly alongside mysql-server
Neutron needs to be able to install MySQL-python in the functional
test job, which requires devstack to install mysql devel libraries as
testonly.

As per sdague's recommendation mysql devel libraries are now installed
for nova as well.  In the future, any service that installs
mysql-server should also install mysql devel libraries for consistency.

Related-bug: #1346444

Change-Id: Ie715841e33a2c2d31cb4ac724b302eb98ed3366a
2014-08-23 20:28:21 +02:00
Jenkins 0eee740a4f Merge "Rename Marconi to Zaqar" 2014-08-23 01:43:29 +00:00
Flavio Percoco 4059e3ae7b Rename Marconi to Zaqar
2 files missed the rename patch, this patch renames those files.

Change-Id: Ic0393fe577a6bfc170ebb9de5a7db4f27d76d28c
2014-08-22 09:06:58 +00:00
Matt Riedemann 18d5db8452 Add graphviz package to general list for building docs
A few projects are now gating on docs not having warnings/errors in them
during the docs build with sphinx, so developers are going to want to be
able to run 'tox -e docs' locally and fix issues.

The graphviz package is used by sphinx when building docs but you have
to get it from the distro, so this change adds the package to the
various distro lists.

Closes-Bug: #1359749

Change-Id: I7b7dee5e5d0dce6d5020b3e711f500118be163f8
2014-08-20 18:09:44 -07:00
Lucas Alvares Gomes 5851e5f698 Ironic: Setup/Configure iPXE
Setup the enviroment and configure Ironic to use iPXE for deployments. If
IRONIC_IPXE_ENABLED enviroment variable is True, DevStack will now start
and configure an Apache HTTP server to serve the images, will copy the
undionly.kpxe boot file in place of the standard pxelinux.0 and will set
the right configuration to Ironic to deploy the images using iPXE+HTTP.

Implements: blueprint ipxe-boot
Change-Id: I0ea40cb8bbf9236c634f803c2bde1081634679ff
2014-08-20 17:32:32 +01:00
ihrachyshka cbea3447c7 Add ability to switch database driver
Also added mysqlconnector packages into default installation.

blueprint enable-mysql-connector

Change-Id: Ib2cda7cb183dc8f0ff4759cc6e9ecab469fd121c
2014-08-15 15:47:22 +02:00
Jenkins 9b4e65baff Merge "Add keepalived, conntrackd as dependencies" 2014-08-15 06:16:34 +00:00
Assaf Muller 7f31a93ba0 Add keepalived, conntrackd as dependencies
Neutron L3 HA blueprint l3-high-availability requires
keepalived and conntrackd in order to work for developers as
well as for functional tests.

Change-Id: Ic32d913c2bc6fae339b4d5ec509a77df5a21de72
2014-08-14 14:41:17 +03:00
Jenkins 4407315ae9 Merge "Support Router Advertisement Daemon (radvd) for IPv6" 2014-08-07 15:05:37 +00:00
David Shrewsbury 6eee49fc89 Add libssl-dev for Ubuntu
Rebuilding pyOpenSSL requires the SSL development libraries. This is
present in files/rpms/general, but was missed in files/apts/general.

Change-Id: Ie3c688e2d74485eb7f981363633bbddab5da7046
2014-08-04 09:38:21 -04:00
Robert Li 72b3e448af Support Router Advertisement Daemon (radvd) for IPv6
Install radvd if the l3 service is enabled.

Partially implements blueprint: neutron-ipv6-radvd-ra

Change-Id: I749b31dcaad072a35e5921579b50f1ca451b1383
2014-08-01 16:10:01 -04:00
Jenkins f73c9b9e78 Merge "Install gettext from apt on Trusty (Ubuntu 14.04)" 2014-08-01 17:38:27 +00:00
Jenkins 73e8deb09d Merge "Implement Ceph backend for Glance / Cinder / Nova" 2014-07-31 01:15:32 +00:00
galstrom21 053364cf60 Install gettext from apt on Trusty (Ubuntu 14.04)
The binary 'msgfmt' is not installed as part of python-gettext for Trusty
(Ubuntu 14.04), so gettext needs to be installed from apt.

Change-Id: I415814559d82be453e978a0d92a0cdb38f105683
Closes-Bug: 1331328
2014-07-23 22:02:32 -05:00
Jenkins 9f8bf58ba3 Merge "Add conntrack-tools to nova dependencies" 2014-07-23 15:06:07 +00:00
Sébastien Han 36f2f024db Implement Ceph backend for Glance / Cinder / Nova
The new lib installs a full Ceph cluster. It can be managed
by the service init scripts. Ceph can also be installed in
standalone without any other components.
This implementation adds the auto-configuration for
the following services with Ceph:

* Glance
* Cinder
* Cinder backup
* Nova

To enable Ceph simply add: ENABLED_SERVICES+=,ceph to your localrc.
If you want to play with the Ceph replication, you can use the
CEPH_REPLICAS option and set a replica. This replica will be used for
every pools (Glance, Cinder, Cinder backup and Nova). The size of the
loopback disk used for Ceph can also be managed thanks to the
CEPH_LOOPBACK_DISK_SIZE option.

Going further pools, users and PGs are configurable as well. The
convention is <SERVICE_NAME_IN_CAPITAL>_CEPH_<OPTION> where services are
GLANCE, CINDER, NOVA, CINDER_BAK. Let's take the example of Cinder:

* CINDER_CEPH_POOL
* CINDER_CEPH_USER
* CINDER_CEPH_POOL_PG
* CINDER_CEPH_POOL_PGP

** Only works on Ubuntu Trusty, Fedora 19/20 or later **

Change-Id: Ifec850ba8e1e5263234ef428669150c76cfdb6ad
Implements: blueprint implement-ceph-backend
Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2014-07-23 16:13:45 +02:00
Jenkins 2bb05fdb84 Merge "Promote libffi-dev as a general dependency" 2014-07-22 14:38:24 +00:00
Attila Fazekas 40f4438f9b Add conntrack-tools to nova dependencies
'Error deleting conntrack entries' appears in all
n-net. Adding conntrack-tools/conntrack as nova dependency,
in order to eliminate this issue.

Change-Id: Ief9deeb3349a07e22fb365e58f3368c847f845ef
2014-07-22 14:31:03 +02:00
Sean Dague 0ae54daa4a add python-mock to testonly package list
Python-mock is needed by most of OpenStack for testability. Add
this is a testonly package. This should fix current issues with
functional tests in OpenStack that use devstack, but not tox to
run their tests.

Closes-Bug: #1341507

Change-Id: I26cbe42ace75554bae993a6d849c3b4ac649c78e
2014-07-15 10:37:14 +02:00
Attila Fazekas 87d74a0bdd Promote libffi-dev as a general dependency
libffi-dev/libffi-devel can be requested for rebuilding the
python clients which is an un-skipable part of the devstack install.

Promoting the libffi-devel to a general dependency.

Change-Id: I1dac7fd536b94de1e49aaf335ac29ffae1bd39d1
2014-07-09 20:18:04 +02:00
Jenkins e4368c6abb Merge "Add libyaml-devel package dependancy" 2014-07-03 09:51:16 +00:00
Jenkins f4c490c186 Merge "Stud is available in new distributions" 2014-06-28 11:58:04 +00:00
Kashyap Chamarthy 2b5c14d2d8 Add libyaml-devel package dependancy
Without libyaml-devel package installed (on Fedora-20),
running ./stack throws:

  [. . .]
  build/temp.linux-x86_64-2.7/check_libyaml.c:2:18: fatal error: yaml.h:
  No such file or directory #include <yaml.h> ^ compilation terminated.

  libyaml is not found or a compiler error: forcing --without-libyaml
  [. . .]

Adding this dependency to files/rpms/general resolves it. Also added to
files/apts/general.

Change-Id: If1aa23bf3fc76ea2b321c3725dd07050ddd4b825
2014-06-28 02:20:09 +05:30
Stanislaw Pitucha 317ecdb865 Stud is available in new distributions
Stud was marked as precise-only. In reality it's only not available in
lucid. All supported distributions are ok now.

partial blueprint devstack-https
Change-Id: Ie86f345102cfddcca5387be514b67641ef750313
2014-06-27 13:36:52 +01:00
Jenkins f05dc966fa Merge "Don't install openvswitch-datapath-dkms on newer kernels" 2014-06-26 21:05:37 +00:00
Doug Hellmann 45400b0072 Add explicit libkrb5-dev dependency for keystone
Our Trusty test nodes do not include libkrb5-dev by default, and it is
needed to install some of the python libraries keystone uses (kerberos,
brought in by requests-kerberos).

Partial bug: #1334326

Change-Id: I1fdaa46c4590e69da82365dee578c1aa0ec95e80
2014-06-25 11:27:13 -07:00
Kyle Mestery 86af4a0e5d Don't install openvswitch-datapath-dkms on newer kernels
On kernels >= 3.13 for Ubuntu, there is no need to install the
openvswitch-datapath-dkms package anymore. Consequently we don't need the
dkms package anymore, nor the linux headers.

Update the opendaylight devstack code to correctly check for this and make
the right decision.

While here, also utilize get_packages() and common code where possible.

Change-Id: Idd6a71951f6f77b6e3c4e536e735dfead6a40bc1
Closes-Bug: #1331111
2014-06-25 10:31:44 -04:00
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