Commit Graph

2017 Commits

Author SHA1 Message Date
waleed samy
148bc71924 fix broken link 2016-07-01 21:29:33 +02:00
Tim St. Clair
c39c3f5b38 Merge pull request #1347 from enoodle/cloudinfo_gce_id_from_file
cloudinfo: identify gce from file
2016-07-01 07:45:48 -07:00
Erez Freiberger
cf548f1b70 cloudinfo: identify gce from file 2016-07-01 11:43:09 +03:00
Vish Kannan
6abe4db6f4 Merge pull request #1362 from timstclair/remote-races
Detect race conditions in jenkins integration tests
2016-06-30 19:38:42 -07:00
Tim St. Clair
2c69c0b634 Detect race conditions in jenkins integration tests
Injected a race into cadvisor.go and verified this caught it. Also, fix
the runner to grab the logs even when the tests don't complete.
2016-06-30 19:10:08 -07:00
Tim St. Clair
e6c30f7e8d Merge pull request #1288 from timstclair/races
Run the integration tests locally with the race detector enabled
2016-06-30 17:37:34 -07:00
Tim St. Clair
42dda5ef64 Run the integration tests with the race detector enabled
The integration test script was changed so that it aborts the testing
when the cAdvisor binary exits with a non-zero error code.

Also in this PR:
- clean up makefile to print more informative output
- change make release to build the release binary
2016-06-30 17:29:24 -07:00
Tim St. Clair
5a28a0c718 Merge pull request #1357 from timstclair/jenkins
Update jenkins script to match job configs
2016-06-30 13:33:08 -07:00
Tim St. Clair
4b80217dcc Update jenkins script to match job configs
Update jenkins_e2e.sh to match the up-to-date configurations of the
cAdvisor jenkins PR-builder and CI jobs. Once this is merged, we can
update those jobs to call this script instead.
2016-06-30 13:29:41 -07:00
Vish Kannan
d07eef4456 Merge pull request #1356 from timstclair/release
Simplify cAdvisor release versioning
2016-06-30 12:17:43 -07:00
Tim St. Clair
306854a42d Also check for dirty releases 2016-06-29 18:27:07 -07:00
Tim St. Clair
151d4912dc Simplify cAdvisor release versioning
- Eliminate version/VERSION in favor of parsing git versions
- Enforce that releases are built against tagged versions
- Delete the broken release script, change `make release` to build the release
2016-06-29 18:27:07 -07:00
Tim St. Clair
51574ec04f Merge pull request #1355 from ronnielai/version
Release 0.23.6
2016-06-27 17:51:14 -07:00
Ron Lai
0522a747cc Release 0.23.6 2016-06-27 17:41:03 -07:00
Tim St. Clair
bad9237cf6 Merge pull request #1353 from ronnielai/fsinfo
Including the number of free inodes in FsInfo
2016-06-27 12:06:20 -07:00
Ron Lai
29ffb3b6b9 Adding inode info 2016-06-27 11:52:40 -07:00
Tim St. Clair
dbff294be6 Merge pull request #1323 from philips/patch-1
README: tell people where to find people in slack
2016-06-23 16:37:34 -07:00
Brandon Philips
7f2466a519 README: tell people where to find people in slack 2016-06-23 12:51:01 -07:00
Tim St. Clair
b4f1d7b82f Merge pull request #1348 from ncdc/fix-dmsetup-status-parsing-for-thin-ls
Fix detection of devmapper metadata reservation
2016-06-23 12:02:44 -07:00
Andy Goldstein
f014860332 Fix detection of devmapper metadata reservation
Because new versions of devicemapper may add additional fields to the output of 'dmsetup status',
change the check to use SplitN to get the minimum fields required, and ignore any additional fields
after the one we care about.
2016-06-23 14:54:56 -04:00
Yu-Ju Hong
6351fbfc84 Merge pull request #1346 from krousey/inotify_bump
Updating inotify to fix memory leak
2016-06-23 10:20:22 -07:00
Kris
24e872fa73 Updating inotify to fix memory leak 2016-06-22 18:38:02 -07:00
Vish Kannan
e97c522721 Merge pull request #1343 from sjenning/dm-fallback
fallback to /dev/mapper device if metadata device is not set in docker info
2016-06-22 12:43:56 -07:00
Seth Jennings
eafff745a5 only fail fs stat gather if metadata device not found 2016-06-21 16:05:37 -05:00
Seth Jennings
f3bca888f8 fallback to /dev/mapper device if metadata device is not set in docker info 2016-06-21 16:01:18 -05:00
Vish Kannan
267066c0f9 Merge pull request #1301 from timstclair/runtime
Downgrade failure to rgeister runtime factory to warning
2016-06-21 13:41:09 -07:00
Tim St. Clair
f02ec8a967 Downgrade failure to rgeister runtime factory to warning
It is not an error to fail to register the Docker factory on a system
running only rkt, and vice-versa, so these failures are downgraded from
an Error to a Warning. The raw handler should always be registered.
2016-06-21 13:21:13 -07:00
Dawn Chen
1250a1dc25 Merge pull request #1333 from Random-Liu/fix-data-overflow
Fix uint64 overflow in info/v2/conversion.go.
2016-06-16 14:47:00 -07:00
Lantao Liu
8c362dc0dc Fix uint64 overflow in info/v2/conversion.go. 2016-06-16 10:41:12 -07:00
Dawn Chen
eb505e0cf5 Merge pull request #1327 from pmorie/thinls-binary-check
Check for thin_ls binary in path when using ThinPoolWatcher
2016-06-16 10:40:18 -07:00
Paul Morie
c37d048e1b Check for thin_ls binary in path when using ThinPoolWatcher 2016-06-14 13:19:05 -04:00
Tim St. Clair
1c8d7896a5 Merge pull request #1318 from thomaso-mirodin/fix-prometheus-collector
Fixes a panic when a prometheus endpoint ends with a newline
2016-06-03 15:12:12 -07:00
Thomas Desrosiers
960df35f4e Fixes a panic when a prometheus endpoint ends prematurely or with an empty line 2016-06-03 14:10:24 -07:00
Tim St. Clair
49f3d7ed3d Merge pull request #1303 from timstclair/fsexec
Cap the maximum consecutive du commands
2016-05-20 17:13:56 -07:00
Tim St. Clair
f796871304 Cap the maximum parallel exec commands for getting disk usage 2016-05-20 16:29:49 -07:00
Tim St. Clair
2ad48e14fd Merge pull request #1299 from vishh/static-link
Link cAdvisor statically.
2016-05-20 15:49:24 -07:00
Vishnu kannan
7f6127620a Link cAdvisor statically.
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-05-20 13:39:13 -07:00
Vish Kannan
7ddf6eb5d1 Merge pull request #1294 from timstclair/partial-failure
Fix nil-interface partialFailure bug
2016-05-19 16:30:05 -07:00
Tim St. Clair
81786ec1d2 Fix nil-interface partialFailure bug 2016-05-19 16:16:58 -07:00
Tim St. Clair
fb5fb832ed Merge pull request #1292 from timstclair/tail
Fixes for log tailing
2016-05-19 12:16:24 -07:00
Tim St. Clair
2f0af7bb40 Fixes for log tailing
IN_ATTRIB inotify events are generated when atime / mtime is changed,
which would cause the tail to be reset, and reread the same log
again (generating duplicate events). Instead, watch the directory for
file delete / move.

