Hide Forgot
Description of problem: I registered a machine using RHSM and was trying to add a package on newly registered system. I selected the system and on right pane under "packages" tab I found "ADD and "Remove" options. Without specify the package name, Add and Remove options were active and when I clicked on it, following notification generated: >> Success Install of Packages '' scheduled for System 'dhcp201-107.englab.pnq.redhat.com'. Notice that no package name is here between the quotes. Also following logs generated in production.log: ======= 2011-12-14 12:28:54,420 18481:139968110376704: gofer.rmi.policy:INFO: policy:139 sent (8a317386-424c-48d5-bf19-a7f2464f5d2d): { "classname": "Packages", "kws": {}, "args": [ [], false ], "method": "install", "cntr": [ [], { "importkeys": false } ] } 2011-12-14 12:29:04,994 18481:139968110376704: pulp.server.tasking.task:ERROR: task:455 Task failed: Task 1499978f-2621-11e1-938b-525400a33cb8: ConsumerApi.__installpackages(8a317386-424c-48d5-bf19-a7f2464f5d2d, [], ) Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/pulp/server/tasking/task.py", line 404, in run result = self.callable(*self.args, **self.kwargs) File "/usr/lib/python2.6/site-packages/pulp/server/api/consumer.py", line 456, in __installpackages return packages.install(names, reboot) File "/usr/lib/python2.6/site-packages/gofer/rmi/stub.py", line 72, in __call__ return self.stub._send(request, opts) File "/usr/lib/python2.6/site-packages/gofer/rmi/stub.py", line 133, in _send return self.__send(request, options) File "/usr/lib/python2.6/site-packages/gofer/rmi/stub.py", line 164, in __send any=opts.any) File "/usr/lib/python2.6/site-packages/gofer/rmi/policy.py", line 143, in send self.__getstarted(sn, reader) File "/usr/lib/python2.6/site-packages/gofer/rmi/policy.py", line 166, in __getstarted raise RequestTimeout(sn, 0) RequestTimeout: ('ce80014e-ebd2-4c9f-9437-6cf7459a8a62', 0) Version-Release number of selected component (if applicable): [root@dhcp201-220 ~]# rpm -qa | grep katello katello-0.1.135-2.el6.x86_64 katello-configure-0.1.31-2.el6.noarch katello-glue-candlepin-0.1.135-2.el6.x86_64 katello-qpid-broker-key-pair-1.0-1.noarch katello-cli-0.1.23-3.el6.noarch katello-trusted-ssl-cert-1.0-1.noarch katello-cli-common-0.1.23-3.el6.noarch katello-glue-pulp-0.1.135-2.el6.x86_64 katello-all-0.1.135-2.el6.x86_64 katello-glue-foreman-0.1.135-2.el6.x86_64 katello-common-0.1.135-2.el6.noarch katello-httpd-ssl-key-pair-1.0-1.noarch katello-certs-tools-1.0.1-2.el6.noarch [root@dhcp201-220 ~]# How reproducible: always Steps to Reproduce: 1. register a system 2. select the system and on right pane select 'Packages" 3. click on +Add or -Remove buttons Actual results: +Add and -remove are active without even specifying the package names Expected results: +Add -Remove shouldn't be active when no package name is supplied Additional info:
Created attachment 546594 [details] Add/Remove options are active when no package is specified in text box
commit - ab03f27600a636677383fe419e4e2fb7661bbe6a Add/Remove links are disabled on initial load of pane. Add/Remove links are enabled when user enters text in input box and disable when box is empty.
ON_QA
verified with following katello build: katello-0.1.206-1.el6.noarch Now Add/Remove links are disabled on initial load as well as when text box is empty. Please see attachment in next comment
Created attachment 558636 [details] Disabled add/remove links when no input is supplied in text box
getting rid of 6.0.0 version since that doesn't exist