canonical-ci-engineering team mailing list archive
-
canonical-ci-engineering team
-
Mailing list archive
-
Message #00307
Re: Fwd: Set up generic names for systems. [CI Standup]
...except if it's a reference to 10.189.74.2 for the cobbler server, in
which case it should change to tacash.ubuntu-ci I guess?
On Fri, Nov 8, 2013 at 12:39 PM, Larry Works <larry.works@xxxxxxxxxxxxx>wrote:
> On 11/08/2013 10:49 AM, Evan Dandrea wrote:
> > On 8 November 2013 14:27, Paul Larson <paul.larson@xxxxxxxxxxxxx> wrote:
> >> Here's the quick and dirty script I used on juifeng and
> magners-orchestra to
> >> find hardcoded IPs in the logs:
> >> find . -maxdepth 2 -iname config.xml -exec egrep
> >> "[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+" {} \; -exec sh -c 'dirname {} sed -e
> >> "s/^\.\///"' \;
> >>
> >> You'll want to run it from the /var/lib/jenkins/jobs directory, or
> change
> >> the starting location for find. I'm sure it could be made a lot nicer
> if
> >> you so desire, but it gets the job done. The way it comes out is that it
> >> will print the lines with something that look like an IP in them,
> followed
> >> by the job name.
> >>
> >> I've also attached logs of this on both machines. As you can see, there
> are
> >> a LOT of jobs on juifeng that would need to be fixed, including some
> that
> >> specify IP addresses other than the usual 10.9x.x.x ones that we use. I
> know
> >> some of these boxes have alternate IP addresses, but is there anything
> in
> >> the configs for services (such as apache) that would require us to
> connect
> >> at a specific address?
> > Thanks Paul!
> >
> > While the unusual IP addresses are being investigated, can you update
> > the jobs discovered by this script to make use of the new hostnames in
> > place of the expected IPs, checking to make sure the hostname is
> > reachable from that box and maps to the correct IP address?
> >
> > Who wants to volunteer to do this for the other servers?
> >
> > Can we get this done before Larry and Rick start disassembling
> > equipment tonight?
> The 10.189.74.x IP addresses are remnants from the original lab layout
> at 1SS. There are a series of systems (8 in total) that still connect to
> jiufeng over the 10.189.74.0/24 network. Those will all be moved to the
> 10.98.0.0/16 network range during the move so any reference to
> 10.189.74.2 can be changed to d-jenkins.ubuntu-ci
>
> ~w
>
>
Follow ups
References