Hello George, Thank you for you reply. Just wanted to report back that the routing table was indeed the issue. Turns out the image had avahi-autoipd installed, which was setting up the route "169.254.0.0/16 dev eth0 scope link".
Removing the avahi-autoipd file from the network /etc/network/if-up.d directory resolves the issue. I also had to disable network manager from managing the interface, as it wasn't coming up fast enough for cloud-init. Turns out someone ran into this issue at: https://ask.openstack.org/en/question/55451/ubuntu-cloud-init-cant-get-metadata-at-boot/ Thank you again to everyone's help. CC'ing the mailing list in case anyone runs into this issue. Thanks, Geoffrey ----- Original Message ----- > From: "George Mihaiescu" <[email protected]> > To: "Geoffrey Tran" <[email protected]> > Sent: Monday, October 26, 2015 1:37:48 PM > Subject: Re: [Openstack] Metadata Issue > > I would check the differences in the routing table of the instances. > > On Mon, Oct 26, 2015 at 4:14 PM, Geoffrey Tran <[email protected]> wrote: > > > Hello again, > > > > Just wanted to ping and see if there are any other suggestions? > > > > It's just peculiar that the cirros image is able to contact the metadata > > server, but the others can't. All instances do have network connections > > to the host and other VMs and are pulling IPs from the correct pool. > > > > Thanks again for any help, > > Geoffrey > > > > ----- Original Message ----- > > > From: "Geoffrey Tran" <[email protected]> > > > To: "John Belamaric" <[email protected]> > > > Cc: "Nasir Mahmood" <[email protected]>, "openstack" < > > [email protected]> > > > Sent: Thursday, October 22, 2015 11:20:30 AM > > > Subject: Re: [Openstack] Metadata Issue > > > > > > Hello Nasir, > > > > > > I tried to curl the address provided, and get "couldn't connect to host" > > > > > > Hello John, > > > > > > Yes it does pull an IP from the private subnet that was setup in neutron. > > > > > > Thanks, > > > Geoffrey > > > > > > ----- Original Message ----- > > > > From: "John Belamaric" <[email protected]> > > > > To: "Geoffrey Tran" <[email protected]> > > > > Cc: "Nasir Mahmood" <[email protected]>, "openstack" > > > > <[email protected]> > > > > Sent: Thursday, October 22, 2015 11:12:17 AM > > > > Subject: Re: [Openstack] Metadata Issue > > > > > > > > Is the dhcp client on your custom image running? If it can't get a DHCP > > > > address it won't be able to access the meta-data server. The link-local > > > > address is an illusion. > > > > > > > > > On Oct 22, 2015, at 2:04 PM, Geoffrey Tran <[email protected]> wrote: > > > > > > > > > > Hello, > > > > > > > > > > Thank you for your response. > > > > > > > > > > Sorry that was a typo. I meant to say "network issue." > > > > > > > > > > To add to the initial report, the ubuntu image is still able to ping > > the > > > > > host, other instances, and virtual router. > > > > > > > > > > Thanks, > > > > > Geoffrey > > > > > > > > > > ----- Original Message ----- > > > > >> From: "Nasir Mahmood" <[email protected]> > > > > >> To: "Geoffrey Tran" <[email protected]> > > > > >> Cc: "openstack" <[email protected]> > > > > >> Sent: Thursday, October 22, 2015 11:01:42 AM > > > > >> Subject: Re: [Openstack] Metadata Issue > > > > >> > > > > >> What do you mean by network image? > > > > >> On 22 Oct 2015 22:54, "Geoffrey Tran" <[email protected]> wrote: > > > > >> > > > > >>> Hello, > > > > >>> > > > > >>> I am using Openstack Kilo on Ubuntu 15.04 and am running into a > > > > >>> peculiar > > > > >>> issue. > > > > >>> > > > > >>> Issue: When trying to boot instances, my custom built ubuntu image > > > > >>> cannot > > > > >>> reach the metadata server (169.254.169.254). > > > > >>> However, when booting a cirros image, the metadata server is > > reachable > > > > >>> and > > > > >>> can be pinged. > > > > >>> > > > > >>> If it was a network image, I wouldn't expect the cirros instance to > > > > >>> work. > > > > >>> > > > > >>> Any help is most welcome, thanks! > > > > >>> > > > > >>> Geoffrey > > > > >>> > > > > >>> _______________________________________________ > > > > >>> Mailing list: > > > > >>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack > > > > >>> Post to : [email protected] > > > > >>> Unsubscribe : > > > > >>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack > > > > >>> > > > > >> > > > > > > > > > > _______________________________________________ > > > > > Mailing list: > > > > > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack > > > > > Post to : [email protected] > > > > > Unsubscribe : > > > > > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack > > > > > > > > > > > > > > > _______________________________________________ > > Mailing list: > > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack > > Post to : [email protected] > > Unsubscribe : > > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack > > > _______________________________________________ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to : [email protected] Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
