[Bug 1413293] Re: Unable to start instances, empty /etc/machine-id file.
The patch has been merged in the nova code. Please note that the patch implements the logic suggested in the comment #3: if the file is present but empty nova will consider it as a missing file, then it raises an exception. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to nova in Ubuntu. https://bugs.launchpad.net/bugs/1413293 Title: Unable to start instances, empty /etc/machine-id file. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nova/+bug/1413293/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1413293] Re: Unable to start instances, empty /etc/machine-id file.
I submitted a patch to nova to fix this issue: https://review.openstack.org/202640 -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to nova in Ubuntu. https://bugs.launchpad.net/bugs/1413293 Title: Unable to start instances, empty /etc/machine-id file. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nova/+bug/1413293/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1413293] Re: Unable to start instances, empty /etc/machine-id file.
I'm unassigning myself; this isn't really a cloud image problem so much as it is either a nova problem or a general Ubuntu problem; I'm not best placed to solve either of these. ** Changed in: nova (Ubuntu) Assignee: Daniel Watkins (daniel-thewatkins) = (unassigned) -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to nova in Ubuntu. https://bugs.launchpad.net/bugs/1413293 Title: Unable to start instances, empty /etc/machine-id file. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nova/+bug/1413293/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1413293] Re: Unable to start instances, empty /etc/machine-id file.
This problem (should) disappear with systemd; it takes care of populating /etc/machine-id on first boot, though it does need the file to exist and be empty[0]. So we should do one (or more) of: - teach nova that an empty /etc/machine-id is equivalent to a missing one, - introduce an Upstart job which will populate /etc/machine-id on boot, or - wait. [0] systemd needs /etc/machine-id to exist if /etc is read-only, so it can mount (a temporary) /run/machine-id over it. Once /etc becomes writable, the temporary file is made persistent. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to nova in Ubuntu. https://bugs.launchpad.net/bugs/1413293 Title: Unable to start instances, empty /etc/machine-id file. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nova/+bug/1413293/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1413293] Re: Unable to start instances, empty /etc/machine-id file.
** Changed in: nova (Ubuntu) Importance: Undecided = High ** Changed in: nova (Ubuntu) Status: New = Triaged -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to nova in Ubuntu. https://bugs.launchpad.net/bugs/1413293 Title: Unable to start instances, empty /etc/machine-id file. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nova/+bug/1413293/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1413293] Re: Unable to start instances, empty /etc/machine-id file.
Nova will use this file if present; however its empty on a stock vivid cloud-image. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to nova in Ubuntu. https://bugs.launchpad.net/bugs/1413293 Title: Unable to start instances, empty /etc/machine-id file. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nova/+bug/1413293/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1413293] Re: Unable to start instances, empty /etc/machine-id file.
** Changed in: nova (Ubuntu) Assignee: (unassigned) = Daniel Watkins (daniel-thewatkins) -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to nova in Ubuntu. https://bugs.launchpad.net/bugs/1413293 Title: Unable to start instances, empty /etc/machine-id file. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nova/+bug/1413293/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs