Bug 1465993 - No need to install tuned-profiles-cpu-partitioning in NFV first-boot scripts in OSP 11
Summary: No need to install tuned-profiles-cpu-partitioning in NFV first-boot scripts ...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: documentation
Version: 11.0 (Ocata)
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-28 16:24 UTC by Andreas Karis
Modified: 2020-08-13 09:30 UTC (History)
2 users (show)

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


Attachments (Terms of Use)

Description Andreas Karis 2017-06-28 16:24:37 UTC
Description of problem:
https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/11/html-single/network_functions_virtualization_configuration_guide/#ap-sriov-first-boot

No need to install tuned-profiles-cpu-partitioning in NFV first-boot scripts

In OSP 11, by default this is installed:


if `rpm -qa | grep -q tuned-profiles-cpu-partitioning`;then echo "OK - tuned-profiles-cpu-partitioning installed"; else echo "!!!!!!! tuned-profiles-cpu-partitioning NOT INSTALLED !!!!!!!!!";fi
"
commandrvf: stdout=n stderr=n flags=0x0
commandrvf: umount /sysroot/sys
commandrvf: stdout=n stderr=n flags=0x0
commandrvf: umount /sysroot/proc
commandrvf: stdout=n stderr=n flags=0x0
commandrvf: umount /sysroot/dev
renaming /sysroot/etc/wc6n6z0d to /sysroot/etc/resolv.conf
guestfsd: main_loop: proc 111 (sh) took 6.93 seconds
guestfsd: main_loop: new request, len 0x3c
guestfsd: main_loop: proc 67 (download) took 0.OK - tuned-profiles-cpu-partitioning installed


If it was not installed, we would run into an order of operations issue, see:
https://bugzilla.redhat.com/1462561

Meaning that for OSP 11, we can remove these lines:
~~~
              # Install the tuned package
              yum install -y tuned-profiles-cpu-partitioning
~~~


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