Bug 1553266
Summary: | Oops! in subscription-manager-cockpit TypeError: f.GetStatus is not a function | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Stef Walter <stefw> |
Component: | subscription-manager | Assignee: | Nikos Moumoulidis <nmoumoul> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | high | ||
Version: | 27 | CC: | alikins, awood, bkearney, jhnidek, khowell, mpitt, nmoumoul |
Target Milestone: | --- | Keywords: | Triaged |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | subscription-manager-1.24.2-1.fc27 subscription-manager-1.24.2-1.fc28 subscription-manager-1.24.2-1.fc29 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-11-15 02:12:05 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Stef Walter
2018-03-08 15:28:17 UTC
If I recall correctly, can be worked around by refreshing the page. I just filed 1555384 about the D-Bus interface being broken (trivial fix). This might be the root cause for this failure, but of course the UI shoudl also react better to an absent subscription-manager than oopsing. I validate that I don't believe that 1555384 is the root cause for this failure. My testing shows that even if the d-bus interfaces are fixed and work normally, this error still persists. The following busctl calls are successful: $ busctl call com.redhat.RHSM1 /com/redhat/RHSM1/Entitlement com.redhat.RHSM1.Entitlement GetStatus ss '' en-USs "{\"status\": \"Current\", \"reasons\": {}, \"valid\": true}" $ busctl call com.redhat.RHSM1 /com/redhat/RHSM1/Config com.redhat.RHSM1.Config GetAll s en-US a{sv} 4 "server" a{ss} 11 "proxy_password" "" "server_timeout" "180" "proxy_user" "" "port" "443" "insecure" "0" "prefix" "/subscription" "proxy_hostname" "" "proxy_port" "" "ssl_verify_depth" "3" "hostname" "subscription.rhsm.redhat.com" "no_proxy" "" "rhsm" a{ss} 14 "inotify" "1" "auto_enable_yum_plugins" "1" "repomd_gpg_url" "" "ca_cert_dir" "/etc/rhsm/ca/" "repo_ca_cert" "/etc/rhsm/ca/redhat-uep.pem" "full_refresh_on_yum" "0" "plugindir" "/usr/share/rhsm-plugins" "entitlementcertdir" "/etc/pki/entitlement" "consumercertdir" "/etc/pki/consumer" "pluginconfdir" "/etc/rhsm/pluginconf.d" "manage_repos" "1" "productcertdir" "/etc/pki/product" "baseurl" "https://cdn.redhat.com" "report_package_profile" "1" "rhsmcertd" a{ss} 3 "autoattachinterval" "1440" "splay" "1" "certcheckinterval" "240" "logging" a{ss} 1 "default_log_level" "INFO" $ busctl call com.redhat.SubscriptionManager /EntitlementStatus com.redhat.SubscriptionManager.EntitlementStatus check_status i 0 But the cockpit addon still cannot access them, with the following errors: subscriptions-client.js:452 Uncaught TypeError: configService.GetAll is not a function at Function.<anonymous> (subscriptions-client.js:452) at P (cockpit.js:877) at cockpit.js:889 at j (cockpit.js:806) subscriptions-client.js:431 Uncaught TypeError: entitlementService.GetStatus is not a function at Function.<anonymous> (subscriptions-client.js:431) at P (cockpit.js:877) at cockpit.js:889 at j (cockpit.js:806) As it turns out, this error's root cause can be either of these: * The rhsm service is not running. (reloading the page should force it to run) * The user did not check the checkbox "Reuse my password for privileged tasks" on the login page. subscription-manager-1.24.2-1.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2018-075821dc8f subscription-manager-1.24.2-1.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-a675aa39fc subscription-manager-1.24.2-1.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-91ba32a0ff subscription-manager-1.24.2-1.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-075821dc8f subscription-manager-1.24.2-1.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-91ba32a0ff subscription-manager-1.24.2-1.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-a675aa39fc subscription-manager-1.24.2-1.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report. subscription-manager-1.24.2-1.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report. subscription-manager-1.24.2-1.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report. |