Commit Graph

6557 Commits

Author SHA1 Message Date
28b481ec0b Merge "Check if cinder is enabled before doing anything lvm2 related" 2015-06-25 10:35:08 +00:00
1e3a89eeff Fix typo: where is runs => where it runs
Change-Id: I7dad52c5b5ea91d727bd8ee7253a64422e4ec210
2015-06-25 06:35:07 +09:00
b0160d0fa9 Log all input/output in rootwrap calls
This should make it easier to understand possible interactions between
rootwrap processes calling commands that might be the cause of race
bugs.

Closes-Bug: 1081524
Change-Id: Ic1f1fa42e4478a9d30f0f582a68f648935d0097d
2015-06-24 21:01:00 +00:00
3bae7d48c0 Keystone also handle /identity and /identity_admin
When configured to run under Apache Httpd, keystone will also
handle requests on /identity (public) and /identity_admin (admin).

Change-Id: I4e6eb0cad1603aa0e612d0adc5431565da93870e
2015-06-24 15:58:47 -05:00
442e4e9625 make test_with_retry a function
We have this pattern of timeout with while tests for a non infinite
while loop condition. It's enough of a pattern that we should probably
extract it into a function to make it more widely used.

Change-Id: I11afcda9fac9709acf2f52d256d6e97644d4727c
2015-06-24 13:24:02 -04:00
7af8a1b9b3 only soft enforce requirements not in projects.txt
We're adding the ability to have devstack plugins, which should be
much more free to require new things not in global requirements. Our
old thinking of locking down all the requirements doesn't really work
in a plugin model.

Instead, if the project is in projects.txt, continue with the old
behavior. If it is not, do a soft update (update all the requirements
we know about, leave the ones we don't). This was previously the SOFT
requirements update mode, but now it will just be the default.

Change-Id: Ic0c6e01a6d7613d712ac9e7e4a378cc3a8ce75e6
2015-06-24 05:55:02 -04:00
348c6ace71 Use ip route replace to avoid the existing route
Change-Id: I3cc82aca1e3fd26e3beb4baee1f11a9b45e8b9f7
Closes-Bug: 1467762
2015-06-24 17:39:46 +08:00
c4067a3cc0 Merge "Only install python-libguestfs bindings when needed" 2015-06-23 22:43:01 +00:00
261a23ece7 Merge "SUSE: Clean up libxslt/libxml2 related dependencies" 2015-06-23 21:52:11 +00:00
a9d510604c Merge "Ensure yum-utils is installed before using yum-config-manager" 2015-06-23 20:09:04 +00:00
ca4659931a Merge "Don't install pbr in a venv" 2015-06-23 18:31:38 +00:00
9f56aac3f1 Merge "Docs: Use RFC5737 for Provider Networking" 2015-06-23 16:39:05 +00:00
010963c677 Correct logging_context_format_string for Ironic
We should use "tenant" and "user" instead of "project_name" and
"user_name" by calling setup_colorized_logging with these parameters.

Closes-Bug: #1467942
Change-Id: I484ef431ac422e25545391ed41fab45060a7b821
2015-06-23 14:16:55 +01:00
365d11dfa9 Ironic: Fix iPXE Connection timed out
This patch fixes the problem of iPXE connection timing out when it's
trying to fetch the configuration files and images from the HTTP server
by accepting requests to HTTP server port on iptables.

Closes-Bug: #1467894
Change-Id: I43d66335a97c376ab64d604ff807540d0decc401
2015-06-23 11:52:10 +01:00
7ebe8e0751 Don't install pbr in a venv
Because PIP_VIRTUAL_ENV was set for the installation of requirements,
and left around in scope, the installation of pbr no longer happened
in a global context, it instead landed inside the virtual
env. Unsetting the variable after requirements install gets us back to
where we expect.

This was an unintended side effect of the requirements-venv patch.

Change-Id: I2c4cb4305fec81a5fd237edabee78874ccd0da22
2015-06-23 06:31:02 -04:00
0ae942b41c Only install python-libguestfs bindings when needed
Currently those bindings are missing from SLES12, and since
they're not actually used unless file injection is enabled
(which is not by default), only conditionally depend on it.

Change-Id: I79a8d8ac7ad2fbd7d2fce696821d130218e43e03
2015-06-23 12:22:21 +02:00
c7e89f2380 SUSE: Clean up libxslt/libxml2 related dependencies
libxml2-devel is a dependency of libxslt-devel, so we don't need
to explicitly include it. Also, since it is only really needed
by python-lxml, consolidate it into devlibs and remove the copies.
Also remove a non-existing package reference along the way

Change-Id: If9afaaa93f2c485baa1efff74d7ae58c59713de6
2015-06-23 12:07:39 +02:00
65c25e9e5e Merge "use pip_install_gr for ceilometermiddleware" 2015-06-23 00:03:07 +00:00
3904fb8832 Merge "Enable the volume bootable feature flag that was added in kilo" 2015-06-22 16:37:38 +00:00
2f63da9e0e Ensure yum-utils is installed before using yum-config-manager
yum-utils provides yum-config-manager but the check for yum-utils is
currently being done after the first usage of yum-config-manager, which
fails if you don't have yum-utils already installed, so move it up
before the first usage of yum-config-manager.

Putting yum-utils in files/rpms/general doesn't help since
yum-config-manager is used in stack.sh before tools/install_prereqs.sh
is called.

Closes-Bug: #1467270

Change-Id: I74996c76838b7dc50d847e3bedb2d04dc55b4431
2015-06-21 09:02:59 -07:00
e123830c15 Add devstack-admin cloud to clouds.yaml
A lot of commands developers use require admin by default, so add a
"devstack-admin" cloud to clouds.yaml that has admin authority.

 $ openstack --os-cloud devstack-admin user list

Change-Id: Ie0f1979c50901004418f8622d4ca79dc4bdadd8d
2015-06-21 10:17:36 -05:00
e1fa0701b3 Update clouds.yaml
If the user already has a clouds.yaml, update it with the "devstack"
entry.

Change-Id: Id02378b6f3a86f9fee201d91688205705202c0a8
2015-06-21 10:16:23 -05:00
c342243cf8 Merge "Add ability to specify cinder lvm_type option" 2015-06-20 17:17:52 +00:00
d3d78cc528 use pip_install_gr for ceilometermiddleware
Since this patch https://review.openstack.org/#/c/171685 has been
merged in global requirements, better to switch to pip_install_gr.

Change-Id: Ibe708d4f523c32ade3c6a273f80b9c38bb03e382
2015-06-19 19:01:28 -07:00
4ff5e2bf73 Merge "refresh the devstack plugin docs, add plugin registry" 2015-06-19 21:02:39 +00:00
23bf045c18 Check if cinder is enabled before doing anything lvm2 related
On some system Cinder is not enabled so we can't assume LVM is installed. So
do not try to `sed` /etc/lvm/lvm.conf or clean LVM VG if cinder is not enabled

Change-Id: I09b1a7bee0785e5e1bb7dc96158a654bd3f15c83
2015-06-19 14:34:59 +00:00
0124e08ede refresh the devstack plugin docs, add plugin registry
The devstack plugin docs mostly referred to in tree plugins, which is
honestly something we don't want people doing. Instead restructure the
whole document to talk about external plugins as the only kinds of
plugins, and focus on a workflow to make that easy for people to work
through.

This also adds a plugin-registry page to start listing known plugins
somewhere centrally. Some sample content was added, hopefully people
will submit patches to include their plugins.

This does drop the section on hypervisor plugins. That's not currently
something that we expect a ton of people to work on, so diving into
the code for this should be fine.

Change-Id: Ifc0b831c90a1a45daa507a009d1dcffcd6e2deca
2015-06-19 08:48:16 -04:00
ceca15db4d Glance: move connection_url from DEFAULT section to DB section
To get rid of Oslo_config deprecation warning.

Change-Id: I9de475f4dea4a4496cc8b5e93aa6928235d4cb29
2015-06-19 11:46:36 +02:00
ee12f5f886 Merge "Save stackenv values more often" 2015-06-19 05:29:39 +00:00
0ad0bf4eff Merge "Enable deactivate image tests in tempest" 2015-06-19 05:28:12 +00:00
6704027c6e Merge "Remove hardcoded http in URL in sahara exercise script" 2015-06-19 05:11:34 +00:00
128d113418 Merge "Make sure iptables-services is installed" 2015-06-19 05:10:48 +00:00
f4f01c6397 Use swift store config files in glance
Using the swift_store_auth_address, swift_store_user and swift_store_key are
marked as deprecated in glance in favour of using a standalone config file that
provides multiple auth options.

Create and use a standalone authentication file for communicating with swift.

Change-Id: I9b5361ce6e1771781d7ae7226974604a7f9e5d00
2015-06-19 11:10:23 +08:00
c7415ba7f9 Merge "Fixup pbr in LIBS_FROM_GIT" 2015-06-19 01:03:04 +00:00
e3f683829d Merge "Put requirements repo in a venv." 2015-06-19 00:11:43 +00:00
86923559a4 Fixup pbr in LIBS_FROM_GIT
Change-Id: I32594f30a13c0757cc918c8a5e54ae182e985693
2015-06-19 11:17:04 +12:00
d72b839b7f Docs: Use RFC5737 for Provider Networking
That'll make things more clear that with the provider networking
feature in DevStack, FIXED_RANGE will be a routed IPv4 subnet that gives
routed IPv4 addresses to instances without using floating IPs.

Change-Id: Ie26d75ac5ff285a25762c4f61fd9800b0382886b
2015-06-18 17:13:08 -04:00
d16bfa48ee Tune mysql a bit better for concurrent operations
With PyMySQL in the projects we can expect things to happen more
concurrently now. The query cache is a hinderance to concurrency, and
more connections will be required.

Change-Id: Icfb8cdbb9ed39cfd7732ad05fe740e01c767af7b
2015-06-18 13:22:35 -07:00
40f3e33f73 Put requirements repo in a venv.
This is to prevent any possible contamination of test results from its
presence.

Change-Id: I5a929854745650cc6a182ffc4d15c50caabdd727
2015-06-19 08:04:00 +12:00
18d1cca6cb Add oslo.service to devstack
Add the ability to switch on oslo.service master using
LIBS_FROM_GIT

Change-Id: I00fe7776aea005b6d4e0a84fce54f33a862b57e3
2015-06-18 06:32:04 -04:00
810dc1d6f4 Merge "Actually install the requirements repo." 2015-06-18 03:21:12 +00:00
98d9651038 Merge "Add note on openrc and zsh" 2015-06-18 02:27:02 +00:00
f553ce24ea Actually install the requirements repo.
The requirements repo has had a setup.cfg etc for a long time but only
recently started using it. As it now has dependencies, we need to pip
install it. To preserve compat with older requirements repos I haven't
changed the call to invoke update-requirements yet, as we still have
the update.py symlink.

The pbr install is moved before requirements to ensure we don't
trigger easy-install.

Change-Id: I7d7e91694c9145fac0ddab8a9de5f789d723c641
2015-06-18 11:21:42 +12:00
ccd4c2e177 Install python-libvirt for ceilometer only if n-cpu enabled
Nova is responsible for installing the libvirt package (if it is being
used). It is required by python-libvirt but python-libvirt only required
in ceilometer if nova compute is being used. There are some usage
scenarios where nova compute is not being used so in that case don't
install python-libvirt.

Change-Id: I0db66f1c0526e24ade98de85989a5ed8d37f0c4f
2015-06-17 16:45:42 +00:00
40fc66324c Remove debugging artifacts
The change in 027e2ea741 included some
debugging code that should have been removed before being added. This
removes it.

Change-Id: Ia56e1eb7305683b6c00b27a727fc8e094c65a963
2015-06-17 16:39:37 +00:00
1987fcc8a3 Replace pip-installed requests CA bundle with link
If the version of python-requests required is higher than
that provided by the operating system, pip will install
it from upstream.

The upstream version provides its own CA certificate bundle
based on the Mozilla bundle, and defaults to that in case
a CA certificate file is not specified for a request.

The distribution-specific packages point to the system-wide
CA bundle that can be managed by tools such as
update-ca-trust (Fedora/RHEL) and update-ca-certificates
(Debian/Ubuntu).

When installing in SSL/TLS mode, either with SSL=True or by
adding tls-proxy to ENABLED_SERVICES, if a non-systemwide
CA bundle is used, then the CA generated by devstack will
not be used causing the installation to fail.

Replace the upstream-provided bundle with a link to the
system bundle when possible.

Change-Id: I651aec93398d583dcdc8323503792df7ca05a7e7
Closes-Bug: #1459789
2015-06-16 17:57:09 -04:00
598f2effed Merge "Add futurist to lib/oslo and stackrc" 2015-06-16 20:22:12 +00:00
78797238d9 Merge "Add automaton to lib/oslo and stackrc" 2015-06-16 20:22:07 +00:00
5fbae1b34c Merge "Remove Fedora 20 as supported distribution" 2015-06-16 19:59:45 +00:00
5af3f124c5 Merge "VMware: add support for simple DVS" 2015-06-16 19:50:06 +00:00