SDP-296 #8

  • //
  • spec/
  • job/
  • SDP-296
  • View
  • Commits
  • Open Download .zip Download (4 KB)
# The form data below was edited by tom_tyler
# Perforce Workshop Jobs
#
#  Job:           The job name. 'new' generates a sequenced job number.
#
#  Status:        Job status; required field.  There is no enforced or
#                 promoted workflow for transition of jobs from one
#                 status to another, just a set of job status values
#                 for users to apply as they see fit.  Possible values:
#
#                 open - Issue is available to be worked on.
#
#                 inprogress - Active development is in progress.
#
#                 blocked - Issue cannot be implemented for some reason.
#
#                 fixed - Fixed, optional status to use before closed.
#                 
#                 closed - Issue has been dealt with definitively.
#
#                 punted - Decision made not to address the issue,
#                    possibly not ever.
#
#                 suspended - Decision made not to address the issue
#                    in the immediate future, but noting that it may
#                    have some merit and may be revisited later.
#
#                 duplicate - Duplicate of another issue that.
#
#                 obsolete - The need behind the request has become
#                    overcome by events.
#
#  Project:       The project this job is for. Required.
#
#  Severity:      [A/B/C] (A is highest)  Required.
#
#  ReportedBy     The user who created the job. Can be changed.
#
#  ReportedDate:  The date the job was created.  Automatic.
#
#  ModifiedBy:    The user who last modified this job. Automatic.
#
#  ModifiedDate:  The date this job was last modified. Automatic.
#
#  OwnedBy:       The owner, responsible for doing the job. Optional.
#
#  Description:   Description of the job.  Required.
#
#  DevNotes:      Developer's comments.  Optional.  Can be used to
#                 explain a status, e.g. for blocked, punted,
#                 obsolete or duplicate jobs.
#
# Component:      Projects may use this optional field to indicate
#                 which component of the project a givenjob is associated
#                 with.
#
#                 For the SDP, the list of components is defined in:
#                 //guest/perforce_software/sdp/tools/components.txt
#
#  Type:          Type of job [Bug/Feature].  Required.

Job:	SDP-296

Status:	closed

Project:	perforce-software-sdp

Severity:	C

ReportedBy:	erikf

ReportedDate:	2018/02/12 12:41:19

ModifiedBy:	tom_tyler

ModifiedDate:	2018/09/14 13:58:39

OwnedBy:	tom_tyler

Description:
	Fixed bug where updates to os_tweaks.sh dropped support for RHEL 6.5.
	
	From email [tweaked]:
	
	This worked in previous releases but now the logic and checks have
	changed sufficiently to preclude the use of RH6.5.
	
	cat /etc/redhat-release
	Red Hat Enterprise Linux Server release 6.9 (Santiago)
	
	I added the section below to get the script to run.  As can be
	seen, none of the checks will pass Redhat 6.5. and it ends in the
	default/else clause. I assume the RH6.X is still supported?
	
	Os_tweaks.sh logic:
	===
	[[ -r /etc/redhat-release ]] || bail "This is only tested on RHEL/CentOS."
	
	if [[ -n "$(grep 'CentOS release 6' /etc/redhat-release)" ]]; then
	   echo -e "Verified: Running on supported OS (CentOS 6)."
	   CorrectValues[0]="no"
	== BEGIN Added  Block ==
	elif [[ -n "$(grep '(Santiago)' /etc/redhat-release)" ]]; then
	   echo -e "Verified: Running on supported OS (CentOS 6)."
	   CorrectValues[0]="no"
	== END Added  Block ==
	elif [[ -n "$(egrep '(Core|Maipo)' /etc/redhat-release)" ]]; then
	   echo -e "Verified: Running on supported OS (CentOS 7)."
	   CorrectValues[0]="0"
	else
	   bail "This is only tested on RHEL/CentOS 6 and 7."
	fi

Component:	setup

Type:	Bug
# Change User Description Committed
#8 default
#7 default
#6 default
#5 default
#4 default
#3 default
#2 default
#1 default