2246 Commits

Author SHA1 Message Date
Jenkins
b647535e33 Merge "Get kolla path from settings when provisioning box" 2015-11-18 01:05:44 +00:00
Jenkins
48b27ebf8a Merge "Improve README with list of supported projects and components" 2015-11-18 00:55:15 +00:00
Jenkins
3e97fdf4d8 Merge "Drop root for Magnum" 2015-11-18 00:50:40 +00:00
Jenkins
e63c0458f5 Merge "Remove old config-external.sh scripts for magnum" 2015-11-18 00:48:10 +00:00
Jenkins
bfcbdc41f8 Merge "Use pip upper-constraints in magnum-base" 2015-11-17 22:20:35 +00:00
Jenkins
86b778c27f Merge "Fix keystone settings for Magnum" 2015-11-17 22:20:20 +00:00
David Moreau Simard
116f5bfc74 Improve README with list of supported projects and components
Change-Id: Ieb1b9bcdbb7db4732bd69ef4a2378cf4030680ba
2015-11-17 16:35:46 -05:00
Jenkins
cb96171ef8 Merge "Fix issues in Glance filesystem backend" 2015-11-17 19:36:03 +00:00
Paul Bourke
1a536124ad Drop root for Magnum
This change ensures commands run in the magnum containers are done as the
'magnum' user rather than root.

Change-Id: I18e2febae98aae6d6fc6c61cc2817442f408cb75
Partially-Implements: blueprint drop-root
2015-11-17 18:02:18 +00:00
Paul Bourke
9f6106c8f5 Remove old config-external.sh scripts for magnum
These are no longer used.

Trivial-Fix

Change-Id: Ia4dced3b8ac8512097f5cafbb1b06661c6f3eb88
2015-11-17 17:39:25 +00:00
Paul Bourke
1d0b8afa8b Use pip upper-constraints in magnum-base
Change-Id: Ibb5636d897c2b9177c54dfc13f6193e00107776b
Closes-Bug: #1517144
2015-11-17 17:13:15 +00:00
Paul Bourke
89a421fba1 Fix keystone settings for Magnum
It currently has auth_url typoed which results in auth_url being
specified twice

Change-Id: Ia5b6385f8d28a23fc05908ceec75a7e8528894d9
Closes-Bug: #1517141
2015-11-17 17:09:08 +00:00
Paul Bourke
988c4f23f1 Fix issues in Glance filesystem backend
The drop root change for Glance highlighted the fact that we were
binding volumes from glance_data into the wrong container - it was
glance_registry whereas it should be glance_api. This would result in
all images being lost if the glance_api container happens to restart.

Also, we need a sudoers file to chown the file backend dir to the glance
user.

Change-Id: If04337045bb94b3126e48d1f5bf0ea29e20373ae
Closes-Bug: #1516729
2015-11-17 09:42:39 +00:00
Angus Salkeld
2f1c00a467 Add support for loading kolla config from ENV
Implements: blueprint zookeeper

Change-Id: Ibabcb5d6d304be9290633338c513f16651d4479a
2015-11-17 07:51:32 +00:00
Jenkins
df0ef8ddb5 Merge "Spec: Deploy Kolla images using Mesos" 2015-11-17 05:53:38 +00:00
OpenStack Proposal Bot
c50a3f2932 Updated from global requirements
Change-Id: Ia36365b66019ca9f4a831f433381f2dca7acda1e
2015-11-17 02:35:20 +00:00
Michal Rostecki
eb0d0cdc9e Add Python 3.x support
Implements: blueprint python3

Change-Id: I1e02568907aa38dd0efcb428235004ce47d73af8
2015-11-16 20:36:47 +01:00
Jenkins
ac0442a880 Merge "Remove unused tox jobs" 2015-11-16 10:20:45 +00:00
Angus Salkeld
c019854a2b Spec: Deploy Kolla images using Mesos
Co-Authored-By: Georgy Okrokvertskhov <gokrokvertskhov@mirantis.com>
related blueprint mesos
Change-Id: I0bc2d9e69819079b8cdaf9a47c5363a3017dced9
2015-11-16 10:00:13 +10:00
Britt Houser
e9c47f3d64 Add usermod to Zaqar container
When we dropped root, we forgot the usermod.  Updated.

