945 Commits

Author SHA1 Message Date
Steven Dake
4008ca8619 Start tgtd in cinder-volume container
The tgtd process was not being started in the cinder-volume container.
This results in iSCSI not being avialable for Cinder to operate
against.  Unfortunately cinder doesn't report the problem because LVM
is responsible for the iSCSI mapping.

Co-Authored-By: Ryan Hallisey <rhallise@redhat.com>

Closes-Bug: 1473090
Closes-Bug: 1469323
Change-Id: Ie3403c5c3f81beb48960e838b4274e0c5796e387
2015-07-15 10:35:31 -04: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
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
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
Jenkins
0953f57d6a Merge "Fix the delorean repo url" 2015-07-10 18:20:23 +00:00
Harm Weites
ea14f22866 Add +x to Magnum's config-internal.sh scripts
Change-Id: Ie58fa5474d63d4cabfd1cdcda7781da364fae5cc
Closes-bug: #1473522
2015-07-10 20:03:23 +02:00
Harm Weites
bd1e41a767 Install ebtables in neutron-linuxbridge
Otherwise it complains about missing the ebtables binary.

Change-Id: I6bc0c0b1bacdf4a75929424ad9f11f6982e62c87
Closes-bug: #1473500
2015-07-10 19:56:24 +02:00
Harm Weites
b6243c5c0f Fix the delorean repo url
Change-Id: I05728f6470f6ab91db59d6f9018ecac0c0ad8017
Closes-bug: #1473513
2015-07-10 19:23:10 +02:00
Borne Mace
5a758fc6d1 Fixed all remaining pep8 failures in the codebase
Change-Id: I0de312a587ecd83158da4c7e05ca6495c7a981a8
Partially-Implements: blueprint enable-flake8
2015-07-10 09:19:32 -07:00
Jenkins
adc8bc11df Merge "Add source keystone image for oraclelinux" 2015-07-10 08:04:57 +00:00
Jenkins
5179042a44 Merge "Add config-internal/config-external for barbican" 2015-07-09 22:46:00 +00:00
Jenkins
667aed114f Merge "Add config-internal/config-external to Magnum containers" 2015-07-09 22:45:12 +00:00