Project

Profile

Help

Issue #721

closed

Export ISO file retention Limitation.

Added by bvijaycom about 9 years ago. Updated about 5 years ago.

Status:
CLOSED - NOTABUG
Priority:
High
Assignee:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
3. High
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

Hi Team,

Today I have created pulp server in DMZ subnet and from our master server tried to export as an ISO file. So that from disconnected server I can recreate whenever I need to replicate. However the problem is pulp is always keep n version. Second time if we execute export command the current exported ISO file and directory getting deleted before the new ISO file creation. Is there any way to put retention files (I mean number files) on my own?

My pulp version is

[root@server1]# rpm -q pulp-server
pulp-server-2.5.3-1.el7.noarch

I understand that this export to different directory can be achieved through --export-dir tag.However i just tested the same command and added with --export-dir option.

Now i have 2 issues

1. I have created directory under / called test.I have changed the ownership to apache:apache and executed the export command with --export-dir pointing to this directory.I have received permission denied error.Is there any limitation in pulp that ,pulp will understand only inside /var/lib/pulp directory ?

2. However now i have created the directory called export inside /var/lib/pulp/ and changed the ownership to apache:apache. Now if i run export command pointing to this directory,only rpm's are getting downloaded instead of single ISO file.

Now i am looking for some solutions for the below scenarios in the future releases...

1. Through --export-dir option if we give external directory it should be allowed in pulp for creating ISO file.
2. If i give /var/lip/pulp/export directory in --export-dir tag,why instead ISO single file rpm's are getting downloaded.
3. Also if the customer wants to retain n number of iso exported files under /var/lib/pulp/published/yum/master/export_distributor/ directory itself then there should be command option

Here i have attached the log file.

Thanks,
BVIJAY


Files


Related issues

Has duplicate RPM Support - Issue #326: Export ISO file retention Limitation.CLOSED - DUPLICATEbvijaycomActions

Also available in: Atom PDF