Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1804280

Summary: [DDF] This is a python2.7 script which doesnt work on RHEL 8. Script needs updating to correctly bracket print messages.
Product: Red Hat OpenStack Reporter: Direct Docs Feedback <ddf-bot>
Component: documentationAssignee: Irina <igallagh>
Status: CLOSED CURRENTRELEASE QA Contact: RHOS Documentation Team <rhos-docs>
Severity: medium Docs Contact:
Priority: medium    
Version: 16.0 (Train)CC: igallagh, johfulto, lyarwood
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard: docs-accepted
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-02-24 15:22:53 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Updated nova_mem_cpu_calc.py which supports both python2 and python3
none
Updated nova_mem_cpu_calc.py which supports both python2 and python3 none

Description Direct Docs Feedback 2020-02-18 15:36:23 UTC
This is a python2.7 script which doesnt work on RHEL 8. Script needs updating to correctly bracket print messages.

Reported by: chribrow

https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/16.0/html/hyperconverged_infrastructure_guide/config-resource-allocation#annotations:e3f17a78-9b51-440d-baf5-2675631a3276

Comment 3 John Fulton 2020-02-20 18:49:13 UTC
Created attachment 1664463 [details]
Updated nova_mem_cpu_calc.py which supports both python2 and python3

Docs Team

Please replace this file with the new attached version for both the RH-OSP15 and RH-OSP16 versions of the document to satisfy this docbug request. 

https://access.redhat.com/webassets/avalon/d/Red_Hat_OpenStack_Platform-16.0-Hyperconverged_Infrastructure_Guide-en-US/files/nova_mem_cpu_calc.py

Thanks,
  John

Comment 4 John Fulton 2020-02-20 18:54:44 UTC
Created attachment 1664465 [details]
Updated nova_mem_cpu_calc.py which supports both python2 and python3