2752 Commits

Author SHA1 Message Date
Allen Gao
7609cc2428 prechecks: remove the docker max version check
Remove the docker max version check since we are not pinning
docker version any more.

Partially-Implements: blueprint precheck-tasks
Change-Id: Icfa10e72c56092931aae016afaeed4c6ce8cb337
2016-01-20 06:43:25 +00:00
Jenkins
fce8cdc5dc Merge "keep consistent with style of others" 2016-01-20 05:57:35 +00:00
Allen Gao
3d4cedcc52 keep consistent with style of others
TrivialFix
It should be more comfortable to keep consistent:
$ find . -name *.yml | xargs grep -h -A5 start_container | grep name: | sort
    name: "ceph_mon"
    name: "ceph_rgw"
    name: "cinder_api"
    name: "cinder_backup"
    name: "cinder_scheduler"
    name: "cinder_volume"
    name: "glance_api"
    name: "glance_registry"
    name: "haproxy"
    name: "heat_api"
    name: "heat_api_cfn"
    name: "heat_engine"
    name: "horizon"
    name: "ironic-api"
    name: "ironic-conductor"
    name: "ironic-discoverd"
    name: "ironic-pxe"
    name: "keepalived"
    name: "keystone"
    name: "magnum_api"
    name: "magnum_conductor"
    name: "mariadb"
    name: "memcached"
    name: mistral_api
    name: mistral_engine
    name: mistral_executor
    name: "murano_api"
    name: "murano_engine"
    name: "neutron_agents"
    name: "neutron_openvswitch_agent"

Change-Id: Ie946286968c830dcc3c0c45cc9ba87418dd44e8c
2016-01-20 12:10:17 +08:00
Allen Gao
c7a7234415 refactor the cleanup containers
TrivialFix
Sort the containers, remove *_data ones, etc.

Change-Id: Ic7923828517da954e7c8802d6cf5918e425df255
2016-01-20 12:04:38 +08:00
Jenkins
f8761649a9 Merge "kolla-ansible: add prechecks subcommand" 2016-01-20 00:19:50 +00:00
Allen Gao
e84de1d31d kolla-ansible: add prechecks subcommand
TrivialFix

Change-Id: Ifb0ca3383cd04f5ff6baeb30ae6996d450d5c579
2016-01-20 06:37:14 +08:00
Jenkins
a837025eb8 Merge "Adapt openrc file to use keystone v3" 2016-01-19 18:29:44 +00:00
Jenkins
0416913fb5 Merge "Fix ceph-mon existing cluster detection logic" 2016-01-19 17:48:36 +00:00
Jenkins
94c2717637 Merge "Updated from global requirements" 2016-01-19 15:50:11 +00:00
Jenkins
14c56d542f Merge "Consistency changes in configs" 2016-01-19 15:45:57 +00:00
Jenkins
36ebd7dc82 Merge "Revert "Capture the log in default"" 2016-01-19 15:36:52 +00:00
Jenkins
4216a507be Merge "Use driver instead of deprecated notification_driver in config" 2016-01-19 15:33:26 +00:00
Jenkins
4cfeeed021 Merge "Fix typos in docstrings:" 2016-01-19 14:41:07 +00:00
Marc Koderer
9531b0613b Adapt openrc file to use keystone v3
Ansible adminrc file already uses v3 as default. So let's
to that in vagrant too.

See file:
ansible/roles/common/templates/admin-openrc.sh.j2

TrivialFix

Change-Id: I23b7ff81808ddc718ae1186887e9764ebc5ab6ef
2016-01-19 14:16:36 +00:00
Maciej Szankin
57fdb0ceed Consistency changes in configs
TrivialFix

