Task #2497
closedPrevent vagrant from installing pulp-server rpm
0%
Description
vagrant up
on the HEAD of pulp/devel:master will install the pulp-server rpm. To reproduce:
1. vagrant up as described above
2. show the pulp-server rpm with:
[vagrant@dev ~]$ sudo dnf list installed | grep pulp
pulp-selinux.noarch 2.11.1-0.1.alpha.git.4.329d557.fc24 @pulp-nightlies
pulp-server.noarch 2.11.1-0.1.alpha.git.4.329d557.fc24 @pulp-nightlies
python-kombu.noarch 1:3.0.33-6.pulp.fc24 @pulp-2-stable
python-nectar.noarch 1.5.3-1.fc24 @pulp-2-stable
python-pulp-common.noarch 2.11.1-0.1.alpha.git.4.329d557.fc24 @pulp-nightlies
python-pulp-repoauth.noarch 2.11.1-0.1.alpha.git.4.329d557.fc24 @pulp-nightlies
python-pulp-streamer.noarch 2.11.1-0.1.alpha.git.4.329d557.fc24 @pulp-nightlies
Two things are odd about this:
- I expected only the pulp-nightlies to be providing packages, but pulp-2-stable provides some also. I expected pulp-2-stable to not be an available repo since it's subscribed to nightlies.
- This is a devel checkout and yet rpms are being installed. The resulting environment does work, but this doesn't seem right because it seems it is mixing setuptools and rpm based installs of the same software. Mixing setuptools installed code and rpm installed code can cause strange/difficult problems at times.
Updated by amacdona@redhat.com over 7 years ago
- Status changed from NEW to ASSIGNED
- Assignee set to amacdona@redhat.com
Updated by dkliban@redhat.com about 7 years ago
- Status changed from ASSIGNED to NEW
- Assignee deleted (
amacdona@redhat.com)
Added by Bihan Zhang about 7 years ago
Added by Bihan Zhang about 7 years ago
Revision dc5aa59c | View on GitHub
Update spec file
When https://github.com/pulp/devel/blob/master/ansible/library/pulp_facts.py is ran in vagrant, it to failes to gather the dependencies for pulp with the error: "can't parse, unknown tag" for %{selinux_policyver}. Updating the selinux_policyver tag to global resolves this issue.
Fedora packaging guidelines also state a preference for %global over %define https://fedoraproject.org/wiki/PackagingDrafts/global_preferred_over_define
Updated by bizhang about 7 years ago
Added by Bihan Zhang about 7 years ago
Revision 6608a215 | View on GitHub
Vagrant stops installing pulp-server rpm
Updated by pcreech about 7 years ago
- Tracker changed from Issue to Story
- Subject changed from Vagrant installs pulp-server rpm to Prevent vagrant from installing pulp-server rpm
- % Done set to 0
Updated by pcreech about 7 years ago
- Status changed from MODIFIED to CLOSED - COMPLETE
Update spec file
When https://github.com/pulp/devel/blob/master/ansible/library/pulp_facts.py is ran in vagrant, it to failes to gather the dependencies for pulp with the error: "can't parse, unknown tag" for %{selinux_policyver}. Updating the selinux_policyver tag to global resolves this issue.
Fedora packaging guidelines also state a preference for %global over %define https://fedoraproject.org/wiki/PackagingDrafts/global_preferred_over_define
re #2497 https://pulp.plan.io/issues/2497