#8217 Switch from libmodulemd-2.x (epel7server-infra) to libmodulemd2 (epel) on the MBS servers
Closed: Fixed 4 years ago by mizdebsk. Opened 4 years ago by mprahl.

This is the production version of #8215.

Now that #8206 is complete, I'd like to migrate MBS to use libmodulemd2 from EPEL. This requires a complicated yum transaction, so I need to do this on the server itself and not through an existing Ansible playbook. I have sudo access on the backend server, but I don't have sudo access on the frontend servers:
mbs-frontend01.phx2.fedoraproject.org
mbs-frontend02.phx2.fedoraproject.org

Could you please give the mbs-admins group sudo access to these servers?


For production I would prefer to run the update myself. Can you provide me with instructions what needs to be done?

@mizdebsk here are the commands I used in stage. If the module-build-service RPM is to be upgraded and not removed, then the command is correct.

yum shell
remove libmodulemd1
downgrade libmodulemd-1.6.3-1.el7.x86_64
remove python2-libmodulemd
install module-build-service-2.27.0-3.el7.infra
run
exit

Once that is run, for some reason, libmodulemd leaves a broken symlink, so the following command is required:

rm -f /lib64/libmodulemd.so.1
ln -s /lib64/libmodulemd.so.1.6.3 /lib64/libmodulemd.so.1

Could we coordinate to do this together over IRC? Thank you for your help.

Metadata Update from @kevin:
- Issue priority set to: Waiting on Assignee (was: Needs Review)

4 years ago

Metadata Update from @mizdebsk:
- Issue assigned to mizdebsk
- Issue tagged with: mbs

4 years ago

Metadata Update from @mizdebsk:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

4 years ago

Log in to comment on this ticket.

Metadata