[
https://issues.apache.org/jira/browse/BIGTOP-1417?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14135267#comment-14135267
]
jay vyas edited comment on BIGTOP-1417 at 9/16/14 10:47 AM:
------------------------------------------------------------
This still seems to fail for me ? It looks like its working ok, after killing
iptables and killing all docker containers, it seemed to get further, but at
the end, i cannot ssh into the machine using {{vagrant ssh}} after this command
sequence.
Any thoughts [~evans_ye] ?
{noformat}
[root@rhbd docker-puppet]# vagrant up --no-provision && vagrant provision
/opt/vagrant/bin/../embedded/gems/gems/vagrant-1.6.5/lib/vagrant/pre-rubygems.rb:31:
warning: Insecure world writable dir /opt in PATH, mode 040777
/opt/vagrant/embedded/gems/gems/bundler-1.6.6/lib/bundler/runtime.rb:222:
warning: Insecure world writable dir /opt in PATH, mode 040777
Bringing machine 'bigtop1' up with 'docker' provider...
Bringing machine 'bigtop2' up with 'docker' provider...
Bringing machine 'bigtop3' up with 'docker' provider...
==> bigtop3: Fixed port collision for 22 => 2222. Now on port 2200.
jay debug:[]==> bigtop3: Creating the container...
bigtop3: Name: bigtop3
bigtop3: Image: bigtop/ssh:centos-6.4
bigtop3: Volume:
/home/jay/Development/bigtop/bigtop-deploy/puppet:/bigtop-puppet
bigtop3: Volume:
/home/jay/Development/bigtop/bigtop-deploy/vm/docker-puppet:/vagrant
bigtop3: Volume:
/home/jay/Development/bigtop/bigtop-deploy/puppet/manifests:/tmp/vagrant-puppet-3/manifests
bigtop3: Volume:
/home/jay/Development/bigtop/bigtop-deploy/puppet/modules:/tmp/vagrant-puppet-3/modules-0
==> bigtop1: Fixed port collision for 22 => 2222. Now on port 2201.
jay debug:[]jay debug:[]jay debug:[]jay debug:[]==> bigtop1: Creating the
container...
bigtop1: Name: bigtop1
bigtop1: Image: bigtop/ssh:centos-6.4
==> bigtop2: Fixed port collision for 22 => 2222. Now on port 2202.
bigtop1: Volume:
/home/jay/Development/bigtop/bigtop-deploy/puppet:/bigtop-puppet
bigtop1: Volume:
/home/jay/Development/bigtop/bigtop-deploy/vm/docker-puppet:/vagrantjay debug:
bigtop1: Volume:
/home/jay/Development/bigtop/bigtop-deploy/puppet/manifests:/tmp/vagrant-puppet-1/manifests[]
==> bigtop2: Creating the container...
bigtop1: Volume:
/home/jay/Development/bigtop/bigtop-deploy/puppet/modules:/tmp/vagrant-puppet-1/modules-0
bigtop2: Name: bigtop2
bigtop2: Image: bigtop/ssh:centos-6.4
bigtop2: Volume:
/home/jay/Development/bigtop/bigtop-deploy/puppet:/bigtop-puppet
bigtop2: Volume:
/home/jay/Development/bigtop/bigtop-deploy/vm/docker-puppet:/vagrant
bigtop2: Volume:
/home/jay/Development/bigtop/bigtop-deploy/puppet/manifests:/tmp/vagrant-puppet-2/manifests
bigtop2: Volume:
/home/jay/Development/bigtop/bigtop-deploy/puppet/modules:/tmp/vagrant-puppet-2/modules-0
bigtop3:
bigtop3: Container created: c520fd6449d36c59
==> bigtop3: Starting container...
bigtop2:
bigtop2: Container created: 439333a403f3f114
bigtop1:
bigtop1: Container created: 97efbd2ce4b77c64
==> bigtop2: Starting container...
==> bigtop3: Waiting for machine to boot. This may take a few minutes...
==> bigtop1: Starting container...
==> bigtop2: Waiting for machine to boot. This may take a few minutes...
==> bigtop1: Waiting for machine to boot. This may take a few minutes...
bigtop3: SSH address: 172.17.0.58:22
bigtop3: SSH username: root
bigtop3: SSH auth method: private key
bigtop1: SSH address: 172.17.0.59:22
bigtop1: SSH username: root
bigtop1: SSH auth method: private key
bigtop2: SSH address: 172.17.0.60:22
bigtop2: SSH username: root
bigtop2: SSH auth method: private key
==> bigtop2: Machine booted and ready!
==> bigtop2: Machine not provisioning because `--no-provision` is specified.
==> bigtop1: Machine booted and ready!
==> bigtop1: Machine not provisioning because `--no-provision` is specified.
==> bigtop3: Machine booted and ready!
==> bigtop3: Machine not provisioning because `--no-provision` is specified.
/opt/vagrant/bin/../embedded/gems/gems/vagrant-1.6.5/lib/vagrant/pre-rubygems.rb:31:
warning: Insecure world writable dir /opt in PATH, mode 040777
/opt/vagrant/embedded/gems/gems/bundler-1.6.6/lib/bundler/runtime.rb:222:
warning: Insecure world writable dir /opt in PATH, mode 040777
==> bigtop1: Running provisioner: shell...
/opt/vagrant/embedded/gems/gems/net-ssh-2.9.1/lib/net/ssh/buffered_io.rb:65:in
`recv': Connection reset by peer - recvfrom(2) (Errno::ECONNRESET)
from
/opt/vagrant/embedded/gems/gems/net-ssh-2.9.1/lib/net/ssh/buffered_io.rb:65:in
`fill'
from
/opt/vagrant/embedded/gems/gems/net-ssh-2.9.1/lib/net/ssh/connection/session.rb:236:in
`block in postprocess'
from
/opt/vagrant/embedded/gems/gems/net-ssh-2.9.1/lib/net/ssh/connection/session.rb:232:in
`each'
from
/opt/vagrant/embedded/gems/gems/net-ssh-2.9.1/lib/net/ssh/connection/session.rb:232:in
`postprocess'
from
/opt/vagrant/embedded/gems/gems/net-ssh-2.9.1/lib/net/ssh/connection/session.rb:211:in
`process'
from
/opt/vagrant/embedded/gems/gems/net-ssh-2.9.1/lib/net/ssh/connection/session.rb:169:in
`block in loop'
from
/opt/vagrant/embedded/gems/gems/net-ssh-2.9.1/lib/net/ssh/connection/session.rb:169:in
`loop'
from
/opt/vagrant/embedded/gems/gems/net-ssh-2.9.1/lib/net/ssh/connection/session.rb:169:in
`loop'
from
/opt/vagrant/embedded/gems/gems/net-ssh-2.9.1/lib/net/ssh/connection/channel.rb:269:in
`wait'
from
/opt/vagrant/embedded/gems/gems/net-scp-1.1.2/lib/net/scp.rb:279:in `upload!'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/plugins/communicators/ssh/communicator.rb:244:in
`block in upload'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/plugins/communicators/ssh/communicator.rb:588:in
`block in scp_connect'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/plugins/communicators/ssh/communicator.rb:407:in
`connect'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/plugins/communicators/ssh/communicator.rb:586:in
`scp_connect'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/plugins/communicators/ssh/communicator.rb:238:in
`upload'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/plugins/provisioners/shell/provisioner.rb:57:in
`block (2 levels) in provision_ssh'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/plugins/provisioners/shell/provisioner.rb:51:in
`tap'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/plugins/provisioners/shell/provisioner.rb:51:in
`block in provision_ssh'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/plugins/provisioners/shell/provisioner.rb:178:in
`with_script_file'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/plugins/provisioners/shell/provisioner.rb:49:in
`provision_ssh'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/plugins/provisioners/shell/provisioner.rb:21:in
`provision'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/action/builtin/provision.rb:127:in
`run_provisioner'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/action/warden.rb:95:in
`call'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/action/warden.rb:95:in
`block in finalize_action'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/action/warden.rb:34:in
`call'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/action/warden.rb:34:in
`call'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/action/builder.rb:116:in
`call'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/action/runner.rb:66:in
`block in run'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/util/busy.rb:19:in
`busy'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/action/runner.rb:66:in
`run'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/environment.rb:386:in
`hook'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/action/builtin/provision.rb:115:in
`call'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/action/builtin/provision.rb:115:in
`block in call'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/action/builtin/provision.rb:103:in
`each'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/action/builtin/provision.rb:103:in
`call'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/action/warden.rb:34:in
`call'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/action/warden.rb:95:in
`block in finalize_action'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/action/warden.rb:34:in
`call'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/action/warden.rb:34:in
`call'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/action/builder.rb:116:in
`call'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/action/runner.rb:66:in
`block in run'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/util/busy.rb:19:in
`busy'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/action/runner.rb:66:in
`run'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/action/builtin/call.rb:53:in
`call'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/action/warden.rb:34:in
`call'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/action/warden.rb:95:in
`block in finalize_action'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/action/warden.rb:34:in
`call'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/action/warden.rb:34:in
`call'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/action/builder.rb:116:in
`call'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/action/runner.rb:66:in
`block in run'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/util/busy.rb:19:in
`busy'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/action/runner.rb:66:in
`run'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/action/builtin/call.rb:53:in
`call'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/action/warden.rb:34:in
`call'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/action/warden.rb:95:in
`block in finalize_action'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/action/warden.rb:34:in
`call'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/action/warden.rb:34:in
`call'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/action/builder.rb:116:in
`call'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/action/runner.rb:66:in
`block in run'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/util/busy.rb:19:in
`busy'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/action/runner.rb:66:in
`run'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/action/builtin/call.rb:53:in
`call'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/action/warden.rb:34:in
`call'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/action/builtin/config_validate.rb:25:in
`call'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/action/warden.rb:34:in
`call'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/action/builder.rb:116:in
`call'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/action/runner.rb:66:in
`block in run'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/util/busy.rb:19:in
`busy'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/action/runner.rb:66:in
`run'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/machine.rb:196:in
`action_raw'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/machine.rb:173:in
`block in action'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/environment.rb:474:in
`lock'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/machine.rb:161:in
`call'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/machine.rb:161:in
`action'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/plugins/commands/provision/command.rb:30:in
`block in execute'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/plugin/v2/command.rb:226:in
`block in with_target_vms'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/plugin/v2/command.rb:220:in
`each'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/plugin/v2/command.rb:220:in
`with_target_vms'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/plugins/commands/provision/command.rb:29:in
`execute'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/cli.rb:42:in `execute'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/environment.rb:292:in
`cli'
from
/opt/vagrant/bin/../embedded/gems/gems/vagrant-1.6.5/bin/vagrant:174:in `<main>'
[root@rhbd docker-puppet]# vagrant ssh
/opt/vagrant/bin/../embedded/gems/gems/vagrant-1.6.5/lib/vagrant/pre-rubygems.rb:31:
warning: Insecure world writable dir /opt in PATH, mode 040777
/opt/vagrant/embedded/gems/gems/bundler-1.6.6/lib/bundler/runtime.rb:222:
warning: Insecure world writable dir /opt in PATH, mode 040777
This command requires a specific VM name to target in a multi-VM environment.
[root@rhbd docker-puppet]# vagrant ssh bigtop1
/opt/vagrant/bin/../embedded/gems/gems/vagrant-1.6.5/lib/vagrant/pre-rubygems.rb:31:
warning: Insecure world writable dir /opt in PATH, mode 040777
/opt/vagrant/embedded/gems/gems/bundler-1.6.6/lib/bundler/runtime.rb:222:
warning: Insecure world writable dir /opt in PATH, mode 040777
ls
Write failed: Broken pipe
[root@rhbd docker-puppet]#
[root@rhbd docker-puppet]# ls
Dockerfile provision.sh README.md vagrant_1.6.5_x86_64.rpm Vagrantfile
[root@rhbd docker-puppet]#
[root@rhbd docker-puppet]# vagrant ssh bigtop1
/opt/vagrant/bin/../embedded/gems/gems/vagrant-1.6.5/lib/vagrant/pre-rubygems.rb:31:
warning: Insecure world writable dir /opt in PATH, mode 040777
/opt/vagrant/embedded/gems/gems/bundler-1.6.6/lib/bundler/runtime.rb:222:
warning: Insecure world writable dir /opt in PATH, mode 040777
Write failed: Broken pipe
{noformat}
was (Author: jayunit100):
This still seems to fail for me ? It looks like its working ok, after killing
iptables and killing all docker containers, it seemed to get further, but at
the end, i cannot ssh into the machine using {{vagrant ssh}} after this command
sequence.
Any thoughts @evansye ?
{noformat}
[root@rhbd docker-puppet]# vagrant up --no-provision && vagrant provision
/opt/vagrant/bin/../embedded/gems/gems/vagrant-1.6.5/lib/vagrant/pre-rubygems.rb:31:
warning: Insecure world writable dir /opt in PATH, mode 040777
/opt/vagrant/embedded/gems/gems/bundler-1.6.6/lib/bundler/runtime.rb:222:
warning: Insecure world writable dir /opt in PATH, mode 040777
Bringing machine 'bigtop1' up with 'docker' provider...
Bringing machine 'bigtop2' up with 'docker' provider...
Bringing machine 'bigtop3' up with 'docker' provider...
==> bigtop3: Fixed port collision for 22 => 2222. Now on port 2200.
jay debug:[]==> bigtop3: Creating the container...
bigtop3: Name: bigtop3
bigtop3: Image: bigtop/ssh:centos-6.4
bigtop3: Volume:
/home/jay/Development/bigtop/bigtop-deploy/puppet:/bigtop-puppet
bigtop3: Volume:
/home/jay/Development/bigtop/bigtop-deploy/vm/docker-puppet:/vagrant
bigtop3: Volume:
/home/jay/Development/bigtop/bigtop-deploy/puppet/manifests:/tmp/vagrant-puppet-3/manifests
bigtop3: Volume:
/home/jay/Development/bigtop/bigtop-deploy/puppet/modules:/tmp/vagrant-puppet-3/modules-0
==> bigtop1: Fixed port collision for 22 => 2222. Now on port 2201.
jay debug:[]jay debug:[]jay debug:[]jay debug:[]==> bigtop1: Creating the
container...
bigtop1: Name: bigtop1
bigtop1: Image: bigtop/ssh:centos-6.4
==> bigtop2: Fixed port collision for 22 => 2222. Now on port 2202.
bigtop1: Volume:
/home/jay/Development/bigtop/bigtop-deploy/puppet:/bigtop-puppet
bigtop1: Volume:
/home/jay/Development/bigtop/bigtop-deploy/vm/docker-puppet:/vagrantjay debug:
bigtop1: Volume:
/home/jay/Development/bigtop/bigtop-deploy/puppet/manifests:/tmp/vagrant-puppet-1/manifests[]
==> bigtop2: Creating the container...
bigtop1: Volume:
/home/jay/Development/bigtop/bigtop-deploy/puppet/modules:/tmp/vagrant-puppet-1/modules-0
bigtop2: Name: bigtop2
bigtop2: Image: bigtop/ssh:centos-6.4
bigtop2: Volume:
/home/jay/Development/bigtop/bigtop-deploy/puppet:/bigtop-puppet
bigtop2: Volume:
/home/jay/Development/bigtop/bigtop-deploy/vm/docker-puppet:/vagrant
bigtop2: Volume:
/home/jay/Development/bigtop/bigtop-deploy/puppet/manifests:/tmp/vagrant-puppet-2/manifests
bigtop2: Volume:
/home/jay/Development/bigtop/bigtop-deploy/puppet/modules:/tmp/vagrant-puppet-2/modules-0
bigtop3:
bigtop3: Container created: c520fd6449d36c59
==> bigtop3: Starting container...
bigtop2:
bigtop2: Container created: 439333a403f3f114
bigtop1:
bigtop1: Container created: 97efbd2ce4b77c64
==> bigtop2: Starting container...
==> bigtop3: Waiting for machine to boot. This may take a few minutes...
==> bigtop1: Starting container...
==> bigtop2: Waiting for machine to boot. This may take a few minutes...
==> bigtop1: Waiting for machine to boot. This may take a few minutes...
bigtop3: SSH address: 172.17.0.58:22
bigtop3: SSH username: root
bigtop3: SSH auth method: private key
bigtop1: SSH address: 172.17.0.59:22
bigtop1: SSH username: root
bigtop1: SSH auth method: private key
bigtop2: SSH address: 172.17.0.60:22
bigtop2: SSH username: root
bigtop2: SSH auth method: private key
==> bigtop2: Machine booted and ready!
==> bigtop2: Machine not provisioning because `--no-provision` is specified.
==> bigtop1: Machine booted and ready!
==> bigtop1: Machine not provisioning because `--no-provision` is specified.
==> bigtop3: Machine booted and ready!
==> bigtop3: Machine not provisioning because `--no-provision` is specified.
/opt/vagrant/bin/../embedded/gems/gems/vagrant-1.6.5/lib/vagrant/pre-rubygems.rb:31:
warning: Insecure world writable dir /opt in PATH, mode 040777
/opt/vagrant/embedded/gems/gems/bundler-1.6.6/lib/bundler/runtime.rb:222:
warning: Insecure world writable dir /opt in PATH, mode 040777
==> bigtop1: Running provisioner: shell...
/opt/vagrant/embedded/gems/gems/net-ssh-2.9.1/lib/net/ssh/buffered_io.rb:65:in
`recv': Connection reset by peer - recvfrom(2) (Errno::ECONNRESET)
from
/opt/vagrant/embedded/gems/gems/net-ssh-2.9.1/lib/net/ssh/buffered_io.rb:65:in
`fill'
from
/opt/vagrant/embedded/gems/gems/net-ssh-2.9.1/lib/net/ssh/connection/session.rb:236:in
`block in postprocess'
from
/opt/vagrant/embedded/gems/gems/net-ssh-2.9.1/lib/net/ssh/connection/session.rb:232:in
`each'
from
/opt/vagrant/embedded/gems/gems/net-ssh-2.9.1/lib/net/ssh/connection/session.rb:232:in
`postprocess'
from
/opt/vagrant/embedded/gems/gems/net-ssh-2.9.1/lib/net/ssh/connection/session.rb:211:in
`process'
from
/opt/vagrant/embedded/gems/gems/net-ssh-2.9.1/lib/net/ssh/connection/session.rb:169:in
`block in loop'
from
/opt/vagrant/embedded/gems/gems/net-ssh-2.9.1/lib/net/ssh/connection/session.rb:169:in
`loop'
from
/opt/vagrant/embedded/gems/gems/net-ssh-2.9.1/lib/net/ssh/connection/session.rb:169:in
`loop'
from
/opt/vagrant/embedded/gems/gems/net-ssh-2.9.1/lib/net/ssh/connection/channel.rb:269:in
`wait'
from
/opt/vagrant/embedded/gems/gems/net-scp-1.1.2/lib/net/scp.rb:279:in `upload!'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/plugins/communicators/ssh/communicator.rb:244:in
`block in upload'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/plugins/communicators/ssh/communicator.rb:588:in
`block in scp_connect'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/plugins/communicators/ssh/communicator.rb:407:in
`connect'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/plugins/communicators/ssh/communicator.rb:586:in
`scp_connect'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/plugins/communicators/ssh/communicator.rb:238:in
`upload'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/plugins/provisioners/shell/provisioner.rb:57:in
`block (2 levels) in provision_ssh'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/plugins/provisioners/shell/provisioner.rb:51:in
`tap'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/plugins/provisioners/shell/provisioner.rb:51:in
`block in provision_ssh'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/plugins/provisioners/shell/provisioner.rb:178:in
`with_script_file'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/plugins/provisioners/shell/provisioner.rb:49:in
`provision_ssh'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/plugins/provisioners/shell/provisioner.rb:21:in
`provision'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/action/builtin/provision.rb:127:in
`run_provisioner'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/action/warden.rb:95:in
`call'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/action/warden.rb:95:in
`block in finalize_action'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/action/warden.rb:34:in
`call'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/action/warden.rb:34:in
`call'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/action/builder.rb:116:in
`call'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/action/runner.rb:66:in
`block in run'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/util/busy.rb:19:in
`busy'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/action/runner.rb:66:in
`run'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/environment.rb:386:in
`hook'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/action/builtin/provision.rb:115:in
`call'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/action/builtin/provision.rb:115:in
`block in call'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/action/builtin/provision.rb:103:in
`each'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/action/builtin/provision.rb:103:in
`call'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/action/warden.rb:34:in
`call'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/action/warden.rb:95:in
`block in finalize_action'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/action/warden.rb:34:in
`call'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/action/warden.rb:34:in
`call'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/action/builder.rb:116:in
`call'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/action/runner.rb:66:in
`block in run'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/util/busy.rb:19:in
`busy'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/action/runner.rb:66:in
`run'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/action/builtin/call.rb:53:in
`call'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/action/warden.rb:34:in
`call'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/action/warden.rb:95:in
`block in finalize_action'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/action/warden.rb:34:in
`call'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/action/warden.rb:34:in
`call'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/action/builder.rb:116:in
`call'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/action/runner.rb:66:in
`block in run'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/util/busy.rb:19:in
`busy'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/action/runner.rb:66:in
`run'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/action/builtin/call.rb:53:in
`call'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/action/warden.rb:34:in
`call'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/action/warden.rb:95:in
`block in finalize_action'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/action/warden.rb:34:in
`call'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/action/warden.rb:34:in
`call'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/action/builder.rb:116:in
`call'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/action/runner.rb:66:in
`block in run'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/util/busy.rb:19:in
`busy'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/action/runner.rb:66:in
`run'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/action/builtin/call.rb:53:in
`call'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/action/warden.rb:34:in
`call'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/action/builtin/config_validate.rb:25:in
`call'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/action/warden.rb:34:in
`call'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/action/builder.rb:116:in
`call'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/action/runner.rb:66:in
`block in run'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/util/busy.rb:19:in
`busy'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/action/runner.rb:66:in
`run'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/machine.rb:196:in
`action_raw'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/machine.rb:173:in
`block in action'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/environment.rb:474:in
`lock'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/machine.rb:161:in
`call'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/machine.rb:161:in
`action'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/plugins/commands/provision/command.rb:30:in
`block in execute'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/plugin/v2/command.rb:226:in
`block in with_target_vms'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/plugin/v2/command.rb:220:in
`each'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/plugin/v2/command.rb:220:in
`with_target_vms'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/plugins/commands/provision/command.rb:29:in
`execute'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/cli.rb:42:in `execute'
from
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/environment.rb:292:in
`cli'
from
/opt/vagrant/bin/../embedded/gems/gems/vagrant-1.6.5/bin/vagrant:174:in `<main>'
[root@rhbd docker-puppet]# vagrant ssh
/opt/vagrant/bin/../embedded/gems/gems/vagrant-1.6.5/lib/vagrant/pre-rubygems.rb:31:
warning: Insecure world writable dir /opt in PATH, mode 040777
/opt/vagrant/embedded/gems/gems/bundler-1.6.6/lib/bundler/runtime.rb:222:
warning: Insecure world writable dir /opt in PATH, mode 040777
This command requires a specific VM name to target in a multi-VM environment.
[root@rhbd docker-puppet]# vagrant ssh bigtop1
/opt/vagrant/bin/../embedded/gems/gems/vagrant-1.6.5/lib/vagrant/pre-rubygems.rb:31:
warning: Insecure world writable dir /opt in PATH, mode 040777
/opt/vagrant/embedded/gems/gems/bundler-1.6.6/lib/bundler/runtime.rb:222:
warning: Insecure world writable dir /opt in PATH, mode 040777
ls
Write failed: Broken pipe
[root@rhbd docker-puppet]#
[root@rhbd docker-puppet]# ls
Dockerfile provision.sh README.md vagrant_1.6.5_x86_64.rpm Vagrantfile
[root@rhbd docker-puppet]#
[root@rhbd docker-puppet]# vagrant ssh bigtop1
/opt/vagrant/bin/../embedded/gems/gems/vagrant-1.6.5/lib/vagrant/pre-rubygems.rb:31:
warning: Insecure world writable dir /opt in PATH, mode 040777
/opt/vagrant/embedded/gems/gems/bundler-1.6.6/lib/bundler/runtime.rb:222:
warning: Insecure world writable dir /opt in PATH, mode 040777
Write failed: Broken pipe
{noformat}
> Dockerize the puppetized vagrant deployer
> -----------------------------------------
>
> Key: BIGTOP-1417
> URL: https://issues.apache.org/jira/browse/BIGTOP-1417
> Project: Bigtop
> Issue Type: New Feature
> Components: deployment
> Affects Versions: 0.7.0
> Reporter: Evans Ye
> Priority: Minor
> Fix For: 0.9.0
>
> Attachments: BIGTOP-1417.1.patch, BIGTOP-1417.2.patch,
> BIGTOP-1417.3.patch
>
>
> This is one of the bigtop's dockerize task which mainly focus on deploying
> bigtop hadoop cluster using
> [bigtop-puppet|https://github.com/apache/bigtop/tree/master/bigtop-deploy/puppet]
> on top of docker containers.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)