#6583 Please install somes packages in freshmaker slave
Closed: Fixed 6 years ago Opened 6 years ago by cqi.

These packages are needed to install koji

  • rpm-devel
  • gcc
  • krb5-devel
  • python-devel
  • python3-devel

Thank you.


Metadata Update from @puiterwijk:
- Issue tagged with: factory2, freshmaker

6 years ago

What exactly do you mean by installing koji?

@mizdebsk basically it means pip install koji

I'm not sure what you mean by freshmaker-slave here? We have backend and frontend staging instances, but we never install applications via pip in staging or prod, we isntall from rpms.

Or did you mean one of the jenkins slaves to run CI/testing?

Hi @kevin

I meant the Jenkins slaves to run CI/testing. Sorry for confusion.

@mizdebsk, @kevin - do you guys mind if those packages are installed? I can probably do this.

@cqi, would just dnf installing koji be sufficient?

koji RPM package should already be installed on all slaves. And koji being available through pip is news to me, but if that's what you want then I would recommend to use something like virtualenv for installing by the job itself.

edit: Sorry, I forgot what was the original request - it is installing some devel packages, not koji. This can be done if necessary, but I would like to ask same question as @ralph - would using koji from RPM package work?

No need to install koji from rpm. Only those packages listed are required. Thank you all for handling my issue.

Hello all, new factory project manager here. To summarize/clarify what I see in these comments, it looks like cqi is trying to run some CI jobs for Koji on the Jenkins slaves. In order to install Koji to run tests against, he needs the packages listed above to be installed. I think we can dnf install the above prerequisite packages on the Jenkins slaves, then cqi's CI job will subsequently pip install Koji to test against.

@cqi Am I summarizing that correctly?

@mizdebsk @kevin @ralph Are you ok with this happening? If so, who can do the work?

All mentioned packages (rpm-devel, gcc, krb5-devel, python-devel, python3-devel) are already installed on all Fedora slaves. On RHEL or CentOS slaves these packages are installed to, except for python3-devel and rpm-devel: the first one is not available in repos and second one could be installed if needed. Perhaps I don't understand what is the actual problem here.

As long as rpm-devel, gcc, krb5-devel, python-devel, python3-devel are installed, this issue could be closed.

I'm not trying to run some CI jobs for Koji on Jenkins slaves :) I just would like to ensure Python package koji can be installed via pip in slave machine, e.g. pip install koji.

There are already successful jobs in Jenkins, for example https://jenkins.fedorainfracloud.org/job/freshmaker/550/, where koji is installed correctly.

Thank you all.

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

6 years ago

@cqi Ok, so just to confirm, you're good with this issue being closed? Do you have any way to verify that what you need is working?

@acorvin The link I gave in my comment shows it works.

Login to comment on this ticket.

Metadata