You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@whimsical.apache.org by sebb <se...@gmail.com> on 2020/01/06 13:21:12 UTC

Migrate to whimsy-vm5?

Do we want to start the process of migrating to whimsy-vm5?

Almost all the data on the host is derived from SVN or Git, so I think most
of the code can be run in parallel, at least for testing.

Exceptions include:
- the secretary workbench maintains a YAML file with details on which
emails have been processed. Prior to actual changeover, the files will need
to be synchronised.

- emails are stored for some other lists. Whilst these are not derived from
SVN or Git, they can safely be captured in parallel, and can be imported
from mail archives if necessary

- is there any other unique data?

To avoid accidental use of the wrong host. I wonder if it would make sense
to use a non-standard port, especially in the early testing stages?

Sebb.

Re: Migrate to whimsy-vm5?

Posted by sebb <se...@gmail.com>.
On Mon, 6 Jan 2020 at 13:31, Shane Curcuru <as...@shanecurcuru.org> wrote:

> sebb wrote on 2020-1-6 8:21AM EST:
> ...snip...
> > - is there any other unique data?
>
> I wrote a couple of scripts that cache data on disk; however they are
> each designed to re-create it if not found.  Thus the only issue is some
> scripts may be slow to run the first time.
>
> > To avoid accidental use of the wrong host. I wonder if it would make
> sense
> > to use a non-standard port, especially in the early testing stages?
>
> Yes, the two hosts must be super-easy to distinguish (or rather,
> super-hard to confuse them when typing quickly).
>
> I don't have dev time yet, but I will have testing time when ready.  Do
> we have a single editable URL somewhere for testing or deployment notes
> as a way to share ideas on the switchover?  We have a lot of different
> groups de facto relying on various Whimsy tools, so we should be
> organized about testing.  8-)
>
>
https://github.com/apache/whimsy/blob/master/DEPLOYMENT.md

has some notes on files that might need to be copied.


> --
>
> - Shane
>   Whimsy PMC
>   The Apache Software Foundation
>

Re: Migrate to whimsy-vm5?

Posted by Shane Curcuru <as...@shanecurcuru.org>.
sebb wrote on 2020-1-6 8:21AM EST:
...snip...
> - is there any other unique data?

I wrote a couple of scripts that cache data on disk; however they are
each designed to re-create it if not found.  Thus the only issue is some
scripts may be slow to run the first time.

> To avoid accidental use of the wrong host. I wonder if it would make sense
> to use a non-standard port, especially in the early testing stages?

Yes, the two hosts must be super-easy to distinguish (or rather,
super-hard to confuse them when typing quickly).

I don't have dev time yet, but I will have testing time when ready.  Do
we have a single editable URL somewhere for testing or deployment notes
as a way to share ideas on the switchover?  We have a lot of different
groups de facto relying on various Whimsy tools, so we should be
organized about testing.  8-)

-- 

- Shane
  Whimsy PMC
  The Apache Software Foundation

Re: Migrate to whimsy-vm5?

Posted by Sam Ruby <ru...@intertwingly.net>.
On Tue, Jan 7, 2020 at 3:47 AM sebb <se...@gmail.com> wrote:
>
> On Tue, 7 Jan 2020 at 02:01, Sam Ruby <ru...@intertwingly.net> wrote:
>
> > On Mon, Jan 6, 2020 at 1:48 PM sebb <se...@gmail.com> wrote:
> > >
> > > On Mon, 6 Jan 2020 at 18:32, Sam Ruby <ru...@intertwingly.net> wrote:
> > >
> > > > On Mon, Jan 6, 2020 at 8:21 AM sebb <se...@gmail.com> wrote:
> > > > >
> > > > > Do we want to start the process of migrating to whimsy-vm5?
> > > >
> > > > Setup needs to be completed.  There still are a number of commented
> > > > out sections in
> > > > infrastructure-p6/data/nodes/whimsy-vm5.apache.org.yaml and
> > > > infrastructure-p6/modules/whimsy_server/manifests/init.pp
> > > >
> > > >
> > > Yes, I assume that is to stop accidental access to the system.
> >
> > As the one who was setting this up, I can assure you that that wasn't
> > my motivation.
> >
> >
> So what was/is the reason?

If I remember correctly, we had some problem with pdf utilities needed
by the secretary workbench and at the time thought that the solution
was to update to 18.04.  Once we found another solution, I stopped
working on whimsy-vm5.

> > > I would rather change the port before attempting to enable these.
> >
> > I don't see the point (one would have to intentionally visit
> > whimsy-vm5, and one could equally intentionally specify a port), but
> > if this is something you would like to do, go for it!
> >
> > > > Some decisions will need to be made.  For example, I would recommend
> > > > no rvm this go around - there is really no need to maintain multiple
> > > > versions of Ruby.  If the system provided ruby is not good enough, we
> > > > can always use the brightbox debian repositories.
> > > >
> > > > > Almost all the data on the host is derived from SVN or Git, so I
> > think
> > > > most
> > > > > of the code can be run in parallel, at least for testing.
> > > > >
> > > > > Exceptions include:
> > > > > - the secretary workbench maintains a YAML file with details on which
> > > > > emails have been processed. Prior to actual changeover, the files
> > will
> > > > need
> > > > > to be synchronised.
> > > > >
> > > > > - emails are stored for some other lists. Whilst these are not
> > derived
> > > > from
> > > > > SVN or Git, they can safely be captured in parallel, and can be
> > imported
> > > > > from mail archives if necessary
> > > > >
> > > > > - is there any other unique data?
> > > > >
> > > > > To avoid accidental use of the wrong host. I wonder if it would make
> > > > sense
> > > > > to use a non-standard port, especially in the early testing stages?
> > > >
> > > > The way I have done migration in the past is to get whimsy-vm(n+1) up
> > > > and running;
> > >
> > >
> > > Yes, but during this time there is a risk some people could use it by
> > > mistake.
> >
> > Please explain?  You are suggesting that people may mistakenly type
> > https://whimsy-vm5.apache.org/ into their browser window?  How would a
> > port number change that?
> >
> >
> If they have been using  https://whimsy-vm4.apache.org/
> <https://whimsy-vm5.apache.org/> for whatever reason (e.g. testing the
> previous incarnation), without the port it's easier to mistype.
> It's also a bit more obvious in the browser URL.

Seems unlikely to me, but do what you feel necessary.

If you really want to prevent accidental access, change the virtual
host name to something that doesn't match the dns name.  This will
require an update to /etc/hosts to even get access and you will also
get an error that the certificate doesn't match.

> > Hence the suggestion to use a different port during the early stages at
> > > least.
> > >
> > >
> > > > change the dns for whimsy.apache.org to point to it, and
> > > > then leave whimsy-vm(n) as a hot backup.
> > > >
> > > >
> > > It cannot be a strict hot backup unless it has all the latest data.
> > > At present there is some data that is only on the local system.
> >
> > True, the switch would involve both changing the dns and copying over
> > selected data.
> >
> > > > Sebb.
> > > >
> > > > - Sam Ruby
> >
> > - Sam Ruby

- Sam Ruby

Re: Migrate to whimsy-vm5?

Posted by sebb <se...@gmail.com>.
On Tue, 7 Jan 2020 at 02:01, Sam Ruby <ru...@intertwingly.net> wrote:

> On Mon, Jan 6, 2020 at 1:48 PM sebb <se...@gmail.com> wrote:
> >
> > On Mon, 6 Jan 2020 at 18:32, Sam Ruby <ru...@intertwingly.net> wrote:
> >
> > > On Mon, Jan 6, 2020 at 8:21 AM sebb <se...@gmail.com> wrote:
> > > >
> > > > Do we want to start the process of migrating to whimsy-vm5?
> > >
> > > Setup needs to be completed.  There still are a number of commented
> > > out sections in
> > > infrastructure-p6/data/nodes/whimsy-vm5.apache.org.yaml and
> > > infrastructure-p6/modules/whimsy_server/manifests/init.pp
> > >
> > >
> > Yes, I assume that is to stop accidental access to the system.
>
> As the one who was setting this up, I can assure you that that wasn't
> my motivation.
>
>
So what was/is the reason?


> > I would rather change the port before attempting to enable these.
>
> I don't see the point (one would have to intentionally visit
> whimsy-vm5, and one could equally intentionally specify a port), but
> if this is something you would like to do, go for it!
>
> > > Some decisions will need to be made.  For example, I would recommend
> > > no rvm this go around - there is really no need to maintain multiple
> > > versions of Ruby.  If the system provided ruby is not good enough, we
> > > can always use the brightbox debian repositories.
> > >
> > > > Almost all the data on the host is derived from SVN or Git, so I
> think
> > > most
> > > > of the code can be run in parallel, at least for testing.
> > > >
> > > > Exceptions include:
> > > > - the secretary workbench maintains a YAML file with details on which
> > > > emails have been processed. Prior to actual changeover, the files
> will
> > > need
> > > > to be synchronised.
> > > >
> > > > - emails are stored for some other lists. Whilst these are not
> derived
> > > from
> > > > SVN or Git, they can safely be captured in parallel, and can be
> imported
> > > > from mail archives if necessary
> > > >
> > > > - is there any other unique data?
> > > >
> > > > To avoid accidental use of the wrong host. I wonder if it would make
> > > sense
> > > > to use a non-standard port, especially in the early testing stages?
> > >
> > > The way I have done migration in the past is to get whimsy-vm(n+1) up
> > > and running;
> >
> >
> > Yes, but during this time there is a risk some people could use it by
> > mistake.
>
> Please explain?  You are suggesting that people may mistakenly type
> https://whimsy-vm5.apache.org/ into their browser window?  How would a
> port number change that?
>
>
If they have been using  https://whimsy-vm4.apache.org/
<https://whimsy-vm5.apache.org/> for whatever reason (e.g. testing the
previous incarnation), without the port it's easier to mistype.
It's also a bit more obvious in the browser URL.

> Hence the suggestion to use a different port during the early stages at
> > least.
> >
> >
> > > change the dns for whimsy.apache.org to point to it, and
> > > then leave whimsy-vm(n) as a hot backup.
> > >
> > >
> > It cannot be a strict hot backup unless it has all the latest data.
> > At present there is some data that is only on the local system.
>
> True, the switch would involve both changing the dns and copying over
> selected data.
>
> > > Sebb.
> > >
> > > - Sam Ruby
>
> - Sam Ruby
>

Re: Migrate to whimsy-vm5?

Posted by Sam Ruby <ru...@intertwingly.net>.
On Mon, Jan 6, 2020 at 1:48 PM sebb <se...@gmail.com> wrote:
>
> On Mon, 6 Jan 2020 at 18:32, Sam Ruby <ru...@intertwingly.net> wrote:
>
> > On Mon, Jan 6, 2020 at 8:21 AM sebb <se...@gmail.com> wrote:
> > >
> > > Do we want to start the process of migrating to whimsy-vm5?
> >
> > Setup needs to be completed.  There still are a number of commented
> > out sections in
> > infrastructure-p6/data/nodes/whimsy-vm5.apache.org.yaml and
> > infrastructure-p6/modules/whimsy_server/manifests/init.pp
> >
> >
> Yes, I assume that is to stop accidental access to the system.

As the one who was setting this up, I can assure you that that wasn't
my motivation.

> I would rather change the port before attempting to enable these.

I don't see the point (one would have to intentionally visit
whimsy-vm5, and one could equally intentionally specify a port), but
if this is something you would like to do, go for it!

> > Some decisions will need to be made.  For example, I would recommend
> > no rvm this go around - there is really no need to maintain multiple
> > versions of Ruby.  If the system provided ruby is not good enough, we
> > can always use the brightbox debian repositories.
> >
> > > Almost all the data on the host is derived from SVN or Git, so I think
> > most
> > > of the code can be run in parallel, at least for testing.
> > >
> > > Exceptions include:
> > > - the secretary workbench maintains a YAML file with details on which
> > > emails have been processed. Prior to actual changeover, the files will
> > need
> > > to be synchronised.
> > >
> > > - emails are stored for some other lists. Whilst these are not derived
> > from
> > > SVN or Git, they can safely be captured in parallel, and can be imported
> > > from mail archives if necessary
> > >
> > > - is there any other unique data?
> > >
> > > To avoid accidental use of the wrong host. I wonder if it would make
> > sense
> > > to use a non-standard port, especially in the early testing stages?
> >
> > The way I have done migration in the past is to get whimsy-vm(n+1) up
> > and running;
>
>
> Yes, but during this time there is a risk some people could use it by
> mistake.

