1981 Commits

Author SHA1 Message Date
Michal Rostecki
a48fb29f4d Fix path of synced_folder in Vagrantfile
Vagrantfile is in dev/vagrant directory on repository,
so to reach the main directory, it should sync "../.."
path instead of "..".

Change-Id: I7d142c8239423f5de52de5602a732770bb1d7c6c
Closes-Bug: #1504426
2015-10-09 09:50:08 +02:00
Paul Bourke
6d2bc05325 Copy over missing swift-rsyncd JSON config
Change-Id: I3ab009699a1fb88ae7add9dde03dd164f8f727c3
backport: liberty
Closes-Bug: #1504207
2015-10-08 17:07:04 +00:00
Paul Bourke
030bb04cb9 Fix incorrect filename in swift-account-reaper ansible task
Change-Id: I36d8455e904732195edcd3862d4b4445346e1bc0
backport: liberty
Closes-Bug: #1504204
2015-10-08 17:06:16 +00:00
Jenkins
eb6a367464 Merge "Move around the development environments" 2015-10-08 08:02:04 +00:00
Jenkins
7fc632794b Merge "Remove compose from the repostiory since its dead code" 2015-10-08 06:47:52 +00:00
Steven Dake
3b92e8714f Move around the development environments
THe top level dev directory is now used to store the heat and
vagrant development environments.

backport: liberty

TrivialFix

Change-Id: Ib0922b90eacaa8518aee09cdeb46f4ac0437e015
2015-10-07 23:47:00 -07:00
Jenkins
85d35eac63 Merge "Add a LOC counter" 2015-10-08 06:35:24 +00:00
Jenkins
d4dd7d4677 Merge "Release version 1.0.0" 2015-10-08 06:35:20 +00:00
Jenkins
e4094152de Merge "update doc about local registry in image-building" 2015-10-08 06:16:21 +00:00
Steven Dake
ed2f908a4c Remove compose from the repostiory since its dead code
Several people over the liberty cycle committed to maintaining
compose, but it was never completed.  Rather than carry compose
in our repoistory until the end of time in a broken state I propose
removing it.  If someone comes along and wants to resseruct the code
and make it functional in the future, I'd be 100% open to merge a
patch in the future which reintroduces this functionality.  In the
meantime it is confusing to users which ask me on a daily basis if
compose is supported which I have to go into a 10 minute monologue
about why its in the repository.

Fortunately git contains full history so we can always revert this
change at a later time if someone wants to actually fixt his code
base up and make it useable in some way.  I think the proper answer
is a seperate repoistory (kolla-compose) which contains any compose
related bits.

Please consider removing since nobody is using this code and its
dead.

TrivialFix

backport: liberty
Change-Id: I8b7c39b00d1967184d363af7db86d1ff8b5e725f
2015-10-07 23:15:29 -07:00
Steven Dake
d040e34352 Add a LOC counter
This implementation isn't very sophisticated but it works.

TrivialFix

Change-Id: I8df29be200078764ccc917912ecea4a399fc7d62
2015-10-07 23:02:59 -07:00
Kuo-tung Kao
08b93d1d85 update doc about local registry in image-building
Reformat local registry section. And document that the Docker config need to
be modified when building images if using local registry.

Change-Id: I51c4df499d84c8ce2a2afc3787b2d609cc0f7d7e
2015-10-08 13:51:40 +08:00
Steven Dake
52eb4d8403 Remove an oslo.message 2.2.0 pin
In https://bugs.launchpad.net/kolla/+bug/1483667, oslo.messaging
was pinned to 2.2.0.  This pin is no longer necessary as this bug
has been fixed upstream.

backport: liberty

TrivialFix

Change-Id: Ica9ae41876a754291d4c6ee1235f6e69a4213463
2015-10-07 22:20:28 -07:00
Jenkins
9d7177574b Merge "Remove which from neutron-server" 2015-10-08 03:07:02 +00:00
Jenkins
c4888d3310 Merge "Remove debug output in base image yum command" 2015-10-08 03:06:41 +00:00
Jeff Peeler
717ed63b56 Fix up ironic Dockerfiles to build
The dockerfiles for each of these containers were hacked to force
install the most recent version of the package, even though the newer
version had a lower version number. Delorean has fixed the issue by
bumping the epoch, so the hack is no longer required.

backport: liberty

Change-Id: I8d9c071d84e53280d3cadfceb9034bb96f64f3a3
Closes-bug: #1503785
2015-10-07 13:33:19 -04:00
Lubosz Kosnik
f6107f0929 Fixes typo in openstack command
openstack user-list changed
to proper form of openstack command

