liatrio-chef / hygieia-petclinic-demo-baked

A baked vagrant box from wrapper cookbook hygieia-petclinic-demo-unbaked that has hygieia installed and mock data in a local mongodb.
0 stars 1 forks source link

hygieia: Warning: Remote connection disconnect. #2

Open kamal2222ahmed opened 8 years ago

kamal2222ahmed commented 8 years ago

vagrant up Bringing machine 'hygieia' up with 'virtualbox' provider... ==> hygieia: Importing base box 'liatrio/hygieia-petclinic-demo-baked'... ==> hygieia: Matching MAC address for NAT networking... ==> hygieia: Checking if box 'liatrio/hygieia-petclinic-demo-baked' is up to date... ==> hygieia: Setting the name of the VM: hygieia-petclinic-demo-baked_hygieia_1468815474285_64080 ==> hygieia: Clearing any previously set network interfaces... ==> hygieia: Preparing network interfaces based on configuration... hygieia: Adapter 1: nat hygieia: Adapter 2: hostonly ==> hygieia: Forwarding ports... hygieia: 22 => 2210 (adapter 1) hygieia: 3000 => 13000 (adapter 1) hygieia: 8080 => 18080 (adapter 1) ==> hygieia: Running 'pre-boot' VM customizations... ==> hygieia: Booting VM... ==> hygieia: Waiting for machine to boot. This may take a few minutes... hygieia: SSH address: 127.0.0.1:2210 hygieia: SSH username: vagrant hygieia: SSH auth method: private key hygieia: Warning: Remote connection disconnect. Retrying... hygieia: Warning: Remote connection disconnect. Retrying... hygieia: Warning: Remote connection disconnect. Retrying... ==> hygieia: Machine booted and ready! GuestAdditions versions on your host (5.0.20) and guest (5.0.16) do not match. Loaded plugins: fastestmirror Determining fastest mirrors

Dependencies Resolved

Package Arch Version Repository Size

Installing: kernel-devel x86_64 3.10.0-327.13.1.el7 updates 11 M

Transaction Summary

Install 1 Package

Total download size: 11 M Installed size: 33 M Downloading packages: Delta RPMs disabled because /usr/bin/applydeltarpm not installed. Running transaction check Running transaction test Transaction test succeeded Running transaction Installing : kernel-devel-3.10.0-327.13.1.el7.x86_64 1/1 Verifying : kernel-devel-3.10.0-327.13.1.el7.x86_64 1/1

Installed: kernel-devel.x86_64 0:3.10.0-327.13.1.el7

Complete! Copy iso file /Applications/VirtualBox.app/Contents/MacOS/VBoxGuestAdditions.iso into the box /tmp/VBoxGuestAdditions.iso mount: /dev/loop0 is write-protected, mounting read-only Installing Virtualbox Guest Additions 5.0.20 - guest version is 5.0.16 Verifying archive integrity... All good. Uncompressing VirtualBox 5.0.20 Guest Additions for Linux............ VirtualBox Guest Additions installer Removing installed version 5.0.16 of VirtualBox Guest Additions... Removing existing VirtualBox non-DKMS kernel modules[ OK ] Copying additional installer modules ... Installing additional modules ... Removing existing VirtualBox non-DKMS kernel modules[ OK ] Building the VirtualBox Guest Additions kernel modules Building the main Guest Additions module[ OK ] Building the shared folder support module[ OK ] Building the graphics driver module[ OK ] Doing non-kernel setup of the Guest Additions[ OK ] You should restart your guest to make sure the new modules are actually used

==> hygieia: Checking for guest additions in VM... ==> hygieia: Setting hostname... ==> hygieia: Configuring and enabling network interfaces... ==> hygieia: Mounting shared folders... hygieia: /vagrant => /Users/a3x52zz/QA/TOOLS/HYGIEIA2/hygieia-petclinic-demo-baked ==> hygieia: Installing Ohai plugin ==> hygieia: Running provisioner: shell... hygieia: Running: inline script ==> hygieia: success ==> hygieia: success his-sah-mbp:hygieia-petclinic-demo-baked a3x52zz$

tried both the adapters eth0 and 1

http://10.0.2.15:13000/ http://192.168.100.10:13000/

checked firewall:

$ sudo service iptables stop Redirecting to /bin/systemctl stop iptables.service Failed to stop iptables.service: Unit iptables.service not loaded.

drew-holt commented 8 years ago

Your networking is incorrect. On the guest VM the port listens on TCP3000. There is a port forward to 13000 on the host. Try http://192.168.100.10:3000/ or on the host http://local host:13000/

On Jul 17, 2016 10:40 PM, "kamal2222ahmed" notifications@github.com wrote:

