784 Commits

Author SHA1 Message Date
Jenkins
c3fd0b5298 Merge "make get-pip.py download failures more clear" 2014-06-10 15:16:04 +00:00
Mathieu Gagné
76ed427ca1 Update setuptools to latest for .dist-info support
Support for .dist-info directories was added in setuptools 0.6.28.

At this moment, Ubuntu Precise 12.04 provides setuptools 0.6.24
which is too old for our needs.

Six is installed from wheel which uses the .dist-info directory.
For six to be found, we need to install setuptools >= 0.6.28.

Updating setuptools to the latest version using pip will provide use
the needed version to make six discoverable.

Closes-bug: #1326811
Change-Id: I761d0aeb2b8b593cee38d512afc8fed6a2d1fe37
2014-06-05 18:11:16 -04:00
Sean Dague
f625ffe24f make get-pip.py download failures more clear
curl dying ends up being a really unclear failure condition, and
hard to fingerprint in the gate. We should make this much more
explicit when we die.

Also, don't trust the upstream filename, because all the rest of
our logic would break if it changes anyway.

Change-Id: Ibc2a96b33471d24c597af0d7af896fb10523156f
2014-06-05 14:01:56 +00:00
Sean Dague
7b63c5ec9e be opinionated: only use get-pip.py
get-pip.py is now on a CDN, and is the prefered way to get pip.

Remove the default path of using pip tarballs from pypi and use
get-pip.py on from here on.

Closes-Bug: #1326539

Change-Id: I0661f7c6913ba6b3e1d00b30e22740d150bfd060
2014-06-04 22:53:25 +00:00
ftersin
4f7bf6963a Fix getting EC2 and S3 urls in create_userrc
Invalid parsing of openstackclient output was introduced in
I03c17cfc9740c3eb257152c95d9c4f021db2c89e. Here command lines
was changed to get urls with no parsing.

Also default EC2_URL was fixed.

Change-Id: Ic46a9989321cf6310c56edeeb737c603a4f9c1ed
2014-05-21 22:09:46 +04:00
Jenkins
d65f7a2858 Merge "Upgrade to cirros 0.3.2" 2014-05-19 19:20:00 +00:00
Jenkins
9c2962a255 Merge "XenAPI: Fix final script to include functions" 2014-05-19 18:38:48 +00:00
Bob Ball
d06d4550de XenAPI: Fix final script to include functions
Generally a ubuntu template is supplied - but in the case
where it is not, we need to source functions before sourcing
stackrc (Through xenrc)

Change-Id: I8325cf1c6f83946b7798e6d1bb8278e86831d3c4
2014-05-15 21:12:50 +01:00
Jenkins
ceda7cfe65 Merge "Update create_userrc to openstackclient commands" 2014-05-08 05:34:27 +00:00
Jenkins
6445bd6c15 Merge "Force TFTP to listen on IPv4 endpoint" 2014-05-06 11:49:19 +00:00
Attila Fazekas
522cfe0951 tempest py26 setup
Simplifying the steps between devstack install and tempest run, by
 * installing tox<1.7, bacuse 1.7 is not compatible with our tox.ini
 * installing and patching 'discover' when the python version is 2.6

Change-Id: I8008837d2fae6cebeeeb051b63066279ca477e01
2014-05-05 07:36:49 +02:00
Dmitry Tantsur
8c0bd9fe46 Force TFTP to listen on IPv4 endpoint
On Fedora with the default configuration TFTP will listen only
on IPv6 endpoint, making imporrible for a node to reach TFTP.
This patch forces TFTP to listen on IPv4 endpoint by modifying
Xinet.d template.

Change-Id: I1ed315fae38816c8e0c2a736261d1c3736f437ff
2014-05-02 13:03:25 +02:00
Jenkins
a6c21928d2 Merge "Enable console logging for Ironic baremetal VMs" 2014-05-02 10:08:08 +00:00
Sean Dague
b623860c37 add Fedora x86_64 image for nodepool
Change-Id: I54fdc81e2a233fdcf90534aff6be7984e28f6133
2014-04-17 21:56:53 -04:00
Steve Martinelli
bce8899cde Update create_userrc to openstackclient commands
Updated keystoneclient commands in tools/create_userrc.sh
to their openstackclient equivalents.

Change-Id: I03c17cfc9740c3eb257152c95d9c4f021db2c89e
2014-04-16 00:32:53 -05:00
Adam Gandelman
8af6faed81 Enable console logging for Ironic baremetal VMs
Logs console output of VMs created for use by Ironic to
$DATA_DIR/ironic/logs. This gives Jenkins something to archive
that will be useful for debugging any deployment ramdisk issue
blocking provisioning.