Also, use an exponential backoff when retrying opening the file.
2016-05-18 18:53:35 -07:00
Vish Kannan
d4bed01232 Merge pull request #1291 from timstclair/release
Release v0.23.2
2016-05-18 15:27:01 -07:00
Tim St. Clair
0ff6ed0ddd Release v0.23.2 2016-05-18 15:20:31 -07:00
Tim St. Clair
18e56007c1 Merge pull request #1290 from timstclair/tail
Cleanup tail util from #1264
2016-05-18 14:46:50 -07:00
Tim St. Clair
ee24f28f73 Cleanup tail util from #1264 2016-05-18 14:36:12 -07:00
Tim St. Clair
381f24b4f2 Merge pull request #1264 from sjenning/log-rotate-support
add log file tailing and logrotate support
2016-05-18 14:35:54 -07:00
Tim St. Clair
b5d86a7288 Merge pull request #1188 from krallin/dedicated-netlink-connection-master
Use a dedicated CpuLoadReader per container
2016-05-18 13:57:37 -07:00
Tim St. Clair
3fbe18de9a Merge pull request #1204 from pmorie/dm-support
devicemapper thin_ls support
2016-05-18 12:30:05 -07:00
Paul Morie
647224c95a Add devicemapper support for docker containers 2016-05-18 15:19:20 -04:00
Thomas Orozco
2e1f0e2a08 Use a dedicated CpuLoadReader per container
This ensures each goroutine is given its own Netlink connection, and
presumably avoids having a message destined for one goroutine read by
another goroutine.
2016-05-18 09:34:13 +02:00