Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 602456 Details for
Bug 845941
Custom repository relative path prefix collision
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
Screen log
log (text/plain), 19.65 KB, created by
mkovacik
on 2012-08-06 08:07:07 UTC
(
hide
)
Description:
Screen log
Filename:
MIME Type:
Creator:
mkovacik
Created:
2012-08-06 08:07:07 UTC
Size:
19.65 KB
patch
obsolete
>[root@ip-10-112-39-167 ~]# rhui-manager > >------------------------------------------------------------------------------ > -= Red Hat Update Infrastructure Management Tool =- > > >-= Home =- > > r manage repositories > c manage content delivery servers (CDS) > s synchronization status and scheduling > e create entitlement certificates and client configuration RPMs > n manage Red Hat entitlement certificates > u manage users > i manage identity certificate > > logout > removes stored authentication credentials and exits > > < move to the previous screen > ^, home > move to the home screen > /, clear > clears the screen > ?, help > display help > q, quit, exit > exit > > Connected: ip-10-112-39-167.ec2.internal >------------------------------------------------------------------------------ >rhui (home) => r > >------------------------------------------------------------------------------ > -= Red Hat Update Infrastructure Management Tool =- > > >-= Repository Management =- > > l list repositories currently managed by the RHUI > i display detailed information on a repository > a add a new Red Hat content repository > c create a new custom repository > d delete a repository from the RHUI > u upload content to a custom repository > p list packages in a repository > > Connected: ip-10-112-39-167.ec2.internal >------------------------------------------------------------------------------ >rhui (repo) => c > >Unique ID for the custom repository (alphanumerics, _, and - only): >custom-1 > >Display name for the custom repository [custom-1]: > > >Path at which the repository will be served [custom-1]: >custom-1/x86_64 > >Algorithm to use when calculating the checksum values for repository metadata: >* Select "sha256" for RHEL6: >* Select "sha1" for either RHEL5 or RHEL6: > > 1 - sha256 > 2 - sha1 >Enter value (1-2) or 'b' to abort: 2 > >Should the repository require an entitlement certificate to access? (y/n) >y > >Based on the repository's relative path, the suggested entitlement path is: > custom-1/$basearch > >Path that should be used when granting an entitlement for this repository. This >may use yum variable substitutions (e.g. $basearch) to group this together with >other repositories that share the entitlement [custom-1/$basearch]: > > >Should the repository require clients to perform a GPG check and >verify packages are signed by a GPG key? (y/n) >y > >Will the repository be used to host any Red Hat GPG signed content? (y/n) >y > >Will the repository be used to host any custom GPG signed content? (y/n) >y > >Enter the absolute path to the public key of the GPG keypair: >/tmp/RPM-GPG-Key-mkovacik > >Would you like to enter another public key? (y/n) >n > >The following repository will be created: > ID: custom-1 > Name: custom-1 > Path: custom-1/x86_64 > Entitlement: custom-1/$basearch > GPG Check Yes > Custom GPG Keys: '/tmp/RPM-GPG-Key-mkovacik' > Red Hat GPG Key: Yes >Proceed? (y/n) y > >Error creating repository, check the log for more information > >------------------------------------------------------------------------------ >rhui (repo) => q >[root@ip-10-112-39-167 ~]# tail -30 .rhui/rhui.log >+ cp /tmp/c1-rhel-6/c1-rhel-6-2.0/build/BUILD/c1-rhel-6-2.0/rhui-lb.py /tmp/c1-rhel-6/c1-rhel-6-2.0/build/BUILDROOT/usr/lib/yum-plugins >+ mkdir -p /tmp/c1-rhel-6/c1-rhel-6-2.0/build/BUILDROOT/etc/yum/pluginconf.d >+ cp /tmp/c1-rhel-6/c1-rhel-6-2.0/build/BUILD/c1-rhel-6-2.0/rhui-lb.conf /tmp/c1-rhel-6/c1-rhel-6-2.0/build/BUILDROOT/etc/yum/pluginconf.d >+ mkdir -p /tmp/c1-rhel-6/c1-rhel-6-2.0/build/BUILDROOT/etc/yum.repos.d >+ cp /tmp/c1-rhel-6/c1-rhel-6-2.0/build/BUILD/c1-rhel-6-2.0/rhui-load-balancers /tmp/c1-rhel-6/c1-rhel-6-2.0/build/BUILDROOT/etc/yum.repos.d >+ /usr/lib/rpm/brp-compress >+ /usr/lib/rpm/brp-strip >+ /usr/lib/rpm/brp-strip-static-archive >+ /usr/lib/rpm/brp-strip-comment-note >+ umask 022 >+ cd /tmp/c1-rhel-6/c1-rhel-6-2.0/build/BUILD >+ cd c1-rhel-6-2.0 >+ rm -rf /tmp/c1-rhel-6/c1-rhel-6-2.0/build/BUILDROOT >+ exit 0 > >Connecting to RHUA [ip-10-112-39-167.ec2.internal]... >Successfully connected to [ip-10-112-39-167.ec2.internal] >Connecting to RHUA [ip-10-112-39-167.ec2.internal]... >Successfully connected to [ip-10-112-39-167.ec2.internal] >Exception creating custom repository [custom-1] >Traceback (most recent call last): > File "/usr/lib/python2.6/site-packages/rhui/tools/pulp_api.py", line 394, in create_custom_repo > gpgkeys=gpg_key_bundle) > File "/usr/lib/python2.6/site-packages/pulp/client/api/repository.py", line 46, in create > return self.server.PUT(path, repodata)[1] > File "/usr/lib/python2.6/site-packages/pulp/client/api/server.py", line 326, in PUT > return self._request('PUT', path, body=body) > File "/usr/lib/python2.6/site-packages/pulp/client/api/server.py", line 287, in _request > raise ServerRequestError(response.status, message, traceback) >ServerRequestError: (500, u'PulpException: New relative path [custom-1/x86_64] conflicts with existing relative path [custom]; paths may not be a parent or child directory of another relative path', u'Traceback (most recent call last):\n File "/usr/lib/python2.6/site-packages/pulp/server/webservices/controllers/decorators.py", line 48, in report_error\n return method(self, *args, **kwargs)\n File "/usr/lib/python2.6/site-packages/pulp/server/webservices/controllers/decorators.py", line 127, in _auth_decorator\n value = method(self, *args, **kwargs)\n File "/usr/lib/python2.6/site-packages/pulp/server/webservices/controllers/repositories.py", line 333, in POST\n publish=repo_data.get(\'publish\', None),)\n File "/usr/lib/python2.6/site-packages/pulp/server/api/repo.py", line 266, in create\n raise PulpException(msg)') >[root@ip-10-112-39-167 ~]# pulp-admin -u admin -p admin >Usage: pulp-admin <options> <command> >Supported Commands: > auth stores pulp authentication credentials > cds CDS instance management actions > consumer consumer specific actions to pulp server > consumergroup consumer group specific actions to pulp server > content generic content specific actions to pulp server > distribution distribution specific actions to pulp server > errata errata specific actions to pulp server > filter filter specific actions to pulp server > package package specific actions to pulp server > packagegroup package group specific actions to pulp server > permission manage pulp permissions > repo repository specific actions to pulp server > repogroup repository group specific actions to pulp server > role manage pulp permission roles > user user specific actions to pulp server > >pulp-admin: error: No command given; please see --help >[root@ip-10-112-39-167 ~]# pulp-admin -u admin -p admin repo list >+------------------------------------------+ > List of Available Repositories >+------------------------------------------+ > >Id rhel-x86_64-6-rhui-2-rpms-6Server-i386 >Name Red Hat Update Infrastructure 2.0 (RPMs) (6Server-i386) >Repo URL ec2-23-23-13-221.compute-1.amazonaws.com >Feed URL https://cdn.redhat.com//content/dist/rhel/rhui/server/6/6Server/i386/rhui/2.0/os >Feed Type remote >Content Type yum >Feed Certs CA:Yes Cert:Yes >Consumer Certs CA:Yes Cert:Yes >Architecture noarch >Sync Schedule 2012-08-02T13:42:39-04:00/PT6H >Packages 0 >Files 0 >Distributions None >Publish True >Clones [] >Groups [u'redhat', u'rhel-x86_64-6-rhui-2-rpms'] >Filters [] >Notes {} >Preserve Metadata True >Checksum Type sha256 > > >Id gkrellm-x86_64 >Name gkrellm-x86_64 >Repo URL ec2-23-23-13-221.compute-1.amazonaws.com >Feed URL None >Feed Type None >Content Type yum >Feed Certs CA:No Cert:No >Consumer Certs CA:Yes Cert:Yes >Architecture noarch >Sync Schedule None >Packages 1 >Files 0 >Distributions None >Publish True >Clones [] >Groups [u'custom'] >Filters [] >Notes {u'entitlement-path': u'gkrellm/$basearch'} >Preserve Metadata False >Checksum Type sha1 > > >Id custom >Name custom >Repo URL domU-12-31-39-16-DE-CD.compute-1.internal >Feed URL None >Feed Type None >Content Type yum >Feed Certs CA:No Cert:No >Consumer Certs CA:No Cert:No >Architecture noarch >Sync Schedule None >Packages 1 >Files 0 >Distributions None >Publish True >Clones [] >Groups [u'custom'] >Filters [] >Notes {u'entitlement-path': None} >Preserve Metadata False >Checksum Type sha1 > > >Id rhel-x86_64-6-rhui-2-rpms-6Server-x86_64 >Name Red Hat Update Infrastructure 2.0 (RPMs) (6Server-x86_64) >Repo URL ec2-23-23-13-221.compute-1.amazonaws.com >Feed URL https://cdn.redhat.com//content/dist/rhel/rhui/server/6/6Server/x86_64/rhui/2.0/os >Feed Type remote >Content Type yum >Feed Certs CA:Yes Cert:Yes >Consumer Certs CA:Yes Cert:Yes >Architecture noarch >Sync Schedule 2012-08-02T13:42:39-04:00/PT6H >Packages 37 >Files 0 >Distributions None >Publish True >Clones [] >Groups [u'redhat', u'rhel-x86_64-6-rhui-2-rpms'] >Filters [] >Notes {} >Preserve Metadata True >Checksum Type sha256 > > >Id rhel-6-rhui-server-rpms-6Server-i386 >Name Red Hat Enterprise Linux 6 Server (RPMs) from RHUI (6Server-i386) >Repo URL domU-12-31-39-16-DE-CD.compute-1.internal >Feed URL https://cdn.redhat.com//content/dist/rhel/rhui/server/6/6Server/i386/os >Feed Type remote >Content Type yum >Feed Certs CA:Yes Cert:Yes >Consumer Certs CA:Yes Cert:Yes >Architecture noarch >Sync Schedule 2012-08-02T14:54:39-04:00/PT6H >Packages 6422 >Files 0 >Distributions ks-Red Hat Enterprise Linux-Server-6.3-i386 >Publish True >Clones [] >Groups [u'redhat', u'rhel-6-rhui-server-rpms'] >Filters [] >Notes {} >Preserve Metadata True >Checksum Type sha256 > > >Id rhel-6-rhui-server-rpms-6Server-x86_64 >Name Red Hat Enterprise Linux 6 Server (RPMs) from RHUI (6Server-x86_64) >Repo URL ec2-23-23-13-221.compute-1.amazonaws.com >Feed URL https://cdn.redhat.com//content/dist/rhel/rhui/server/6/6Server/x86_64/os >Feed Type remote >Content Type yum >Feed Certs CA:Yes Cert:Yes >Consumer Certs CA:Yes Cert:Yes >Architecture noarch >Sync Schedule 2012-08-02T14:54:39-04:00/PT6H >Packages 8367 >Files 0 >Distributions ks-Red Hat Enterprise Linux-Server-6.3-x86_64 >Publish True >Clones [] >Groups [u'redhat', u'rhel-6-rhui-server-rpms'] >Filters [] >Notes {} >Preserve Metadata True >Checksum Type sha256 > > >Id rhel-5-server-rhui-rpms-5Server-i386 >Name Red Hat Enterprise Linux 5 Server from RHUI (RPMs) (5Server-i386) >Repo URL domU-12-31-39-16-DE-CD.compute-1.internal >Feed URL https://cdn.redhat.com//content/dist/rhel/rhui/server/5/5Server/i386/os >Feed Type remote >Content Type yum >Feed Certs CA:Yes Cert:Yes >Consumer Certs CA:Yes Cert:Yes >Architecture noarch >Sync Schedule 2012-08-02T14:54:38-04:00/PT6H >Packages 10689 >Files 0 >Distributions ks-Red Hat Enterprise Linux Server-None-5.8-i386 >Publish True >Clones [] >Groups [u'redhat', u'rhel-5-server-rhui-rpms'] >Filters [] >Notes {} >Preserve Metadata True >Checksum Type sha256 > > >Id rhel-5-server-rhui-rpms-5Server-x86_64 >Name Red Hat Enterprise Linux 5 Server from RHUI (RPMs) (5Server-x86_64) >Repo URL ec2-23-23-13-221.compute-1.amazonaws.com >Feed URL https://cdn.redhat.com//content/dist/rhel/rhui/server/5/5Server/x86_64/os >Feed Type remote >Content Type yum >Feed Certs CA:Yes Cert:Yes >Consumer Certs CA:Yes Cert:Yes >Architecture noarch >Sync Schedule 2012-08-02T14:54:38-04:00/PT6H >Packages 13920 >Files 0 >Distributions ks-Red Hat Enterprise Linux Server-None-5.8-x86_64 >Publish True >Clones [] >Groups [u'redhat', u'rhel-5-server-rhui-rpms'] >Filters [] >Notes {} >Preserve Metadata True >Checksum Type sha256 > > >[root@ip-10-112-39-167 ~]# >------------------------------------------------------------------------------ >rhui (repo) => c > >Unique ID for the custom repository (alphanumerics, _, and - only): >prefix > >Display name for the custom repository [prefix]: > > >Path at which the repository will be served [prefix]: > > >Algorithm to use when calculating the checksum values for repository metadata: >* Select "sha256" for RHEL6: >* Select "sha1" for either RHEL5 or RHEL6: > > 1 - sha256 > 2 - sha1 >Enter value (1-2) or 'b' to abort: 1 > >Should the repository require an entitlement certificate to access? (y/n) >n > >Should the repository require clients to perform a GPG check and >verify packages are signed by a GPG key? (y/n) >n > >The following repository will be created: > ID: prefix > Name: prefix > Path: prefix > GPG Check No > Red Hat GPG Key: No >Proceed? (y/n) y > >Successfully created repository prefix > >------------------------------------------------------------------------------ >rhui (repo) => c > >Unique ID for the custom repository (alphanumerics, _, and - only): >prefix-1 > >Display name for the custom repository [prefix-1]: > > >Path at which the repository will be served [prefix-1]: >prefix-1/x86_64 > >Algorithm to use when calculating the checksum values for repository metadata: >* Select "sha256" for RHEL6: >* Select "sha1" for either RHEL5 or RHEL6: > > 1 - sha256 > 2 - sha1 >Enter value (1-2) or 'b' to abort: 2 > >Should the repository require an entitlement certificate to access? (y/n) >y > >Based on the repository's relative path, the suggested entitlement path is: > prefix-1/$basearch > >Path that should be used when granting an entitlement for this repository. This >may use yum variable substitutions (e.g. $basearch) to group this together with >other repositories that share the entitlement [prefix-1/$basearch]: > > >Should the repository require clients to perform a GPG check and >verify packages are signed by a GPG key? (y/n) >y > >Will the repository be used to host any Red Hat GPG signed content? (y/n) >y > >Will the repository be used to host any custom GPG signed content? (y/n) >y > >Enter the absolute path to the public key of the GPG keypair: >/tmp/RPM-GPG-Key-mkovacik > >Would you like to enter another public key? (y/n) >n > >The following repository will be created: > ID: prefix-1 > Name: prefix-1 > Path: prefix-1/x86_64 > Entitlement: prefix-1/$basearch > GPG Check Yes > Custom GPG Keys: '/tmp/RPM-GPG-Key-mkovacik' > Red Hat GPG Key: Yes >Proceed? (y/n) y > >Error creating repository, check the log for more information > >------------------------------------------------------------------------------ >rhui (repo) => q >You have new mail in /var/spool/mail/root >[root@ip-10-112-39-167 ~]# tail -30 .rhui/rhui.log >Connecting to RHUA [ip-10-112-39-167.ec2.internal]... >Successfully connected to [ip-10-112-39-167.ec2.internal] >Connecting to RHUA [ip-10-112-39-167.ec2.internal]... >Successfully connected to [ip-10-112-39-167.ec2.internal] >Exception creating custom repository [custom-1] >Traceback (most recent call last): > File "/usr/lib/python2.6/site-packages/rhui/tools/pulp_api.py", line 394, in create_custom_repo > gpgkeys=gpg_key_bundle) > File "/usr/lib/python2.6/site-packages/pulp/client/api/repository.py", line 46, in create > return self.server.PUT(path, repodata)[1] > File "/usr/lib/python2.6/site-packages/pulp/client/api/server.py", line 326, in PUT > return self._request('PUT', path, body=body) > File "/usr/lib/python2.6/site-packages/pulp/client/api/server.py", line 287, in _request > raise ServerRequestError(response.status, message, traceback) >ServerRequestError: (500, u'PulpException: New relative path [custom-1/x86_64] conflicts with existing relative path [custom]; paths may not be a parent or child directory of another relative path', u'Traceback (most recent call last):\n File "/usr/lib/python2.6/site-packages/pulp/server/webservices/controllers/decorators.py", line 48, in report_error\n return method(self, *args, **kwargs)\n File "/usr/lib/python2.6/site-packages/pulp/server/webservices/controllers/decorators.py", line 127, in _auth_decorator\n value = method(self, *args, **kwargs)\n File "/usr/lib/python2.6/site-packages/pulp/server/webservices/controllers/repositories.py", line 333, in POST\n publish=repo_data.get(\'publish\', None),)\n File "/usr/lib/python2.6/site-packages/pulp/server/api/repo.py", line 266, in create\n raise PulpException(msg)') >Connecting to RHUA [ip-10-112-39-167.ec2.internal]... >Successfully connected to [ip-10-112-39-167.ec2.internal] >Connecting to RHUA [ip-10-112-39-167.ec2.internal]... >Successfully connected to [ip-10-112-39-167.ec2.internal] >Exception creating custom repository [prefix-1] >Traceback (most recent call last): > File "/usr/lib/python2.6/site-packages/rhui/tools/pulp_api.py", line 394, in create_custom_repo > gpgkeys=gpg_key_bundle) > File "/usr/lib/python2.6/site-packages/pulp/client/api/repository.py", line 46, in create > return self.server.PUT(path, repodata)[1] > File "/usr/lib/python2.6/site-packages/pulp/client/api/server.py", line 326, in PUT > return self._request('PUT', path, body=body) > File "/usr/lib/python2.6/site-packages/pulp/client/api/server.py", line 287, in _request > raise ServerRequestError(response.status, message, traceback) >ServerRequestError: (500, u'PulpException: New relative path [prefix-1/x86_64] conflicts with existing relative path [prefix]; paths may not be a parent or child directory of another relative path', u'Traceback (most recent call last):\n File "/usr/lib/python2.6/site-packages/pulp/server/webservices/controllers/decorators.py", line 48, in report_error\n return method(self, *args, **kwargs)\n File "/usr/lib/python2.6/site-packages/pulp/server/webservices/controllers/decorators.py", line 127, in _auth_decorator\n value = method(self, *args, **kwargs)\n File "/usr/lib/python2.6/site-packages/pulp/server/webservices/controllers/repositories.py", line 333, in POST\n publish=repo_data.get(\'publish\', None),)\n File "/usr/lib/python2.6/site-packages/pulp/server/api/repo.py", line 266, in create\n raise PulpException(msg)') >[root@ip-10-112-39-167 ~]#
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 845941
: 602456 |
693384