[Bug 1661797] Re: identify lxd-nova platform to enable Openstack datasource
This bug is believed to be fixed in cloud-init in 17.1. If this is still a problem for you, please make a comment and set the state back to New Thank you. ** Changed in: cloud-init Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1661797 Title: identify lxd-nova platform to enable Openstack datasource To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-init/+bug/1661797/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1661797] Re: identify lxd-nova platform to enable Openstack datasource
nova-lxd changes are now present in both yakkety-proposed (14.2.0-0ubuntu0.16.10.1) and xenial-proposed (13.3.0-0ubuntu1). The fix for this bug requires those versions and a not-yet-done cloud- init SRU to xenial and yakkety to identify nova-lxd. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1661797 Title: identify lxd-nova platform to enable Openstack datasource To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-init/+bug/1661797/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1661797] Re: identify lxd-nova platform to enable Openstack datasource
Marking nova-lxd task as Fix Released; changes landed and released, need to work through SRU process. ** Changed in: nova-lxd Importance: Undecided => High ** Changed in: nova-lxd Status: Confirmed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1661797 Title: identify lxd-nova platform to enable Openstack datasource To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-init/+bug/1661797/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1661797] Re: identify lxd-nova platform to enable Openstack datasource
Chuck has just uploaded nova-lxd_14.2.0-0ubuntu0.16.10.1.dsc for yakkety to SRU queue. This bug is fixed in that release. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1661797 Title: identify lxd-nova platform to enable Openstack datasource To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-init/+bug/1661797/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1661797] Re: identify lxd-nova platform to enable Openstack datasource
I've marked this as 'In progress' for nova-lxd in ubuntu for xenial. That is per comment from Chuck that this is included in the SRU that is in the queue (13.3.0-0ubuntu1). https://launchpad.net/ubuntu/xenial/+queue?queue_state=1&queue_text =nova-lxd -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1661797 Title: identify lxd-nova platform to enable Openstack datasource To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-init/+bug/1661797/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1661797] Re: identify lxd-nova platform to enable Openstack datasource
Marking fix-released in nova-lxd in zesty. ** Description changed: nova-lxd uses the Openstack Network metadata service. In an effort to avoid polling metadata services in cloud-init we will disable attempts to reach the MD without positive identification of the cloud. We need to be able to positively identify that the container we are running inside should have access to an openstack metadata service so we can safely assume it will be there. How can we positively identify that a container is running in nova-lxd? Is there anything in the environment (possibly pid 1 environ?) that we can look at? One way I could see doing t his would be for lxd-nova to put CLOUD_PLATFORM='openstack-nova' inside the pid 1 environment. then cloud-init can look at /proc/1/environ and pick that out. Open to other ideas, and would love it if there was something we could do. Related bugs bug 1660385: Alert user of Ec2 Datasource on lookalike cloud bug 1661797: identify lxd-nova platform to enable Openstack datasource bug 1661693: identify brightbox platform to enable Ec2 datasource - bug 1663304: identify openstack kvm platform on arm64 + bug 1663304: identify openstack kvm platform on arm64 + bug 1668313: [SRU] mitaka point release ** Changed in: nova-lxd (Ubuntu Zesty) Status: Confirmed => Fix Released ** Changed in: nova-lxd (Ubuntu Yakkety) Status: Confirmed => In Progress ** Changed in: nova-lxd (Ubuntu Xenial) Status: Confirmed => In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1661797 Title: identify lxd-nova platform to enable Openstack datasource To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-init/+bug/1661797/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1661797] Re: identify lxd-nova platform to enable Openstack datasource
** Tags added: dsid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1661797 Title: identify lxd-nova platform to enable Openstack datasource To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-init/+bug/1661797/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1661797] Re: identify lxd-nova platform to enable Openstack datasource
I marked this as fix-released in zesty just by pull-lp-source nova-lxd zesty that got me 15.0.0-0ubuntu1 ./nova/virt/lxd/flavor.py has commit b664cc294dc9f320c343ba6b9c4317c071e671bb which added 'product_name' with value 'OpenStack Nova' to the lxc container's pid 1 environment. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1661797 Title: identify lxd-nova platform to enable Openstack datasource To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-init/+bug/1661797/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1661797] Re: identify lxd-nova platform to enable Openstack datasource
** Also affects: cloud-init (Ubuntu Xenial) Importance: Undecided Status: New ** Also affects: nova-lxd (Ubuntu Xenial) Importance: Undecided Status: New ** Also affects: cloud-init (Ubuntu Zesty) Importance: High Status: Fix Released ** Also affects: nova-lxd (Ubuntu Zesty) Importance: Medium Status: Confirmed ** Also affects: cloud-init (Ubuntu Yakkety) Importance: Undecided Status: New ** Also affects: nova-lxd (Ubuntu Yakkety) Importance: Undecided Status: New ** Changed in: cloud-init (Ubuntu Yakkety) Importance: Undecided => Medium ** Changed in: cloud-init (Ubuntu Yakkety) Status: New => Confirmed ** Changed in: cloud-init (Ubuntu Xenial) Importance: Undecided => Medium ** Changed in: cloud-init (Ubuntu Xenial) Status: New => Confirmed ** Changed in: nova-lxd (Ubuntu Xenial) Importance: Undecided => High ** Changed in: nova-lxd (Ubuntu Xenial) Status: New => Confirmed ** Changed in: nova-lxd (Ubuntu Yakkety) Importance: Undecided => High ** Changed in: nova-lxd (Ubuntu Yakkety) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1661797 Title: identify lxd-nova platform to enable Openstack datasource To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-init/+bug/1661797/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1661797] Re: identify lxd-nova platform to enable Openstack datasource
** Changed in: cloud-init Status: Confirmed => Fix Committed ** Also affects: nova-lxd (Ubuntu) Importance: Undecided Status: New ** Changed in: nova-lxd (Ubuntu) Status: New => Confirmed ** Changed in: nova-lxd (Ubuntu) Importance: Undecided => Medium -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1661797 Title: identify lxd-nova platform to enable Openstack datasource To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-init/+bug/1661797/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1661797] Re: identify lxd-nova platform to enable Openstack datasource
This bug was fixed in the package cloud-init - 0.7.9-23-g0df21b6-0ubuntu1 --- cloud-init (0.7.9-23-g0df21b6-0ubuntu1) zesty; urgency=medium * New upstream snapshot. - support nova-lxd by reading platform from environment of pid 1. (LP: #1661797) - ds-identify: change aarch64 to use the default for non-dmi systems. that default is to enable cloud-init even if no datasources are explicitly found. - Remove style checking during build and add latest style checks to tox [Joshua Powers] (LP: #1652329) - code-style: make master pass pycodestyle (2.3.1) cleanly. -- Scott Moser Thu, 09 Feb 2017 13:18:47 -0500 ** Changed in: cloud-init (Ubuntu) Status: Confirmed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1661797 Title: identify lxd-nova platform to enable Openstack datasource To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-init/+bug/1661797/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1661797] Re: identify lxd-nova platform to enable Openstack datasource
** Description changed: nova-lxd uses the Openstack Network metadata service. In an effort to avoid polling metadata services in cloud-init we will disable attempts to reach the MD without positive identification of the cloud. We need to be able to positively identify that the container we are running inside should have access to an openstack metadata service so we can safely assume it will be there. How can we positively identify that a container is running in nova-lxd? Is there anything in the environment (possibly pid 1 environ?) that we can look at? One way I could see doing t his would be for lxd-nova to put CLOUD_PLATFORM='openstack-nova' inside the pid 1 environment. then cloud-init can look at /proc/1/environ and pick that out. Open to other ideas, and would love it if there was something we could do. Related bugs bug 1660385: Alert user of Ec2 Datasource on lookalike cloud - bug 1661797: identify lxd-nova platform to enable Openstack datasource - bug 1661693: identify brightbox platform to enable Ec2 datasource + bug 1661797: identify lxd-nova platform to enable Openstack datasource + bug 1661693: identify brightbox platform to enable Ec2 datasource + bug 1663304: identify openstack kvm platform on arm64 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1661797 Title: identify lxd-nova platform to enable Openstack datasource To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-init/+bug/1661797/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1661797] Re: identify lxd-nova platform to enable Openstack datasource
I've combined this patch functionality into this patch (the flavor<->profile code was refactored in an already submitted patch). https://review.openstack.org/#/c/411985/ -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1661797 Title: identify lxd-nova platform to enable Openstack datasource To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-init/+bug/1661797/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1661797] Re: identify lxd-nova platform to enable Openstack datasource
There is a gerrit review at https://review.openstack.org/#/c/431247/1 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1661797 Title: identify lxd-nova platform to enable Openstack datasource To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-init/+bug/1661797/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1661797] Re: identify lxd-nova platform to enable Openstack datasource
You could also potentially be the first users of /dev/lxd, setting some key like user.is-nova-lxd: true for the container, and then querying it over /dev/lxd. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1661797 Title: identify lxd-nova platform to enable Openstack datasource To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-init/+bug/1661797/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1661797] Re: identify lxd-nova platform to enable Openstack datasource
** Also affects: nova-lxd Importance: Undecided Status: New ** Also affects: cloud-init (Ubuntu) Importance: Undecided Status: New ** Changed in: cloud-init Status: New => Confirmed ** Changed in: cloud-init (Ubuntu) Status: New => Confirmed ** Changed in: nova-lxd Status: New => Confirmed ** Changed in: cloud-init Importance: Undecided => High ** Changed in: cloud-init (Ubuntu) Importance: Undecided => High ** Description changed: nova-lxd uses the Openstack Network metadata service. In an effort to avoid polling metadata services in cloud-init we will disable attempts to reach the MD without positive identification of the cloud. - We need to be able to positively identify that the container we are running + We need to be able to positively identify that the container we are running inside should have access to an openstack metadata service so we can safely assume it will be there. How can we positively identify that a container is running in nova-lxd? Is there anything in the environment (possibly pid 1 environ?) that we can look at? - One way I could see doing t his would be for lxd-nova to put -CLOUD_PLATFORM='openstack-nova' + One way I could see doing t his would be for lxd-nova to put + CLOUD_PLATFORM='openstack-nova' inside the pid 1 environment. then cloud-init can look at /proc/1/environ and pick that out. Open to other ideas, and would love it if there was something we could do. Related bugs - bug 1660385: Alert user of Ec2 Datasource on lookalike cloud + bug 1660385: Alert user of Ec2 Datasource on lookalike cloud + bug 1661797: identify lxd-nova platform to enable Openstack datasource + bug 1661693: identify brightbox platform to enable Ec2 datasource -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1661797 Title: identify lxd-nova platform to enable Openstack datasource To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-init/+bug/1661797/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs