1681 Commits

Author SHA1 Message Date
Steven Dake
233864ff32 Rename docs dir to doc for publishing
The publishing docs expect the documentation to be present in the
/doc directory not the /docs directory.  If the documentation is in
the /docs directory, according to fungi the docs won't be published
properly.

Change-Id: I718fec7e69d298a5cb2376ca4e2455e12169566e
Partially-Implements: blueprint kola-tox-doc
2015-09-02 22:37:36 -07:00
Kai Qiang Wu(Kennan)
3ed7b3c3b4 Add venv section in tox.ini
As jenkins docs job use venv envrionment to work, we
need add such section to make it work.

Partially-Implements: blueprint kolla-tox-doc
Change-Id: I716219515f2bf1375fd094b3aeca866cbcf5c7c6
2015-09-03 00:16:01 +00:00
Sam Yaple
1e963d124a Fix rabbitmq part 2
Change-Id: I69a5ace61dd621a7fc0354d4deb5e8937505e13e
Partial-Bug: #1480496
2015-09-02 15:33:18 +00:00
Jenkins
c1fb5930c1 Merge "Copy config to /etc/kolla rather than symlink in Vagrantfile" 2015-09-02 15:10:33 +00:00
Jenkins
7b0d19e9e4 Merge "Fix rabbitmq perms" 2015-09-02 15:05:52 +00:00
Sam Yaple
77466a292d Fix rabbitmq perms
If a bootstrap fails at some stage and leaves a rabbitmq_data
container on a host, it will not bootstrap again and rabbitmq
fails to start due to root permissions on /var/lib/rabbitmq.

This patch improves the check for a valid, existing
rabbitmq_data

Closes-Bug: #1490602
Change-Id: I6a00aaef38b4ab6a60dcfb5ed2f808513b9f8c84
2015-09-02 13:31:05 +00:00
Paul Bourke
4c41ffee75 Copy config to /etc/kolla rather than symlink in Vagrantfile
Symlinking results in all sorts of changes to the repo when going to
commit.

Also make minor changes resulting from the fact we can now pip install
kolla.

Change-Id: I6b26fc4635da5293a83cba6edd748b95eea761ca
Closes-Bug: #1491312
2015-09-02 11:48:09 +01:00
Jenkins
3493717517 Merge "Source based builds should get novnc from tarball (git/url)" 2015-09-02 09:32:12 +00:00
Jenkins
93b8d5b026 Merge "Setup ubuntu build gate" 2015-09-02 09:28:25 +00:00
Sam Yaple
870a89708b Setup ubuntu build gate
Change-Id: I65c8ab12761c7e36923d4c5a0c3bbfc4b9adaf73
Partially-Implements: blueprint functional-testing-gate
2015-09-02 08:46:28 +00:00
Vladislav Belogrudov
f24e80d7e6 Source based builds should get novnc from tarball (git/url)
Source based centos, fedora and oraclelinux install novnc via
rdo repository while ubuntu and debian get novnc from github.
oraclelinux source build cannot use rdo, also using novnc tarballs
can be expanded to all distros.

Change-Id: I236dd5c36380e0592fceae4f4e1c28fe97dec1e7
Closes-Bug: #1490893
2015-09-02 11:38:21 +03:00
Jenkins
0e8f20aa9d Merge "update the image-building document" 2015-09-02 08:25:57 +00:00
Jenkins
77d4449b2d Merge "update gitignore for python and .testrepository" 2015-09-02 08:18:42 +00:00
Kuo-tung Kao
815fb84495 update the image-building document
update the image-building document.

Change-Id: I234be0563405c44cf37215182dfabc97fe283559
2015-09-02 15:48:05 +08:00
Kuo-tung Kao
bbcf3ebb21 update gitignore for python and .testrepository
ignore python byte-compiled files
and ignore the folder, '.testrepository', generated from tox command.

Change-Id: Ic0208ea2e7e1c046a3a730cbd83f676ce44ed2ae
Closes-Bug: #1491267
2015-09-02 15:40:34 +08:00
Jenkins
f9b95dad8f Merge "Improve scripts with some check before kick rm command" 2015-09-02 05:00:18 +00:00
Jenkins
d4fc93d883 Merge "rsyslog container" 2015-09-01 14:54:23 +00:00
Jenkins
261b3aea05 Merge "Register internal_url properly" 2015-09-01 14:49:52 +00:00
Jenkins
6668900e71 Merge "Expose exception objects via the as keyword" 2015-09-01 08:21:37 +00:00
Steven Dake
7cd1cb7081 Register internal_url properly
The external url was being registered in the Keystone service
with the internal_url contents.  Fix that problem.