Change-Id: I72a452c9b3b6a9aac0a8edd073887a1b79c34e8e
2015-11-14 12:17:48 -05:00
Jenkins
fb06344aee Merge "drop root on memcached" 2015-11-14 17:11:23 +00:00
Britt Houser
66c15ce55e drop root on memcached
This patch add the USER directive to the memcached container.
It also removes the -u from the command line to launch
memcached, since it will already be run as that use.

Change-Id: I87d782a424df99fe1b5694debafa3c0c4a9aba27
Partially-Implements: blueprint drop-root
2015-11-14 11:38:30 -05:00
Jenkins
a27e1f895b Merge "Revert "Drop root for Horizon service"" 2015-11-13 22:06:20 +00:00
Jenkins
70ba1b0afb Merge "Updated from global requirements" 2015-11-13 22:02:46 +00:00
Jenkins
f54c5bee3a Merge "Drop root for Zaqar service" 2015-11-13 20:14:01 +00:00
Jenkins
4650d81341 Merge "Add ZooKeeper support in kolla-ansible" 2015-11-13 19:28:01 +00:00
Josh Lothian
63d5e9b552 Drop root for Zaqar service
Change-Id: I59797a8539406e478f6953a9aa0c933e73eb5892
Partially-Implements: blueprint drop-root
2015-11-13 13:20:36 -06:00
Michal Rostecki
1dfb791116 Add ZooKeeper support in kolla-ansible
In kolla-mesos, ZK will be used for storing information about
actions done in bootstrap.

Change-Id: Id7067a493b457cf7b73eb007852df7b13f4363b3
Partially-Implements: blueprint zookeeper
2015-11-13 19:39:07 +01:00
OpenStack Proposal Bot
6ebfd525f6 Updated from global requirements
Change-Id: Ibe06fcece3a098781f8b55437727617b2727509f
2015-11-13 17:11:37 +00:00
Jenkins
84b6f7edc4 Merge "Add Ansible support for Magnum" 2015-11-13 17:01:04 +00:00
Chris Ricker
a84e0f5235 Update commands in kolla-build section
Remove build.py reference from kolla-build for clarity.

Change-Id: I82db9428fe3b1697877e967e060843270574ae71
Closes-Bug: #1516040
2015-11-13 10:02:17 -05:00
Jenkins
24c50af433 Merge "Fix typo in Fedora section of quickstart" 2015-11-13 14:50:20 +00:00
Jenkins
9e9dc83d85 Merge "Add playbook for hosts pre-deployment checks (ports, files)" 2015-11-13 14:43:39 +00:00
Chris Ricker
cd7f451ea6 Fix typo in Fedora section of quickstart
Trivial patch to remove duplicated text.

Change-Id: Icb6046a6a3d0c31c1ad7ef58b0da79d4ececdd9b
Closes-Bug: #1516017
2015-11-13 09:07:59 -05:00
Vladislav Belogrudov
3bd4c2a607 Add playbook for hosts pre-deployment checks (ports, files)
This playbook runs on hosts before deployment to be sure we don't
have any conflicting services running and systems are in expected
state.

DocImpact

Change-Id: If5f288b7fbdf269697ca834da4eb969b61683ca0
Partially-implements: blueprint precheck-tasks
2015-11-13 16:35:33 +03:00
Sam Yaple
00b7794f3e Remove unused tox jobs
The gates have been renamed. We can remove these jobs now.

Change-Id: I4f140301d0b0a04ca4196a755625f32569fe4b32
Partially-Implements: blueprint multinode-gate
2015-11-13 11:23:43 +00:00
Michal Rostecki
2cd5d9ed74 Add Ansible support for Magnum
Change-Id: Idb25ac4d3148c9b9400cf675ac2e47d35cce6224
Implements: blueprint ansible-magnum
2015-11-13 11:31:34 +01:00
Sam Yaple
6ec1fabf65 Revert "Drop root for Horizon service"
This reverts commit f9ccb1c8829cef551b875c7c387530e7980414a7.

