Project

General

Profile

Bug #8325

ceph-deploy jenkins script doesn't like ceph builders so RHEL7 builds fail

Added by Alfredo Deza almost 10 years ago. Updated almost 10 years ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
-
% Done:

0%

Source:
other
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Crash signature (v1):
Crash signature (v2):

Description

Because the regex matches cdep builders only.

History

#1 Updated by Alfredo Deza almost 10 years ago

  • Priority changed from Urgent to High

This is quite the problem. We rely on hostnames that are assigned to builds. For ceph-deploy builds, these hostnames are
like:

  • gitbuilder-cdep-rpm
  • gitbuilder-cdep-deb
  • tala
  • mira

This approach is very broken. If we have concurrent builds, the script in ceph-deploy removes data assuming it is the only host that will ever build for ceph-deploy synchronously.

If we are building ceph packages at the same time in, say, a mira host, the build script for ceph-deploy might execute things like these:

        rm -rf debian-repo
        rm -rf dist
        rm -f *.changes *.dsc *.gz *.diff

For now, the "solution" is to just add a host that has a hostname that works for this broken logic.

The actual fix is to work towards ephemeral hosts for the build, which will need significant hours dedicated to it.

#2 Updated by Alfredo Deza almost 10 years ago

Implemented the "solution" for rpm builders :(

575d8ee

#3 Updated by Alfredo Deza almost 10 years ago

  • Status changed from 12 to Resolved

Also available in: Atom PDF