706 Commits

Author SHA1 Message Date
Bob Ball
f3b49e23b0 XenAPI: Add another plugin directory
Buildroot on 64-bit systems may use /usr/lib64 to store the XAPI plugins
Add this as an option to search for.

The list is getting of acceptable paths is getting longer but some work is going
on in XAPI to allow us to query for this path, which will mean we can get
rid of this list in future.

Change-Id: I79aafb6a86032c7ab04937c9e9bec08661ecdefa
2014-12-09 17:37:03 +00:00
Jenkins
e7c144649a Merge "Fix tools upload_image.sh utility" 2014-12-09 17:14:55 +00:00
Jenkins
5853160c6e Merge "Simplify docs build" 2014-12-09 05:12:16 +00:00
Gary Kotton
ffc1f8d426 Fix tools upload_image.sh utility
The utility would fail due to the fact that the GLANCE_SERVICE_PROTOCOL
was not set.

Change-Id: Iff0b59274fa909895abd70c3a6d1da63dbd70483
Closes-bug: #1396567
2014-12-04 04:59:26 -08:00
Jenkins
9b4b2913f9 Merge "Log early boot of Ironic VMs to serial with sgabios" 2014-11-18 15:21:36 +00: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
Dean Troyer
b3fdb1c935 Simplify docs build
Remove unnecessary old code from tools/build_docs.sh; it now only builds
docs for the current branch in the current working directory.

Fix the merging if the git log changes into changes.html.

Change-Id: I965dc3383b6317807ca0d47fe42648a19e96b57b
2014-11-17 12:45:12 -06:00
Monty Taylor
0eed532ce3 Remove nose things
We don't use nose anywhere in anything related to devstack. The only
legitimate OpenStack things that are still nose are horizon and swift
unittests, and it turns out we don't really run those in devstack.

Change-Id: I215e0f3664f269e0e1b8f5d5f9c70553dededddd
2014-11-17 11:10:16 +11:00
Jenkins
1827b48766 Merge "Only sysctl reserverd ports when available." 2014-11-03 15:49:22 +00:00
Chmouel Boudjnah
8fceb49820 Only sysctl reserverd ports when available.
Only set the keystone reserved ports when available, on some system
(like when running under containers) where this sysfs interface is not
exposed we are almost pretty sure these ports would be exclusive for our
devstack.

Change-Id: I06d7d227ae94d564c91c16119e4bbbcc6564a280
2014-10-31 13:57:02 +01:00
Jenkins
0f765ff21a Merge "XenAPI: workaround for unsupp. associative arrays" 2014-10-31 11:23:36 +00:00
Jenkins
b95c4e65ec Merge "XenAPI: Remove non-used functions" 2014-10-31 11:23:33 +00:00
Jenkins
ca6156bc03 Merge "XenAPI: move Neutron plugin install to domU" 2014-10-31 11:23:29 +00:00
Jenkins
918f68b8bd Merge "XenAPI: Always update proxy settings" 2014-10-31 10:30:42 +00:00
Mate Lakat
518fb760d3 XenAPI: workaround for unsupp. associative arrays
Dom0's bash does not support associative arrays, however we source
`functions` and therefore our scripts fail. This change breaks the
dependency of dom0 tools on domU functions.

Fixes bug: 1379804

Change-Id: I229e2d5f07070a9236ec612d4032c94c4361a9f6
2014-10-29 18:10:43 +01:00
Mate Lakat
dec5ca0f20 XenAPI: Remove non-used functions
Remove the no-longer used functions that were used to download plugins
to dom0.

Change-Id: I8dfd476781b683a8378efdae45d3cb1b46e7063c
2014-10-29 17:31:45 +01:00
Mate Lakat
6df648920c XenAPI: move Neutron plugin install to domU
Use the same mechanism as used for nova plugin installation, thus
avoiding the need for variables in dom0. This change will also help to
move XenServer CI to neutron in the future, as the dom0 part of the
script is not executed there.

With this change, the neutron related network will always be created and
attached even if the user wants to use nova-network.

Change-Id: I8669c94e9f0aacce2990469dbabde1ff702a2769
2014-10-29 17:31:26 +01:00
Jenkins
da61a1f711 Merge "Remove internal bash8" 2014-10-22 18:14:58 +00:00
Jenkins
167dd5fd69 Merge "Move generation of baremetal VM names to lib/ironic" 2014-10-22 01:45:36 +00:00
Dean Troyer
50e9b9e25b Remove internal bash8
We use the one installed from pypi in the tox venv, so dump
the original.  Fix up run_tests.sh.

