You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by "Gav..." <ga...@16degrees.com.au> on 2010/07/19 12:46:06 UTC

Moving Forrest Zone to a FreeBSD Jail

Hi All,

Infra are working towards removing Helios our Zones machine. The Zones are
to be replaced with FreeBSD (8.1-RC2 currently) Jails.

All projects zones are to be moved over the next few weeks. I have been
tasked mainly with this job, with help from others as
required.

I have created new Jails but have yet to migrate an existing zone to a jail,
so I would like to start on familiar ground and
get the Forrest Zone moved - this week if possible. Anyone who has an acct
on our current zone setup will if they still require
it, get an acct on the new Jail.

Does anyone foresee any issues in doing this? Is the timing ok?

The only thing I can see is that FreeBSD (and now Debian/Ubuntu) uses the
Diablo Java rather than the sun jdk so if anyone knows
of any issues with that please let me know.

I envisage a short crossover period where we will have both available
(forrest.zones.a.o and forrest2.zones.a.o) until we are happy all
is well at our new digs.

If no objections I'll start soon (next couple of days)

Thanks

Gav...



RE: Moving Forrest Zone to a FreeBSD Jail

Posted by "Gav..." <ga...@16degrees.com.au>.

> -----Original Message-----
> From: Tim Williams [mailto:williamstw@gmail.com]
> Sent: Wednesday, 21 July 2010 9:50 PM
> To: dev@forrest.apache.org
> Subject: Re: Moving Forrest Zone to a FreeBSD Jail
> 
> On Mon, Jul 19, 2010 at 6:46 AM, Gav... <ga...@16degrees.com.au> wrote:
> > Hi All,
> >
> > Infra are working towards removing Helios our Zones machine. The
> Zones are
> > to be replaced with FreeBSD (8.1-RC2 currently) Jails.
> >
> > All projects zones are to be moved over the next few weeks. I have
> been
> > tasked mainly with this job, with help from others as
> > required.
> >
> > I have created new Jails but have yet to migrate an existing zone to
> a jail,
> > so I would like to start on familiar ground and
> > get the Forrest Zone moved - this week if possible. Anyone who has an
> acct
> > on our current zone setup will if they still require
> > it, get an acct on the new Jail.
> >
> > Does anyone foresee any issues in doing this? Is the timing ok?
> >
> > The only thing I can see is that FreeBSD (and now Debian/Ubuntu) uses
> the
> > Diablo Java rather than the sun jdk so if anyone knows
> > of any issues with that please let me know.
> >
> > I envisage a short crossover period where we will have both available
> > (forrest.zones.a.o and forrest2.zones.a.o) until we are happy all
> > is well at our new digs.
> >
> > If no objections I'll start soon (next couple of days)
> 
> +1, can you reset my password in the process too?

Thanks Tim, with no objections I'll start this tomorrow.
I'll add your ssh key and set you a temp sudo passwd.

Gav...

> 
> Thanks,
> --tim



Re: Moving Forrest Zone to a FreeBSD Jail

Posted by Tim Williams <wi...@gmail.com>.
On Mon, Jul 19, 2010 at 6:46 AM, Gav... <ga...@16degrees.com.au> wrote:
> Hi All,
>
> Infra are working towards removing Helios our Zones machine. The Zones are
> to be replaced with FreeBSD (8.1-RC2 currently) Jails.
>
> All projects zones are to be moved over the next few weeks. I have been
> tasked mainly with this job, with help from others as
> required.
>
> I have created new Jails but have yet to migrate an existing zone to a jail,
> so I would like to start on familiar ground and
> get the Forrest Zone moved - this week if possible. Anyone who has an acct
> on our current zone setup will if they still require
> it, get an acct on the new Jail.
>
> Does anyone foresee any issues in doing this? Is the timing ok?
>
> The only thing I can see is that FreeBSD (and now Debian/Ubuntu) uses the
> Diablo Java rather than the sun jdk so if anyone knows
> of any issues with that please let me know.
>
> I envisage a short crossover period where we will have both available
> (forrest.zones.a.o and forrest2.zones.a.o) until we are happy all
> is well at our new digs.
>
> If no objections I'll start soon (next couple of days)

+1, can you reset my password in the process too?

Thanks,
--tim

RE: Moving Forrest Zone to a FreeBSD Jail

Posted by "Gav..." <ga...@16degrees.com.au>.

