Closed
Bug 764933
Opened 13 years ago
Closed 13 years ago
Add a CentOS-6.2-x86 (32bit) kickstart option for scl1
Categories
(Infrastructure & Operations :: RelOps: General, task)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: dividehex, Assigned: dustin)
References
Details
Attachments
(1 file)
|
4.80 KB,
patch
|
rail
:
review+
dustin
:
checked-in+
|
Details | Diff | Splinter Review |
Currently, there is only an option to kickstart a CentOS-6.2-x86_64 (64bit) version. We will need a 32bit version setup for possible talos nodes on IX 4-node systems.
| Assignee | ||
Comment 1•13 years ago
|
||
This means mirroring 32-bit repositories, too. We're going to need more gigs.
| Reporter | ||
Updated•13 years ago
|
Assignee: jwatkins → dustin
| Assignee | ||
Comment 2•13 years ago
|
||
Repos are mirrored, thanks to catlee.
I *think* we can point kickstart to these repos to do the install, meaning the admin hosts don't have to have more space. I'll need to experiment with that.
| Assignee | ||
Comment 3•13 years ago
|
||
I added images/ to the mirror for i386 CentOS-6.2 that catlee did in bug 773379. Then I edited up a new kickstart config pointing --url to the root of this repository. I had to mirror the vmlinuz and initrd.img from images/pxeboot to mvadm01, then the kickstart worked! It failed because it couldn't find EPEL and puppet in the post-install.
I'm also mirroring a current version of epel6 for i386, and will mirror puppet from puppetlabs as well. With that in place, this should be able to do an install.
I don't think we'll be able to get this trick to work with x86_64 until we upgrade to 6.3, sadly - I did that bad a job of mirroring centos!
| Assignee | ||
Comment 4•13 years ago
|
||
This successfully installed CentOS-6.2 i386 on relabs07. However, it doesn't puppetize:
Jul 16 14:46:00 relabs07 puppet-agent[3742]: (/File[/var/lib/puppet/lib]) Failed to generate additional resources using 'eval_generate: Certname "puppetagain base ca/emailaddress=release@mozilla.com/ou=release engineering/o=mozilla, inc." must not contain unprintable or non-ASCII characters
Jul 16 14:46:00 relabs07 puppet-agent[3742]: (/File[/var/lib/puppet/lib]) Could not evaluate: Certname "puppetagain base ca/emailaddress=release@mozilla.com/ou=release engineering/o=mozilla, inc." must not contain unprintable or non-ASCII characters Could not retrieve file metadata for puppet://puppet/plugins: Certname "puppetagain base ca/emailaddress=release@mozilla.com/ou=release engineering/o=mozilla, inc." must not contain unprintable or non-ASCII characters
Jul 16 14:46:00 relabs07 puppet-agent[3742]: Could not retrieve catalog from remote server: Certname "puppetagain base ca/emailaddress=release@mozilla.com/ou=release engineering/o=mozilla, inc." must not contain unprintable or non-ASCII characters
Jul 16 14:46:00 relabs07 puppet-agent[3742]: Using cached catalog
Jul 16 14:46:00 relabs07 puppet-agent[3742]: Could not retrieve catalog; skipping run
Jul 16 14:46:00 relabs07 puppet-agent[3742]: Could not send report: Certname "puppetagain base ca/emailaddress=release@mozilla.com/ou=release engineering/o=mozilla, inc." must not contain unprintable or non-ASCII characters
[root@relabs07 ~]# puppet --version
2.7.18
| Assignee | ||
Comment 5•13 years ago
|
||
So, C was awesome enough to point out the release notes that caused this error - it was a security fix. I've filed https://projects.puppetlabs.com/issues/15561 for the overly-broad regexp. In the interim, I think we need to pin the Puppet version we're using in the manifests. We also need to note that the puppetlabs repo is a snapshot.
Having done that manually, I came to another problem: packages::setup uses url paths like
url_path => "repos/yum/mirrors/puppetlabs/el/6/products/$hardwaremodel"
which evaluate to
repos/yum/mirrors/puppetlabs/el/6/products/i686
rather than the expected
repos/yum/mirrors/puppetlabs/el/6/products/i386
We want $architecture, not $hardwaremodel, there.
So, a patch is forthcoming for all of that. Once that's in, it just remains to put the right kickstart file in scl1 and this is finished.
| Assignee | ||
Comment 6•13 years ago
|
||
Turns out the puppet version was already pinned (good, I thought so). I moved it to packages::puppet for good measure.
This gets a 32-bit CentOS install actually installing packages, but it still fails due to missing releng packages. We can solve that later, though (by building the packages). This bug was just to get them kickstarting.
Attachment #642987 -
Flags: review?(rail)
Comment 7•13 years ago
|
||
Attachment #642987 -
Flags: review?(rail) → review+
| Assignee | ||
Updated•13 years ago
|
Attachment #642987 -
Flags: checked-in+
| Assignee | ||
Updated•13 years ago
|
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Updated•12 years ago
|
Component: Server Operations: RelEng → RelOps
Product: mozilla.org → Infrastructure & Operations
You need to log in
before you can comment on or make changes to this bug.
Description
•