Change-Id: Iafd92e4e962dec5a225582ff058ab3603e5a50bb
2016-01-19 14:58:11 +01:00
OpenStack Proposal Bot
94b170a6c1 Updated from global requirements
Change-Id: I5dfada9f5ad92432fb1e8408ceb82a57dab5f2eb
2016-01-19 13:48:15 +00:00
Jenkins
11cdd5b8ea Merge "Expose the docker build_arg to build.py" 2016-01-19 09:51:47 +00:00
Jenkins
5bce0212b2 Merge "add unittest code base" 2016-01-19 09:50:56 +00:00
Wanlong Gao
66f5802daa Use driver instead of deprecated notification_driver in config
TrivialFix
https://review.openstack.org/#/c/249508/

Change-Id: Ie2732ee116b6b4b3e0210eb1f62fc72878d8c277
2016-01-19 17:09:19 +08:00
Jenkins
5c4c8636ff Merge "Add manila container (source only)" 2016-01-19 07:13:52 +00:00
Jenkins
f764ad8d17 Merge "kolla-ansible: add post-deploy subcommand" 2016-01-19 00:44:56 +00:00
Jenkins
9a9dbf481b Merge "Replace the deprecated rsyslog config style" 2016-01-18 21:23:59 +00:00
Jenkins
37bcd509bc Merge "remove option verbose from config files" 2016-01-18 21:16:14 +00:00
Jenkins
296b37cd90 Merge "Rename bootstrap.sh to centos-bootstrap.sh" 2016-01-18 21:12:15 +00:00
Marc Koderer
f7085c1f6f Add manila container (source only)
Support manila as container. First step only supports
building from source.

Change-Id: I60bb67536c9afdb9f0532b3cdc2c400a68608003
Partially-Implements: blueprint enable-manila-containers
2016-01-18 20:33:32 +00:00
Jenkins
2c35fd1198 Merge "Ensure /var/lib/cinder exists for cinder container" 2016-01-18 15:54:28 +00:00
Sam Yaple
bf005dc7b3 Revert "Capture the log in default"
This reverts commit b67c20f2db9da48fe5d3de1f5c5fb1887be1f20b.

This change hides the LOG output from the build process in the
console.html. While the build still will succeed/fail it will not update
the log while it is running. It will only dump the output of what its
doing if it fails. This is not ideal for our gates at this time since we
have seen the even the running and successful gates sometimes do not do
what we designed the gate to do (not building the containers we want,
not running the tests we want (recently happened with bashate), etc)

Change-Id: Ida58eef41ee8874e7577fcc24174fed4808f46f1
2016-01-18 15:35:40 +00:00
Allen Gao
3729755da0 remove option verbose from config files
Option "verbose" from group "DEFAULT" is deprecated for removal.
Its value may be silently ignored in the future.

If this option is not set explicitly, there is no such warning.
Furthermore, the default value of verbose is true, so there is
no need to set this value in config files.

TrivialFix

Change-Id: I3ec2a8900c984a64bc0645672ef89a63975f7f4e
2016-01-18 21:29:36 +08:00
Marc Koderer
9431ab62af Rename bootstrap.sh to centos-bootstrap.sh
Since Ubuntu and Centos are both valid options it's better
to list their names in both bootstrap files

Trivial-fix

Change-Id: Ie8179403ba550ff61a45aa936fb87e02b9f74861
2016-01-18 14:05:03 +01:00
Jeffrey Zhang
7093d37f18 Expose the docker build_arg to build.py
With this implement, we can add variables at building stage.
For example, add HTTP_PROXY and NO_PROXY when needed like below.

    build.py --build-args \
        HTTP_PROXY:http://127.0.0.1:8080,NO_PROXY:127.0.0.1

More info about build_arg, pls check[0]

[0] https://docs.docker.com/engine/reference/commandline/build/#set-build-time-variables-build-arg

DocImpact

Implements: bp add-buildargs
Change-Id: I29ed7f536670fef59d697603dc562a69d90743c9
2016-01-18 11:42:00 +00:00
Jeffrey Zhang
d4490ea2bc add unittest code base
* add a base TestCase class
* load the tests from the project root rather than only tests dir
* add a test case for WorkerThread builder function

