Bug #4649
closedRepo Publishing: listing file is not always getting created
Description
It appears that the 'listing' file is not getting created during the publish process for all repos. This may be an issue in the 'clone' distributor; however, it needs to be investigated.
The following is a scenario followed by the resulting tree layout for /var/lib/pulp/publish/https/repos/ACME_Corporation:
1. create a repo that points to a RHEL6.5 kickstart repo (Note: same issue observed for non-kickstart repos)
2. sync the repo (creates: ACME_Corporation-rhel6_5-kickstart)
3. create a content view, add the above repo and publish a version (creates: ACME_Corporation-view2-1-rhel6_5-kickstart & ACME_Corporation-Library-view2-rhel6_5-kickstart)
4. promote the content view to dev (creates: ACME_Corporation-rhel6_5-kickstart)
tree output: (observe 'listing' missing from: ACME_Corporation-view2-1-rhel6_5-kickstart, ACME_Corporation-Library-view2-rhel6_5-kickstart & ACME_Corporation-rhel6_5-kickstart)
.
├── content_views
│ └── view2
│ └── 1
│ └── custom
│ └── rhel6_5
│ └── kickstart -> /var/lib/pulp/working/repos/ACME_Corporation-view2-1-rhel6_5-kickstart/distributors/yum_distributor
├── dev
│ └── view2
│ └── custom
│ └── rhel6_5
│ └── kickstart -> /var/lib/pulp/working/repos/ACME_Corporation-dev-view2-rhel6_5-kickstart/distributors/yum_distributor
├── Library
│ ├── custom
│ │ ├── listing
│ │ └── rhel6_5
│ │ ├── kickstart -> /var/lib/pulp/working/repos/ACME_Corporation-rhel6_5-kickstart/distributors/yum_distributor
│ │ └── listing
│ ├── listing
│ └── view2
│ └── custom
│ └── rhel6_5
│ └── kickstart -> /var/lib/pulp/working/repos/ACME_Corporation-Library-view2-rhel6_5-kickstart/distributors/yum_distributor
└── listing
19 directories, 4 files