Closed Bug 1254401 (operation_ysnp) Opened 8 years ago Closed 4 years ago

[Tracking Bug] Migrate SeaMonkey off aus2 to balrog.

Categories

(SeaMonkey :: Release Engineering, defect)

defect
Not set
blocker

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: ewong, Assigned: ewong)

References

Details

We need to migrate off Aus2-community and use balrog as soon as possible.
User information: Details concerning Application Update Service "AUS2" and Balrog see here: <https://wiki.mozilla.org/AUS>
Here's an off-the-top-of-my-head summary of what needs to happen for this:
* Responsible humans need access to aus4-admin.mozilla.org. This request needs to go through IT, and will require usage of the VPN.
* Submit data for Seamonkey builds to Balrog. This can be done by hand, or through automation. Firefox uses the scripts talked about on https://wiki.mozilla.org/Balrog#Scripts to do this. If automation is doing this, you'll need a system account (like "seabld") and netflows that allow you to get to aus4-admin.mozilla.org.
* Once you have data, you'll need to create a rule or rules to route your updates. You can look at how Firefox or Thunderbird updates are set-up for inspiration.
(In reply to Ben Hearsum (:bhearsum) from comment #2)
> Here's an off-the-top-of-my-head summary of what needs to happen for this:
> * Responsible humans need access to aus4-admin.mozilla.org. This request
> needs to go through IT, and will require usage of the VPN.
> * Submit data for Seamonkey builds to Balrog. This can be done by hand, or
> through automation. Firefox uses the scripts talked about on
> https://wiki.mozilla.org/Balrog#Scripts to do this. If automation is doing
> this, you'll need a system account (like "seabld") and netflows that allow
> you to get to aus4-admin.mozilla.org.
> * Once you have data, you'll need to create a rule or rules to route your
> updates. You can look at how Firefox or Thunderbird updates are set-up for
> inspiration.

I will get on this right now.  I'm wondering if it's even possible to
do this with the current release? (i.e. 2.40)
Depends on: 1254535
(In reply to Edmund Wong (:ewong) from comment #3)
> (In reply to Ben Hearsum (:bhearsum) from comment #2)
> > Here's an off-the-top-of-my-head summary of what needs to happen for this:
> > * Responsible humans need access to aus4-admin.mozilla.org. This request
> > needs to go through IT, and will require usage of the VPN.
> > * Submit data for Seamonkey builds to Balrog. This can be done by hand, or
> > through automation. Firefox uses the scripts talked about on
> > https://wiki.mozilla.org/Balrog#Scripts to do this. If automation is doing
> > this, you'll need a system account (like "seabld") and netflows that allow
> > you to get to aus4-admin.mozilla.org.
> > * Once you have data, you'll need to create a rule or rules to route your
> > updates. You can look at how Firefox or Thunderbird updates are set-up for
> > inspiration.
> 
> I will get on this right now.  I'm wondering if it's even possible to
> do this with the current release? (i.e. 2.40)

You can certainly create the data by hand for the current release and submit it.

One thing I forgot to mention above is that when we think Balrog is ready, aus2-community needs to be redirected to it. That might be complicated due to the SSL pinning requirements. For MoCo AUS we did this by terminating SSL at the load balancer the same as before, and then fulfilling the requests by Balrog instead of AUS. I'm not sure if this will be possible for SeaMonkey.
With bug 1271761 and bug 1274722, I think updating with aus2-community is going
to be a pain.  The faster we move to balrog, the better.  :)

I remembered that I was working on this and I have access to aus4 (re:
bug 1254535).

Next, I need to (iirc) create a seabld update user on aus4, and then
(hand-waving) do some stuff on the buildbot-config/buildbotcustom code.

Am I right, bhearsum?  If so, I might as well get on it now.
Flags: needinfo?(bhearsum)
(In reply to Edmund Wong (:ewong) from comment #5)
> With bug 1271761 and bug 1274722, I think updating with aus2-community is
> going
> to be a pain.  The faster we move to balrog, the better.  :)
> 
> I remembered that I was working on this and I have access to aus4 (re:
> bug 1254535).
> 
> Next, I need to (iirc) create a seabld update user on aus4, and then
> (hand-waving) do some stuff on the buildbot-config/buildbotcustom code.
> 
> Am I right, bhearsum?  If so, I might as well get on it now.

If you're submitting through automation, you'll need to get the seabld user allowed to talk to aus4-admin.mozilla.org. This will require at least one group change in LDAP, and possibly some netflow work. These parts need to be done by IT. Once those are done, I'll need to grant some permissions to it within Balrog.

The submission scripts we use are in https://github.com/mozilla/build-tools/tree/master/scripts/updates. How you use this with your automation is up to you. You can find example invocations in Nightly and Release build logs. For releases, submission happens during en-US builds, l10n repacks, and the "updates" builder.
Flags: needinfo?(bhearsum)
(In reply to Ben Hearsum (:bhearsum) from comment #6)
> (In reply to Edmund Wong (:ewong) from comment #5)
> > With bug 1271761 and bug 1274722, I think updating with aus2-community is
> > going
> > to be a pain.  The faster we move to balrog, the better.  :)
> > 
> > I remembered that I was working on this and I have access to aus4 (re:
> > bug 1254535).
> > 
> > Next, I need to (iirc) create a seabld update user on aus4, and then
> > (hand-waving) do some stuff on the buildbot-config/buildbotcustom code.
> > 
> > Am I right, bhearsum?  If so, I might as well get on it now.
> 
> If you're submitting through automation, you'll need to get the seabld user
> allowed to talk to aus4-admin.mozilla.org. This will require at least one
> group change in LDAP, and possibly some netflow work. These parts need to be
> done by IT. Once those are done, I'll need to grant some permissions to it
> within Balrog.

Thanks :bhearsum.  (Sorry for the delay..)

So iiuc:

1) get seabld some access credentials to aus4-admin.mozilla.org 
2) get some netflow permissions set for the machines that need
   access to aus4. 
3) once #1 and #2 are done, I speak to you re: permissions on 
  seabld's user?