> -----Original Message-----
> From: David Crossley [mailto:crossley@apache.org]
> Sent: Tuesday, 14 September 2010 6:09 PM
> To: dev@forrest.apache.org
> Subject: Re: Moving Forrest Zone to a FreeBSD Jail
> 
> On Mon, Jul 19, 2010 Gav... wrote:
> > Hi All,
> >
> > Infra are working towards removing Helios our Zones machine. The
> Zones are
> > to be replaced with FreeBSD (8.1-RC2 currently) Jails.
> >
> > All projects zones are to be moved over the next few weeks. I have
> been
> > tasked mainly with this job, with help from others as
> > required.
> >
> > I have created new Jails but have yet to migrate an existing zone to
> a jail,
> > so I would like to start on familiar ground and
> > get the Forrest Zone moved - this week if possible. Anyone who has an
> acct
> > on our current zone setup will if they still require
> > it, get an acct on the new Jail.
> >
> > Does anyone foresee any issues in doing this? Is the timing ok?
> >
> > The only thing I can see is that FreeBSD (and now Debian/Ubuntu) uses
> the
> > Diablo Java rather than the sun jdk so if anyone knows
> > of any issues with that please let me know.
> >
> > I envisage a short crossover period where we will have both available
> > (forrest.zones.a.o and forrest2.zones.a.o) until we are happy all
> > is well at our new digs.
> >
> > If no objections I'll start soon (next couple of days)
> 
> Some messages have been going to the private@ forrest list
> for this. So trying to bring the technical discussion back here.
> 
> The old zone is being switched off on Friday 17 September
> i.e. in a few days.
> 
> Tim and i have done some quick checks.
> 
> I noticed that there have been changes to various files
> server-side on the new zone that are under SVN in forrest/zone
> So those changes need to be brought back and committed.

Sure, most, but not all, are local path changes to suit the new jail. I will
commit them just as soon as we have made the move away from the old zone
where
the current config files in svn are relevant.


> 
> Our zone documentation needs to be fixed:
> http://forrest.apache.org/zone.html

I can work on that after the switch.

Gav...

> 
> Also we saw recently a failure with the old zone,
> but did not get an email message from the new zone.
> So perhaps something wrong with email orginating from
> the new zone.
> 
> I will make a deliberate break, and see what happens.
> 
> However i do not have much time for this. So if someone
> else can help, that would be good.
> 
> -David



Re: Moving Forrest Zone to a FreeBSD Jail

Posted by Tim Williams <wi...@gmail.com>.
On Thu, Sep 16, 2010 at 3:57 AM, Gav... <ga...@16degrees.com.au> wrote:
>
> <snip headers>
>> > > > David Crossley wrote:
>> > > > >
>> > > > > Also we saw recently a failure with the old zone,
>> > > > > but did not get an email message from the new zone.
>> > > > > So perhaps something wrong with email orginating from
>> > > > > the new zone.
>> > > > >
>> > > > > I will make a deliberate break, and see what happens.
>> > > >
>> > > > Yes, forrestbot on the new zone is not sending mail.
>> > >
>> > > Ok, I'll take a look and fix that tomorrow.
>> >
>> > looking, I believe I found the problem, testing...
>>
>> Problem solved I'd say, I will test a break in the morning to be sure.
>>
>> It was combination of :
>>
>> a) - I had turned off notify on failure whilst setting up the new jail
>> so we
>> didn't get
>> false alarms and double lots of emails for genuine failures. I needed
>> to
>> revert that
>> now that we actually want these emails.
>>
>> b) - The notify.email.from (default in notify.xml) value was not well
>> liked
>> by the new jail mail system, overriding it and appending the hostname
>> made
>> it work better.
>>
>> c) - due to b) and in combination with rdns being incorrectly set, it
>> wouldn't relay. Curing b) means the rdns doesn't matter that much, but
>> that
>> is also being fixed.
>>
>> will report back my final tests and findings in the morning.
>>
>
> Yep, all seems to be working well now.
>
> Any changes I made will be committed afterwards once the PMC has approved
> the move.

I think we're good, are you thinking a vote to approve this?  I'd be
+1 in such a case - there's bound to be problems, we can resolve them
as they arise...

--tim

Re: Moving Forrest Zone to a FreeBSD Jail

Posted by David Crossley <cr...@apache.org>.
On Thu, Sep 16, 2010 at 05:57:49PM +1000, Gav... wrote:
> 
> <snip headers>
> > > > > David Crossley wrote:
> > > > > >
> > > > > > Also we saw recently a failure with the old zone,
> > > > > > but did not get an email message from the new zone.
> > > > > > So perhaps something wrong with email orginating from
> > > > > > the new zone.
> > > > > >
> > > > > > I will make a deliberate break, and see what happens.
> > > > >
> > > > > Yes, forrestbot on the new zone is not sending mail.
> > > >
> > > > Ok, I'll take a look and fix that tomorrow.
> > >
> > > looking, I believe I found the problem, testing...
> > 
> > Problem solved I'd say, I will test a break in the morning to be sure.
> > 
> > It was combination of :
> > 
> > a) - I had turned off notify on failure whilst setting up the new jail
> > so we
> > didn't get
> > false alarms and double lots of emails for genuine failures. I needed
> > to
> > revert that
> > now that we actually want these emails.
> > 
> > b) - The notify.email.from (default in notify.xml) value was not well
> > liked
> > by the new jail mail system, overriding it and appending the hostname
> > made
> > it work better.
> > 
> > c) - due to b) and in combination with rdns being incorrectly set, it
> > wouldn't relay. Curing b) means the rdns doesn't matter that much, but
> > that
> > is also being fixed.
> > 
> > will report back my final tests and findings in the morning.
> > 
> 
> Yep, all seems to be working well now.
> 
> Any changes I made will be committed afterwards once the PMC has approved 
> the move.

Has this been done now?

-David

RE: Moving Forrest Zone to a FreeBSD Jail

Posted by "Gav..." <ga...@16degrees.com.au>.
<snip headers>
> > > > David Crossley wrote:
> > > > >
> > > > > Also we saw recently a failure with the old zone,
> > > > > but did not get an email message from the new zone.
> > > > > So perhaps something wrong with email orginating from
> > > > > the new zone.
> > > > >
> > > > > I will make a deliberate break, and see what happens.
> > > >
> > > > Yes, forrestbot on the new zone is not sending mail.
> > >
> > > Ok, I'll take a look and fix that tomorrow.
> >
> > looking, I believe I found the problem, testing...
> 
> Problem solved I'd say, I will test a break in the morning to be sure.
> 
> It was combination of :
> 
> a) - I had turned off notify on failure whilst setting up the new jail
> so we
> didn't get
> false alarms and double lots of emails for genuine failures. I needed
> to
> revert that
> now that we actually want these emails.
> 
> b) - The notify.email.from (default in notify.xml) value was not well
> liked
> by the new jail mail system, overriding it and appending the hostname
> made
> it work better.
> 
> c) - due to b) and in combination with rdns being incorrectly set, it
> wouldn't relay. Curing b) means the rdns doesn't matter that much, but
> that
> is also being fixed.
> 
> will report back my final tests and findings in the morning.
> 

Yep, all seems to be working well now.

Any changes I made will be committed afterwards once the PMC has approved 
the move.

Gav...




RE: Moving Forrest Zone to a FreeBSD Jail

Posted by "Gav..." <ga...@16degrees.com.au>.

> -----Original Message-----
> From: Gav... [mailto:gavin@16degrees.com.au]
> Sent: Wednesday, 15 September 2010 7:46 PM
> To: dev@forrest.apache.org
> Subject: RE: Moving Forrest Zone to a FreeBSD Jail
> 
> 
> 
> > -----Original Message-----
> > From: Gav... [mailto:gavin@16degrees.com.au]
> > Sent: Tuesday, 14 September 2010 10:01 PM
> > To: dev@forrest.apache.org
> > Subject: RE: Moving Forrest Zone to a FreeBSD Jail
> >
> >
> >
> > > -----Original Message-----
> > > From: David Crossley [mailto:crossley@apache.org]
> > > Sent: Tuesday, 14 September 2010 9:56 PM
> > > To: dev@forrest.apache.org
> > > Subject: Re: Moving Forrest Zone to a FreeBSD Jail
> > >
> > > David Crossley wrote:
> > > >
> > > > Also we saw recently a failure with the old zone,
> > > > but did not get an email message from the new zone.
> > > > So perhaps something wrong with email orginating from
> > > > the new zone.
> > > >
> > > > I will make a deliberate break, and see what happens.
> > >
> > > Yes, forrestbot on the new zone is not sending mail.
> >
> > Ok, I'll take a look and fix that tomorrow.
> 
> looking, I believe I found the problem, testing...

Problem solved I'd say, I will test a break in the morning to be sure.

It was combination of :

a) - I had turned off notify on failure whilst setting up the new jail so we
didn't get
false alarms and double lots of emails for genuine failures. I needed to
revert that
now that we actually want these emails.

b) - The notify.email.from (default in notify.xml) value was not well liked
by the new jail mail system, overriding it and appending the hostname made
it work better.

