-
Notifications
You must be signed in to change notification settings - Fork 655
Installer needs a user friendly error message if there are disk partitions. #2060
Comments
The same issue is on v1.0.4 |
Together with issue #1790, make installing from iso become the only way to use RancherOS now, pretty frustrated. Anyway have similar issue? |
nope - this works for me, and for our testers. what kind of a baremetal disk is |
It is actually a KVM VM, I suppose it is no big difference here. I am working around the issue with using v0.7.0, working nicely. |
awesome! can you tell us the commands you're using to start KVM, and how you're using PXE, including the cmdline you're using for it? |
@liyimeng mmm, and can you boot with |
using
on a 1G ram vmware vm (which then auto loads open-vm-tools), and then running (and then the same with real baremetal) I'm having some weird issues with my kvm, so @liyimeng I'm very interested to see how you're starting yours. |
I ipxe boot it with dnsamsq, using this boot script. #!ipxe set base-url http://10.10.10.1:8000 kernel ${base-url}/vmlinuz rancher.autologin=tty1 rancher.state.dev=LABEL=RANCHER_STATE rancher.state.autoformat=[/dev/sda,/dev/vda] rancher.cloud_init.datasources=[url:${base-url}/cloud-config] initrd ${.base-url}/initrd I have post the entire testing procedure in #1790 . However, I have not enable debug. will redo with by adding debug. Back to you with new updates soon. |
Ok, here is some logs from file /var/log/messages, @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ Aug 25 11:56:21 rancher kernel: [ 0.000000] Linux version 4.9.40-rancher (root@fa4bbabf4ef2) (gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.4) ) #1 SMP Fri Jul 28 04:17:20 UTC 2017 Aug 25 11:56:21 rancher kernel: [ 0.000000] Command line: rancher.autologin=tty1 rancher.debug=true rancher.state.dev=LABEL=RANCHER_STATE rancher.state.aut oformat=[/dev/sda,/dev/vda] rancher.cloud_init.datasources=[url:http://10.10.10.1:8000/cloud-config] Aug 25 11:56:21 rancher kernel: [ 0.000000] KERNEL supported cpus: Aug 25 11:56:21 rancher kernel: [ 0.000000] Intel GenuineIntel Aug 25 11:56:21 rancher kernel: [ 0.000000] AMD AuthenticAMD .... I don't know where to get meaningful message, e.g. all console output :( |
There seems random state somewhere, I have tried run the test for 5 itmes: ipxe boot -> install to disk. |
mmm, i suspect if that's the problem, the installer needs to detect this and tell you something more useful. |
@SvenDowideit I remove the texts and it is possible to install. Thanks a lot Sven! Do you have a chance to look into the problem I reported in #1790 . iPXE use to work like charm early. I don't know why it get broken for me. |
if there are disk partitions, it can print these logs:
|
Tested with RancherOS v1.2.0-rc2. |
RancherOS Version: (ros os version)
v1.1.0-rc3/v1.0.4
Where are you running RancherOS? (docker-machine, AWS, GCE, baremetal, etc.)
KVM
The below is error output
The text was updated successfully, but these errors were encountered: