Bug 1462561 - NFV SRIOV guide - problem with order of operations installation of tuned-profiles-cpu-partitioning
Summary: NFV SRIOV guide - problem with order of operations installation of tuned-prof...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: documentation
Version: 10.0 (Newton)
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Sandra McCann
QA Contact: RHOS Documentation Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-06-18 22:16 UTC by Andreas Karis
Modified: 2020-08-13 09:26 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-06-28 19:26:05 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Andreas Karis 2017-06-18 22:16:24 UTC
Description of problem:
In the current documentation, there is a problem with order of operations. In the first-boot.sh, the documentation attempts to install tuned-profiles-cpu-partitioning. This will fail because the RHEL registration steps will execute later, during the pre configuration hook. 


Additional info:

As a workaround, one can customize the overcloud image and install tuned-profiles-cpu-partitioning.
Raw

$ cd images
$ cp overcloud-full.qcow2 overcloud-full_backup.qcow2
# use username and password of Activation key and Organisation ID
$ virt-customize -a overcloud-full.qcow2 -v --run-command 'subscription-manager register --username=[username] --password=[password]'
$ virt-customize -a overcloud-full.qcow2 -v --run-command 'subscription-manager  subscribe --pool=<pool id>'
$ virt-customize -a overcloud-full.qcow2 -v --run-command 'subscription-manager repos --disable=* '
$ virt-customize -a overcloud-full.qcow2 -v --run-command 'subscription-manager repos --enable=rhel-7-server-rpms'
$ virt-customize -a overcloud-full.qcow2 -v --run-command 'subscription-manager repos --enable=rhel-7-server-openstack-10-rpms'
$ virt-customize -a overcloud-full.qcow2 -v --run-command 'yum install tuned-profiles-cpu-partitioning -y'
$ virt-customize -a overcloud-full.qcow2 -v --run-command 'subscription-manager unregister'
$ source /home/stack/stackrc
$ openstack overcloud image upload --image-path . --update-existing


Note You need to log in before you can comment on or make changes to this bug.