[Pulp-list] Export ISO file retention Limitation..

Vijayabalan Balakrishnan bvijaycom at gmail.com
Fri Feb 27 14:48:57 UTC 2015


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?

Because in this case in the design document we must include the
instructions/practice that system admins who is taking ISO export they
should first copy the existing file to the common secure share and then
only he should execute the export command.

I thought to understand this n version facility only ?.

My pulp version is

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

Below I have attached the sample logs....

[root at Server1 ~]# pulp-admin rpm repo export run --repo-id custom_repo1
+----------------------------------------------------------------------+
                  Publishing Repository [custom_repo1]
+----------------------------------------------------------------------+
This command may be exited via ctrl+c without affecting the request.

Initializing repo metadata
[-]
... completed
Publishing Distribution files
[-]
... completed
Publishing RPMs
[-]
... completed
Publishing Delta RPMs
... skipped
Publishing Errata
[-]
... completed
Publishing Comps file
[-]
... completed
Publishing Metadata.
[-]
... completed
Closing repo metadata
[-]
... completed
Generating sqlite files
... skipped
Copying files
[-]
... completed
Writing Listings File
[-]
... completed
Exporting ISO
[-]
... completed
Moving ISO to final location
[-]
... completed

Task Succeeded
*********************************************************************************************
[root at Server1 ~]# cd /var/lib/pulp/published/yum/master/export_distributor/
[root at Server1 export_distributor]# ls -ltr
total 0
drwxr-xr-x. 3 apache apache 26 Feb 27 09:32 custom_repo1
[root at Server1 export_distributor]# cd custom_repo1/1425047541.92/
[root at Server1 1425047541.92]# ls -ltr
total 1468
-rw-r--r--. 1 apache apache 1501184 Feb 27 09:32
custom_repo1-2015-02-27T09.32-01.iso
After the first time export command execution,new ISO file has been created.
************************************************************************************************
Again i have executed the export command
# pulp-admin rpm repo export run --repo-id custom_repo1
************************************************************************************************
[root at Server1 1425047637.65]# pwd
/var/lib/pulp/published/yum/master/export_distributor/custom_repo1/1425047637.65
[root at Server1 1425047637.65]# ls -ltr
total 1468
-rw-r--r--. 1 apache apache 1501184 Feb 27 09:33
custom_repo1-2015-02-27T09.33-01.iso
Now new directory and new ISO file has been created.The old directory and
iso file has been deleted.
************************************************************************************************
[root at Server1 custom_repo1]# ls -ltr
total 0
drwxr-xr-x. 2 apache apache 49 Feb 27 09:33 1425047637.65
[root at Server1 custom_repo1]# pwd
/var/lib/pulp/published/yum/master/export_distributor/custom_repo1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/pulp-list/attachments/20150227/3551e2f6/attachment.htm>


More information about the Pulp-list mailing list