c) - due to b) and in combination with rdns being incorrectly set, it
wouldn't relay. Curing b) means the rdns doesn't matter that much, but that
is also being fixed.

will report back my final tests and findings in the morning.

Gav...

> 
> Gav...
> 
> >
> > Thanks.
> >
> > Gav...
> >
> > >
> > > -David
> >
> 
> 




RE: Moving Forrest Zone to a FreeBSD Jail

Posted by "Gav..." <ga...@16degrees.com.au>.

> -----Original Message-----
> From: Gav... [mailto:gavin@16degrees.com.au]
> Sent: Tuesday, 14 September 2010 10:01 PM
> To: dev@forrest.apache.org
> Subject: RE: Moving Forrest Zone to a FreeBSD Jail
> 
> 
> 
> > -----Original Message-----
> > From: David Crossley [mailto:crossley@apache.org]
> > Sent: Tuesday, 14 September 2010 9:56 PM
> > To: dev@forrest.apache.org
> > Subject: Re: Moving Forrest Zone to a FreeBSD Jail
> >
> > David Crossley wrote:
> > >
> > > Also we saw recently a failure with the old zone,
> > > but did not get an email message from the new zone.
> > > So perhaps something wrong with email orginating from
> > > the new zone.
> > >
> > > I will make a deliberate break, and see what happens.
> >
> > Yes, forrestbot on the new zone is not sending mail.
> 
> Ok, I'll take a look and fix that tomorrow.

looking, I believe I found the problem, testing...

Gav...

> 
> Thanks.
> 
> Gav...
> 
> >
> > -David
> 




RE: Moving Forrest Zone to a FreeBSD Jail

Posted by "Gav..." <ga...@16degrees.com.au>.

> -----Original Message-----
> From: David Crossley [mailto:crossley@apache.org]
> Sent: Tuesday, 14 September 2010 9:56 PM
> To: dev@forrest.apache.org
> Subject: Re: Moving Forrest Zone to a FreeBSD Jail
> 
> David Crossley wrote:
> >
> > Also we saw recently a failure with the old zone,
> > but did not get an email message from the new zone.
> > So perhaps something wrong with email orginating from
> > the new zone.
> >
> > I will make a deliberate break, and see what happens.
> 
> Yes, forrestbot on the new zone is not sending mail.

Ok, I'll take a look and fix that tomorrow.

Thanks.

Gav...

> 
> -David



Re: Moving Forrest Zone to a FreeBSD Jail

Posted by David Crossley <cr...@apache.org>.
David Crossley wrote:
> 
> Also we saw recently a failure with the old zone,
> but did not get an email message from the new zone.
> So perhaps something wrong with email orginating from
> the new zone.
> 
> I will make a deliberate break, and see what happens.

Yes, forrestbot on the new zone is not sending mail.

-David

Re: Moving Forrest Zone to a FreeBSD Jail

Posted by David Crossley <cr...@apache.org>.
On Mon, Jul 19, 2010 Gav... wrote:
> Hi All,
> 
> Infra are working towards removing Helios our Zones machine. The Zones are
> to be replaced with FreeBSD (8.1-RC2 currently) Jails.
> 
> All projects zones are to be moved over the next few weeks. I have been
> tasked mainly with this job, with help from others as
> required.
> 
> I have created new Jails but have yet to migrate an existing zone to a jail,
> so I would like to start on familiar ground and
> get the Forrest Zone moved - this week if possible. Anyone who has an acct
> on our current zone setup will if they still require
> it, get an acct on the new Jail.
> 
> Does anyone foresee any issues in doing this? Is the timing ok?
> 
> The only thing I can see is that FreeBSD (and now Debian/Ubuntu) uses the
> Diablo Java rather than the sun jdk so if anyone knows
> of any issues with that please let me know.
> 
> I envisage a short crossover period where we will have both available
> (forrest.zones.a.o and forrest2.zones.a.o) until we are happy all
> is well at our new digs.
> 
> If no objections I'll start soon (next couple of days)

Some messages have been going to the private@ forrest list
for this. So trying to bring the technical discussion back here.

The old zone is being switched off on Friday 17 September
i.e. in a few days.

Tim and i have done some quick checks.

I noticed that there have been changes to various files
server-side on the new zone that are under SVN in forrest/zone
So those changes need to be brought back and committed.

Our zone documentation needs to be fixed:
http://forrest.apache.org/zone.html

Also we saw recently a failure with the old zone,
but did not get an email message from the new zone.
So perhaps something wrong with email orginating from
the new zone.

I will make a deliberate break, and see what happens.

However i do not have much time for this. So if someone
else can help, that would be good.

-David