summaryrefslogtreecommitdiff
path: root/incorrect_fqdn
blob: e9ac3fc89974b42139d2f1592f7feff6e5d2d308 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
no fqdn set properly - unless we set the fqdn in the 'leap init' we cannot set it early enough in puppet to be properly captured by facter (facter is run before even the earliest run stages). we want to require that users of the platform have a properly installed system with the fqdn/hostname set properly, but if they don't this is what happens:

---------------------
micah@minnow:~/leap/bitmask/provider$ leap -v 2 deploy turtle
 = loading /mnt/home/micah/leap/bitmask/leap_platform/provider_base/services/couchdb.json
 = loading /mnt/home/micah/leap/bitmask/leap_platform/provider_base/services/dns.json
 = loading /mnt/home/micah/leap/bitmask/leap_platform/provider_base/services/openvpn.json
 = loading /mnt/home/micah/leap/bitmask/leap_platform/provider_base/services/ca.json
 = loading /mnt/home/micah/leap/bitmask/leap_platform/provider_base/services/webapp.json
 = loading /mnt/home/micah/leap/bitmask/leap_platform/provider_base/tags/local.json
 = loading /mnt/home/micah/leap/bitmask/leap_platform/provider_base/common.json
 = loading /mnt/home/micah/leap/bitmask/leap_platform/provider_base/provider.json
 = loading tags/production.json
 = loading nodes/aligator.json
 = loading nodes/web1_vagrant.json
 = loading nodes/turtle.json
 = loading nodes/koala.json
 = loading nodes/sloth.json
 = loading nodes/vpn1_vagrant.json
 = loading nodes/couchdb1_vagrant.json
 = loading nodes/ca1_vagrant.json
 = loading common.json
 = loading provider.json
 = loading secrets.json
 = ran git submodule status 2>&1
 = executing "test -f /srv/leap/initialized && ! dpkg-query -W --showformat='${Status}\\\n' puppet ruby-hiera-puppet rsync lsb-release 2>&1 | grep -q -E '(deinstall|no packages)'"
 = updating hiera.yaml
   - rsync -az -e "ssh -o GlobalKnownHostsFile='/mnt/home/micah/leap/bitmask/provider/files/ssh/known_hosts' -o StrictHostKeyChecking='yes' -o HostKeyAlias='turtle' -o HostName='176.53.69.119' -p 22" /mnt/home/micah/leap/bitmask/provider/hiera/turtle.yaml root@turtle:/etc/leap/hiera.yaml
 = rsync /mnt/home/micah/leap/bitmask/provider/hiera/turtle.yaml /etc/leap/hiera.yamlexecuting `apply_puppet'
 = applying puppet
   - executing `puppet:apply'
   - executing "if [ ! -f /tmp/puppet.lock ]; then touch /tmp/puppet.lock; else stat -c \"\e[0;31mPuppet in progress, /tmp/puppet.lock owned by %U since %x\e[0m\" /tmp/puppet.lock >&2; exit 1; fi"
   - executing `puppet:update_code'
   - rsync -az --delete --exclude=.git --exclude=.svn -e "ssh -o GlobalKnownHostsFile='/mnt/home/micah/leap/bitmask/provider/files/ssh/known_hosts' -o StrictHostKeyChecking='yes' -o HostKeyAlias='turtle' -o HostName='176.53.69.119' -p 22" /mnt/home/micah/leap/bitmask/leap_platform/puppet root@turtle:/srv/leap
   - executing "cd /srv/leap &&  /usr/bin/puppet apply --color=false --confdir puppet puppet/manifests/site.pp"
   - [turtle] warning: Could not retrieve fact fqdn
   - [turtle] warning: Host is missing hostname and/or domain: turtle
   - [turtle] warning: Dynamic lookup of $codename at /srv/leap/puppet/modules/apt/manifests/preferences.pp:6 is deprecated. For more information, see http://docs.puppetlabs.com/guides/scope_and_puppet.html. To see the change in behavior, use the --debug flag.
   - [turtle] warning: Dynamic lookup of $codename at /srv/leap/puppet/modules/apt/templates/Debian/preferences_wheezy.erb:1 is deprecated. For more information, see http://docs.puppetlabs.com/guides/scope_and_puppet.html. To see the change in behavior, use the --debug flag.
   - [turtle] warning: Dynamic lookup of $codename at /srv/leap/puppet/modules/apt/templates/Debian/preferences_wheezy.erb:3 is deprecated. For more information, see http://docs.puppetlabs.com/guides/scope_and_puppet.html. To see the change in behavior, use the --debug flag.
   - [turtle] warning: Dynamic lookup of $codename at /srv/leap/puppet/modules/apt/templates/Debian/preferences_wheezy.erb:6 is deprecated. For more information, see http://docs.puppetlabs.com/guides/scope_and_puppet.html. To see the change in behavior, use the --debug flag.
   - [turtle] warning: Dynamic lookup of $codename at /srv/leap/puppet/modules/apt/templates/Debian/preferences_wheezy.erb:8 is deprecated. For more information, see http://docs.puppetlabs.com/guides/scope_and_puppet.html. To see the change in behavior, use the --debug flag.
   - [turtle] notice: Scope(Node[default]): Services for : webapp
   - [turtle] warning: Dynamic lookup of $apache_no_default_site at /srv/leap/puppet/modules/apache/manifests/base.pp:46 is deprecated. For more information, see http://docs.puppetlabs.com/guides/scope_and_puppet.html. To see the change in behavior, use the --debug flag.
   - [turtle] warning: Dynamic lookup of $apache_no_default_site at /srv/leap/puppet/modules/apache/manifests/ssl/base.pp:4 is deprecated. For more information, see http://docs.puppetlabs.com/guides/scope_and_puppet.html. To see the change in behavior, use the --debug flag.
   - [turtle] Failed to parse template site_apache/vhosts.d/leap_webapp.conf.erb:
   - [turtle]   Filepath: /usr/lib/ruby/vendor_ruby/puppet/parser/templatewrapper.rb
   - [turtle]   Line: 65
   - [turtle]   Detail: Could not find value for 'domain' at 2:/srv/leap/puppet/modules/site_apache/templates/vhosts.d/leap_webapp.conf.erb
   - [turtle]  at /srv/leap/puppet/modules/site_webapp/manifests/apache.pp:25 on node turtle
   - rolling backexecuting "rm -f /tmp/puppet.lock; true"
error: failed: "sh -c 'cd /srv/leap &&  /usr/bin/puppet apply --color=false --confdir puppet puppet/manifests/site.pp'" on turtle
/var/lib/gems/1.9.1/gems/capistrano-2.13.5/lib/capistrano/command.rb:176:in `process!': failed: "sh -c 'cd /srv/leap &&  /usr/bin/puppet apply --color=false --confdir puppet puppet/manifests/site.pp'" on turtle (Capistrano::CommandError)
	from /var/lib/gems/1.9.1/gems/capistrano-2.13.5/lib/capistrano/command.rb:134:in `process'
	from /var/lib/gems/1.9.1/gems/capistrano-2.13.5/lib/capistrano/configuration/actions/invocation.rb:185:in `block in run_tree'
	from /var/lib/gems/1.9.1/gems/capistrano-2.13.5/lib/capistrano/configuration/connections.rb:198:in `block in execute_on_servers'
	from /var/lib/gems/1.9.1/gems/capistrano-2.13.5/lib/capistrano/configuration/connections.rb:186:in `each'
	from /var/lib/gems/1.9.1/gems/capistrano-2.13.5/lib/capistrano/configuration/connections.rb:186:in `each_slice'
	from /var/lib/gems/1.9.1/gems/capistrano-2.13.5/lib/capistrano/configuration/connections.rb:186:in `execute_on_servers'
	from /var/lib/gems/1.9.1/gems/capistrano-2.13.5/lib/capistrano/configuration/actions/invocation.rb:183:in `run_tree'
	from /var/lib/gems/1.9.1/gems/capistrano-2.13.5/lib/capistrano/configuration/actions/invocation.rb:155:in `run'
	from /var/lib/gems/1.9.1/gems/capistrano-2.13.5/lib/capistrano/extensions.rb:9:in `method_missing'
	from /var/lib/gems/1.9.1/gems/leap_cli-0.1.4/vendor/supply_drop/lib/supply_drop/plugin.rb:73:in `puppet'
	from /var/lib/gems/1.9.1/gems/leap_cli-0.1.4/vendor/supply_drop/lib/supply_drop/plugin.rb:32:in `apply'
	from /var/lib/gems/1.9.1/gems/leap_cli-0.1.4/vendor/supply_drop/lib/supply_drop/tasks.rb:85:in `block (4 levels) in <top (required)>'
	from /var/lib/gems/1.9.1/gems/capistrano-2.13.5/lib/capistrano/configuration/execution.rb:56:in `transaction'
	from /var/lib/gems/1.9.1/gems/capistrano-2.13.5/lib/capistrano/configuration/namespaces.rb:191:in `method_missing'
	from /var/lib/gems/1.9.1/gems/leap_cli-0.1.4/vendor/supply_drop/lib/supply_drop/tasks.rb:80:in `block (3 levels) in <top (required)>'
	from /var/lib/gems/1.9.1/gems/capistrano-2.13.5/lib/capistrano/configuration/execution.rb:138:in `instance_eval'
	from /var/lib/gems/1.9.1/gems/capistrano-2.13.5/lib/capistrano/configuration/execution.rb:138:in `invoke_task_directly'
	from /var/lib/gems/1.9.1/gems/capistrano-2.13.5/lib/capistrano/configuration/callbacks.rb:25:in `invoke_task_directly_with_callbacks'
	from /var/lib/gems/1.9.1/gems/capistrano-2.13.5/lib/capistrano/configuration/execution.rb:89:in `execute_task'
	from /var/lib/gems/1.9.1/gems/capistrano-2.13.5/lib/capistrano/configuration/namespaces.rb:191:in `method_missing'
	from /var/lib/gems/1.9.1/gems/capistrano-2.13.5/lib/capistrano/configuration/namespaces.rb:110:in `block in define_task'
	from /var/lib/gems/1.9.1/gems/leap_cli-0.1.4/lib/leap_cli/util/../remote/tasks.rb:32:in `block (2 levels) in load'
	from /var/lib/gems/1.9.1/gems/leap_cli-0.1.4/lib/leap_cli/log.rb:94:in `log'
	from /var/lib/gems/1.9.1/gems/leap_cli-0.1.4/lib/leap_cli/remote/plugin.rb:12:in `log'
	from /var/lib/gems/1.9.1/gems/leap_cli-0.1.4/lib/leap_cli/util/../remote/tasks.rb:31:in `block in load'
	from /var/lib/gems/1.9.1/gems/capistrano-2.13.5/lib/capistrano/configuration/execution.rb:138:in `instance_eval'
	from /var/lib/gems/1.9.1/gems/capistrano-2.13.5/lib/capistrano/configuration/execution.rb:138:in `invoke_task_directly'
	from /var/lib/gems/1.9.1/gems/capistrano-2.13.5/lib/capistrano/configuration/callbacks.rb:25:in `invoke_task_directly_with_callbacks'
	from /var/lib/gems/1.9.1/gems/capistrano-2.13.5/lib/capistrano/configuration/execution.rb:89:in `execute_task'
	from /var/lib/gems/1.9.1/gems/capistrano-2.13.5/lib/capistrano/configuration/namespaces.rb:110:in `block in define_task'
	from /var/lib/gems/1.9.1/gems/leap_cli-0.1.4/lib/leap_cli/commands/deploy.rb:41:in `block (3 levels) in <module:Commands>'
	from /var/lib/gems/1.9.1/gems/leap_cli-0.1.4/lib/leap_cli/util/remote_command.rb:36:in `ssh_connect'
	from /var/lib/gems/1.9.1/gems/leap_cli-0.1.4/lib/leap_cli/commands/deploy.rb:23:in `block (2 levels) in <module:Commands>'
	from /var/lib/gems/1.9.1/gems/gli-2.5.2/lib/gli/command_support.rb:136:in `call'
	from /var/lib/gems/1.9.1/gems/gli-2.5.2/lib/gli/command_support.rb:136:in `execute'
	from /var/lib/gems/1.9.1/gems/gli-2.5.2/lib/gli/app_support.rb:262:in `block in call_command'
	from /var/lib/gems/1.9.1/gems/gli-2.5.2/lib/gli/app_support.rb:275:in `call'
	from /var/lib/gems/1.9.1/gems/gli-2.5.2/lib/gli/app_support.rb:275:in `call_command'
	from /var/lib/gems/1.9.1/gems/gli-2.5.2/lib/gli/app_support.rb:69:in `run'
	from /var/lib/gems/1.9.1/gems/leap_cli-0.1.4/bin/leap:82:in `<module:Commands>'
	from /var/lib/gems/1.9.1/gems/leap_cli-0.1.4/bin/leap:38:in `<top (required)>'
	from /usr/local/bin/leap:23:in `load'
	from /usr/local/bin/leap:23:in `<main>'