<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:10pt"><div>Dear List (Problem 1)<br>I am still struggling with the group install management.<br>I cut the problem in small slices and here is what i catching.<br>I putting here the stuff that works (expecting that helps on the infrastructure diagnostic) <br>and also the one that does not work<br></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;">- As you requested i updated the code to pulp 2.1.0.0</div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0);
 font-size: 13.3333px; font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;">--- Working stuff ---<br>Register a system == OK<br>Bind a consumer with a repo == OK<br>--- NOT WORKING ---<br>On the client side : yum repolist displays :<br>yum repolist<br>Configuration file /etc/yum/pluginconf.d/rhnplugin.conf not found<br>Unable to find configuration file for plugin rhnplugin<br>Loaded plugins: refresh-packagekit, security<br>https://pulp-srv/pulp/repos/rhel-server-6-2-x86-64-updates-20130308/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404"<br>Trying other mirror.<br>repo id                                     repo
 name                                    status<br>rhel-server-6-2-x86-64-updates-20130308     rhel-server-6-2-x86-64-updates-20130308      0<br>repolist: 0<br><br>When running the command :<br> wget https://pulp-srv/pulp/repos/rhel-server-6-2-x86-64-updates-20130308/repodata/repomd.xml --no-check-certificate<br>the file repomd.xml is properly downloaded<br>--- WORKING AGAIN ---<br>I checked the /etc/yum.conf and found the proxy clause: Removing this clause makes the command yum repolist OK:<br> yum repolist<br>Configuration file /etc/yum/pluginconf.d/rhnplugin.conf not found<br>Unable to find configuration file for plugin rhnplugin<br>Loaded plugins: refresh-packagekit,
 security<br>rhel-server-6-2-x86-64-updates-20130308                                 | 2.5 kB     00:00     <br>rhel-server-6-2-x86-64-updates-20130308/primary_db                      | 2.9 MB     00:00     <br>repo id                                     repo
 name                                    status<br>rhel-server-6-2-x86-64-updates-20130308     rhel-server-6-2-x86-64-updates-20130308      3,741<br>repolist: 3,741<br><br><br>Then<br><br>from the pulp server :<br>pulp-admin rpm consumer package install run --consumer-id=pulp-cli1 --name=k3b === OK<br><br>pulp-admin rpm consumer group members add --group-id=mygroup  --consumer-id=pulp-cli1 === OK<br><br>--- NOT WORKING --- (here is supose the following command shoud mimic in some way the consumer repo bind<br><br>pulp-admin rpm consumer group bind  --repo-id=rhel-server-6-2-x86-64-updates-20130308 --consumer-group-id=mygroup<br>An internal error occurred on the Pulp server. More information can be found in<br>the client log file
 ~/.pulp/admin.log.<br><br>On the client side the command yum repolist gives an empty repo (/etc/pulp.repo empty)<br>the client logs pulp and gofer dont do anything<br>On the server side i get in admin.log<br>===============================================<br>...<br>[root@pulp-srv .pulp]# cat admin.log <br>2013-04-17 17:21:23,010 - ERROR - Exception occurred:<br>        href:      /pulp/api/v2/consumer_groups/mygroup/bindings/<br>        method:    POST<br>        status:    500<br>        error:     Unhandled Exception<br>        traceback: [u'  File "/usr/lib/python2.6/site-packages/pulp/server/webservices/middleware/exception.py", line 44, in __call__\n    return self.app(environ,
 start_response)\n', u'  File "/usr/lib/python2.6/site-packages/pulp/server/webservices/middleware/postponed.py", line 39, in __call__\n    return self.app(environ, start_response)\n', u'  File "/usr/lib/python2.6/site-packages/web/application.py", line 279, in wsgi\n    result = self.handle_with_processors()\n', u'  File "/usr/lib/python2.6/site-packages/pulp/server/webservices/application.py", line 26, in _handle_with_processors\n    return process(self.processors)\n', u'  File "/usr/lib/python2.6/site-packages/pulp/server/webservices/application.py", line 23, in process\n    return p(lambda : process(processors))\n', u'  File "/usr/lib/python2.6/site-packages/web/application.py", line 566, in processor\n    return handler()\n', u'  File "/usr/lib/python2.6/site-packages/pulp/server/webservices/application.py", line 23, in
 <lambda>\n    return p(lambda : process(processors))\n', u'  File "/usr/lib/python2.6/site-packages/pulp/server/webservices/application.py", line 23, in process\n    return p(lambda : process(processors))\n', u'  File "/usr/lib/python2.6/site-packages/web/application.py", line 581, in processor\n    result = handler()\n', u'  File "/usr/lib/python2.6/site-packages/pulp/server/webservices/application.py", line 23, in <lambda>\n    return p(lambda : process(processors))\n', u'  File "/usr/lib/python2.6/site-packages/pulp/server/webservices/application.py", line 25, in process\n    return self.handle()\n', u'  File "/usr/lib/python2.6/site-packages/web/application.py", line 230, in handle\n    return self._delegate(fn, self.fvars, args)\n', u'  File "/usr/lib/python2.6/site-packages/web/application.py", line 422, in
 _delegate\n    return f()\n', u'  File "/usr/lib/python2.6/site-packages/web/application.py", line 430, in <lambda>\n    f = lambda: self._delegate_sub_application(pat, what)\n', u'  File "/usr/lib/python2.6/site-packages/web/application.py", line 455, in _delegate_sub_application\n    return app.handle_with_processors()\n', u'  File "/usr/lib/python2.6/site-packages/pulp/server/webservices/application.py", line 26, in _handle_with_processors\n    return process(self.processors)\n', u'  File "/usr/lib/python2.6/site-packages/pulp/server/webservices/application.py", line 23, in process\n    return p(lambda : process(processors))\n', u'  File "/usr/lib/python2.6/site-packages/web/application.py", line 566, in processor\n    return handler()\n', u'  File "/usr/lib/python2.6/site-packages/pulp/server/webservices/application.py", line
 23, in <lambda>\n    return p(lambda : process(processors))\n', u'  File "/usr/lib/python2.6/site-packages/pulp/server/webservices/application.py", line 23, in process\n    return p(lambda : process(processors))\n', u'  File "/usr/lib/python2.6/site-packages/web/application.py", line 581, in processor\n    result = handler()\n', u'  File "/usr/lib/python2.6/site-packages/pulp/server/webservices/application.py", line 23, in <lambda>\n    return p(lambda : process(processors))\n', u'  File "/usr/lib/python2.6/site-packages/pulp/server/webservices/application.py", line 25, in process\n    return self.handle()\n', u'  File "/usr/lib/python2.6/site-packages/web/application.py", line 230, in handle\n    return self._delegate(fn, self.fvars, args)\n', u'  File "/usr/lib/python2.6/site-packages/web/application.py", line 405, in
 _delegate\n    return handle_class(f)\n', u'  File "/usr/lib/python2.6/site-packages/web/application.py", line 396, in handle_class\n    return tocall(*args)\n', u'  File "/usr/lib/python2.6/site-packages/pulp/server/webservices/controllers/decorators.py", line 231, in _auth_decorator\n    value = method(self, *args, **kwargs)\n', u'  File "/usr/lib/python2.6/site-packages/pulp/server/webservices/controllers/consumer_groups.py", line 314, in POST\n    result = execution.execute_sync_created(self, call_request, link)\n', u'  File "/usr/lib/python2.6/site-packages/pulp/server/dispatch/task.py", line 138, in _run\n    result = call(*args, **kwargs)\n']<br>        data:      {}<br> <br><br>...<br>=====================================================================<br><br>and the file
 server_calls.log gives:<br><br><br>======================================================================<br>...<br>[root@pulp-srv .pulp]# cat server_calls.log<br>2013-04-17 17:21:23,006 - INFO - POST request to /pulp/api/v2/consumer_groups/mygroup/bindings/ with parameters {"repo_id": "rhel-server-6-2-x86-64-updates-20130308", "distributor_id": "yum_distributor"}<br>2013-04-17 17:21:23,007 - INFO - Response status : 500 <br><br>2013-04-17 17:21:23,008 - INFO - Response body :<br> {<br>  "exception": [<br>    "TypeError: bind() takes exactly 6 arguments (4 given)\n"<br>  ], <br>  "traceback": [<br>    "  File \"/usr/lib/python2.6/site-packages/pulp/server/webservices/middleware/exception.py\", line 44, in __call__\n    return self.app(environ, start_response)\n", <br>    "  File \"/usr/lib/python2.6/site-packages/pulp/server/webservices/middleware/postponed.py\",
 line 39, in __call__\n    return self.app(environ, start_response)\n", <br>    "  File \"/usr/lib/python2.6/site-packages/web/application.py\", line 279, in wsgi\n    result = self.handle_with_processors()\n", <br>    "  File \"/usr/lib/python2.6/site-packages/pulp/server/webservices/application.py\", line 26, in _handle_with_processors\n    return process(self.processors)\n", <br>    "  File \"/usr/lib/python2.6/site-packages/pulp/server/webservices/application.py\", line 23, in process\n    return p(lambda : process(processors))\n", <br>    "  File \"/usr/lib/python2.6/site-packages/web/application.py\", line 566, in processor\n    return handler()\n", <br>    "  File \"/usr/lib/python2.6/site-packages/pulp/server/webservices/application.py\", line 23, in
 <lambda>\n    return p(lambda : process(processors))\n", <br>    "  File \"/usr/lib/python2.6/site-packages/pulp/server/webservices/application.py\", line 23, in process\n    return p(lambda : process(processors))\n", <br>    "  File \"/usr/lib/python2.6/site-packages/web/application.py\", line 581, in processor\n    result = handler()\n", <br>    "  File \"/usr/lib/python2.6/site-packages/pulp/server/webservices/application.py\", line 23, in <lambda>\n    return p(lambda : process(processors))\n", <br>    "  File \"/usr/lib/python2.6/site-packages/pulp/server/webservices/application.py\", line 25, in process\n    return self.handle()\n", <br>    "  File \"/usr/lib/python2.6/site-packages/web/application.py\", line 230, in handle\n    return
 self._delegate(fn, self.fvars, args)\n", <br>    "  File \"/usr/lib/python2.6/site-packages/web/application.py\", line 422, in _delegate\n    return f()\n", <br>    "  File \"/usr/lib/python2.6/site-packages/web/application.py\", line 430, in <lambda>\n    f = lambda: self._delegate_sub_application(pat, what)\n", <br>    "  File \"/usr/lib/python2.6/site-packages/web/application.py\", line 455, in _delegate_sub_application\n    return app.handle_with_processors()\n", <br>    "  File \"/usr/lib/python2.6/site-packages/pulp/server/webservices/application.py\", line 26, in _handle_with_processors\n    return process(self.processors)\n", <br>    "  File \"/usr/lib/python2.6/site-packages/pulp/server/webservices/application.py\", line 23, in process\n    return p(lambda :
 process(processors))\n", <br>    "  File \"/usr/lib/python2.6/site-packages/web/application.py\", line 566, in processor\n    return handler()\n", <br>    "  File \"/usr/lib/python2.6/site-packages/pulp/server/webservices/application.py\", line 23, in <lambda>\n    return p(lambda : process(processors))\n", <br>    "  File \"/usr/lib/python2.6/site-packages/pulp/server/webservices/application.py\", line 23, in process\n    return p(lambda : process(processors))\n", <br>    "  File \"/usr/lib/python2.6/site-packages/web/application.py\", line 581, in processor\n    result = handler()\n", <br>    "  File \"/usr/lib/python2.6/site-packages/pulp/server/webservices/application.py\", line 23, in <lambda>\n    return p(lambda : process(processors))\n", <br>   
 "  File \"/usr/lib/python2.6/site-packages/pulp/server/webservices/application.py\", line 25, in process\n    return self.handle()\n", <br>    "  File \"/usr/lib/python2.6/site-packages/web/application.py\", line 230, in handle\n    return self._delegate(fn, self.fvars, args)\n", <br>    "  File \"/usr/lib/python2.6/site-packages/web/application.py\", line 405, in _delegate\n    return handle_class(f)\n", <br>    "  File \"/usr/lib/python2.6/site-packages/web/application.py\", line 396, in handle_class\n    return tocall(*args)\n", <br>    "  File \"/usr/lib/python2.6/site-packages/pulp/server/webservices/controllers/decorators.py\", line 231, in _auth_decorator\n    value = method(self, *args, **kwargs)\n", <br>    "  File
 \"/usr/lib/python2.6/site-packages/pulp/server/webservices/controllers/consumer_groups.py\", line 314, in POST\n    result = execution.execute_sync_created(self, call_request, link)\n", <br>    "  File \"/usr/lib/python2.6/site-packages/pulp/server/dispatch/task.py\", line 138, in _run\n    result = call(*args, **kwargs)\n"<br>  ], <br>  "_href": "/pulp/api/v2/consumer_groups/mygroup/bindings/", <br>  "error_message": "Unhandled Exception", <br>  "http_request_method": "POST", <br>  "http_status": 500<br>}<br><br><br>...<br>================================================================================<br><br><br></div></div></body></html>