105 Commits

Author SHA1 Message Date
Jenkins
33c9f8451a Merge "add support to sort disk by path" into dev/experimental 2014-09-05 18:10:50 +00:00
Jerry Zhao
9897f4852c Cherry pick from master for collectd cookbooks
Change-Id: Iad37cbb8c3bda54f3873b094824772e6bb98cf65
2014-09-04 11:31:17 -07:00
Weidong Shao
b1802468b3 Tmp change: skipp passwordless recipe
Change-Id: I8675c133df84cd801d49c4a285fe8d9730c8be81
2014-09-03 07:16:51 +00:00
Weidong Shao
8feb56ce06 Merge openssh cookbook from OpenDeployment
Note that this merge may break things. The change from OpenDeployment
is subject to further review at a later time. The change introduces
openstack specific logic in an otherwise independent openssh recipe.

Change-Id: I568e4d2329a1d0e2670e1b0340afca4dddf4f23a
2014-09-03 06:50:33 +00:00
Weidong Shao
c1e8a92d53 Merge roles from OpenDeployment repo
Change-Id: I072f946924e74fc92f98c98b344263f3873930ba
2014-09-03 06:13:42 +00:00
Weidong Shao
305f84685d Fix an error on empty list from chef search
Change-Id: Iacfd5614849b3885c5be833122d1f640c34ce66c
2014-09-02 23:48:01 +00:00
Weidong Shao
0799cbabff Update part of cookbooks from OpenDeployment
Change-Id: I884d2157241150a5b1ec4e44f979908762467671
2014-08-30 01:19:52 +00:00
Xicheng Chang
1b63fe3993 Update image_create logic to adapt http proxy
Change-Id: Iae0bdff21477ae90a0976b475c42e44803b3ec3d
2014-08-28 16:58:27 -07:00
xiaodongwang
3a75594da3 add support to sort disk by path
Change-Id: I9d5bab1f16364e6cb53cf3cb74a3b24c70705d75
2014-08-26 15:15:54 -07:00
grace.yu
afc8b44162 add default nameserver8.8.8.8 and set chef dns to deployed nodes
Change-Id: I2178a88c0a85d55261f414c78daf73328b07de01
2014-08-20 14:48:18 -07:00
Weidong Shao
02abf1a5e8 Update roles using .json files
Change-Id: I561d2400104776937629e60a7dfc44d6810fe711
2014-08-07 19:40:23 +00:00
Weidong Shao
486c596323 Replace cookbooks for IceHouse release
Change-Id: Ibb6bdd3ed7795b86f773f9cb6ce1dfffb9b79faf
2014-08-07 08:36:02 +00:00
Weidong Shao
f8c0b2b04c Use dev/experimental as the default review branch
Change-Id: I13cc639bb9f72cf86ab9e8d2f95aa5e7cc4c8b5f
2014-08-07 04:34:05 +00:00
Jerry Zhao
421fdfe39a Add collectd cookbook
Will associate monitored processes with roles later.

Change-Id: I33a14255a11f52be87c1551a3dd2b4542c11eebc
2014-08-05 21:00:01 -07:00
Jerry Zhao
bb869f8cfd Associate role related logs in role configs.
Define role related log attributes in role configs so that
recipe does not need to check its own role every time when
writing a role related config from template, because those
info would already have been in role definition and passed
down to node attributes.
Process monitoring can use the same mechanism.

Change-Id: Ifb10da356baf99d2d7e21c8d4d3d8df38fc81f58
2014-08-04 19:40:46 -07:00
Jerry Zhao
6c24eaa1fc Switch to the EOL repo after fedora EOLed grizzly
Change-Id: I0fab5d2d6bc0f8910f6e2f067b367b31526c3f6e
Closes-bug: #1352453
2014-08-04 11:20:37 -07:00
Jerry Zhao
d4b335dedd Add timeout check and timeout queue with recommended value
There were also occurances that httpchk experienced timeout. Right
now we are using default value 2000ms. Try using 10s suggested by
the example config in openstack doc.

Related-bug: #1344144
Change-Id: I7a72d7a22a1845d1e2d480eee88246f980f87e6c
2014-07-23 11:32:28 -07:00
Jerry Zhao
7283866a8a Increase timeout connect to allow for longer wait time.
When backend gets extremely busy especially such complex system as
openstack, increase timeout to allow for longer tcp connnection time
before the backend is deemed dead.
Refer to: http://docs.openstack.org/high-availability-guide/content/
ha-aa-haproxy.html

Change-Id: I03f5937424dc77a94eec0c03a890668a15358e01
Related-bug: #1344144
2014-07-18 10:44:47 -07:00
Jenkins
6ebf72bb80 Merge "fix ntp server bug" 2014-06-18 17:38:40 +00:00
Jenkins
9d84b7373d Merge "Run apt-get update before installing log related packages" 2014-06-17 02:21:16 +00:00
Jerry Zhao
55eb597788 Run apt-get update before installing log related packages
ubuntu has an old apt cache upon a fresh installation, so some
package may not be in the cache yet because I noticed some dstat
installation failures due to no condidate found, so run apt-get update
first before installing packages.

Change-Id: I02cc51c45ab65a8eb9c915a87fad28aa4d844acb
2014-06-13 18:00:32 +00:00
xiaodongwang
38d99aab70 fix ntp server bug
Change-Id: I16d7c01c93136014dc986fd817e73853576e2c65
2014-06-12 13:52:35 -07:00
Xicheng Chang
6b9ecd81bf Fix error in ntp if condition
Change-Id: I78dbbd46ce91e71d6e4e54ab832f2dbbdfb84100
2014-06-11 23:54:00 +00:00
Jenkins
c959d5eedc Merge "For testing with review.openstack.org" 2014-06-11 01:38:58 +00:00
Xinyu Zhao
5e0e64d0d3 Add stats log on cpu,disk,network
Add stats on cpu, disk and network and collect system logs
for easier debugging.

