Skip to content
This repository has been archived by the owner on Nov 9, 2020. It is now read-only.

Conversation

shuklanirdesh82
Copy link
Contributor

As of now we are collecting plugin,driver and esx hostd log(https://github.com/vmware/docker-volume-vsphere/blob/master/misc/drone-scripts/dump_log.sh#L18).

Need to extend log collection script for guest vm's linux kernel log.

CI: https://ci.vmware.run/vmware/docker-volume-vsphere/1582

For photon VM (collecting logs via journalctl utility):

=> /var/log/syslog Thu Mar 9 09:11:07 UTC 2017

=> false Thu Mar 9 09:11:07 UTC 2017

=> invoking journalctl Thu Mar 9 09:11:07 UTC 2017

-- Logs begin at Thu 2017-03-09 08:30:19 UTC, end at Thu 2017-03-09 09:11:07 UTC. --
Mar 09 08:30:13 photon-klJ0Zth7o systemd[431]: Time has been changed
Mar 09 08:30:13 photon-klJ0Zth7o systemd[1]: systemd-networkd.service: Watchdog timeout (limit 3min)!
Mar 09 08:30:13 photon-klJ0Zth7o systemd[1]: Time has been changed
Mar 09 08:30:13 photon-klJ0Zth7o systemd[1]: systemd-udevd.service: Watchdog timeout (limit 3min)!
Mar 09 08:30:13 photon-klJ0Zth7o systemd[1]: systemd-networkd.service: Main process exited, code=killed, status=6/ABRT

for ubuntu (from /var/log/syslog):

=> /var/log/syslog Thu Mar 9 09:11:08 UTC 2017

=> true Thu Mar 9 09:11:08 UTC 2017

Mar  9 06:28:27 sc-rdops-vm18-dhcp-57-89 dhclient[1073]: DHCPREQUEST of 192.168.31.85 on ens160 to 192.168.31.1 port 67 (xid=0x4a75a292)
Mar  9 06:28:27 sc-rdops-vm18-dhcp-57-89 dhclient[1073]: DHCPACK of 192.168.31.85 from 192.168.31.1
Mar  9 06:28:27 sc-rdops-vm18-dhcp-57-89 dhclient[1073]: bound to 192.168.31.85 -- renewal in 260 seconds.
Mar  9 06:31:40 sc-rdops-vm18-dhcp-57-89 systemd[1]: systemd-udevd.service: Watchdog timeout (limit

fixes #1008

//CC @govint

Copy link
Contributor

@govint govint left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

@shuklanirdesh82 shuklanirdesh82 merged commit 3df5ee1 into vmware-archive:master Mar 9, 2017
@shuklanirdesh82 shuklanirdesh82 deleted the collectLinuxKernelLogs.shuklanirdesh82 branch March 10, 2017 01:04
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

collect syslog (linux kernel log) in case of test failure
3 participants