Change-Id: I7d234a6a13dbe8579f685e46d7712dae497272a5
2014-04-11 18:14:16 -07:00
Jenkins
9d88ee8057 Merge "Edit docs to include git.openstack.org url" 2014-04-04 03:51:33 +00:00
Sean Dague
0936e67f54 add an image_list tool
this is an interface from devstack to provide a more robust
listing of the possible image urls that we might ask for during
a devstack run. This allows tools like nodepool, or 3rd party CI
systems to precache all this content in advance.

Change-Id: I7474f553ecf28e51a2340bef5bcefa962dbadc24
2014-04-03 14:48:48 -04:00
Sphoorti Joglekar
ce365ce1cc Edit docs to include git.openstack.org url
This patch proposes a change to clone the devstack repository from
git://git.openstack.org rather than https://github.com since git urls
are faster than https and put less loads on the server.

Change-Id: I7fe6a0f81be812dacfef575caa1cf0ae800f9a29
2014-04-02 18:35:21 +05:30
Sean Dague
33ff33b1fb cache the pip tarball
there is no need to download the pip tarball over and over again
on rerun. Use the cached value.

Change-Id: Ibcc1807ba2aca062f69839212f05ac9394db9448
2014-03-28 15:14:56 -04:00
Jenkins
27599b1b17 Merge "Set VIRSH_DEFAULT_CONNECT_URI in Ironic scripts" 2014-03-21 14:54:12 +00:00
Jenkins
32dcd52f76 Merge "Remove blank space after print" 2014-03-21 14:54:09 +00:00
Attila Fazekas
2d4c8da803 Upgrade to cirros 0.3.2
Cirros 0.3.2 is fixing the host name setting issue, which
is required for turning on the tempest instance validation tests.

Change-Id: I1b87740ab02c4eb0a8df653a35e1f85d40abda51
Related-Bug: #1132686
2014-03-20 23:12:58 +01:00
Adam Gandelman
bd93f02850 Set VIRSH_DEFAULT_CONNECT_URI in Ironic scripts
Ironic setup scripts that interface with virsh should default to always
connecting to the 'qemu:///system' URI.  Adds LIBVIRT_CONNECT_URI that
ends up exported as VIRSH_DEFAULT_CONNECT_URI in scripts that require
it.

Change-Id: Ib660bd51a8c7bfe96e14aab4b6d3a6e83a5a4220
2014-03-17 16:31:49 -07:00
Alexander Gordeev
06fb29c661 Integration testing preparation for Ironic
Add ability to create/register qemu vms for Ironic testing purposes

Implements bp:deprecate-baremetal-driver

Change-Id: If452438fcc0ff562531b33a36cd189b235654b48
2014-03-14 13:44:00 -07:00
Sean Dague
7d4c7e09b4 remove docker from devstack
with I1c9bea2fdeebc4199c4f7d8fca4580a6fb7fed5b nova removed
docker from it's driver tree.

We shouldn't have driver support inside of devstack that's not
part of upstream projects (this has been a line we've been
pretty clear on with Neutron drivers in the past).

Remove docker driver accordingly.

Change-Id: Ib91d415ea1616d99a5c5e7bc3b9015392fda5847
2014-03-12 08:05:08 -04:00
Joe Gordon
bb1e07859c Don't install vim or locate by default
Devstack doesn't need vim or locate, if someone wants to use them, they
can just install them afterwards.

Change-Id: I00f27c20c86d89465e4aefc67ed645a309c09a03
2014-03-07 12:47:06 -08:00
zhang-jinnan
8829acaf14 Remove blank space after print
Keep code clean and pleasure:)

Change-Id: Ie0c0781eaeb57b32a9a6185a59353fc4b911afd6
2014-03-04 09:58:32 +08:00
Masayuki Igawa
46c688c1ae Fix pep8 errors
This commit fixes pep8 errors.

Change-Id: Ia1f1d61081a86b8a58251918392171cbc60f5ab8
2014-03-02 08:55:14 +09:00
Ian Wienand
aee18c749b Enforce function declaration format in bash8
Check that function calls look like ^function foo {$ in bash8, and fix
all existing failures of that check.  Add a note to HACKING.rst

Change-Id: Ic19eecb39e0b20273d1bcd551a42fe400d54e938
2014-02-28 07:59:03 +11:00
Jenkins
415893fadd Merge "Add end-of-file checks to bash8" 2014-02-27 04:36:59 +00:00
Jenkins
1c10bb3737 Merge "Move enablement of rhel6-optional repo earlier" 2014-02-26 19:04:11 +00:00
Jenkins
339ec17731 Merge "remove sysstat & pidstat" 2014-02-26 02:38:30 +00:00
Ian Wienand
3e37326a35 Move enablement of rhel6-optional repo earlier
Change 4f1fee6eae300a3384900df06ebc857e95854eb0 added the RHEL6
optional repo in fixup_stuff.sh, but it turns out that doesn't get run
until after the package prerequisites phase.  Move this into stack.sh
with the RDO repo setup.

Change-Id: Iae0df85fa94c6c1b6f497dd29fda90d03b903a41
2014-02-26 13:34:18 +11:00
Jenkins
e26b7bb415 Merge "Fix missing libffi-devel for python-glanceclient" 2014-02-25 23:32:36 +00:00
Ian Wienand
b8e250232e Add end-of-file checks to bash8
Add two end-of-file checks to bash8.  Firstly, alert if heredoc hasn't
finished.  Some heredocs were done like:

---
sudo bash -c "cat <<EOF > foo
...
EOF"
---

(A better way to do this is "cat <<EOF | sudo tee ..." as it retains
the usual heredoc layout in the code).

The trailing quote was throwing the matching in bash8 off and it kept
appending the next file as if it was still part of the heredoc.  To
avoid this, we check if we're still in a heredoc when we start a new
file; if so raise an error and reset the heredoc status fresh.  We
track the state of the previous file, line and lineno so we can give a
good error.

---
E012: heredoc did not end before EOF: 'cat <<EOF'
 - lib/trove: L221
---

This includes fixes for the existing problem heredocs.

A similar EOF check is to ensure the previous file ended with a
newline.

---
E004: file did not end with a newline: '$MY_XTRACE'
 - lib/neutron_plugins/embrane: L40
---

This requires only one fix

Change-Id: I5e547d87b3921fc7ce6588c28f074e5c9f489c1f
2014-02-26 09:31:15 +11:00
Sean Dague
78096b5073 remove sysstat & pidstat
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
2014-02-25 10:30:31 -05:00
Jenkins
5d3e151aa3 Merge "Perform safety checks in create-stack-user.sh" 2014-02-25 02:51:45 +00:00
Jenkins
512da6e513 Merge "make bash8 take a -v flag" 2014-02-24 23:58:18 +00:00
Ian Wienand
4f1fee6eae Fix missing libffi-devel for python-glanceclient
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
2014-02-25 08:21:22 +11:00
Jim Rollenhagen
010959de40 Perform safety checks in create-stack-user.sh
This adds some safety checks to the stack user creation script.

This includes:
- Using set -o errexit to exit early on errors
- Make sure STACK_USER is set before doing anything with it

Change-Id: If027daddd03e32c5ba3c2ebb05ad5b27d2868b0a
2014-02-23 18:27:22 -08:00
Jenkins
e5bb257714 Merge "Remove unnecessary comment out lines" 2014-02-24 02:18:22 +00:00
Sean Dague
b93ee25b64 make bash8 take a -v flag
this ensures that we actually know we are processing all the files
we believe we are.

Change-Id: I8e99b5f9dc987c946586475f374f7040ca63a478
2014-02-23 20:41:07 -05:00
Jenkins
92558b8f5e Merge "Fix shocco errors" 2014-02-22 05:06:55 +00:00
Masayuki Igawa
1958c1eb5e Remove unnecessary comment out lines
This commit removes some comment-outed codes. If we want to use them, we
can get them from the git repository.

Change-Id: Ie438c43d332d0631750f0ad458653fc40e23faad
2014-02-20 14:35:44 +09:00
Jenkins
3ccd768db0 Merge "Rename Openstack to OpenStack" 2014-02-18 07:43:37 +00:00
Dean Troyer
d8864feae9 Fix shocco errors
Clean up comments to fix errors seen while processing with shocco

Change-Id: I0e97ad27613313f03e47c107051ea93b115d4744
2014-02-17 11:18:12 -06:00
Jenkins
20047053be Merge "Move install responsibilities to domU" 2014-02-15 02:17:20 +00:00
John Eckersberg
22dece0d96 Add Fedora support to install_docker.sh
On Fedora, just install the docker-io package as supplied in the
Fedora repository.

Change-Id: Iea74878d3e1c434863c188ea2253817384e56bf4
2014-02-13 16:26:28 -05:00
Jenkins
3fe7ad4709 Merge "Fix bug "Invalid OpenStack Nova credentials." on the gate" 2014-02-12 23:32:45 +00:00