1796 Commits

Author SHA1 Message Date
Steven Dake
6992049323 Add 'rhel' for RPM distros
Add 'rhel' to list for RPM based distros.  Also sort the distro
list for rpm packages for affected lines.

Change-Id: Ied4cb3e9763d6c6359f314d16185383ac3e006ed
Partially-Implements: blueprint rhel-based-image-support
2015-09-04 03:12:15 -07:00
Steven Dake
138a556ebf Remove -T option from build.py
The -T option is no longer necessary to be specified on each build.
The defaults work well enough, so remove -T 1000 from the documentation.

Change-Id: I13a9a4ac6b3f402d8ca0ba57fa1dbfd19a82ae1f
2015-09-04 00:22:22 -07:00
Jenkins
0292cd2129 Merge "Use database_user_create in Heat bootstrap" 2015-09-04 06:51:40 +00:00
Jenkins
97f8c67530 Merge "Add image-buliding.rst to index.rst" 2015-09-04 06:29:06 +00:00
Jenkins
91bc4b094c Merge "Allow arbitrary source archive name to be imported into Dockerfile" 2015-09-04 06:24:28 +00:00
Steven Dake
501d6da665 Add image-buliding.rst to index.rst
Also tidy up title for the main deployment documentation.

Change-Id: Ibd137f01077565ece7cf87affe4200f414a0dce6
2015-09-03 22:21:41 -07:00
Georgy Okrokvertskhov
d799f819d4 Small spelling corrections in docs
Change-Id: Iec83a99f67d547ff8dd218a4ddf5642c79f42b99
2015-09-03 20:55:28 -07:00
Sam Yaple
3487d8da14 Rename Galera to MariaDB
Change-Id: I3134ba72e2ce4e85a17facbc3b5af4c1c3438d33
Closes-Bug: #1491740
2015-09-03 21:00:23 +00:00
Jeff Peeler
bcde30f379 Use database_user_create in Heat bootstrap
The register operation was using database_user which is also a global
variable in group_vars/all.yml. This results in Heat being undeployable
because database_user is overwritten.

Change-Id: I78b2db34b7c99142040390c7258b7e81d3770835
Closes-bug: #1491980
2015-09-03 14:38:28 -04:00
Jenkins
a2d4a9481c Merge "Create openstack-base container" 2015-09-03 15:50:38 +00:00
Jenkins
e9fd3c5c98 Merge "Reduce install size" 2015-09-03 15:50:27 +00:00
Vladislav Belogrudov
c22cf33268 Allow arbitrary source archive name to be imported into Dockerfile
Currently we cannot import source archives with names different
than expected by hardcoded line in Dockerfiles. This worked well
for Openstack services' tarballs where we expected SERVICE-* root
folder after extraction or kanaka-noVNC for nova-novncproxy docker.
The latter fails if one tries to clone or get tarball under other
names. This fix allows any archive (tar,tgz,zip) or repo name to be
imported into dockerfile.

Change-Id: I869a6a19afaf0e93925572746c22b7589b6600c9
Closes-Bug: #1491415
2015-09-03 16:49:50 +03:00
Sam Yaple
9d3f3f28e2 Create openstack-base container
This creates and moves the dependencies for Ubuntu into a common
openstack-base container. This commit shows dramatically smaller
sizes for all non-openstack containers. The Openstack container remain
the same size.

Change-Id: I2f46420d4b9edcfddda374caddcce906fc708f6c
Partially-Implements: blueprint openstack-common-container
2015-09-03 10:37:45 +00:00
Vladislav Belogrudov
64180f6735 Ansible register task for MariaDB incorrectly reports failure
When running register task for MariaDB we should firstly check
if operation failed before trying to parse result from json output

Change-Id: Ic331ec20990277d30b147826ff24affb27d52383
Closes-Bug: #1491751
2015-09-03 13:02:44 +03:00
Sam Yaple
1cbfbcc48d Reduce install size
This is a trade-off, it increases the base size some _but_ it
decreases the total size by a few hundred MB.

Partially-Implements: blueprint openstack-common-container

Change-Id: I1216deed122aa734e0c84325264a53711d94ea4c
2015-09-03 09:31:07 +00:00
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