No console to Docker VM - Rancher.

Status
Not open for further replies.

tommu

Cadet
Joined
Dec 29, 2017
Messages
4
I am trying to launch a Docker VM, rancher. I don't believe it's booting fully. I cannot console to it and it doesn't pick up an IP address from DHCP.
Details!:

After I launch the VM I SSH to FreeNAS, run console as sudo and see ‘connected’. Then hitting enter doesn’t show a rancher login - or anything more. If I leave console connected and stop start the VM I see console messages from the image loading and the stopping on the line
Code:
‘[ 6.367731] Loading compiled-in X.509 certificates’.


Code:
root@freenas:/nonexistent # cu -l /dev/nmdm2B

Connected

[	0.000000] Linux version 4.9.75-rancher (root@3aa51a65381a) (gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.5) ) #1 SMP Sat Jan 6 00:16:10 UTC 2018

[	0.000000] Command line: console=ttyS0 BOOT_IMAGE=/boot/vmlinuz-4.9.75-rancher rancher.password=bozboz printk.devkmsg=on rancher.state.dev=LABEL=RANCHER_STATE rancher.state.wait rancher.resize_device=/dev/sda

… <truncated. …

[	6.362838] device-mapper: ioctl: 4.35.0-ioctl (2016-06-23) initialised: dm-devel@redhat.com

[	6.363554] ledtrig-cpu: registered to indicate activity on CPUs

[	6.364273] NET: Registered protocol family 10

[	6.364830] NET: Registered protocol family 17

[	6.365213] 9pnet: Installing 9P2000 support

[	6.365576] Key type dns_resolver registered

[	6.366074] microcode: sig=0x306a9, pf=0x1, revision=0x0

[	6.366551] microcode: Microcode Update Driver: v2.01 <tigran@aivazian.fsnet.co.uk>, Peter Oruba

[	6.367385] registered taskstats version 1

[	6.367731] Loading compiled-in X.509 certificates

At the same time I see the notice on console and in /var/log/messages:
Code:

Feb 26 11:24:16 freenas tap0: Ethernet address: 00:bd:ed:f6:0b:00

Feb 26 11:24:16 freenas kernel: tap0: promiscuous mode enabled

Feb 26 11:24:16 freenas kernel: tap0: link state changed to UP

Feb 26 11:24:16 freenas kernel: tap0: link state changed to UP

Feb 26 11:24:23 freenas kernel: pid 6835 (bhyve), uid 0: exited on signal 6

Feb 26 11:24:23 freenas kernel: tap0: link state changed to DOWN

Feb 26 11:24:23 freenas kernel: tap0: link state changed to DOWN

Feb 26 11:24:23 freenas bridge1: can't disable some capabilities on em1: 0x1

I have followed the official documentation here: https://doc.freenas.org/11/vms.html#creating-vms .

Running 11.1-UD.iso. Reinstalled and Now on Nightly train - all in an attempt to fix this issue.

    • Motherboard: Intel S1200KPR
    • CPU Intel(R) Xeon(R) CPU E3-1240 V2
    • RAM 16GB ECC
    • Onboard Ethernet
    [/size]
 

Attachments

  • 1.jpg
    1.jpg
    29.9 KB · Views: 220
  • 2.jpg
    2.jpg
    24.9 KB · Views: 222
  • 3.jpg
    3.jpg
    32.2 KB · Views: 225
Last edited by a moderator:

tommu

Cadet
Joined
Dec 29, 2017
Messages
4
Looking at this some more, this seems to be the most important error:

freenas kernel: pid 6485 (bhyve), uid 0: exited on signal 6

How can I debug / troubleshoot bhyve crashing?
 

tommu

Cadet
Joined
Dec 29, 2017
Messages
4
Well thanks for all the help..

For anyone else who might get stuck I fixed this by downgrading to 11.1-RELEASE. Fills one with confidence..
 
Status
Not open for further replies.
Top