Skip to content

Instantly share code, notes, and snippets.

@inokappa
Last active August 29, 2015 14:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save inokappa/40846327dbfaff19b298 to your computer and use it in GitHub Desktop.
Save inokappa/40846327dbfaff19b298 to your computer and use it in GitHub Desktop.
Puppet を使って Sensu Server をプロビジョニングした際のログ
Warning: Deprecation notice: Resource references should now be capitalized on line 11 in file /etc/puppet/manifests/site.pp
Warning: Config file /etc/puppet/hiera.yaml not found, using Hiera defaults
Notice: Compiled catalog for ip-192-168-x-xxx.ec2.internal in environment production in 4.93 seconds
Notice: /Stage[main]/Rabbitmq::Repo::Rhel/Exec[rpm --import http://www.rabbitmq.com/rabbitmq-signing-key-public.asc]/returns: executed successfully
Notice: /Stage[main]/Main/Node[default]/Yumrepo[epel]/ensure: created
Notice: /Stage[main]/Main/Node[default]/Package[erlang]/ensure: created
Notice: /Stage[main]/Redis/Package[redis]/ensure: created
Notice: /Stage[main]/Redis/Service[redis]/ensure: ensure changed 'stopped' to 'running'
Notice: /Stage[main]/Rabbitmq::Install/Package[rabbitmq-server]/ensure: created
Notice: /Stage[main]/Rabbitmq/Rabbitmq_plugin[rabbitmq_management]/ensure: created
Notice: /Stage[main]/Rabbitmq::Config/File[rabbitmq.config]/ensure: defined content as '{md5}663068e6c63f61c22bcb344f82a40ba2'
Error: /Stage[main]/Main/Node[default]/Rabbitmq_vhost[/sensu]: Could not evaluate: Execution of '/usr/sbin/rabbitmqctl list_vhosts' returned 2: Listing vhosts ...
Error: unable to connect to node 'rabbit@ip-192-168-x-xxx': nodedown
DIAGNOSTICS
===========
nodes in question: ['rabbit@ip-192-168-x-xxx']
hosts, their running nodes and ports:
- ip-192-168-x-xxx: [{rabbitmqctl1334,45792}]
current node details:
- node name: 'rabbitmqctl1334@ip-192-168-x-xxx'
- home dir: /var/lib/rabbitmq
- cookie hash: TpRi6txyjbUr7mjG1r8bfg==
Notice: /Stage[main]/Sensu::Package/User[sensu]/ensure: created
Notice: /Stage[main]/Rabbitmq::Config/File[/etc/rabbitmq/ssl]/ensure: created
Notice: /Stage[main]/Sensu::Repo::Yum/Yumrepo[sensu]/ensure: created
Notice: /Stage[main]/Sensu::Package/Package[sensu]/ensure: created
Notice: /Stage[main]/Sensu::Package/File[/etc/default/sensu]/content: content changed '{md5}586d540251fc66a3d7c190889af269fe' to '{md5}998182d1106a1bfc0ae2b2770642f0ea'
Notice: /Stage[main]/Sensu::Package/File[/etc/default/sensu]/mode: mode changed '0644' to '0444'
Notice: /Stage[main]/Sensu::Package/File[/etc/sensu/plugins]/owner: owner changed 'root' to 'sensu'
Notice: /Stage[main]/Sensu::Package/File[/etc/sensu/plugins]/group: group changed 'root' to 'sensu'
Notice: /Stage[main]/Sensu::Package/File[/etc/sensu/plugins]/mode: mode changed '0755' to '0555'
Notice: /Stage[main]/Sensu::Package/File[/etc/sensu/handlers]/owner: owner changed 'root' to 'sensu'
Notice: /Stage[main]/Sensu::Package/File[/etc/sensu/handlers]/group: group changed 'root' to 'sensu'
Notice: /Stage[main]/Sensu::Package/File[/etc/sensu/handlers]/mode: mode changed '0755' to '0555'
Notice: /Stage[main]/Sensu::Package/File[/etc/sensu/conf.d]/owner: owner changed 'root' to 'sensu'
Notice: /Stage[main]/Sensu::Package/File[/etc/sensu/conf.d]/group: group changed 'root' to 'sensu'
Notice: /Stage[main]/Sensu::Package/File[/etc/sensu/conf.d]/mode: mode changed '0755' to '0555'
Notice: /Stage[main]/Sensu::Package/File[/etc/sensu/conf.d/README.md]/ensure: removed
Notice: /Stage[main]/Sensu::Package/File[/etc/sensu/conf.d/checks]/ensure: created
Notice: /Stage[main]/Sensu::Package/File[/etc/sensu/conf.d/filters]/ensure: created
Notice: /Stage[main]/Sensu::Package/File[/etc/sensu/conf.d/handlers]/ensure: created
Notice: /Stage[main]/Sensu::Rabbitmq::Config/File[/etc/sensu/conf.d/rabbitmq.json]/ensure: created
Notice: /Stage[main]/Sensu::Rabbitmq::Config/Sensu_rabbitmq_config[ip-192-168-x-xxx.ec2.internal]/ensure: created
Notice: /Stage[main]/Sensu::Api::Config/File[/etc/sensu/conf.d/api.json]/ensure: created
Notice: /Stage[main]/Sensu::Api::Config/Sensu_api_config[ip-192-168-x-xxx.ec2.internal]/ensure: created
Notice: /Stage[main]/Sensu::Redis::Config/Sensu_redis_config[ip-192-168-x-xxx.ec2.internal]/ensure: created
Notice: /Stage[main]/Sensu::Redis::Config/File[/etc/sensu/conf.d/redis.json]/owner: owner changed 'root' to 'sensu'
Notice: /Stage[main]/Sensu::Redis::Config/File[/etc/sensu/conf.d/redis.json]/group: group changed 'root' to 'sensu'
Notice: /Stage[main]/Sensu::Redis::Config/File[/etc/sensu/conf.d/redis.json]/mode: mode changed '0644' to '0444'
Notice: /File[/etc/sensu/conf.d/redis.json]/seluser: seluser changed 'unconfined_u' to 'system_u'
Notice: /Stage[main]/Sensu::Client::Config/File[/etc/sensu/conf.d/client.json]/ensure: created
Notice: /Stage[main]/Sensu::Client::Config/Sensu_client_config[ip-192-168-x-xxx.ec2.internal]/ensure: created
Notice: /Stage[main]/Sensu::Dashboard::Config/Sensu_dashboard_config[ip-192-168-x-xxx.ec2.internal]/ensure: created
Notice: /Stage[main]/Sensu::Dashboard::Config/File[/etc/sensu/conf.d/dashboard.json]/owner: owner changed 'root' to 'sensu'
Notice: /Stage[main]/Sensu::Dashboard::Config/File[/etc/sensu/conf.d/dashboard.json]/group: group changed 'root' to 'sensu'
Notice: /Stage[main]/Sensu::Dashboard::Config/File[/etc/sensu/conf.d/dashboard.json]/mode: mode changed '0644' to '0440'
Notice: /File[/etc/sensu/conf.d/dashboard.json]/seluser: seluser changed 'unconfined_u' to 'system_u'
[FAILED]ould not start Service[sensu-client]: Execution of '/sbin/service sensu-client start' returned 1: Starting sensu-client[ OK ]
Wrapped exception:
[FAILED]n of '/sbin/service sensu-client start' returned 1: Starting sensu-client[ OK ]
Error: /Stage[main]/Sensu::Client::Service/Service[sensu-client]/ensure: change from stopped to running failed: Could not start Service[sensu-client]: Execution of '/sbin/service sensu-client s[FAILED]turned 1: Starting sensu-client[ OK ]
Notice: /Stage[main]/Sensu::Client::Service/Service[sensu-client]: Triggered 'refresh' from 3 events
Notice: /Stage[main]/Sensu::Api::Service/Service[sensu-api]: Dependency Service[sensu-client] has failures: true
Warning: /Stage[main]/Sensu::Api::Service/Service[sensu-api]: Skipping because of failed dependencies
Notice: /Stage[main]/Sensu::Api::Service/Service[sensu-api]: Triggered 'refresh' from 3 events
Notice: /Stage[main]/Sensu::Server::Service/Service[sensu-server]: Dependency Service[sensu-client] has failures: true
Warning: /Stage[main]/Sensu::Server::Service/Service[sensu-server]: Skipping because of failed dependencies
Notice: /Stage[main]/Sensu::Server::Service/Service[sensu-server]: Triggered 'refresh' from 4 events
Notice: /Stage[main]/Sensu::Dashboard::Service/Service[sensu-dashboard]: Dependency Service[sensu-client] has failures: true
Warning: /Stage[main]/Sensu::Dashboard::Service/Service[sensu-dashboard]: Skipping because of failed dependencies
Notice: /Stage[main]/Sensu::Dashboard::Service/Service[sensu-dashboard]: Triggered 'refresh' from 4 events
Notice: /Stage[main]/Sensu/Anchor[sensu::end]: Dependency Service[sensu-client] has failures: true
Warning: /Stage[main]/Sensu/Anchor[sensu::end]: Skipping because of failed dependencies
Notice: /Stage[main]/Rabbitmq::Config/File[rabbitmq-env.config]/ensure: defined content as '{md5}6513cd3ef9805aa61b060ae020df4fd5'
Notice: /Stage[main]/Rabbitmq::Service/Service[rabbitmq-server]/ensure: ensure changed 'stopped' to 'running'
Notice: /Stage[main]/Main/Node[default]/Rabbitmq_user[sensu]/ensure: created
Notice: /Stage[main]/Main/Node[default]/Rabbitmq_user_permissions[sensu@/sensu]: Dependency Rabbitmq_vhost[/sensu] has failures: true
Warning: /Stage[main]/Main/Node[default]/Rabbitmq_user_permissions[sensu@/sensu]: Skipping because of failed dependencies
Notice: /Stage[main]/Rabbitmq::Install::Rabbitmqadmin/Exec[Download rabbitmqadmin]/returns: executed successfully
Notice: /Stage[main]/Rabbitmq::Install::Rabbitmqadmin/File[/usr/local/bin/rabbitmqadmin]/ensure: defined content as '{md5}117edfba1e0986b570a50664a46fe097'
Notice: Finished catalog run in 140.68 seconds
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment