Hide Forgot
Description of problem: Got unexpected error while creating the protected custom repo Version-Release number of selected component (if applicable): rh-rhui-tool-2.0.12-1.el6 How reproducible: Always Steps to Reproduce: ------------------------------------------------------------------------------ rhui (repo) => c Unique ID for the custom repository (alphanumerics, _, and - only): custom_repo1 Display name for the custom repository [custom_repo1]: protected repo1 Path at which the repository will be served [custom_repo1]: /protected/x86_64/os Should the repository require an entitlement certificate to access? (y/n) y Based on the repository's relative path, the suggested entitlement path is: /protected/$basearch/os 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 [/protected/$basearch/os]: The following repository will be created: ID: custom_repo1 Name: protected repo1 Path: /protected/x86_64/os Entitlement: /protected/$basearch/os Proceed? (y/n) y Actual results: An unexpected error has occurred during the last operation. More information can be found in /root/.rhui/rhui.log. Expected results: Custom repo should be created successfully Additional info: [root@pulp-server ~]# tail -f /root/.rhui/rhui.log self.listen(clear=first_run) File "/usr/lib/python2.6/site-packages/rhui/tools/shell.py", line 90, in listen Shell.listen(self) File "/usr/lib/python2.6/site-packages/rhui/common/shell.py", line 191, in listen item.func(*args, **item.kwargs) File "/usr/lib/python2.6/site-packages/rhui/tools/screens/repo.py", line 389, in create_custom success = self.pulp.create_custom_repo(id, name, path, entitlement_path, protected) File "/usr/lib/python2.6/site-packages/rhui/tools/pulp_api.py", line 270, in create_custom_repo notes=notes, TypeError: create() got an unexpected keyword argument 'notes'
This is because you're running an old Pulp build before the notes field was added. I'm going to work on a build process for the RHUI branch of Pulp today that you can use to help standardize on the version of Pulp to test against.
Please try this again on the RHUI Pulp build 0.165.
Yes, now I can create custom repo. I tried this on RHUI pulp build 0.166. ~~~~~~~~~~ The following repository will be created: ID: repo1 Name: protected repo1 Path: /protected/x86_64/os Entitlement: /protected/$basearch/os Proceed? (y/n) y Successfully created repository protected repo1 ------------------------------------------------------------------------------ rhui (repo) => l Custom Repositories protected repo1 ~~~~~~~~~~~ thanks, sachin
moving to release pending
closing out, product released