You need to disable file injection in nova, and you need to have link
up on the interfaces, or dhcp-all-interfaces will skip them.

What do you see in the node console specifically?

-Rob

On 22 October 2013 16:11, Ravikanth Samprathi <rsamp...@gmail.com> wrote:
> Hi Folks
>
> I'm using DiB to create an ubuntu 12.04 image where dhcp is enabled on all
> interfaces, and .ssh/authorized_keys is copied
>
>
>
> $ bin/disk-image-create -a amd64 -o u1204.am d64.custom ubuntu local-config
> dhcp-all-interfaces
>
>
>
> I see DiB printing these messages indicating it worked as expected
>
>
>
> dib-run-parts Mon Oct 21 21:10:41 UTC 2013 Running
> /tmp/in_target.d/install.d/50-dhcp-all-interfaces
>
> + dirname /tmp/in_target.d/install.d/50-dhcp-all-interfaces
>
> + SCRIPTDIR=/tmp/in_target.d/install.d
>
> + [ -d /etc/init ]
>
> + install -D -g root -o root -m 0755
>
> /tmp/in_target.d/install.d/generate-interfaces-file.sh
>
> /usr/local/sbin/generate-interfaces-file.sh
>
> + install -D -g root -o root -m 0755
>
> /tmp/in_target.d/install.d/dhcp-all-interfaces.conf
>
> /etc/init/dhcp-all-interfaces.conf
>
> dib-run-parts Mon Oct 21 21:10:41 UTC 2013 50-dhcp-all-interfaces completed
>
>
>
> dib-run-parts Mon Oct 21 21:10:41 UTC 2013 62-ssh-key completed
>
>
>
> But when the baremetal node boots up, the interfaces still don't have dhcp
> enabled. I see this in the BM node's console when cloud-init starts.
>
>
>
> How can I troubleshoot this?
>
> Thanks
> Ravi
>
>
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev@lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>



-- 
Robert Collins <rbtcoll...@hp.com>
Distinguished Technologist
HP Converged Cloud

_______________________________________________
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to