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
Devstack doesn't need vim or locate, if someone wants to use them, they
can just install them afterwards.
Change-Id: I00f27c20c86d89465e4aefc67ed645a309c09a03
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
The list of RPM packages have been updated to support the recently
released Fedora 20 distribution.
Closes-Bug: #1263291
Co-Authored: Alvaro Lopez Ortega <alvaro@gnu.org>
Change-Id: Ia66abef1a1a54e6d5ee6eebc12908cef3f1d211d
Ubuntu qpid server package is named as "qpidd", but
files/apts/neutron has an entry "qpid".
Change-Id: Ie3f8391a7404bdeb222acfcce77ca80a14ea8693
Closes-Bug: #1267459
Current "keystone" command can parse the specified resources(tenant,
user, role, service) by itself. Then it is unnecessary to translate
resource names to resource ids in devstack.
This patch removes these resource parsers from devstack for cleanup.
Change-Id: Ibae06581b471f02168b559b4ca0c10f14996d661
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
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
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
* 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
since commit a0739c9423a4c559b45af96fa4cdb30539dcdbd7, horizon use
a pure Python alternative to nodejs
Change-Id: I231b453e42c303c3cc29e8bea4d7b935fecdccd2
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
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
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
Provide a template for running keystone as a mod_wsgi process and enable
it from configuration.
Based on: https://review.openstack.org/#/c/36474/
Also-by: zhang-hare <zhuadl@cn.ibm.com>
Implements: blueprint devstack-setup-apache-keystone
Change-Id: Icc9d7ddfa4a488c08816ff4ae0b53c0134a1016b
- 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
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