Change-Id: Icf878f9249b475a311123c8235c42b1212d02ca6
Partially-implements: bp add-ut-codebase
2016-01-18 11:42:00 +00:00
Jenkins
c4f142fd96 Merge "Fix centos AiO setup" 2016-01-18 10:23:46 +00:00
Jenkins
dfead6d683 Merge "Fix pid leftover after converting ceph to kolla_docker" 2016-01-18 10:19:38 +00:00
Jeffrey Zhang
bbe088cad2 Remove the not used setup_docker.sh file
TrivalFix

Change-Id: I18a69d31c1b3442c79b7ffaab7259363600727e2
2016-01-18 16:49:14 +08:00
Qiu Yu
f714703cad Ensure /var/lib/cinder exists for cinder container
Change-Id: I52e175a1eb5176828db8ed709f4d19dd0685b9c5
Closes-Bug: #1535189
2016-01-18 14:07:28 +08:00
Qiu Yu
8c125f01fd Fix pid leftover after converting ceph to kolla_docker
Related-Id: Icb1e81dc8acabe51740edc5658957022ddd13cd7
TrivialFix

Change-Id: Icf7cca554a972370bb109530cce3a0d451c95ae1
2016-01-18 02:32:47 +08:00
Jenkins
c531338fef Merge "make the testr.conf required environment pass throught in tox" 2016-01-17 16:49:46 +00:00
Jenkins
040eb49130 Merge "Capture the log in default" 2016-01-17 16:48:32 +00:00
Jenkins
23080963d9 Merge "Updated from global requirements" 2016-01-17 16:47:37 +00:00
Jenkins
b4edee1c2f Merge "Use auth_type instead of deprecated auth_plugin" 2016-01-17 16:02:56 +00:00
Jenkins
c8228da023 Merge "Use dict.items() for adding Python 3 compatibility" 2016-01-17 16:00:50 +00:00
Jenkins
8fd9e85ab6 Merge "Update the document to use kolla-ansible post-deploy" 2016-01-17 16:00:43 +00:00
Jenkins
100c49d7b4 Merge "ironic-conductor: install ipmitool for source deploy in centos" 2016-01-17 16:00:36 +00:00
Jenkins
b0b3f6a229 Merge "ironic-discoverd: fix ironic config file path" 2016-01-17 15:59:24 +00:00
OpenStack Proposal Bot
0fb7b9ad9d Updated from global requirements
Change-Id: I7d8485958fb96c7e111eab4df21472bee27ea8d0
2016-01-17 01:11:22 +00:00
Jenkins
d6071461d6 Merge "Fix container config files directory path" 2016-01-17 00:40:42 +00:00
Wanlong Gao
93df2483c6 Replace the deprecated rsyslog config style
The old style has been deprecated for time:
http://www.rsyslog.com/doc/v8-stable/compatibility/v7compatibility.html#omruleset-and-discard-action-are-deprecated
TrivialFix

Change-Id: I70fa065f5fbd686ddb8f4134bb93c08c7af00365
2016-01-16 20:40:55 +08:00
Wanlong Gao
3898205f0a ironic-discoverd: fix ironic config file path
TrivialFix

Change-Id: Idb15f134137a377690d69d9848791a95df572948
2016-01-16 17:18:09 +08:00
Wanlong Gao
e25c12fee6 ironic-conductor: install ipmitool for source deploy in centos
Change-Id: Ib6b095341c8d63b365d3575478b4dafa69720b63
Closes-Bug: #1534900
2016-01-16 16:19:39 +08:00
Wanlong Gao
1574dad493 Update the document to use kolla-ansible post-deploy
TrivialFix

Change-Id: Ia2568495df07c3ed3983594c99aac220d2146f99
2016-01-16 14:20:41 +08:00