Change-Id: Ie134be4bf9e76b8bc085de2e31561a72b647c024
Closes-Bug: #1490867
2015-09-01 01:09:42 -07:00
Hengqing Hu
1dab839de4 Expose exception objects via the as keyword
According to Python 3 Porting guide
http://docs.pythonsprints.com/python3_porting/py-porting.html

Exceptions were changed in a few ways for Python 3. First, strings
are no longer usable as exceptions. Additionally, the raise syntax no
longer accepts comma-separated arguments, instead working with exception
instances. Perhaps the largest difference in Python 3 is that exception
objects are only available via the as keyword, which was introduced in
2.6.

Change-Id: Ide665ecc4b7f14bd58bafab47e05a86a4cf2d141
Closes-Bug: #1490526
2015-09-01 14:15:27 +08:00
Jenkins
5771454dde Merge "Fix mysql permissions" 2015-08-31 21:08:31 +00:00
Jenkins
f8c2f03094 Merge "nova-libvirt requires a /sys/fs/cgroup bindmount" 2015-08-31 19:55:38 +00:00
Sam Yaple
3f1a3c386a Fix mysql permissions
Closes-Bug: #1489537
Change-Id: I6544398f8cebe2a0d1bec6db2a75a9f8651f5d6f
2015-08-31 12:45:29 -07:00
Jenkins
bdf6c7c44d Merge "Make Horizon work on centos+binary" 2015-08-31 19:36:05 +00:00
Steven Dake
e2d35ad054 nova-libvirt requires a /sys/fs/cgroup bindmount
Nova-compute is curerntly generating a backtrace when trying to nova
boot a VM.  The backtrace is described in the bug log.  Bind-mounting
/sys/fs/cgroup:/sys/fs/cgroup in the libvirt container resolves the
problem.

Change-Id: I5a56b61fd260728fb76e19bcbdf403b80a4ec5a6
Closes-Bug: #1490326
2015-08-31 10:44:52 -07:00
inc0
1dfa9c79f9 rsyslog container
First container from logging stack

Change-Id: I8c8b6743e22a38969cb8a741f3176c5aed24f549
Implements: bp logging-container
2015-08-31 17:15:25 +02:00
Jenkins
539862aeb0 Merge "Fix typo in task bootstrap task names" 2015-08-31 11:15:01 +00:00
Jenkins
23e289ecc9 Merge "Keystone container should use the openstackclient" 2015-08-31 11:12:29 +00:00
Jenkins
be230d47eb Merge "Add Ansible support for Heat" 2015-08-31 11:12:24 +00:00
Paul Bourke
f5c996e77d Fix typo in task bootstrap task names
Not quite halloween yet...

Change-Id: Ib1973eea0b2dddc0e0845731d1212c4d4447cca5
Closes-Bug: #1490502
2015-08-31 11:27:10 +01:00
Jenkins
3f5b601303 Merge "make nova-libvirt is child of base" 2015-08-31 06:54:24 +00:00
Sam Yaple
229bc52eee make nova-libvirt is child of base
Change-Id: I10677bcbb748ff99923e71ead982e778a41f2529
Closes-Bug: #1490246
2015-08-31 05:35:37 +00:00
Jenkins
c940e156e3 Merge "Fix KOLLA_CONFIG_STRATEGY in neutron agents" 2015-08-31 05:25:15 +00:00
Kai Qiang Wu(Kennan)
da68e2eccc Improve scripts with some check before kick rm command
Closes-Bug: #1490387
Change-Id: I4a9476085b9c5b2cae3801e5b1954e85068f4e03
2015-08-31 05:13:59 +00:00
Sam Yaple
45f625a73e Remove dest_filename from build.ini
We can, and should, figure out the filename dynamically rather than
hardcode that value in build.ini since it is not actually a
configurable paramater.

Change-Id: I496d6555e9fa356ab09e62063fd707f43ed08121
Closes-Bug: #1490386
2015-08-31 04:09:59 +00:00
Steven Dake
f2b9292973 Fix KOLLA_CONFIG_STRATEGY in neutron agents
The change from:
I01220077d8d25db5f69802ad27e745d90826d69b

In some way was lost by the gerrit.  This patch just basically
redoes that work so the neutron agents will work properly.