There are many issues with this patch that prevents it from working
under numerous circumstances. The implementation is entirely busted
on Ubuntu. Additionally, best practice for apache is to run as root.
Apache itself does the privlege dropping.

Change-Id: I4395debb7d32223fb3752a6d3e7c4d7672d29916
2015-11-13 08:53:49 +00:00
Jenkins
52bd56e686 Merge "Drop root privileges for rabbitmq" 2015-11-13 07:53:06 +00:00
Ryan Hallisey
22def41d37 Drop root privileges for rabbitmq
Drop root privileges for rabbitmq.  Only the rabbitmq user
will be able to execute chown of /var/lib/rabbitmq.

Change-Id: I546e6b475a8462bfbc75972854e1fee64f96d9cb
Partially-Implements: blueprint drop-root
2015-11-12 11:38:17 -05:00
Sam Yaple
ea9d5cd067 Move USER operation after footer
The USER operation affects all docker commands after it. This causes a
problem with our {{ include_footer }} implementation since commands in
that footer may require elevated permissions to perform.

In the current implementation I can no longer remove my proxy settings
once the USER has been changed.

Change-Id: I9b2bab5a15f595f6d52a46c64ddf59ba5608b938
Partially-Implements: blueprint drop-root
2015-11-12 14:34:09 +00:00
Diogo Monteiro
d2b388d55c Get kolla path from settings when provisioning box
The path for the kolla source dir was being
hardcoded on the ubuntu-bootstrap provision script
instead of utilizing the path defined in the
PROVIDER_DEFAULTS settings in the Vagrantfile

Change-Id: I0eb752ecf4db580838687c290ccf36810e8a4ff3
2015-11-12 08:55:57 -05:00
Jenkins
55e4b54e23 Merge "Drop root privileges for mariadb" 2015-11-12 13:13:50 +00:00
Jenkins
336074a6c3 Merge "Fix --retries option to kolla-build" 2015-11-12 10:43:10 +00:00
Jenkins
71339b376e Merge "Added Ubuntu support for Vagrant" 2015-11-12 10:31:29 +00:00
Steven Dake
4c9e15b94e Drop root privileges for mariadb
Drop root privileges for mariadb.  This isn't perfect.  If somemone
breaks out of the container and can run sudo within the contianer,
it would be possible to replace the root credentials of the database.

Any container that uses sudo suffers from some extra attack vector
related to the sudo command.  That said, the sudo commands are
locked down to minimize harm.

Change-Id: I4b3573725d940bb8aa90d43a6235d8cf7d30fc64
Partially-Implements: blueprint drop-root
2015-11-12 03:12:40 -05:00
Steven Dake
09e9b1be33 Move the mariadb expect code to a script
Atleast in a script, sudo can be made to only allow the script to
run from the mysql process in the future, versus all the proceesses
being able to be executed as root presently.

Change-Id: I030b57086e37e4dc8f668f98c04335d94ab9d2b0
Partially-Implements: blueprint drop-root
2015-11-11 18:42:07 -05:00
Steven Dake
f9ccb1c882 Drop root for Horizon service
Drop root privileges for Horizon service.  It is necesssary to set
a capability on the filesystem to allow binding to port 80 as a
non-root user.  I have tested this works correctly from a registry
on both CentOS and Ubuntu.

Change-Id: I4c26f28bb28b6633784e6842f3423a2425332c27
Partially-Implements: blueprint drop-root
2015-11-11 18:41:56 -05:00
Jenkins
b6212875d3 Merge "Install keystoneauthv1 in openstack-base image" 2015-11-11 22:59:19 +00:00
Jenkins
d9f49d1026 Merge "Drop root for kolla-ansible" 2015-11-11 22:36:36 +00:00