Change-Id: If409ab26bf6266e0790a2d2cce18d28adb844702
Closes-Bug: #1503711
2015-10-07 16:38:18 +02:00
Jenkins
05764198a2 Merge "Removing /dev/log on rsyslog start" 2015-10-07 09:58:34 +00:00
Jenkins
ec835750e7 Merge "Install agent dependencies from source for CentOS" 2015-10-07 09:50:31 +00:00
Jenkins
998210bcc1 Merge "Enable source for openstack-base for RPM distros" 2015-10-07 09:50:01 +00:00
Michal Jastrzebski
865ba80231 Removing /dev/log on rsyslog start
Currently we seem to be experiencing races between containers.
If another containers tries to write to rsyslog before rsyslog container
is up and running it will create /dev/log as directory,
and that will prevent rsyslog from starting.

Change-Id: I88ac27693d12e605f95e3a945fc98783516d7933
Closes-Bug: #1501694
backport: liberty
2015-10-07 11:32:28 +02:00
Sam Yaple
a38868f9cb Fix wrong sysctl variable name (part 2)
Change-Id: I8e4c9beb90a0b289f56947ca6292f6455e26e07b
Closes-Bug: #1503416
2015-10-07 07:59:25 +00:00
Steven Dake
2dead81564 Install agent dependencies from source for CentOS
Several packages are not installed from RPM packages which are
required in order for CentOS from source to operate correctly.

This looked like sudo was failing to execute, but it was because
the dnsmasq binary was not found.

backport: liberty

Change-Id: If23cfbacd55d9089ffec442399ee0151adea923f
Closes-Bug: #1503412
2015-10-06 22:59:53 -07:00
Steven Dake
fbb1842fc8 Enable source for openstack-base for RPM distros
Make openstack-base optimized for from source builds for RPM based
distributions.

backport: liberty

Change-Id: I5f1056ebc09fd55cd5d46da7a09331e38940d888
Implements: blueprint openstack-common-container
2015-10-06 22:59:50 -07:00
Jenkins
e230c0752e Merge "Pin rabbitmq to 3.5.5" 2015-10-07 05:49:57 +00:00
Jenkins
43284d5616 Merge "update doc about how to set up local registry" 2015-10-07 05:47:00 +00:00
Steven Dake
e6391aff36 Remove which from neutron-server
The which tool is installed in the base image now and this extra
install is duplicated and has no effect.

backport:liberty

TrivialFix

Change-Id: I70c3edb11f5c847063b6e4ab4f9de7184356ce57
2015-10-06 21:50:44 -07:00
Steven Dake
c5b6a436bd Remove debug output in base image yum command
The base image contains -d 10 in a yum command which prints unhelpful
debug output for one of the yum commands.  Remove the extranous debug
output.

backport: liberty

TrivialFix

This patch is a trivial fix and is a test to set boundaries on what
a trivial fix looks like that doesn't require a bug tracker entry.  If
reviewers feel a trivial fix isn't documented properly by this commit
message, please weigh in, as this is a slight suggested change to our
policy as first institued by the Magnum community and brought to my
attention by Jeff Peeler.  Hopefully this compromise won't be abused :)

Change-Id: I57f00978d0baaefd73592f4ad6a655e663d83478
2015-10-06 21:50:39 -07:00
Steven Dake
418428a1ad Release version 1.0.0
Our current version based upon conversations with TTX was
0.1.0. It appears now that the full API is nearly stable.  It is
stable enough to call our first Liberty release 1.0.0.

The API consists of the following data:
The locations of config files passed to the container
The environment variables expected by the container
The JSON encoded file containing the copy and cmd operations

Each container in current master follows the same sytnax and
style for all of the implementations of every container that
atleast has been Ansibilized.

backport: liberty

Change-Id: I2064689ca6fd9f332ad26624e1b93f6aaa08e79b
Closes-Bug: #1503494
2015-10-06 21:47:48 -07:00
Steven Dake
c6947eeb8a Pin rabbitmq to 3.5.5
Pin rabbitmq to 3.5.5 for RPM platforms.  This version is the latest
and sparkly with lots of bug fixes.  Tested multi-node HA and everything
seems solid in comparison to the 3.3.z releases used previously.

backport: liberty

Change-Id: I53bf70175fd12ded132141aa499c73919a932cdf
Closes-Bug: #1503280
2015-10-06 21:47:08 -07:00
Kuo-tung Kao
32d0e4ef2d update doc about how to set up local registry
Update document about how to set up local registry.

Change-Id: I52895e2416a219e1dfaf2e493eac857598f9c819
Closes-Bug: #1459355
2015-10-07 11:48:43 +08:00
Martin André
8c3a646c75 Fix wrong sysctl variable name
The bridge parameters should be net.bridge.* according to install
documentation at docs.openstack.org.