Change-Id: I6b0aa1da9bfa4d742a7210e6ff800d72492a2178
2014-10-21 08:30:25 -05:00
Adam Gandelman
22ec45e63a Move generation of baremetal VM names to lib/ironic
The create-nodes script currently receives a total # of VMs to create
and creates them all, generating their names on the fly.  This moves
that name generation to lib/ironic and makes the script create only
single VMs as directed.  This centralizes the naming of things to
lib/ironic and will make it easier to reference these things elsewhere.

Change-Id: I98e61f7188e027e690303e32aff7cd2347f6d2c2
2014-10-20 13:42:39 -07:00
Mate Lakat
e35785d910 XenAPI: Always update proxy settings
If a user wants to re-use an xva just with different proxy settings, he
can now do it, as this change will always update /etc/apt/apt.conf to
reflect the settings in the user's localrc.

Change-Id: I8a6e9c88304bc887ea8269d946e89a5ba258b126
2014-10-17 13:21:18 +02:00
Jenkins
fa893dbb49 Merge "XenAPI: Always update apt sources" 2014-10-17 11:02:42 +00:00
Jenkins
664830a16f Merge "XenAPI: Add exit point after JEOS installation" 2014-10-16 16:36:40 +00:00
Mate Lakat
fff07e864e XenAPI: Always update apt sources
If an appliance is used as a base OS, the user might want to use that in
a different region. With this change we always update the used mirrors
in the template.

Change-Id: I7a119664efac1124e54064311c243c63c2a7944b
2014-10-15 19:40:00 +02:00
Mate Lakat
a1707c7ef0 XenAPI: Fix vimrc
DevStack installs a default minimal .vimrc file for the stack user.
Unfortunately the `syntax on` config line is not recognised by the vim
installed in DomU. It results in an annoying message being displayed
whenever the user is using vi. To avoid this issue, removing the `syntax
on` line.

Change-Id: I224465cc3cdba3464ea0a9a751f250ecb6ddc9f3
2014-10-15 19:38:01 +02:00
Mate Lakat
2a324dd2ec XenAPI: Add exit point after JEOS installation
If the user only want to run the installation of Ubuntu - to export the
template as an xva, it just needs to specify a non-empty value for:

EXIT_AFTER_JEOS_INSTALLATION

And the script will exit after the jeos template has been created.

Change-Id: I558e2f2b18ee23c15c7e46e2f7e74543cf26b750
2014-10-15 19:37:28 +02:00
Monty Taylor
0cbddea50d Move the doc paths to match other repos
In order to build in the Infra system, we'd like to be able to reuse the
existing doc build macros. To support that, move docs/source to
doc/source and docs/html to doc/build/html.

Change-Id: Ibd8e8e82e54c69b182120df67e6ec6908fed2908
2014-10-14 12:13:07 -04:00
JordanP
7c6d005eed Fix account rc files creation for Swift users
Id02ebdfa5cb3f6c763293876c6bb031184ebd663 introduced a small
regression which makes the command x509-create-cert fail with
'ERROR (CommandError): Invalid OpenStack Nova credentials.' for
Swift users.

The handling of specific password for Swift users was introduced
in Ifb57a43aad439ffe041e98465719a8a8eceae544

Change-Id: I3f328b1358bad0bdf7056796eabfe846dd5bae3a
2014-10-09 09:58:51 +02:00
Jenkins
e5dbec252a Merge "Fix docs build errors" 2014-10-08 22:14:51 +00:00
Davanum Srinivas
690e3c2574 Fix Typos found with misspell
git ls-files | grep -v locale | misspellings -f -

Change-Id: I0dc56ba64ae4bdc681ccf4a1d2d23238f541650d
2014-10-05 20:06:33 -04:00
Dean Troyer
3324f19f5a Fix docs build errors
Fix shocco errors during docs generation

Closes-Bug: 1362691
Change-Id: I2b7fb008c89f0b4e7280b2d0a054320765e83e47
2014-10-02 15:30:50 -05:00
Jenkins
aaee3dc777 Merge "Allow heat standalone to work devstack stack" 2014-10-02 02:40:18 +00:00
Jenkins
8e087fa83b Merge "XenAPI: Upgrade built-VM to Trusty" 2014-09-30 07:08:48 +00:00
Bob Ball
3cd1771408 XenAPI: Upgrade built-VM to Trusty
If you're not using an XVA then the built-VM was previously Saucy, which is
not supported by openstack any more.