Change-Id: I92ac1b8601d145a0722b37eda937ee2baac7a7c5
Closes-Bug: #1489664
2015-08-30 12:44:43 -07:00
Jenkins
5f621a4fe9 Merge "Fix the wiki page link for Kolla" 2015-08-30 17:24:28 +00:00
Jenkins
47383f37c5 Merge "Ceph container" 2015-08-30 09:49:35 +00:00
Jenkins
9bac659f30 Merge "Remove pam+noaudit" 2015-08-30 09:49:26 +00:00
Sam Yaple
7f17203406 Keystone container should use the openstackclient
Initially it did not use this client due to the fact that the client
didn't seem to want to work in the containers. Now it works fine and
it should be used instead of the deprecated keystone client

Change-Id: Ib0e172c677e200e5df01c478b7ea257b30c0df0b
Closes-Bug: #1490126
2015-08-30 08:35:54 +00:00
rthallisey
63a7d01639 Ceph container
Running ceph in a container requires 2 pieces:
 - ceph-mon
 - objectstorage-daemon (osd)

Co-Authored-By: Sam Yaple <sam@yaple.net>
Change-Id: I33e5baf72e4bc493889da0d796041acfd1a2cad3
Partially-Implements: blueprint ceph-container
2015-08-30 07:54:01 +00:00
Sam Yaple
2d4a261f22 Remove pam+noaudit
This version of pam conflicts with ceph-common and needs to be removed
which is fine since we now have true Ubuntu images.

Change-Id: I1e85352a869d814bc2e26b9568ac1ccc93ca899f
Partially-Implements: blueprint ceph-container
2015-08-30 07:53:57 +00:00
Steven Dake
5e521f0550 Add Ansible support for Heat
This changes bootstrapping of the Heat container to bootstrap
the Heat container with a heat domain user.  This requires some
work from bootstrap.yml to pass in several environment variables
needed by the heat domain setup script.

Co-Authored-By: Sam Yaple <sam@yaple.net>
Change-Id: Iab05983754fa514835cb5ff54d775faa18773110
Partially-implements: blueprint ansible-heat
2015-08-29 23:58:54 -07:00
Steven Dake
349a085352 Remove cruft in tox.ini from docker_templates
There is no longer a docker build system in the tree.  Remove
the cruft that was missed in the original removal patches.

Partially-Implements: blueprint gate-source-builds

Change-Id: I4e6132502e8c0f812a0b3a767dd9c7f5c7b92fe3
2015-08-29 22:55:45 -07:00
venkatamahesh
20c3d9323d Fix the wiki page link for Kolla
Actually Kolla launchpad link is attached to Kolla which is not
relevant. So it is replaced with wiki page of Kolla

Change-Id: I250ac49610ec25bcd871aae26abe1a9a8e77739d
Closes-Bug: #1488205
2015-08-29 17:41:25 +05:30
Steven Dake
f587ed3729 Make Horizon work on centos+binary
Several problems exist with Horizon on centos+binary:

1. The default setup of http binds a port to port 80 on RPM
   based distros.

2. There is no horizon user/group added causing config-external
   to break badly.

3. openstack-dashboard is installed in
   /usr/share/openstack-dashboard/openstack_dashboard. This
   is incompatible with the expectations of the wsgi configuration.

4. the target for config-external is
   /etc/httpd/sites.d/horizon.conf. It should be
   /etc/httpd/conf.d/horizon.conf

5. A workaround is required for:
    https://bugzilla.redhat.com/show_bug.cgi?id=1220070

6. Static display requires compressing the installation via
   manage.py.  To do this correctly pyscss needs to be upgraded
   because the version in RDO is broken.

Co-Authored-By: Sam Yaple <sam@yaple.net>
Change-Id: Iabd3044906920f5cc60b9a6b320e62d1d7c9210f
Closes-Bug: #1490066
2015-08-29 09:50:52 +00:00
Steven Dake
730276aaf9 Remove deprecated --template option from gating
The template option is deprecated and --template is now default.
Also rename the tox jobs test calls since we won't have Docker
build operations.

Change-Id: I99df9c337680003e042e7e56a19d6cae2a59ed74
Partially-Implements: blueprint gate-source-builds
2015-08-29 02:12:20 -07:00
Jenkins
8372adcf77 Merge "Keystone container listens on port 80 by default" 2015-08-28 21:26:43 +00:00
Steven Dake
3046d4e94f Keystone container listens on port 80 by default
A default configuration file is present in RPM distros which
listen to http on port 80 by default.

With this patch the keystone container works on centos+binary
where it did not previously.

Closes-Bug: 1490025

Change-Id: I4b5260200521e79d76eec324eb0ef026aa61b23d
2015-08-28 13:47:14 -07:00