<div dir="ltr">When you create the network you need to set dhcp to false, otherwise, no static ip in config drive.</div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jul 2, 2015 at 9:59 AM, TAO ZHOU <span dir="ltr"><<a href="mailto:angeloudy@gmail.com" target="_blank">angeloudy@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><p style="margin:0px 0px 14px;padding:0px 5px 5px 0px;border:none;font-size:14px;line-height:1.4;color:rgb(75,75,75)">Hi,</p><p style="margin:0px 0px 14px;padding:0px 5px 5px 0px;border:none;font-size:14px;line-height:1.4;color:rgb(75,75,75)">I have an icehouse openstack setup.</p><p style="margin:0px 0px 14px;padding:0px 5px 5px 0px;border:none;font-size:14px;line-height:1.4;color:rgb(75,75,75)">I have the following lines in nova.conf:</p><pre style="font-family:Menlo,Monaco,'Courier New',monospace;font-size:12.025px;margin-top:0px;margin-bottom:18px;padding:2px;color:rgb(51,51,51);border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:4px;border-bottom-left-radius:4px;line-height:18px;border:1px solid rgb(136,136,136);white-space:pre-wrap;word-break:break-all;word-wrap:break-word;clear:both;background-color:rgb(245,245,245)"><code style="font-family:Menlo,Monaco,'Courier New',monospace;padding:0px;color:inherit;border-top-left-radius:3px;border-top-right-radius:3px;border-bottom-right-radius:3px;border-bottom-left-radius:3px;border:0px;clear:both;background-color:transparent"><span style="color:rgb(0,0,0)">force_config_drive </span><span style="color:rgb(102,102,0)">=</span><span style="color:rgb(0,0,0)"> always
config_drive_cdrom </span><span style="color:rgb(102,102,0)">=</span><span style="color:rgb(0,0,0)"> </span><span style="color:rgb(0,0,136)">True</span></code></pre><p style="margin:0px 0px 14px;padding:0px 5px 5px 0px;border:none;font-size:14px;line-height:1.4;color:rgb(75,75,75)">Whenever I launch an instance, I can see a content directory in the config drive</p><pre style="font-family:Menlo,Monaco,'Courier New',monospace;font-size:12.025px;margin-top:0px;margin-bottom:18px;padding:2px;color:rgb(51,51,51);border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:4px;border-bottom-left-radius:4px;line-height:18px;border:1px solid rgb(136,136,136);white-space:pre-wrap;word-break:break-all;word-wrap:break-word;clear:both;background-color:rgb(245,245,245)"><code style="font-family:Menlo,Monaco,'Courier New',monospace;padding:0px;color:inherit;border-top-left-radius:3px;border-top-right-radius:3px;border-bottom-right-radius:3px;border-bottom-left-radius:3px;border:0px;clear:both;background-color:transparent"><span style="color:rgb(0,0,0)">openstack</span><span style="color:rgb(102,102,0)">/</span><span style="color:rgb(0,0,0)">content</span><span style="color:rgb(102,102,0)">/</span><span style="color:rgb(0,102,102)">0000</span><span style="color:rgb(0,0,0)"> contains all network interfaces</span><span style="color:rgb(102,102,0)">.</span></code></pre><p style="margin:0px 0px 14px;padding:0px 5px 5px 0px;border:none;font-size:14px;line-height:1.4;color:rgb(75,75,75)">I can simply configure the static IP address from openstack/content/0000.</p><p style="margin:0px 0px 14px;padding:0px 5px 5px 0px;border:none;font-size:14px;line-height:1.4;color:rgb(75,75,75)">Now I have a new openstack cluster setup and I cannot see this content directory when I launch a VM.</p><p style="margin:0px 0px 14px;padding:0px 5px 5px 0px;border:none;font-size:14px;line-height:1.4;color:rgb(75,75,75)">I checked my configuration files and I can't find any difference with my old cluster.</p><p style="margin:0px 0px 14px;padding:0px 5px 5px 0px;border:none;font-size:14px;line-height:1.4;color:rgb(75,75,75)">Any ideas?</p><p style="margin:0px 0px 14px;padding:0px 5px 5px 0px;border:none;font-size:14px;line-height:1.4;color:rgb(75,75,75)">Thanks</p></div>
</blockquote></div><br></div>