<div dir="ltr">Hi,<div><br></div><div>We found the cause of the problem.</div><div>We forgot the following in the first-boot.yaml</div><div><span style="color:rgb(37,37,37);font-family:monospace;font-size:11.375px;white-space:pre-wrap">outputs:
# This means get_resource from the parent template will get the userdata, see:
# </span><a target="_blank" href="http://docs.openstack.org/developer/heat/template_guide/composition.html#making-your-template-resource-more-transparent" style="box-sizing:border-box;color:rgb(0,102,204);text-decoration-line:none;font-family:monospace;font-size:11.375px;white-space:pre-wrap">http://docs.openstack.org/developer/heat/template_guide/composition.html#making-your-template-resource-more-transparent</a><span style="color:rgb(37,37,37);font-family:monospace;font-size:11.375px;white-space:pre-wrap">
# Note this is new-for-kilo, an alternative is returning a value then using
# get_attr in the parent template instead.
OS::stack_id:
value: {get_resource: userdata}</span><br></div><div><span style="color:rgb(37,37,37);font-family:monospace;font-size:11.375px;white-space:pre-wrap"><br></span></div><div>Samuel<br></div></div><br><div class="gmail_quote"><div dir="ltr">On Tue, May 22, 2018 at 8:05 AM Saravanan KR <<a href="mailto:skramaja@redhat.com">skramaja@redhat.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Could you check the log in the /var/log/cloud-init-output.log file to<br>
see what are the first-boot scripts which are executed on the node?<br>
Add "set -x" in the kernel-args.sh file to better logs.<br>
<br>
Regards,<br>
Saravanan KR<br>
<br>
On Tue, May 22, 2018 at 12:49 AM, Samuel Monderer<br>
<<a href="mailto:smonderer@vasonanetworks.com" target="_blank">smonderer@vasonanetworks.com</a>> wrote:<br>
> Hi,<br>
><br>
> I'm trying to build a new OS environment with RHOSP 11 with a compute has<br>
> that has GPU card.<br>
> I've added a new role and a firstboot template to configure the kernel args<br>
> to allow pci-passthrough.<br>
> For some reason the firstboot is not working (can't see the changes on the<br>
> compute node)<br>
> Attached are the templates I used to deploy the environment.<br>
><br>
> I used the same configuration I used for a compute role with sr-iov and it<br>
> worked there.<br>
> Could someone tell me what I missed?<br>
><br>
> Regards,<br>
><br>
><br>
> __________________________________________________________________________<br>
> OpenStack Development Mailing List (not for usage questions)<br>
> Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
> <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
><br>
<br>
__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
</blockquote></div>