Closed
Bug 1254401
(operation_ysnp)
Opened 9 years ago
Closed 5 years ago
[Tracking Bug] Migrate SeaMonkey off aus2 to balrog.
Categories
(SeaMonkey :: Release Engineering, defect)
SeaMonkey
Release Engineering
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.
Comment 1•9 years ago
|
||
User information: Details concerning Application Update Service "AUS2" and Balrog see here: <https://wiki.mozilla.org/AUS>
Comment 2•9 years ago
|
||
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.
Assignee | ||
Comment 3•9 years ago
|
||
(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)
Comment 4•9 years ago
|
||
(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.
Assignee | ||
Comment 5•9 years ago
|
||
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)
Comment 6•9 years ago
|
||
(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)
Assignee | ||
Comment 7•8 years ago
|
||
(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
Assignee | ||
Updated•8 years ago
|
Assignee: nobody → ewong
Status: NEW → ASSIGNED
Assignee | ||
Updated•8 years ago
|
Severity: normal → blocker
Assignee | ||
Comment 8•8 years ago
|
||
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.
Assignee | ||
Comment 9•8 years ago
|
||
Access to the stage host is ok.
The next 'easy' step is to get the credentials for seabld and stage-seabld.
Assignee | ||
Updated•8 years ago
|
Summary: Migrate SeaMonkey off aus2 to balrog. → [Tracking Bug] Migrate SeaMonkey off aus2 to balrog.
Assignee | ||
Comment 10•8 years ago
|
||
I believe I have both credentials.
Next step:
Import aus2 stuff to balrog-admin. [hand-wavey]
Assignee | ||
Updated•8 years ago
|
Alias: operation_ysnp
Assignee | ||
Comment 11•5 years ago
|
||
Closing as we won't be using balrog.
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•