[openstack-dev] [tripleo] cannot configure host kernel-args for pci passthrough with first-boot

Samuel Monderer smonderer at vasonanetworks.com
Tue May 22 06:14:57 UTC 2018


Hi,

We found the cause of the problem.
We forgot the following in the first-boot.yaml
outputs: # This means get_resource from the parent template will get the
userdata, see: #
http://docs.openstack.org/developer/heat/template_guide/composition.html#making-your-template-resource-more-transparent
# 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}

Samuel

On Tue, May 22, 2018 at 8:05 AM Saravanan KR <skramaja at redhat.com> wrote:

> Could you check the log in the /var/log/cloud-init-output.log file to
> see what are the first-boot scripts which are executed on the node?
> Add "set -x" in the kernel-args.sh file to better logs.
>
> Regards,
> Saravanan KR
>
> On Tue, May 22, 2018 at 12:49 AM, Samuel Monderer
> <smonderer at vasonanetworks.com> wrote:
> > Hi,
> >
> > I'm trying to build a new OS environment with RHOSP 11 with a compute has
> > that has GPU card.
> > I've added a new role and a firstboot template to configure the kernel
> args
> > to allow pci-passthrough.
> > For some reason the firstboot is not working (can't see the changes on
> the
> > compute node)
> > Attached are the templates I used to deploy the environment.
> >
> > I used the same configuration I used for a compute role with sr-iov and
> it
> > worked there.
> > Could someone tell me what I missed?
> >
> > Regards,
> >
> >
> >
> __________________________________________________________________________
> > OpenStack Development Mailing List (not for usage questions)
> > Unsubscribe:
> OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
> >
>
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20180522/6c8a03b5/attachment.html>


More information about the OpenStack-dev mailing list