-
Notifications
You must be signed in to change notification settings - Fork 244
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
vmadm boot fails "Cannot find disk" #53
Comments
Daniel, can you confirm that this works if you change vmobj.zoneroot to vmobj.zonepath in /usr/vm/node_modules/VM.js? Sorry about that, I'll fix in our branch and talk to John tomorrow about whether we can get a new release built. |
currently i can't compile SmartOS will try tomorrow if noone else goes for it but i think it should be vmobj.zonepath + "/root" or just working_dir |
You should be able to test without rebuilding by doing:
and then editing the file. |
You are correct (I just confirmed) the fix is to change to:
I've tested this here and committed to our internal repo. I'll ask tomorrow if we can get that bit pushed upstream asap. |
I think it's probably better to use if (!found && path.existsSync(path.join(vmobj.zonepath, 'root', disk.path))) { |
Good call. I've done it with path.join now. Thanks! |
Pushed to smartos-live. I'll rebuild another iso/usbkey since this is a pretty major bug (makes it hard to provision vms without it) |
boot.iso is located at /zones/eb0a6d55-42cb-4e10-9d5f-3fa9361503c5/root/boot.iso
Seems to be broken since the last release.
A first look into the code introduced a new vmobj.zoneroot that seems to be never initialized with any value.
The text was updated successfully, but these errors were encountered: