207 Commits

Author SHA1 Message Date
Xicheng Chang
b9a569d506 Fix bugs in ansible common role
Change-Id: I83e84aa79b97fd6a10bbd9e16c1dc1927ce4063f
2015-04-24 15:46:08 -07:00
xiaodongwang
c79f9d4e9d add ks_mirror into the default repos
Change-Id: Ic68caef0a9369772835784525a75b788cb20595b
2015-04-22 15:18:58 -07:00
Xicheng Chang
410a9c480d Fix hardcode for ubuntu apt-key
patch2: make ansible code follow lint.
patch2: some of the 'shell' command will be replaced
with ansible built-in 'script' in a separate CL.
Change-Id: I010fbf89d7393c2ba1bee06dca36196fe5cc7006
2015-04-20 10:54:07 -07:00
Jenkins
996126dfbd Merge "Add rally's dockerfile for rally docker build." into dev/experimental 2015-04-10 16:10:41 +00:00
Xicheng Chang
35f8bc84b3 Add rally's dockerfile for rally docker build.
The "real" rally docker container will be built from the image'
created by this file. This Dockerfile should be used for creating
and uploading rally image with periodic jobs.

Change-Id: Id0d0c6d911a1893fe15dcb2cbd7df70b1597c2b8
2015-04-08 17:47:17 -07:00
xiaodongwang
d10c96c3f8 do not quit when ssh key file not exists
Change-Id: I1c0eab5d52656b4560527c89eaeb56696090ed38
2015-04-06 15:16:05 -07:00
Xicheng Chang
587250bfae Add Ansible playbooks and modified cobbler snippets
Change-Id: If759d0fa469d3d40ab92e3359c6f9dfdbebe7214
2015-04-04 13:17:23 -07:00
xiaodongwang
ddb0e1af4f add chef support to install openstack in sle11sp3
Change-Id: I8c12083d5e46f3b43a8df069f77058e3ee965689
2015-04-02 22:12:58 -07:00
xiaodongwang
e355f4f18e fix two potential bugs to make ubuntu14.04 pass regtest
Change-Id: I9a27152233efcaf07ac40e2e02303ec3e87c4dd2

update cobbler snippets

Change-Id: I8af32409cee0d518d20963e83c0652c5b197d057
2015-03-27 17:47:33 -07:00
xiaodongwang
91530187f0 add user configuration and fix some bugs
Change-Id: Iee9b4550504a8918824f3260e7622788e5feb098
2015-03-08 23:39:19 -07:00
xiaodongwang
7de85ae46a fix typo that root partition should be / not /root
Change-Id: I5f6044021af996f30b5a47512ad3055fe34c19d5
2015-03-06 15:28:55 -08:00
Jenkins
839cde46f6 Merge "add initial version of suse support" into dev/experimental 2015-03-06 18:52:53 +00:00
Lei Lei
5c6b787407 Add log analyzor for CentOS7
Change-Id: I75ffe7927c6f61a7d649d01df7d54c2b433e61f3
2015-03-04 15:12:21 -08:00
xiaodongwang
1b3faedded add initial version of suse support
Change-Id: If960011e7ac8996ce1c0365b9dd06ed89b26fa8a
2015-03-03 22:51:03 -08:00
xiaodongwang
cc2bec05c7 force update apt-get before reboot
Change-Id: I623daf7eae65c464ad94b79ee8e4d706581c5b2f
2015-02-23 14:32:22 -08:00
xiaodongwang
95623d6b90 correct chef run script
Change-Id: Ifbf44924500f47c8393071960eb287d77e0bf81b
2015-02-17 16:44:04 -08:00
xiaodongwang
fbc5914525 fix missing backslash in haproxy conf
Change-Id: I6ca0a478449dba2b5bafba19e46fa2ac913ef1a2
2015-02-09 17:24:51 -08:00
xiaodongwang
a8bfd97de2 make openstack installation support proxy mode
Change-Id: I3d6ce9418aa4763020cc38699dbcc784b4b7c013
2015-02-08 13:19:06 -08:00
Jenkins
7cf80ebf74 Merge "use knife node list instead of knife search node to check existance" into dev/experimental 2015-01-28 17:17:18 +00:00
xiaodongwang
20dcf7c257 update adapter config to support multi os versions
Change-Id: Icfd90d09ed55f3f0723a77642cc803d39440896d
2015-01-22 13:59:51 -08:00
Jerry Zhao
8a778af908 use knife node list instead of knife search node to check existance
knife search node does not work as expected in some cases like in
the bug report, although the cause is not clear yet but switch to
knife node list |grep doesn't hurt.

Change-Id: I16979e93183b13b5a3e2c3281f4033515428f2b2
Closes-bug: #1405415
2014-12-26 02:42:41 -08:00
Jenkins
67d09e782f Merge "make cobbler support reserve disk space" into dev/experimental 2014-12-15 18:54:19 +00:00
xiaodongwang
764b75c02c add biosboot partition
Change-Id: Iaa407e0e0eb24691e9b9fe0901a7efdb5619c0d1
Closes-Bug: 1402013
2014-12-12 10:29:30 -08:00
xiaodongwang
cf0c3bdcc9 make cobbler support reserve disk space
Closes-Bug: 1399880