(for both #1 and #2, I need to chat with IT?)

> 
> The submission scripts we use are in
> https://github.com/mozilla/build-tools/tree/master/scripts/updates. How you
> use this with your automation is up to you. You can find example invocations
> in Nightly and Release build logs. For releases, submission happens during
> en-US builds, l10n repacks, and the "updates" builder.

Thanks!  Very much appreciate the help.

Edmund
Depends on: 1294112
Assignee: nobody → ewong
Status: NEW → ASSIGNED
Depends on: 1325996
Severity: normal → blocker
ftr (just in case I forget),

Access to both admin pages have been granted.  Next steps:

1) Adapt (hand-waving) the mozharness balrog code to our usage
  1a) need to figure out what credentials are needed to use the api.
2) test out manually the balrog submission code
3) Add necessary code to buildbot-config
4) Add necessary code to buildbotcustom
5) Add the necessary credentials to the puppetmaster.

Trees to work on in order of not-screwing-things-up-royally:
 1) Nightly
 2) beta/release

that is the plan.
Access to the stage host is ok.

The next 'easy' step is to get the credentials for seabld and stage-seabld.
Depends on: 1331845
Summary: Migrate SeaMonkey off aus2 to balrog. → [Tracking Bug] Migrate SeaMonkey off aus2 to balrog.
I believe I have both credentials.

Next step:

Import aus2 stuff to balrog-admin.  [hand-wavey]
Depends on: 1338953
Depends on: 1338958
Depends on: 1338960
Depends on: 1338976
Blocks: SM2.48b1
No longer depends on: 1338953
No longer depends on: 1338958
Alias: operation_ysnp
Depends on: 1344618
Blocks: SM2.48
No longer blocks: SM2.48
Blocks: 1107878
Depends on: 1442525

Closing as we won't be using balrog.

Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.