Bug 1140683
| Summary: | Project->Object Store->Containers yields "Error: Unable to retrieve container list." error | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Jeff Needle <jneedle> | ||||
| Component: | openstack-swift | Assignee: | Pete Zaitcev <zaitcev> | ||||
| Status: | CLOSED NOTABUG | QA Contact: | nlevinki <nlevinki> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 5.0 (RHEL 6) | CC: | aortega, derekh, jneedle, jpichon, mreid, mrunge, sclark, scohen, sgotliv, yeylon, zaitcev | ||||
| Target Milestone: | --- | Flags: | zaitcev:
needinfo-
|
||||
| Target Release: | 6.0 (Juno) | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2014-11-27 22:18:15 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: | |||||||
| Attachments: |
|
||||||
This isn't enough information to debug unfortunately. This error usually indicates a problem with communicating with the service in question. Does "swift list" work from the command-line? Could you provide the Horizon logs from around the time the problem appears, same for the swift logs? Thank you. I would have thought there'd be a /var/log/swift directory for swift logs but I can't find it either... "Connection refused" indicates this is an issue with communicating with Swift itself. Does openstack-status tells you which swift component in particular is failing? (e.g. this is my output: == Swift services == openstack-swift-proxy: active openstack-swift-account: active openstack-swift-container: active openstack-swift-object: active) You need to source a RC file before using the CLI clients. You can find out how to create one at http://docs.openstack.org/user-guide/content/cli_openrc.html#openrc-create or download it from the dashboard (from the Access & Security -> API Access tab. Then run "source <your rc file name>" and try using the command again. I will move this bug's component to Swift so hopefully someone with more expertise there can help you debug further. If there are further issues with Horizon feel free to move it back here. Julie is on the right track: you must ensure the Swift cluster's health first. Even without running swift CLI it's obvious from the logs that account server is not running. Unfortunately, I'm unable to tell more without knowing exact layout of the cluster (e.g. output of swift-ring-builder and a sample of /etc/swift/*.conf). This being RHEL 6 you cannot just do "systemctl status". Running "service openstack-swift-account status" could work, but not 100% reliable. Just run "ps auxw| grep account" (this will capture auditors and replicators as well, which you must have running anyway). Poke me out of band for details if needed. Swift logs to /var/log/messages by default, but we're working on changing that (see bug 997983). In RHEL OSP we always use Swift with Keystone v2, therefore you have to supply -V 2 to swift. Example: swift -V 2 -A http://kvm-rei:5000/v2.0 -U test:tester -K testing list Cancelling needinfo on me since this bug is closed. |
Created attachment 936553 [details] screen shot Clicking on Project > Object Store > Container pauses for about a minute and then displays an error message: "Unable to Retrieve Container List." We haven't created one yet as far as I know but this error is misleading at best. See attached screen shot.