Switch OrangeFactor to the bzapi compatibility layer

RESOLVED FIXED

Status

Tree Management
OrangeFactor
RESOLVED FIXED
4 years ago
3 years ago

People

(Reporter: emorley, Assigned: emorley)

Tracking

Dependency tree / graph

Details

Attachments

(1 attachment)

(Assignee)

Description

4 years ago
Hopefully just a URL switch (from https://api-dev.bugzilla.mozilla.org/latest/ to https://bugzilla.mozilla.org/bzapi/), but will need to test.

Someone else feel free to take this if they get to it first :-)

Comment 1

4 years ago
I did some testing, since I was verifying the ES backups anyway.  Everything seems to be fine (although I discovered bug 1027800 in the process).  Ed, do you have a preferred time to switch it over?  I didn't want to do it while you were afk in case something went sideways.
(Assignee)

Updated

3 years ago
Depends on: 1034065
(Assignee)

Comment 2

3 years ago
Created attachment 8450181 [details] [diff] [review]
Switch OrangeFactor to the bzapi compatibility layer

Depends on bug 1034065, then I'll deploy/test.
Attachment #8450181 - Flags: review?(mcote)

Comment 3

3 years ago
Comment on attachment 8450181 [details] [diff] [review]
Switch OrangeFactor to the bzapi compatibility layer

Review of attachment 8450181 [details] [diff] [review]:
-----------------------------------------------------------------

A hearty r+ on that!  Thanks!
Attachment #8450181 - Flags: review?(mcote) → review+
(Assignee)

Comment 4

3 years ago
https://hg.mozilla.org/automation/orangefactor/rev/77148b354984

[webtools@brasstacks1.dmz.scl3 orangefactor]$ hg pull -u -v
pulling from http://hg.mozilla.org/automation/orangefactor/
searching for changes
adding changesets
adding manifests
adding file changes
added 1 changesets with 1 changes to 1 files
resolving manifests
getting server/orangefactor.conf
1 files updated, 0 files merged, 0 files removed, 0 files unresolved

[webtools@brasstacks1.dmz.scl3 orangefactor]$ grep 'bzapi' server/orangefactor.conf
bzapi = https://bugzilla.mozilla.org/bzapi/

[webtools@brasstacks1.dmz.scl3 orangefactor]$ logout
[root@brasstacks1.dmz.scl3 ~]# /etc/init.d/orangefactor stop; /etc/init.d/orangefactor start
stopping orangefactor                                      [  OK  ]
starting orangefactorspawn-fcgi: child spawned successfully: PID: 30801
                                                           [  OK  ]
--

I guess we'll need to change bzcache too:
https://github.com/jonallengriffin/bzcache/blob/master/bzcache/config.py#L2
-> Filed bug 1034524
Status: NEW → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → FIXED
Product: Testing → Tree Management
You need to log in before you can comment on or make changes to this bug.