Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
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:
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.
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
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: