[LU-1273] lbuild-sles11 and self-service capabilities Created: 30/Mar/12  Updated: 29/May/17  Resolved: 29/May/17

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: Michael MacDonald (Inactive) Assignee: WC Triage
Resolution: Done Votes: 0
Labels: None

Rank (Obsolete): 5360

 Description   

Currently, lbuild-sles11 is unable to service build requests for kernels that haven't already been downloaded by hand into lbuild-data. The package/repo management for SLES has made this difficult, as the command-line tools provided (zypper, yast) don't work very well for package download (zypper requires root privileges, even for download-only mode), yast is just a frontend for their curses-based system management tool.

We do now have a local cobbler mirror of SLES11 updates (http://cobbler.lab.whamcloud.com/cobbler/repo_mirror/updates-sles11.1-x86_64/) which is periodically refreshed. In theory, we ought to be able to teach lbuild-sles11 to use wget/curl to grab the kernel packages it requires from this local mirror.

This may or may not be desirable, in that it would introduce a dependency on the environment we have set up locally. Perhaps it could be generalized a bit to default to our local mirror URL, but be overridable via an environment variable (e.g. SLES11_MIRROR_URL=${SLES11_MIRROR_URL:-http://cobbler.lab.whamcloud.com/cobbler/repo_mirror/updates-sles11.1-x86_64/}) which at least gives outsiders a chance to set up their own mirror and use it without needing to modify lbuild-sles11 locally.

Or we could just keep doing things by hand, with a documented process for dealing with sles kernel updates.



 Comments   
Comment by Brian Murrell (Inactive) [ 30/Mar/12 ]

Having a local mirror location externally overridable, AND having a reasonable failure mode in the case where a local mirror is not available would not be too objectionable.

I do question though whether a location internal to our lab should be committed to the public repo. Perhaps the mirror location in the code should be undefined and everyone has to provide it externally and we just add that external specification to our jenkin's call to lbuild.

Generated at Sat Feb 10 01:15:10 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.