Change-Id: I378dececf5a650a1613086edc9ec063b253281c3
2014-06-11 00:04:45 +00:00
Jenkins
eda418fb18 Merge "update chef and cobbler config to make ubuntu 12.04 work" 2014-06-09 23:12:57 +00:00
Lawrence Davison
e91e3b539c For testing with review.openstack.org
Change-Id: I6c86cbf67617e26e6017d23b62635682fad4cd6c
2014-06-06 19:30:01 -07:00
xiaodongwang
99f145ba2d update chef and cobbler config to make ubuntu 12.04 work
Change-Id: I9d96382eae67421b33c33c64f0af17e14fe8acd2
2014-06-04 14:19:21 -07:00
Xinyu Zhao
8812c02940 add case for ubuntu when collecting logs
openstack on ubuntu has some logs named differently from
centos

Change-Id: I0f21999a32f7209d526b4296d1420baa2f9c85c5
2014-06-03 18:41:33 +00:00
xiaodongwang
0e1a88bb87 update snippet to support 14.04 version
Change-Id: I81b9ae9d51ad1930256110c31a70cf756e4f6f8a
2014-05-29 13:43:20 -07:00
xiaodongwang
c4f81a709e remove unused snippets
Change-Id: Ibee01d3260900acd9a2330803cf11e030f2be0a9
2014-05-20 17:34:45 -07:00
xiaodongwang
ae44332c69 update snippet to support preseed
Change-Id: I8442758ffaf3a55ec4773bf820bc4cdefb2e6452
2014-05-19 10:47:36 -07:00
Jenkins
a8aa336541 Merge "fix a protential network loop bug" 2014-05-11 00:00:04 +00:00
Xinyu Zhao
ef7e56fa85 Add more logs for investigation on quantum issue
https://bugs.launchpad.net/compass/+bug/1314742
Create network failed sometimes due to rpc timeout,
so need to know where the delay is.

Change-Id: I135d1153c6cf18e4fd2047e5f3e8c7ec61165936
2014-04-30 18:05:22 +00:00
SamSu
1080043ada fix a protential network loop bug
Change-Id: Ic4f9d2688da38794b2b7bcf26b5cd586a5d218d6
2014-04-29 11:48:18 -07:00
Xinyu Zhao
46fb86bffe Log haproxy to rsyslog
Also increase the timeouts to see if any more Gateway timeout
failure in tempest.
Fix a bug in hosts snipet and also make log from haproxy tagged
with same hostname used by anamon.

Change-Id: I02ca18bb5ce0cdcd8a496672cb1bb5af179745be
2014-04-25 17:57:57 +00:00
Jenkins
893a10eadf Merge "Make sure cinder volume db sync successfully" 2014-04-22 23:15:43 +00:00
Xinyu Zhao
dcb23a5550 Make sure cinder volume db sync successfully
Before running rsyslog restart make sure openstack services
start normally, otherwise, rsyslog restart will fail without
monitored dirs created by openstack services.

Change-Id: Icb3f91e97d8403130afa390fd4508a954cb41240
2014-04-22 18:20:04 +00:00
Jenkins
8343d4aa03 Merge "Make sure only monitor the service logs per role." 2014-04-22 16:47:56 +00:00
Xinyu Zhao
1f82f68616 Make sure only monitor the service logs per role.
If the monitored log dir does not exist, rsyslog will abort,
so make sure only monitor the logs that are existent.

Change-Id: Ic0f265a6a85d1e50d1e6e044d18ccd94f6dd5937
2014-04-22 01:51:27 +00:00
Jenkins
48f0e22eb0 Merge "add variable to control if push ssh key to dest machines." 2014-04-21 17:35:56 +00:00
Xinyu Zhao
368fc7a751 Reduce the number of monitored logs
Rsyslog has limitation on number of files it can monitor.
Also write a state file for each log.

Change-Id: I3497ff2d9c1655f89de4d69aed83cc7edfa534ee
2014-04-19 01:57:34 +00:00
xiaodongwang
9e849a0a1a add variable to control if push ssh key to dest machines.
Change-Id: Ib828997bdead70fae23b1196335c631c1b9d9f0e
2014-04-18 11:49:19 -07:00
xiaodongwang
d87900fb9b add test_roels into databag
Change-Id: I4d9c499f0ac39420f90fa126c865718a63dbc732
2014-04-17 14:53:55 -07:00
Jenkins
eadd742b79 Merge "adjust several parameters" 2014-04-17 21:45:52 +00:00
Jenkins
ed43f3df05 Merge "delay 5 seconds before upload images" 2014-04-17 21:43:06 +00:00
Jenkins
f7373eb60a Merge "adjust several parameters for nova and quantum performance" 2014-04-17 21:43:06 +00:00
Jenkins
01629c5979 Merge "seperate vnc proxy role" 2014-04-17 21:39:08 +00:00
Xinyu Zhao
a765e73e9f Init cinder db before cinder-volume restart
It is too late for api.rb to call db sync when cinder-volume restart.

Change-Id: Ia48fa79b0d1e8b65499c0a479ba3661f23d35863
2014-04-17 01:13:56 +00:00
SamSu
26de3be603 adjust several parameters
Change-Id: Ib8119d1c7ec14f06da1efcbeabba154eacabb0a4
2014-04-16 18:03:36 -07:00