Skip to content

Instantly share code, notes, and snippets.

@jpeach
Created November 30, 2018 01:01
Show Gist options
  • Save jpeach/992f969cb8944a4486e958a83800b383 to your computer and use it in GitHub Desktop.
Save jpeach/992f969cb8944a4486e958a83800b383 to your computer and use it in GitHub Desktop.
[root@magent0073.usspk01.pie.apple.com /home/jpeach]# puppet agent -t
Info: Using configured environment 'production'
Info: Retrieving pluginfacts
Info: Retrieving plugin
Info: Retrieving locales
Info: Loading facts
Info: Caching catalog for magent0073.usspk01.pie.apple.com
Info: Applying configuration version 'server=kickstart005.usspk01.pie.apple.com git=ddab307bb1(20 minutes ago) origin=untracked branch=untracked environment=production'
Error: Execution of '/sbin/vgcreate rootvg /dev/sda2' returned 5: Physical volume '/dev/sda2' is already in volume group 'vg0'
Unable to add physical volume '/dev/sda2' to volume group 'rootvg'.
Error: /Stage[main]/Lvm/Lvm::Volume_group[rootvg]/Volume_group[rootvg]/ensure: change from 'absent' to 'present' failed: Execution of '/sbin/vgcreate rootvg /dev/sda2' returned 5: Physical volume '/dev/sda2' is already in volume group 'vg0'
Unable to add physical volume '/dev/sda2' to volume group 'rootvg'.
Notice: /Stage[main]/Lvm/Lvm::Volume_group[rootvg]/Lvm::Logical_volume[srvlv]/Logical_volume[srvlv]: Dependency Volume_group[rootvg] has failures: true
Warning: /Stage[main]/Lvm/Lvm::Volume_group[rootvg]/Lvm::Logical_volume[srvlv]/Logical_volume[srvlv]: Skipping because of failed dependencies
Notice: /Stage[main]/Lvm/Lvm::Volume_group[rootvg]/Lvm::Logical_volume[srvlv]/Filesystem[/dev/rootvg/srvlv]: Dependency Volume_group[rootvg] has failures: true
Warning: /Stage[main]/Lvm/Lvm::Volume_group[rootvg]/Lvm::Logical_volume[srvlv]/Filesystem[/dev/rootvg/srvlv]: Skipping because of failed dependencies
Notice: /Stage[main]/Lvm/Lvm::Volume_group[rootvg]/Lvm::Logical_volume[srvlv]/Mount[/srv]: Dependency Volume_group[rootvg] has failures: true
Warning: /Stage[main]/Lvm/Lvm::Volume_group[rootvg]/Lvm::Logical_volume[srvlv]/Mount[/srv]: Skipping because of failed dependencies
Notice: /Stage[main]/Sdr::Base/File[/etc/sdr_broker/network_descriptors.json]/content:
--- /etc/sdr_broker/network_descriptors.json 2018-11-28 18:32:42.846661800 +0000
+++ /tmp/puppet-file20181130-2367429-j75b15 2018-11-30 01:00:15.890817047 +0000
@@ -1719,6 +1719,7 @@
"10.13.180.163/32",
"10.13.180.164/32",
"10.13.180.165/32",
+ "10.13.180.170/32",
"10.246.73.4/30",
"10.246.73.8/29",
"10.246.73.16/28",
Notice: /Stage[main]/Sdr::Base/File[/etc/sdr_broker/network_descriptors.json]/content: content changed '{md5}c264af2d1f7481559474bf6075859824' to '{md5}711ddc135c832492b31f4aa8163ad141'
Notice: /Stage[main]/Mesos::Package/Package[mesos-debuginfo]/ensure: ensure changed '1.8.0-45.el6' to '1.7.0-8.el6'
Notice: /Stage[main]/Mesos::Package/Package[mesos]/ensure: ensure changed '1.8.0-45.el6' to '1.7.0-8.el6'
Info: /Stage[main]/Mesos::Package/Package[mesos]: Scheduling refresh of Service[mesos-slave]
Info: /Stage[main]/Mesos::Package/Package[mesos]: Scheduling refresh of Service[mesos-slave-hubble-publisher]
Notice: /Stage[main]/Mesos::Package/Package[apple-mesos-identity]/ensure: ensure changed '1:1.8.0-45.el6' to '1.7.0-8.el6'
Info: /Stage[main]/Mesos::Package/Package[apple-mesos-identity]: Scheduling refresh of Service[mesos-slave]
Notice: /Stage[main]/Mesos::Agent/File[/srv/mesos]: Dependency Volume_group[rootvg] has failures: true
Warning: /Stage[main]/Mesos::Agent/File[/srv/mesos]: Skipping because of failed dependencies
Notice: /Stage[main]/Mesos::Agent/File[/srv/mesos/work]: Dependency Volume_group[rootvg] has failures: true
Warning: /Stage[main]/Mesos::Agent/File[/srv/mesos/work]: Skipping because of failed dependencies
Notice: /Stage[main]/Mesos::Docker::Cache/Package[docker-cache]/ensure: ensure changed '2.9.0.apple-0.apple.el6' to '2.9.2.apple'
Info: /Stage[main]/Mesos::Docker::Cache/Package[docker-cache]: Scheduling refresh of Service[docker-cache]
Notice: /Stage[main]/Mesos::Docker::Cache/File[/etc/init/docker-cache.conf]/content:
--- /etc/init/docker-cache.conf 2018-11-29 23:17:35.000000000 +0000
+++ /tmp/puppet-file20181130-2367429-1iteh7v 2018-11-30 01:01:07.954585343 +0000
@@ -1,12 +1,27 @@
+#! This file is managed by puppet. Any local changes made to this file will
+#! be overwritten and your changes will be lost and reverted. If you wish to
+#! make changes to this file, please send an email to
+#! siri-puppet@group.apple.com
description "Docker Cache"
start on started network
stop on starting rc RUNLEVEL=[016]
+kill timeout 20
respawn
respawn limit unlimited
post-stop exec sleep 5
+env HADOOP_CONF_DIR=/etc/hadoop/conf
+
+#! Ensure that the HDFS directory exists, and is writable by the service
+pre-start script
+ cgcreate -g net_cls:docker-cache && echo 0xBEEF0037 > /cgroup/net_cls/docker-cache/net_cls.classid
+
+end script
+
script
- exec docker-cache serve /etc/docker-cache/docker-cache.conf
+ exec \
+ cgexec -g net_cls:docker-cache \
+ sudo -E -u docker-cache -- docker-cache serve /etc/docker-cache/docker-cache.conf>> /var/log/docker-cache/docker-cache.log 2>&1
end script
Notice: /Stage[main]/Mesos::Docker::Cache/File[/etc/init/docker-cache.conf]/content:
Notice: /Stage[main]/Mesos::Docker::Cache/File[/etc/init/docker-cache.conf]/content: content changed '{md5}5f598f9f5d5fbdcb3880868f81b50d14' to '{md5}2cfe2ab0bb28cd1fbe1ae60f210b1789'
Info: /Stage[main]/Mesos::Docker::Cache/File[/etc/init/docker-cache.conf]: Scheduling refresh of Service[docker-cache]
Notice: /Stage[main]/Mesos::Docker::Cache/Service[docker-cache]: Triggered 'refresh' from 2 events
Notice: /Stage[main]/Core::Profiles::Puppet::Git_ancestry_guard/File[/etc/facter/facts.d/last_run_git_hash.json]/content:
--- /etc/facter/facts.d/last_run_git_hash.json 2018-11-29 22:33:50.282806227 +0000
+++ /tmp/puppet-file20181130-2367429-12mb2dq 2018-11-30 01:01:14.110557949 +0000
@@ -1,3 +1,3 @@
{
- "last_run_git_hash": "31d2e9ced14407149f77407eb00625024d85f409"
+ "last_run_git_hash": "ddab307bb11b42c7db059bdb8a5b5c3a345713a1"
}
\ No newline at end of file
Notice: /Stage[main]/Core::Profiles::Puppet::Git_ancestry_guard/File[/etc/facter/facts.d/last_run_git_hash.json]/content: content changed '{md5}926a29043e67a63a8b8570c7f7d35772' to '{md5}2ae4ab7d8d98157d8b5facb5ca08f4a7'
Notice: /Stage[main]/Mesos::Agent/Service[mesos-slave]: Dependency Volume_group[rootvg] has failures: true
Warning: /Stage[main]/Mesos::Agent/Service[mesos-slave]: Skipping because of failed dependencies
Info: /Stage[main]/Mesos::Agent/Service[mesos-slave]: Unscheduling all events on Service[mesos-slave]
Notice: Caught TERM; exiting
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment