Bug 707426 - repo create with relativepath creates repo in 2 directories
Summary: repo create with relativepath creates repo in 2 directories
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Pulp
Classification: Retired
Component: z_other
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Pradeep Kilambi
QA Contact: Preethi Thomas
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-05-25 01:56 UTC by Preethi Thomas
Modified: 2011-07-15 19:30 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-05-25 16:06:22 UTC


Attachments (Terms of Use)

Description Preethi Thomas 2011-05-25 01:56:26 UTC
Description of problem:

Running repo create with --relativepath creates repo 2 directories 



[root@preethi ~]# pulp-admin repo create --id=f15 --feed=http://download.devel.redhat.com/released/F-15/Beta/Fedora/x86_64/os/ --interval P1D --start=2011-05-24T21:00:00-05:00:00 --runs=2 --relativepath=/tmp/
Successfully created repository [ f15 ]


[root@preethi ~]# ls -l /var/lib/pulp/repos/tmp/repodata/
total 28
-rw-r--r--. 1 apache apache  582 May 24 21:58 filelists.sqlite.bz2
-rw-r--r--. 1 apache apache  172 May 24 21:58 filelists.xml.gz
-rw-r--r--. 1 apache apache  569 May 24 21:58 other.sqlite.bz2
-rw-r--r--. 1 apache apache  168 May 24 21:58 other.xml.gz
-rw-r--r--. 1 apache apache 1247 May 24 21:58 primary.sqlite.bz2
-rw-r--r--. 1 apache apache  181 May 24 21:58 primary.xml.gz
-rw-r--r--. 1 apache apache 2683 May 24 21:58 repomd.xml
[root@preethi ~]# ls -l /var/lib/pulp/published/repos/tmp/repodata/
total 28
-rw-r--r--. 1 apache apache  582 May 24 21:58 filelists.sqlite.bz2
-rw-r--r--. 1 apache apache  172 May 24 21:58 filelists.xml.gz
-rw-r--r--. 1 apache apache  569 May 24 21:58 other.sqlite.bz2
-rw-r--r--. 1 apache apache  168 May 24 21:58 other.xml.gz
-rw-r--r--. 1 apache apache 1247 May 24 21:58 primary.sqlite.bz2
-rw-r--r--. 1 apache apache  181 May 24 21:58 primary.xml.gz
-rw-r--r--. 1 apache apache 2683 May 24 21:58 repomd.xml


[root@preethi ~]# ls -l /var/lib/pulp/published/repos/tmp/
total 228
drwxr-sr-x. 3 apache apache   4096 May 24 22:02 images
drwxr-sr-x. 2 apache apache 221184 May 24 22:02 Packages
drwxr-sr-x. 2 apache apache   4096 May 24 22:04 repodata
[root@preethi ~]# 
[root@preethi ~]# ls -l /var/lib/pulp/repos/tmp/
images/    Packages/  repodata/  .treeinfo  
[root@preethi ~]# ls -l /var/lib/pulp/repos/tmp/
total 228
drwxr-sr-x. 3 apache apache   4096 May 24 22:02 images
drwxr-sr-x. 2 apache apache 221184 May 24 22:02 Packages
drwxr-sr-x. 2 apache apache   4096 May 24 22:04 repodata

Comment 1 Sayli Karmarkar 2011-05-25 16:06:22 UTC
The one in /var/lib/pulp/published/repos is a symlink to /var/lib/pulp/repos and this is intended. Closing as NotABug.


Note You need to log in before you can comment on or make changes to this bug.