Change-Id: I44cc52e90ca1be0033d5f4b030eb90cb99bbc01b
2014-12-12 10:15:41 -08:00
Jenkins
fc34b4e9ce Merge "avoid multi chef client run starts" into dev/experimental 2014-12-10 08:17:03 +00:00
xiaodongwang
f49134271e avoid multi chef client run starts
Change-Id: Ie676e4200f2ce4574d53021b28b6c000641645ea
Closes-Bug: 1398963
2014-12-06 08:57:58 +00:00
xiaodongwang
1c245a51f1 add feature to reserve space umounted on disk
Change-Id: I6060a48f5e38521974b34fef6d8990f1127b5813
Closes-Bug: 1399880
2014-12-06 00:19:41 -08:00
Jenkins
bc97a1b193 Merge "clean mbr section on all disks when installing os" into dev/experimental 2014-12-05 18:40:51 +00:00
xiaodongwang
540ccc8256 clean mbr section on all disks when installing os
Change-Id: I4eef54018b81ae62e4dff5cad89933537044d58f
Close-Bug: 1398630
2014-12-05 07:47:03 +00:00
xiaodongwang
06c19826da make ubuntu openstack works with proxy
Partial-Bug: 1392131
Change-Id: I5485d4543705cb3affce1937d1d7a6f1fd97b866
2014-12-04 17:54:28 -08:00
xiaodongwang
283b747cf5 move parted package installation to outside
Change-Id: Ibd22ee5832bfb2374f89702c1baafd8973f3b367
Closes-Bug: 1392131
2014-12-03 13:50:00 -08:00
Jenkins
f50b6fc7e0 Merge "fix gem install failure for ubuntu" into dev/experimental 2014-12-01 22:08:59 +00:00
Jerry Zhao
a375b37153 fix gem install failure for ubuntu
chef-client gem install does not honor .gemrc in time,
so specify the http-proxy option explicitly.
moreover, post-apt-config kickstart file has a syntax
error, which is also fixed in the patch.

Change-Id: Iadf78b6c0aff691e3f6824c20e906b75b681e848
Closes-bug: #1393967
Closes-bug: #1396948
2014-11-27 02:35:12 -08:00
xiaodongwang
6e1f17d0f8 move clean repos command in case when local_repo used
Change-Id: I8e0a7a0abd3dfefc0416b0157427aef777e2d8b2
Closes-Bug: 1396377
2014-11-26 11:50:36 -08:00
Jenkins
7fee12db99 Merge "fix package 'parted' not found Closes-bug: #1392131" into dev/experimental 2014-11-21 01:26:32 +00:00
Jenkins
871d97c718 Merge "Separate cobbler IP from compass IP in cobbler snippets" into dev/experimental 2014-11-20 23:25:20 +00:00
grace.yu
8d2e2fd44e fix package 'parted' not found
Closes-bug: #1392131

Change-Id: I594695cbb8633d66118cb78551e0baa7fd532844
2014-11-20 13:02:38 -08:00
Xicheng Chang
f639a5d67f Separate cobbler IP from compass IP in cobbler snippets
Compass IP now is isolated so that during PXE process,
a pxe-server IP is available and DHCP will have its own
subnet and cobbler server owns the vip for that subnet.
This only partially closes bug #1393957, further change
will be maide in compass-core. So no "Closes-Bug" will
be added in the message.
Partial-bug: #1393957
Change-Id: I0d693f2958a33b5a093728dccf063e2114c7406b
2014-11-20 11:09:33 -08:00
grace.yu
dd3256e188 fixed haproxy to support OpenStack H/A
Change-Id: I02a6a024dc57f491555616529c20324cb3b1bfce
2014-11-19 16:34:02 -08:00
Jerry Zhao
116364c29a init null value in kairodb_writer
in tsinghua cluster, there is one node of the 90 nodes cluster that
doesn't contain fqdn attribute, so set hostname or ipaddress as the
host id of a node.

Cherry-pick from Change-Id: I2d8b5956954ca481932d89a0512cee54475e966e

Conflicts:

	chef/cookbooks/collectd/recipes/kairosdb.rb

Change-Id: I9b4910b01ae323a1b109a701b0fd69bc73bb56b3
2014-11-16 07:16:18 -08:00
xiaodongwang
4db535fd31 reformat preseed
Change-Id: I7c86310f1788ef144442b269b91581e48f7c8fda
2014-11-11 17:49:39 -08:00
xiaodongwang
8c510ac32c post ananmon should sent anaconda log back.
Change-Id: Icbf80b4b34587faaf83100aaafd5e6dc65383a9b
2014-10-30 01:21:37 -07:00
Jenkins
48de0b2f5f Merge "Filter out guids for rabbitmq" into dev/experimental 2014-10-27 01:01:42 +00:00
xiaodongwang
aa0e25dd50 complete kickstart missing restriction
Change-Id: I390ef9b5899409ec2e4877a84e4151b1ea294cf5
2014-10-25 22:48:24 -07:00
GitaWei
555cc2df64 Filter out guids for rabbitmq
Change-Id: I81a5229eaf5a18e296e8b38afa4a5cba99d018e8
2014-10-24 16:42:20 -07:00
xiaodongwang
0f77a082a0 fix remove no local repo bug
Change-Id: If1159c022787ff0373be45d228f68292e399aa9d
2014-10-22 16:48:25 -07:00
xiaodongwang
de7cb6a442 change gem rc file back to /root/.gemrc
Change-Id: I072fd062cfc6d062af73188f7fc5a5583f6badf5
2014-10-21 17:40:04 -07:00
Xicheng Chang
9137b64713 Add repository disabling code back to local repo snippet
Change-Id: I8a3b2ac77abce8f35b829c3b272b78a376a7e748
2014-10-17 16:09:50 -07:00
Xicheng Chang
58fd79fb86 Fix bug in kickstart_local_repo snippet and kickstart
Change-Id: Ice16a9aa9588c28056882a7c129e712181645539
2014-10-17 14:23:54 -07:00
xiaodongwang
3e1faf5b86 add yum plugin priorities package
Change-Id: I1e43890b49518d2d464e3d8b2a44c73d5d7e3234
2014-10-16 09:42:30 -07:00