Swift proxy cannot start due to missing ringfiles
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Landscape Server |
Fix Released
|
High
|
David Britton | ||
15.07 |
Fix Released
|
Critical
|
David Britton | ||
swift-proxy (Juju Charms Collection) |
Invalid
|
Undecided
|
Unassigned | ||
swift-storage (Juju Charms Collection) |
Fix Released
|
High
|
Liam Young |
Bug Description
On a ceph/swift autopilot deployment of Juno ring files are not created resulting in the inability to start swift-proxy service
juju config for swift-proxy:
openstack-
Attached are the /etc/swift/
swift-proxy/0 claims it is leader per juju logs:
... "Leader established, generating ring builders" ...
yet no rings are created on this unit.
/var/log/
No proxy-server running
Starting proxy-server.
Traceback (most recent call last):
File "/usr/bin/
sys.
File "/usr/lib/
loadapp(
File "/usr/lib/
app = ctx.app_
File "/usr/lib/
return self.object_
File "/usr/lib/
return fix_call(
File "/usr/lib/
val = callable(*args, **kw)
File "/usr/lib/
app = Application(conf)
File "/usr/lib/
ring_
File "/usr/lib/
self.
File "/usr/lib/
ring_data = RingData.
File "/usr/lib/
gz_file = GzipFile(filename, 'rb')
File "/usr/lib/
fileobj = self.myfileobj = __builtin_
IOError: [Errno 2] No such file or directory: '/etc/swift/
Related branches
- Chris Glass (community): Approve
-
Diff: 139 lines (+72/-6)2 files modifiedlib/swift_storage_utils.py (+39/-5)
unit_tests/test_swift_storage_utils.py (+33/-1)
- Liam Young (community): Approve
- David Britton (community): Approve
-
Diff: 139 lines (+72/-6)2 files modifiedhooks/swift_storage_utils.py (+39/-5)
unit_tests/test_swift_storage_utils.py (+33/-1)
no longer affects: | landscape/cisco-odl |
Changed in swift-proxy (Juju Charms Collection): | |
status: | Incomplete → New |
tags: | added: landscape-release-29 |
no longer affects: | landscape/release-29 |
no longer affects: | landscape |
no longer affects: | landscape/cisco-odl |
Changed in landscape: | |
importance: | Undecided → High |
Changed in swift-storage (Juju Charms Collection): | |
status: | New → Confirmed |
importance: | Undecided → High |
assignee: | nobody → Liam Young (gnuoy) |
tags: | added: kanban-cross-team |
tags: | removed: kanban-cross-team |
tags: | added: kanban-cross-team |
tags: | removed: kanban-cross-team |
Changed in swift-storage (Juju Charms Collection): | |
status: | Confirmed → In Progress |
Changed in swift-storage (Juju Charms Collection): | |
milestone: | none → 15.10 |
status: | In Progress → Fix Committed |
tags: | added: backport-potential |
Changed in landscape: | |
status: | New → Fix Committed |
status: | Fix Committed → New |
Changed in landscape: | |
status: | Fix Committed → Fix Released |
milestone: | 15.08 → 15.07 |
Changed in swift-storage (Juju Charms Collection): | |
status: | Fix Committed → Fix Released |
Also affected kilo openstack origin deployments as well.