<div dir="ltr">Hi,<div><br></div><div>Steps 3 and 4 are not necessary (but at the same time they do not harm), because configuration in step 2 is what really used to get packages for the image.</div><div>Anyway, glad to see your issue resolved.</div><div><br></div><div>A bit more extended explanation on why steps 3 and 4 are not mandatory:</div><div>1. During Fuel master node provisioning, Nailgun initialization happens.</div><div>2. openstack.yaml file is used to create releases in Nailgun database during initial setup, so user can create cluster based on them.</div><div>3. During cluster creation, releases (stored in database) are used as templates for cluster configuration, it copies some default parameters from releases model to cluster models, after that user can do configuration on per-cluster basis. E.g. during provisioning and image build, repositories are taken from environment configuration (which are stored in database).</div><div><br></div><div>Thanks,</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Feb 12, 2017 at 4:59 PM, Eddie Yen <span dir="ltr"><<a href="mailto:missile0407@gmail.com" target="_blank">missile0407@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">Hi Evgeniy,<div><br></div><div>I built a repository and added my DKMS deb package into the repository, then added repository URL and package name into:</div><div><font face="monospace, monospace">1. /etc/fuel-bootstrap-cli/fuel_<wbr>bootstrap_cli.yaml</font></div><div><font face="monospace, monospace">2. Fuel UI > Settings > General</font></div><div><font face="monospace, monospace">3. /usr/lib/python2.7/site-<wbr>packages/nailgun/fixtures/<wbr>openstack.yaml</font></div><div><font face="monospace, monospace">4. /usr/share/fuel-openstack-<wbr>metadata/openstack.yaml</font></div><div><br></div><div>(For position 3 and 4, I wish it can install driver during provisioning. I tried not to do 3 and 4 but seems like it didn't install package after provision.)</div><div><br></div><div>After that, rebuild the new bootstrap and environment images, then driver successfully updated.</div><div><br></div><div>Thanks for the advice, really appreciate!</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>Eddie.</div></font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">2017-02-11 6:25 GMT+08:00 Evgeniy L <span dir="ltr"><<a href="mailto:eli@mirantis.com" target="_blank">eli@mirantis.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">You have several options:<div>1. Build new repository and configure your environment to use it (pay attention to repositories priority).</div><div>2. Add package to existing repository, and rebuild the repo (to update metadata about the packages).</div><div><br></div><div>1st option is more preferable, it would simplify for you further upgrades.</div><div><br></div><div>Thanks,</div></div><div class="m_7248047840115008006HOEnZb"><div class="m_7248047840115008006h5"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Feb 7, 2017 at 5:35 PM, Eddie Yen <span dir="ltr"><<a href="mailto:missile0407@gmail.com" target="_blank">missile0407@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">Hi Evgeniy, thanks for the reply first.<div><br></div><div>According from your options, I have a idea about first option</div><div><br></div><div>Since I already built a driver as DKMS module, I may try to put package into a repository that inside a Fuel Master node. And add package name into the installation list so that DKMS module will install during bootstrap image or environment image build.</div><div><br></div><div>Is that feasible?</div><div><br></div><div>Thanks,</div><div>Eddie.</div></div><div class="m_7248047840115008006m_-6979980787041261298HOEnZb"><div class="m_7248047840115008006m_-6979980787041261298h5"><div class="gmail_extra"><br><div class="gmail_quote">2017-02-08 2:18 GMT+08:00 Evgeniy L <span dir="ltr"><<a href="mailto:eli@mirantis.com" target="_blank">eli@mirantis.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>Bootstrap image is used only when node is in discovery state (before provisioning is done), when you send nodes for provisioning, Fuel builds an image using repository from environment configuration, after the image is built, it reuses it for future deployments you can find details in documentation, for example here [1] "Image building" section.</div><div>You have multiple options:</div><div>1. Make sure that new kernel is available in configured repository, remove image from "/var/www/nailgun/targetimages<wbr>" run deployment of new nodes, which would trigger image rebuild.</div><div>2. More safe option would be to rebuild image in place "/var/www/nailgun/targetimages<wbr>", in this case don't forget to update checksums in "env_1_ubuntu_1404_amd64.yaml" file.</div><div><br></div><div>Thanks,</div><div><br></div><div>[1] <a href="https://docs.mirantis.com/openstack/fuel/fuel-9.1/reference-architecture/single/index.html" target="_blank">https://docs.mirantis.com/<wbr>openstack/fuel/fuel-9.1/refere<wbr>nce-architecture/single/index.<wbr>html</a></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="m_7248047840115008006m_-6979980787041261298m_5586426351374235288h5">On Sun, Feb 5, 2017 at 11:42 PM, Eddie Yen <span dir="ltr"><<a href="mailto:missile0407@gmail.com" target="_blank">missile0407@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="m_7248047840115008006m_-6979980787041261298m_5586426351374235288h5"><div dir="ltr">Hi everyone,<div><br></div><div>I'm using Fuel 9.1 to deploy OpenStack, but I found that the kernel still too old to support Intel i219-LM NIC card.</div><div><br></div><div>So I'm followed the instruction from OpenStack Documents and built the bootstrap kernel with latest e1000e driver. Then tested and it successfully catch i219-LM information in Fuel UI and bootstrap node.</div><div><br></div><div>But after these, I thought a one problem. Even I successfully modify bootstrap kernel, it will got no changes and may cause issue after deployment if target node didn't use bootstrap kernel as environment kernel.</div><div><br></div><div>So does target image will use bootstrap kernel as kernel image? If not, how can I modify target kernel image?<br></div><div><br></div><div>Many thanks,</div><div>Eddie.</div></div>
<br></div></div>______________________________<wbr>_________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi<wbr>-bin/mailman/listinfo/openstac<wbr>k</a><br>
Post to     : <a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a><br>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi<wbr>-bin/mailman/listinfo/openstac<wbr>k</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>