#330 Issue with Centos-ci : Centos 8 provisioning
Closed: Fixed by msaju. Opened by msaju.

The Jobs path: https://ci.centos.org/view/Gluster/job/gluster_build-rpms/

We are running daily builds for gluster on various Cent OS flavours.
We are observing that eventhough the request is happening for CENTOS_VERSION=8,
the allocated machines is CENTOS 7.

Details of the latest job here - https://ci.centos.org/view/Gluster/job/gluster_build-rpms/15556/consoleText
jobs/scripts/common/bootstrap.sh /home/gluster/workspace/gluster_build-rpms/jobs/scripts/nightly-builds/nightly-builds.sh 'GITHUB_BRANCH=devel CENTOS_VERSION=8 CENTOS_ARCH=x86_64'

os-release is giving below:
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"

CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"

Same is available in the console logs.

Triggering the job manually we can reproduce the issue.

https://ci.centos.org/view/Gluster/job/gluster_build-rpms/build?delay=0sec


Metadata Update from @arrfab:
- Issue tagged with: centos-ci-infra, low-gain, low-trouble

So, I just had a quick look at your jenkins job and it's not defining any specific version when asking for a node :

# Get nodes
nodes=$(cico -q node get --count ${NODE_COUNT} --column hostname --column ip_address --column comment -f value)
cico_ret=$?

So probably worth modifying your script to ask for a specific centos version ? BTW, I thought , based on a discussion with @devos that gluster jobs were moved to the new openshift setup ?

Metadata Update from @arrfab:
- Issue priority set to: Waiting on Assignee (was: Needs Review)

I do not think Gluster has moved yet, but should be under discussion. The authority for the Gluster project CI is @deepshikhakhandelwal

Metadata Update from @siddharthvipul1:
- Issue priority set to: Waiting on Reporter (was: Waiting on Assignee)

can we get feedback about this ? as from our side, Duffy is working correctly and issue is more that you don't even ask for CentOS 8 node.
We'll close automatically ticket next week if no feedback :-)

We have modified the script to pass the version as suggested by you.
Thanks for the quick response. The builds are running fine.
As for the build movement to new Openshift, we will plan it in the coming weeks.

Metadata Update from @msaju:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

Log in to comment on this ticket.

Metadata