784 Commits

Author SHA1 Message Date
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
Ian Wienand
8fdb42fc0b Workaround for overwriting setuptools on RHEL
This old setuptools egg-info file causes havoc and really weird pip
install errors.  I think possibly not everyone has the
python-setuptools package installed, so it may only appear in some
situations.

Change-Id: I7ef0fa35c650e323a8945ed7c5c7754ca62a0ca5
2014-07-30 22:04:15 +10:00
Bob Ball
5fb83a0a33 XenAPI: Fix declare definition
Some versions of bash do not initialise a variable with declare -a
therefore with set -u bash can terminate the script.

Be more verbose in declaring the array if it is not set

Change-Id: I6ec2b6e986aeffe539a2ab93432fa7af9e5a4f5d
2014-07-29 13:40:57 +01:00
Jenkins
2ebcd3817f Merge "XenAPI: Use GUEST_PASSWORD when installing DomU" 2014-07-22 00:42:47 +00:00
Bob Ball
d6b43a09c4 XenAPI: Fix race condition on tailing stack.log
Stack.log is created by stack.sh, which is started by run.sh.  Using
the pid from run.sh doesn't mean that stack.log has been created yet
so wait for the log to be created before tailing

Change-Id: I86e563478949cb7bbe0d1afd80b790ba70328e3a
2014-07-15 17:45:47 +01:00
Bob Ball
105eaee2c0 XenAPI: Use GUEST_PASSWORD when installing DomU
We know what the GUEST_PASSWORD will be, so set it during DomU
installation; therefore if the installation fails for any reason
we have a correct GUEST_PASSWORD set rather than the obscure and
undocumented 'r00tme'

Change-Id: I684646a74f2cede43667a40556e247955e042ae4
2014-07-14 15:21:07 +01:00
Dean Troyer
926c99d072 Generate recent changes list from git log
The list of recent commits to the DevStack repo is now generated
by tools/build_docs.sh from the last 6 month of the git log.

Change-Id: Idefdb5d5188ab7e743af131e3d6cb132382d25d4
2014-07-03 15:57:38 -05:00
Sean Dague
fafb62b93e fix trove image addition
the previous addition to trove was done in a way that it was not
possible to discover from nodepool. This fixes our ability to do
that, especially with non-default on services.

Change-Id: I8ca682354e0d4e2eb9cf05f40c6dd783de1c6355
2014-06-30 16:49:30 -04:00
Jenkins
0b8b18d840 Merge "XenAPI: Tail output from stack.sh" 2014-06-24 18:00:30 +00:00
Jenkins
690fd92096 Merge "Handle failure of openstack endpoint" 2014-06-24 17:54:18 +00:00
Bob Ball
dc7ebbb9a4 XenAPI: Tail output from stack.sh
While installing devstack in XenServer's DomU we can easily
track the output so end-users have much more visibility of
both what is going on and what (if anything!) went wrong.

Change-Id: I7d12a13cea9dffda6c1388ce711b6adf76cae72c
2014-06-24 14:37:36 +01:00
Bob Ball
8230296ec3 Use curl to download from github.com
Github recently removed some sslv3 ciphers - wget seems to only
enable a subset of the ciphers available so fails now, but curl
continues to succeed.

Use --no-sessionid to work around
https://bugzilla.redhat.com/show_bug.cgi?id=1098711

Change-Id: Ia110bd2d0a222e438189c10a9c1a236bd7ea3d0e
2014-06-24 11:36:47 +01:00
Ian Wienand
bcdce9ea12 Handle failure of openstack endpoint
Change 4f7bf6963a1e9ae03bc0ae9189874cba561ad62f introduced finding the
endpoint via "openstack endpoint show" only.  Previously that output
was piped through grep, etc. so it handled fell back to a blank
output when the endpoints were not available.

Ignore failures of this command so the blank output is matched

Change-Id: Iae2f09784ffa38efd2f858513bf284c84c32edac
2014-06-24 15:06:02 +10:00
Franck Yelles
683ff42d3c Support of an alternate pypi server
Currently pip will get the package from the https://pypi.python.org server.
For CI, it's a problem as Internet connection can be down,
the pypi server down, etc...

The usecase is for a company/user that maintain a local pypi mirror
and give the option to use this server instead of the official one

Change-Id: I83aac4646cb78827a92c9636d78238f8a6118642
Implements: blueprint support-local-pypi-server
2014-06-23 15:19:46 -07:00
Jenkins
d4f3ab9c1f Merge "Move static docs into master branch" 2014-06-23 13:42:55 +00:00
Jenkins
4adc16f7e4 Merge "add worlddump tool to devstack" 2014-06-22 17:40:15 +00:00
Sean Dague
97fcc7b27b add worlddump tool to devstack
when we exit poorly, start building a tool for doing a capture
as to why. This tool is expected to be consumed directly from
grenade as well.

Change-Id: Ia1bc1c2e259587035ca7252baceec25fa464cb82
2014-06-22 11:37:51 -04:00
Dean Troyer
54b9732339 Move static docs into master branch
The hand-maintained static HTML docs for DevStack have been in a
GitHub gh-pages branch; move them into the master branch in
preparation for hosting them in openstack.org infrastructure.

By default tools/build_docs.sh now builds the static HTML output
into docs/html.

Change-Id: Ide5f7d980a294c7a9f8a3decaed0939f1c239934
2014-06-20 18:04:55 -05:00
Jenkins
4fbb8137af Merge "Reserve Keystone ports from the ephemeral range" 2014-06-17 01:24:47 +00:00
Jenkins
3723814bf2 Merge "convert devstack from awk to outfilter" 2014-06-16 14:24:06 +00:00
Sean Dague
62cb563ddc convert devstack from awk to outfilter
The complexity of the awk script was pretty high, and it would
be good to do it in summaries as well, which starts to get a bit
squirelly. Instead bring over the outfilter.py from grenade and
use it for the timestamping.

Any additional overhead from python should be offset from not
shelling out to date on every line of output.

Change-Id: Ic2b86ddba3e7f6520a0fd35599b01143936c6deb
2014-06-16 07:03:23 -04:00
Morgan Fainberg
6cae83efd7 Reserve Keystone ports from the ephemeral range
Reserve Keystone ports from the ephemeral range as early as reasonably
possible in the fixup_stuff.sh process to reduce the likelihood that the
port will be in use. This does not completely resolve the issue
where Keystone's IANA assigned port falls into Linux's ephemeral
range, but this should reduce the occurrences. The default ports
are 35357 and 35358.

Change-Id: I8cfb53d8f90c1ff1fb1083c59fefabca3d14323b
Partial-Bug: #1253482
2014-06-13 21:33:52 +00:00
Attila Fazekas
d7967a4879 selinux permissive on Fedora
The f20 gate job is failing on hpcloud images
(official F20 cloud image), with enforcing selinux.

Setting selinux to permissive on all Fedoras.

Currently selinux policies are violated, when
 - horizon/httpd tries to access a files without
httpd_t friendly security label.
 - horizon/httpd_t tries to connect to openstack
   service port, without an allowing policy.
 - swift tryes rsync content without an authorized
   security label and without rsync_full_access sebool.
 - ..

In permissive mode you will be able to track,
the missing policies and labels by checking
the /var/log/auidit/audit.log*

The enforcing mode might be turned on in the future,
when all label and policy configured correctly.

Change-Id: I6dad705dd11b9eb5f01ce67814f05d294b3979a5
2014-06-12 11:41:54 +02:00