#7862 MBS is still firing off F28 builds
Opened a month ago by ignatenkobrain. Modified a month ago

I submitted today another build of ffsend and bat and they were actually built for F28. Since F28 is EOL, it should not do that anymore.

/cc @mprahl @jkaluza


Metadata Update from @smooge:
- Issue assigned to mprahl
- Issue priority set to: Waiting on Assignee (was: Needs Review)
- Issue tagged with: mbs

a month ago

This is because the F28 platform module is still in the "ready" state.

@mohanboddu do you have a process for retiring modules in the MBS database? If not, I can help you with that.

Edit:
Here is the platform:f28 module:
https://mbs.fedoraproject.org/module-build-service/1/module-builds/1602

@mohanboddu did you see my last comment?

I am expecting that @mohanboddu would see this if this were a releng ticket versus a infrastructure one.

OK turns out mohan doesn't have the ability to do this so I am fixing that. In the meantime

[root@mbs-backend01 ~][PROD]# mbs-manager retire platform:f28
2019-06-17 14:27:13,711 - MainThread - root - INFO - Found 1 module builds:
2019-06-17 14:27:13,711 - MainThread - root - INFO - platform:f28:4:00000000
Retire 1 module builds? [n] y
2019-06-17 14:27:16,778 - MainThread - MBS.models - INFO - <modulebuild platform,="" id="1602," stream="f28," version="4," scratch="None," state="" 'garbage',="" batch="" 0,="" state_reason="" 'module="" build="" retired'="">, state 5->6
2019-06-17 14:27:16,991 - MainThread - fedmsg.core - DEBUG - Trying to bind to tcp://mbs-backend01.phx2.fedoraproject.org:3000
2019-06-17 14:27:16,992 - MainThread - fedmsg.core - DEBUG - Trying to bind to tcp://mbs-backend01.phx2.fedoraproject.org:3001
2019-06-17 14:27:18,504 - MainThread - root - INFO - Module builds retired.

Needed to run a script from mprahl which got mbooth unstuck

[2019-06-17-12:39] <mprahl> smooge: Yeah, unfortunately, users will be able to submit f28 module builds again. There's nothing to do now. We need to fix the behavior in MBS for a specific use-case before retiring it again. jkaluza has a PR merged that should address most of this, so it shouldn't be too long before we are unblocked on that ticket to retire platform:f28.

Needed to run a script from mprahl which got mbooth unstuck

from module_build_service import conf, db, models

platform = db.session.query(models.ModuleBuild).get(1602)
platform.transition(
    conf, models.BUILD_STATES['ready'], 'Unretired until fm-orchestrator #1243 is resolved')
db.session.add(platform)
db.session.commit()

Just for future reference, to unretire the platform.

Login to comment on this ticket.

Metadata