vagrant up Bringing machine 'hygieia' up with 'virtualbox' provider... ==> hygieia: Importing base box 'liatrio/hygieia-petclinic-demo-baked'... ==> hygieia: Matching MAC address for NAT networking... ==> hygieia: Checking if box 'liatrio/hygieia-petclinic-demo-baked' is up to date... ==> hygieia: Setting the name of the VM: hygieia-petclinic-demo-baked_hygieia_1468815474285_64080 ==> hygieia: Clearing any previously set network interfaces... ==> hygieia: Preparing network interfaces based on configuration... hygieia: Adapter 1: nat hygieia: Adapter 2: hostonly ==> hygieia: Forwarding ports... hygieia: 22 => 2210 (adapter 1) hygieia: 3000 => 13000 (adapter 1) hygieia: 8080 => 18080 (adapter 1) ==> hygieia: Running 'pre-boot' VM customizations... ==> hygieia: Booting VM... ==> hygieia: Waiting for machine to boot. This may take a few minutes... hygieia: SSH address: 127.0.0.1:2210 hygieia: SSH username: vagrant hygieia: SSH auth method: private key hygieia: Warning: Remote connection disconnect. Retrying... hygieia: Warning: Remote connection disconnect. Retrying... hygieia: Warning: Remote connection disconnect. Retrying... ==> hygieia: Machine booted and ready! GuestAdditions versions on your host (5.0.20) and guest (5.0.16) do not match. Loaded plugins: fastestmirror Determining fastest mirrors

  • base: mirrors.evowise.com
  • epel: ny-mirrors.evowise.com
  • extras: centos.chi.host-engine.com
  • updates: mirror.vtti.vt.edu Package gcc-4.8.5-4.el7.x86_64 already installed and latest version Package 1:make-3.82-21.el7.x86_64 already installed and latest version Package 4:perl-5.16.3-286.el7.x86_64 already installed and latest version Package bzip2-1.0.6-13.el7.x86_64 already installed and latest version Resolving Dependencies --> Running transaction check ---> Package kernel-devel.x86_64 0:3.10.0-327.13.1.el7 will be installed --> Finished Dependency Resolution

Dependencies Resolved Package Arch Version Repository Size

Installing: kernel-devel x86_64 3.10.0-327.13.1.el7 updates 11 M Transaction Summary

Install 1 Package

Total download size: 11 M Installed size: 33 M Downloading packages: Delta RPMs disabled because /usr/bin/applydeltarpm not installed. Running transaction check Running transaction test Transaction test succeeded Running transaction Installing : kernel-devel-3.10.0-327.13.1.el7.x86_64 1/1 Verifying : kernel-devel-3.10.0-327.13.1.el7.x86_64 1/1

Installed: kernel-devel.x86_64 0:3.10.0-327.13.1.el7

Complete! Copy iso file /Applications/VirtualBox.app/Contents/MacOS/VBoxGuestAdditions.iso into the box /tmp/VBoxGuestAdditions.iso mount: /dev/loop0 is write-protected, mounting read-only Installing Virtualbox Guest Additions 5.0.20 - guest version is 5.0.16 Verifying archive integrity... All good. Uncompressing VirtualBox 5.0.20 Guest Additions for Linux............ VirtualBox Guest Additions installer Removing installed version 5.0.16 of VirtualBox Guest Additions... Removing existing VirtualBox non-DKMS kernel modules[ OK ] Copying additional installer modules ... Installing additional modules ... Removing existing VirtualBox non-DKMS kernel modules[ OK ] Building the VirtualBox Guest Additions kernel modules Building the main Guest Additions module[ OK ] Building the shared folder support module[ OK ] Building the graphics driver module[ OK ] Doing non-kernel setup of the Guest Additions[ OK ] You should restart your guest to make sure the new modules are actually used

==> hygieia: Checking for guest additions in VM... ==> hygieia: Setting hostname... ==> hygieia: Configuring and enabling network interfaces... ==> hygieia: Mounting shared folders... hygieia: /vagrant => /Users/a3x52zz/QA/TOOLS/HYGIEIA2/hygieia-petclinic-demo-baked ==> hygieia: Installing Ohai plugin ==> hygieia: Running provisioner: shell... hygieia: Running: inline script ==> hygieia: success ==> hygieia: success his-sah-mbp:hygieia-petclinic-demo-baked a3x52zz$

tried both the adapters eth0 and 1

http://10.0.2.15:13000/ http://192.168.100.10:13000/

checked firewall:

$ sudo service iptables stop Redirecting to /bin/systemctl stop iptables.service Failed to stop iptables.service: Unit iptables.service not loaded.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/liatrio-chef/hygieia-petclinic-demo-baked/issues/2, or mute the thread https://github.com/notifications/unsubscribe-auth/AQnEU6bW1nIM0FPnSDLYGB_RzH_psxzNks5qWwOlgaJpZM4JOaIQ .