Bug 1465993 - No need to install tuned-profiles-cpu-partitioning in NFV first-boot scripts in OSP 11
No need to install tuned-profiles-cpu-partitioning in NFV first-boot scripts ...
Status: CLOSED CURRENTRELEASE
Product: Red Hat OpenStack
Classification: Red Hat
Component: documentation (Show other bugs)
11.0 (Ocata)
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Sandra McCann
RHOS Documentation Team
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-06-28 12:24 EDT by Andreas Karis
Modified: 2017-06-28 14:52 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-06-28 14:52:33 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Andreas Karis 2017-06-28 12:24:37 EDT
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.