Change-Id: I1040d9e43d517582e76f2e1df787986b5ffbc42c
2014-09-29 12:55:10 +01:00
Jenkins
114dc2adbf Merge "XenAPI: Fix race condition waiting for VM to start" 2014-09-29 10:28:57 +00:00
Bob Ball
0be63f3979 XenAPI: stackrc now depends on nproc
Install it automatically in the devstack DomU

Change-Id: Ie282dd128ebc92377d85800585962bc8767483fe
2014-09-23 11:24:04 +01:00
Steve Baker
e389aed5bd Allow heat standalone to work devstack stack
For functional testing of heat-standalone it is desirable for
heat to orchestrate on the rest of the cloud which is brought up
by devstack. This change makes the following changes to enable
this when HEAT_STANDALONE=True:

- Don't register the orchestration endpoint or create any dedicated
  heat accounts
- Install and configure the heat keystone V2 auth plugin instead of
  the default v3
- set heat.conf [clients_heat] url so that heat can call its own
  API when no orchestration endpoint is registered
- Modify create_userrc.sh to set the required heat client env
  variables to work with the standalone heat

Change-Id: Idae33bf1a9d550e2575e6390d2d7c8d3b94c401d
2014-09-23 17:18:04 +12:00
Bob Ball
6a95b605bc XenAPI: Fix race condition waiting for VM to start
Buildroot on Ubuntu Trusty is slow to populate the vnc-port.
Wait for 20 seconds until the port is populated.

Change-Id: I50e5b5a161207d46e8ce0e304d816e8e5b68dbe8
2014-09-17 12:39:50 +01:00
Ian Wienand
62cae13d7e Fix tools/xen/functions for bashate errors
Change I205d675ff231c0403dd135eacc8d57b45317859f modified the matching
for bashate and it has started running on this file, whereas before it
wasn't.  This fixes the errors it is now picking up.

Change-Id: I7876b5c94d90f15e3b0228999c0750bfbebcaa1c
2014-09-04 21:50:06 +10:00
Jenkins
b0f7271298 Merge "remove tools/jenkins" 2014-08-29 01:36:54 +00:00
Dean Troyer
85ebb3a868 Remove firewalld on Fedora 20 by default
firewalld interacts badly with the libvirt on f20, causing slow-downs
so great that it can timeout the gate.

Developers who want to leave it enabled should set FORCE_FIREWALLD=True

Change-Id: I5252a12223a35f7fb7a4ac3c58aa4a3cd1bc4799
2014-08-19 11:18:15 -05:00
Dean Troyer
04a351133a Source fixup_stuff...
...so it can pick up config variables from local.conf

Change-Id: I0991f59881f16c72789e3b0342c26a2419ba0878
2014-08-15 14:03:55 -05:00
Sean Dague
34bd2313f8 remove tools/jenkins
The last non bashate change in this directory was from 2012, which
means I assume nothing down here is useful any more as this is largely
the precursor to devstack-gate.

Remove it for cleanliness reasons and to not confuse people setting
up 3rd party ci.

Change-Id: I54f06c2ff5a49a9f811df07a7cdfda4a675953c8
2014-08-05 17:37:36 -04:00
Sean Dague
01796fad29 remove kernel override ability
This was landed to try to address an issue with netns vs nbd during
icehouse development. It never really got us anywhere, and is now
just cruft.

Change-Id: Ie498fae8d1f796c1fc83459c65d0de948d1d50ce
2014-08-05 17:37:36 -04:00
Jenkins
d127ce38a6 Merge "Remove unused tools" 2014-08-04 15:26:51 +00:00
Jenkins
363e15bb94 Merge "Workaround for overwriting setuptools on RHEL" 2014-08-04 13:57:51 +00:00
Jenkins
dd39fc36f7 Merge "XenAPI: Fix declare definition" 2014-08-01 16:47:35 +00:00
Dean Troyer
4a3d590fd9 Remove unused tools
Remove old tools for building ramdisk images and the original
PXE boot environment.

Change-Id: I81dcc823387c610d3090e5397ed5e42244d6dc3d
2014-07-31 13:29:38 -05:00
Jenkins
54650ce137 Merge "Support of an alternate pypi server" 2014-07-31 06:09:10 +00:00