Actions
Issue #7000
closedImpossible to update a comps.xml
Status:
CLOSED - WORKSFORME
Priority:
Normal
Assignee:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
2.21.1
Platform Release:
OS:
CentOS 7
Triaged:
No
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:
Description
As a user, I want to update an existing comps.xml by adding a new rpm.
The steps that I did are:
- add the rpm telegraf to this existing comps.xml:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE comps PUBLIC "-//CentOS//DTD Comps info//EN" "comps.dtd">
<comps>
<group>
<id>test</id>
<name>Test Pulp Comps</name>
<packagelist>
<packagereq type="mandatory">neteye-agent</packagereq>
<packagereq type="mandatory">telegraf</packagereq>
</packagelist>
</group>
</comps>
- Upload the "new" comps.xml and publish the repo:
pulp-admin rpm repo uploads comps --repo-id=extras --file /root/comps/comps.xml
pulp-admin rpm repo publish run --repo-id=extras
- List the content on the group and telegraf is not listed.
ulp-admin rpm repo content group --repo-id=extras
Conditional Package Names:
Default Package Names:
Description: test Packages
Id: test
Mandatory Package Names: neteye-agent
Name: test
Optional Package Names:
User Visible: True
Actions