[Bug 1563951] Re: Cloud-init does not initialize systemd machine id

2016-04-05 Thread Scott Moser
Greg,
So digged a bit further, it seems that the ubuntu images do the right thing in 
that /etc/machine-id is not present in the image itself. I suspect your 
instances that you noticed this on were snapshotted from a once-booted instance 
or in some other way booted.  If that is the case, it would seem like the best 
advice would be for you to just remove the file before snapshotting an instance 
for re-use, so that new instances would get a new id generated.

Ideally in my mind, cloud-init or systemd or somethign would realize
that this is a new instance and do the right thing, but that seems non-
trivial at the moment. so i'll leave this as a wishlist bug on cloud-
init.

Thanks.
Scott

** Changed in: cloud-init (Ubuntu)
   Status: Invalid => Confirmed

** Changed in: cloud-init (Ubuntu)
   Importance: Medium => Wishlist

** Changed in: livecd-rootfs (Ubuntu)
   Status: Confirmed => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to cloud-init in Ubuntu.
https://bugs.launchpad.net/bugs/1563951

Title:
  Cloud-init does not initialize systemd machine id

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1563951/+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 1563951] Re: Cloud-init does not initialize systemd machine id

2016-04-05 Thread Scott Moser
Yeah, likely this happens to early in boot for cloud-init to affect.
I've marked livecd-rootfs as a target, which is (i think) proper for changing 
the images themselves.


** Also affects: livecd-rootfs (Ubuntu)
   Importance: Undecided
   Status: New

** Changed in: livecd-rootfs (Ubuntu)
   Status: New => Confirmed

** Changed in: livecd-rootfs (Ubuntu)
   Importance: Undecided => Medium

** Changed in: cloud-init (Ubuntu)
   Status: Confirmed => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to cloud-init in Ubuntu.
https://bugs.launchpad.net/bugs/1563951

Title:
  Cloud-init does not initialize systemd machine id

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1563951/+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 1563951] Re: Cloud-init does not initialize systemd machine id

2016-04-04 Thread Scott Moser
Is it enough during boot to just:
  rm /etc/machine-id
  echo "" > /etc/machine-id
?

Note that systemd-firstboot.service is not currently in ubuntu (xenial)

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to cloud-init in Ubuntu.
https://bugs.launchpad.net/bugs/1563951

Title:
  Cloud-init does not initialize systemd machine id

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1563951/+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 1563951] Re: Cloud-init does not initialize systemd machine id

2016-04-04 Thread Scott Moser
Hi,
This does look like it would be useful.
It seems like the thing I should do is :
  once per instance remove /etc/machine-id and run systemd-machine-id-setup

Ideally i think is that any system where the instance-id is a uuid, we could 
just populate /etc/machine-id with that instance-id.
What wasnt clear was whether or not this would be sufficient.  
systemd-machine-id-setup does not indicate the proper way to provide a machine 
id other than letting it randomly generate one.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to cloud-init in Ubuntu.
https://bugs.launchpad.net/bugs/1563951

Title:
  Cloud-init does not initialize systemd machine id

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1563951/+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 1563951] Re: Cloud-init does not initialize systemd machine id

2016-03-30 Thread Scott Moser
** Changed in: cloud-init (Ubuntu)
   Status: New => Confirmed

** Changed in: cloud-init (Ubuntu)
   Importance: Undecided => Medium

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to cloud-init in Ubuntu.
https://bugs.launchpad.net/bugs/1563951

Title:
  Cloud-init does not initialize systemd machine id

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1563951/+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