953 Commits

Author SHA1 Message Date
Christian Berendt
57093e8dfe Only use default values for MY_IP/MY_DEV in genenv if not set
This way it is possible to manually specify MY_IP/MY_DEV when running
the genenv script.

Closes-bug: #1475572

Change-Id: I291815a4ed1ea15adbddf94905706c77c8bb5a09
2015-07-17 10:14:19 +00:00
Swapnil Kulkarni
51b7915ae8 Updated directory structure to make it consistent
Closes-Bug: #1474774
Change-Id: Id61d777a8b741c800e0d034e3ee889c11bcf5fbc
2015-07-16 11:37:40 +00:00
Swapnil Kulkarni
5c8561b1d7 Change docker ADD file instruction to COPY
Change-Id: I51c042d5947a5f0b30eb8c680ac3a1d97ccc3459
Closes-Bug: #1475155
2015-07-16 09:28:18 +00:00
Jenkins
a973075ab4 Merge "Add build from source for Heat" 2015-07-16 07:19:35 +00:00
Jenkins
9f3d98dcec Merge "Move keepalived common files to common dir" 2015-07-16 06:24:18 +00:00
Steven Dake
9c5e708fe2 Add pid_mode to libvirt
Libvirt requires pid_mode to Host to operate on Fedora Hosts.  Further
we will need this for libvirt upgrade.  I am not entirely sure why
libvirt running with pid=host gets things working, but it definately
has something to do with CentOS's libvirt's integration with systemd.

Nailing down the problem, the interface to the Docker module accepts only
None or "host".  There is no way to generate a None type except with !!null
in yml, but this does not work in the jinja2 parser.  As a result, one
solution is this conditional.  A better long term solution would be for
the Docker module to take some other argument to indicate None that can
be expressed in a string.

Change-Id: I54eb87e8ce8679bbf12f671527280c73e195b2e4
Closes-Bug: #1473270
2015-07-15 13:24:35 -07:00
Paul Bourke
613cdfe946 Add new Nova requirement 'futurist' to base
Change-Id: I6d9e2ce757df6a7cc8be0605b57c3a16c55106fc
Closes-Bug: #1474851
2015-07-15 15:31:04 +00:00
Jenkins
a8fc011ca7 Merge "Install cachetools via pip in base image" 2015-07-15 12:24:11 +00:00
Jenkins
1699910851 Merge "Improve build.py" 2015-07-15 11:20:54 +00:00
Swapnil Kulkarni
c7e922125d Update executable permissions on scripts
Change-Id: I95ddd7d77d41d7239465a34abd9691abcdcfbb81
Closes-Bug: #1474233
2015-07-15 10:15:42 +00:00
Steven Dake
6437af47e7 Install cachetools via pip in base image
Another missing dependency in RDO.

Change-Id: I2e9afb6dc46fe5cf081e0ab50d039ad1a05246f0
Closes-Bug: #1474676
2015-07-14 23:02:01 -07:00
Jenkins
8bb49e9653 Merge "Ansible Nova w/ libvirt support" 2015-07-15 03:36:01 +00:00
Jenkins
cc9d7d2a40 Merge "Fix symlinks to config-{internal,external}.sh" 2015-07-15 03:26:26 +00:00
Jenkins
4a41193bbe Merge "Fixes login failure to Horizon dashboard" 2015-07-15 03:24:34 +00:00
Steven Dake
7606d589b4 Add build from source for Heat
Add build from source for Heat for the CentOS platform.

Change-Id: Ia69c5017873cff86aca05cfa5bf8be691a360210
Partially-implements: blueprint install-from-source
2015-07-14 18:45:54 -07:00
Martin André
9becd325cd Fix symlinks to config-{internal,external}.sh
Many of these were actually files containing the path to the real
script, instead of being symlinks.

config-{internal,external}.sh files in openvswitch/ovs-base were not
needed and were thus deleted.

Also update minimal-environment-vars.md after symlinks were fixed.

Change-Id: I11c3e735067b1feb83c3184c32333e598fbdf590
Closes-Bug: #1474227
2015-07-15 09:47:51 +09:00
Jenkins
c7ed1f8178 Merge "Update scripts to check if docker is usable for $USER" 2015-07-14 20:23:09 +00:00
Mark Duggan
a8cc61efcf Fixes login failure to Horizon dashboard
This is a temporary workaround to fix a Django error preventing
the Kolla Horizon login, while waiting for a fix upstream.
It is part of a patch created by Matthias Runge <mrunge@redhat.com>
https://review.openstack.org/gitweb?p=openstack%2Fdjango_openstack_auth.git;a=commitdiff;h=adfc494ec17ee43847d7c0c833dad9c178f29358

I've just used the patch for openstack_auth/user.py

Change-Id: I2c2ad0042f9c60a839d8ee9bca904465bee9361f
Closes-bug: #1469284
2015-07-14 16:08:19 +00:00
Sam Yaple
2a6437efdd Improve build.py
Fixed docker client to use ENV if exists to support boot2docker.

Fixed booleans not working as thought with argParser.

Change-Id: I232ed78443199ce20f4b38e12c861c0f97d55c99
Partially-Implements: blueprint build-script
2015-07-14 12:20:04 +00:00
Swapnil Kulkarni
1f0acbd0cd Update scripts to check if docker is usable for $USER
Added new script for checking user permissions on
docker command execution

Change-Id: I3b727590d9a29f416f5b847912b7250c555c2333
Closes-Bug: #1473554
2015-07-14 09:38:49 +00:00
Martin André
02bd133206 Move keepalived common files to common dir
While not a problem in itself, all common files should be moved to
docker/common/keepalived to be more consistent with other containers.

Change-Id: I6176bbf30bf42c58d4480e7bf48b1c4625eb9a15
Closes-Bug: #1474213
2015-07-14 14:42:18 +09:00
Sam Yaple
37ca7222bb fix possible symlink attack with ansible
The commands used to create a temporary file on the localhost were
vulnerable to a symlink attack. Removing the shell module and ensuring
the ansible copy and file module is used will verify this file exists as a
file with the correct permissions and ownership

Change-Id: I829483edf1435e41726ebfe1bc826e0c2e5265e3
Closes-Bug: 1471376
2015-07-14 02:51:54 +00:00
Steven Dake
bdfcd74cf2 Turn off oslo_conccurrency locking in volume driver
Since the volume driver is only accessed through one process, we
probably don't need concurrency locking.

Change-Id: I50f0cb4a7ef92a5fefe5fafb9f3ddadf0bf796b0
Closes-Bug: #1473535
2015-07-13 19:27:46 -07:00
David Peraza
ea6caeaac9 Adding tgt config to cinder-volume container
Adding LVM filters to lvm.conf and cinder volumes to tgtd.conf

Partial-Bug: 1473090
Change-Id: I9ef9f4d74ddafd7f4270023177c537cd6ed014cd
2015-07-13 18:53:41 -04:00
Jeff Peeler
2207f45d9d Disable ipv6 in gate
Saw the error below in gerrit logs:

"Failed to connect to 2610:28:3090:3001:5054:ff:feb9:6ae0: Network is
unreachable" when trying to access fedorapeople.org.

Change-Id: I96603948560bc7ea259235cf3b304b2e64ceb5ab
2015-07-13 13:56:35 -04:00
Jenkins
7c29bdd1af Merge "Add temporary Ansible keystone modules" 2015-07-13 17:16:37 +00:00
Jenkins
7192d6a2ab Merge "filter ansible/library from tox.ini" 2015-07-13 17:16:34 +00:00
Jenkins
2756663685 Merge "Add Keystone image for Ubuntu" 2015-07-13 17:16:04 +00:00
Jenkins
69338a94ba Merge "Remove requirement for root user in scripts" 2015-07-13 04:08:36 +00:00
Sam Yaple
7da0b2a80c Ansible Nova w/ libvirt support
Initial support for Nova in Ansible

Partially-Implements: blueprint ansible-service

Change-Id: I4b0a74bd3e5daa5664f5e1e622bfb40c3285949e
2015-07-12 12:44:14 +00:00
Jenkins
972cec6407 Merge "Fix Horizon config-internal.sh permissions" 2015-07-12 05:50:27 +00:00
Jenkins
9fe11b46fd Merge "Add RabbitMQ image for Ubuntu" 2015-07-12 03:34:22 +00:00
Jenkins
5bfe20f094 Merge "Add +x to Magnum's config-internal.sh scripts" 2015-07-12 03:31:38 +00:00
Jenkins
f41cde62a4 Merge "Fixes an issue with AIO and galera clusters" 2015-07-12 03:30:09 +00:00
Sam Yaple
05a6640a0f Add temporary Ansible keystone modules
Due to the licensing issues and the modules not existing in upstream
Ansible yet, I have written a simple module to fill the gaps.

This also uses Keystone v2.0 for all create of users, roles and
endpoints. The implementation of Keystone v3 must be discussed after the
new modules arrive.

Partially-Implements: blueprint ansible-service

Change-Id: I389edd56741360dd26fbbc0a982f365ca27ff446
2015-07-12 03:14:49 +00:00
Sam Yaple
2d61572e17 filter ansible/library from tox.ini
Change-Id: Ib063ce61fd262e77c42cb99c58983051be4c34b0
Closes-Bug: #1473697
2015-07-12 03:13:13 +00:00
Harm Weites
9ac3013862 Fix Horizon config-internal.sh permissions
Change-Id: I4296f75c5c28867df7d856aa076bc6b0a2f9baf9
Closes-bug: #1473672
2015-07-11 20:28:43 +02:00
Sam Yaple
8f194e50a0 Fixes an issue with AIO and galera clusters
AIO nodes had an address in the gcomm list which would prevent AIO
containers from starting appropriately.

Change-Id: I6db8c831ef9f9c0348748eb9539db326dc0df048
Closes-Bug: #1472481
2015-07-11 09:05:29 +00:00
Jenkins
4922d6056c Merge "Enable pep8 tests" 2015-07-10 23:55:11 +00:00
Jenkins
ceee4ea521 Merge "Add oslo.reports as a global dependency" 2015-07-10 21:24:35 +00:00
Jenkins
5175f41f18 Merge "Change permissions on cinder config-internal/external" 2015-07-10 21:24:29 +00:00
Borne Mace
160d163878 Enable pep8 tests
Change-Id: I476c335b60d3195a2381a91ad05d8f64f62190d0
Partially-Implements: blueprint enable-flake8
2015-07-10 14:13:47 -07:00
Jenkins
9b9923fa71 Merge "Fixed additional OpenStack pep8 issues" 2015-07-10 21:01:22 +00:00
Jenkins
61a5d91f5b Merge "Properly wait for Openstack services to be ready" 2015-07-10 20:47:01 +00:00
Swapnil Kulkarni
aff8e49af6 Remove requirement for root user in scripts
The following files had requirement for root user
which can be removed as long as as the the user
executing script is part of docker group

Scripts updated
tools/kolla
tools/cleanup-containers

Closes-Bug: #1473551
Change-Id: Ia4aea205f5da20fb1ded4f7a5d11eeebe5f40aa9
2015-07-10 20:33:18 +00:00
Borne Mace
fa63119f96 Fixes the last of the hacking based pep8 errors
Change-Id: I628c6cd493c112b00d8202725456c3fb863f5446
Partially-Implements: blueprint enable-flake8
2015-07-10 12:56:56 -07:00
Borne Mace
30a1988f0a Fixed additional OpenStack pep8 issues
The "hacking" package used in most OpenStack repos pulls in
additional pep8 rules.  This commit should fix all of them
other than a hand full in the build.py file which will
be fixed in a separate commit

Change-Id: I40a0a30d338592ad64123e3da5523b9ad95a7a9c
Partially-Implements: blueprint enable-flake8
2015-07-10 12:01:28 -07:00
Harm Weites
aef25bbaa8 Properly wait for Openstack services to be ready
Just checking for an account in keystone is pointless since nova and
neutron take way more time before they are fully operational. If the user
would continue as tools/kolla suggests, the init-runonce script would
fail because either nova or neutron would not be ready for service.

Change-Id: I8fbfaa16d961b418b9ac6a34d311adb8e41b61e9
Closes-bug: #1471331
2015-07-10 20:47:08 +02:00
Steven Dake
89176acbba Add oslo.reports as a global dependency
oslo.reports is needed by several services.  I suspect more services
will need this package as time passes.

Change-Id: I306d03bb9fb62e2aed16113c1b547257a398cd1d
Closes-Bug: #1473232
2015-07-10 11:42:24 -07:00
Steven Dake
1726116b74 Change permissions on cinder config-internal/external
Set to mode 0755 so the files can be executed inside the container.

Change-Id: Ifce46ca8350bb01d46ee29ca576b407c27068a82
Closes-Bug: #1473095
2015-07-10 11:42:24 -07:00