Change-Id: Ib29dd462e01f26e3fec48f0730ed322f2704cd8a
Closes-Bug: #1503416
2015-10-07 09:11:10 +09:00
Paul Bourke
a748d5e40a Fix incorrect dd param in cinder-guide.rst
Change-Id: I110e76ba7349fee488005b0d8710447b1e339df7
2015-10-06 16:20:00 +01:00
Jenkins
d352505ccb Merge "add "--template-only" flag for tools/build.py" 2015-10-06 10:05:02 +00:00
James McCarthy
c879b1f271 Updated haproxy config to include swift api
Closes-bug: #1503197
backport: liberty
Change-Id: I5c233298312dabeb43efa4821855c77fd81aae67
2015-10-06 10:30:04 +01:00
Jenkins
f9d9abd408 Merge "put conatiner name to array in cleanup-containers" 2015-10-06 06:58:02 +00:00
Kuo-tung Kao
1e86af763b put conatiner name to array in cleanup-containers
The brace in string variable will not be expanded in some case.
Put conatiner name into array.

Change-Id: I2fb16e7352bd579f207efce0fb9b2565a1e7236d
Closes-Bug: #1502467
2015-10-06 13:55:58 +08:00
Jenkins
719740ade8 Merge "Set sysctl values" 2015-10-06 05:20:36 +00:00
Sam Yaple
94162bd08f Bring Kolla inline with FHS
This brings Kolla images inline with FHS and should make finding
locations of things more consistent and reliable with the linux world
at large.

Change-Id: Iece5b4da4bace0fb8b1f41a65ab2c852ec73e6f8
Closes-Bug: #1485742
2015-10-06 03:30:53 +00:00
Sam Yaple
cb4e875ae1 Common start.sh
The majority of the start.sh code is identical. This removes that
duplicate code while still maintaining the ability to call code in a
specific container.

The start.sh is moved into /usr/local/bin/kolla_start in the container

The extend_start.sh script is called by the kolla_start script at the
location /usr/local/bin/kolla_extend_start . It always exists because
we create a noop kolla_extend_start in the base directory. We override
it with extend_start.sh in a specific image should we need to.

Of note, the neutron-agents container is exempt from this new
structure due to it being a fat container.

Additionally, we fix the inconsistent permissions throughout. 644 for
repo files and the scripts are set to 755 via a Docker RUN command to
ensure someones local perm change won't break upstream containers.

Change-Id: I7da8d19965463ad30ee522a71183e3f092e0d6ad
Closes-Bug: #1501295
2015-10-06 03:30:26 +00:00
Kuo-tung Kao
9bacf1bdbd add "--template-only" flag for tools/build.py
Add "--template-only" flag for tools/build.py
to generate dockerfile for read easily.

Change-Id: Ic4cf43d925b5f2d3dae809c11f3f95c51b4bbce2
Closes-Bug: #1501671
2015-10-05 14:57:29 +08:00
Sam Yaple
0700100d82 Set sysctl values
A few sysctl values are required for networking to work. All of them
are documented at docs.openstack.org and while some of them are the
defaults on systems, they should be explicitly set since networking
will break without them set.

Change-Id: I4507eb2602e52eeab61bdceea4c94b1c35696a7d
Closes-Bug: #1482794
2015-10-04 06:29:20 +00:00
Sam Yaple
3a56ce1826 PXE for Ironic for ubuntu
This makes Ironic build properly from source.

Change-Id: Ic61cd945760843aae1f0a01738bca3b818fd2f69
Closes-Bug: #1500577
2015-10-04 03:59:23 +00:00
Jenkins
d55be10ddd Merge "Lock down ansible version" 2015-10-01 03:12:31 +00:00
Sam Yaple
a751d6e8ea Lock down ansible version
We can lock down to this alpha version as long as it works once. That
is the value of building an image here. We likely won't run into any
bugs if we can deploy from this tag at least once.

Change-Id: I864290260d7fbdcd8325748788d2454d1dc1a699
Closes-Bug: #1501455
2015-09-30 18:58:17 +00:00
Martin André
1bad32ffc1 Fix wrong option name in kolla-build.conf
The install type can now be change by specifying the correct option
name.

Change-Id: I612afc3df1e0e1bdfa9243417537eb176f0d89cc
Closes-Bug: #1501327
2015-09-30 21:51:59 +09:00
Jenkins
e6a9da2022 Merge "Make a openstack-common container for CentOS variants" 2015-09-29 12:27:10 +00:00
Steven Dake
571c5bc878 Make a openstack-common container for CentOS variants
Only implements CentOS (RPM family) binary in openstack-common.

Change-Id: I5249d0ffaf4c0c946ee2347d5519391ded160cea
Partially Implments: blueprint openstack-common-container
2015-09-29 03:45:38 -07:00
Jenkins
8f7006e323 Merge "Fix ceph after config-external removal" 2015-09-29 10:20:05 +00:00
Jenkins
713977166d Merge "Remove config-external for rsyslog" 2015-09-29 10:13:10 +00:00