Please explain?  You are suggesting that people may mistakenly type
https://whimsy-vm5.apache.org/ into their browser window?  How would a
port number change that?

> Hence the suggestion to use a different port during the early stages at
> least.
>
>
> > change the dns for whimsy.apache.org to point to it, and
> > then leave whimsy-vm(n) as a hot backup.
> >
> >
> It cannot be a strict hot backup unless it has all the latest data.
> At present there is some data that is only on the local system.

True, the switch would involve both changing the dns and copying over
selected data.

> > Sebb.
> >
> > - Sam Ruby

- Sam Ruby

Re: Migrate to whimsy-vm5?

Posted by sebb <se...@gmail.com>.
On Mon, 6 Jan 2020 at 18:32, Sam Ruby <ru...@intertwingly.net> wrote:

> On Mon, Jan 6, 2020 at 8:21 AM sebb <se...@gmail.com> wrote:
> >
> > Do we want to start the process of migrating to whimsy-vm5?
>
> Setup needs to be completed.  There still are a number of commented
> out sections in
> infrastructure-p6/data/nodes/whimsy-vm5.apache.org.yaml and
> infrastructure-p6/modules/whimsy_server/manifests/init.pp
>
>
Yes, I assume that is to stop accidental access to the system.

I would rather change the port before attempting to enable these.


> Some decisions will need to be made.  For example, I would recommend
> no rvm this go around - there is really no need to maintain multiple
> versions of Ruby.  If the system provided ruby is not good enough, we
> can always use the brightbox debian repositories.
>
> > Almost all the data on the host is derived from SVN or Git, so I think
> most
> > of the code can be run in parallel, at least for testing.
> >
> > Exceptions include:
> > - the secretary workbench maintains a YAML file with details on which
> > emails have been processed. Prior to actual changeover, the files will
> need
> > to be synchronised.
> >
> > - emails are stored for some other lists. Whilst these are not derived
> from
> > SVN or Git, they can safely be captured in parallel, and can be imported
> > from mail archives if necessary
> >
> > - is there any other unique data?
> >
> > To avoid accidental use of the wrong host. I wonder if it would make
> sense
> > to use a non-standard port, especially in the early testing stages?
>
> The way I have done migration in the past is to get whimsy-vm(n+1) up
> and running;


Yes, but during this time there is a risk some people could use it by
mistake.
Hence the suggestion to use a different port during the early stages at
least.


> change the dns for whimsy.apache.org to point to it, and
> then leave whimsy-vm(n) as a hot backup.
>
>
It cannot be a strict hot backup unless it has all the latest data.
At present there is some data that is only on the local system.

> Sebb.
>
> - Sam Ruby
>

Re: Migrate to whimsy-vm5?

Posted by Sam Ruby <ru...@intertwingly.net>.
On Mon, Jan 6, 2020 at 8:21 AM sebb <se...@gmail.com> wrote:
>
> Do we want to start the process of migrating to whimsy-vm5?

Setup needs to be completed.  There still are a number of commented
out sections in
infrastructure-p6/data/nodes/whimsy-vm5.apache.org.yaml and
infrastructure-p6/modules/whimsy_server/manifests/init.pp

Some decisions will need to be made.  For example, I would recommend
no rvm this go around - there is really no need to maintain multiple
versions of Ruby.  If the system provided ruby is not good enough, we
can always use the brightbox debian repositories.

> Almost all the data on the host is derived from SVN or Git, so I think most
> of the code can be run in parallel, at least for testing.
>
> Exceptions include:
> - the secretary workbench maintains a YAML file with details on which
> emails have been processed. Prior to actual changeover, the files will need
> to be synchronised.
>
> - emails are stored for some other lists. Whilst these are not derived from
> SVN or Git, they can safely be captured in parallel, and can be imported
> from mail archives if necessary
>
> - is there any other unique data?
>
> To avoid accidental use of the wrong host. I wonder if it would make sense
> to use a non-standard port, especially in the early testing stages?

The way I have done migration in the past is to get whimsy-vm(n+1) up
and running; change the dns for whimsy.apache.org to point to it, and
then leave whimsy-vm(n) as a hot backup.

> Sebb.

- Sam Ruby