[root@controller swift]# swift-ring-builder object.builder remove z1
-------------------------------------------------------------------------------
/usr/bin/swift-ring-builder:592: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
(dev['id'], e.message)
An error occurred while removing device with id 0
This usually means that you attempted to remove
the last device in a ring. If this is the case,
consider creating a new ring instead.
The on-disk ring builder is unchanged.
Original exception message: There are no devices in this ring, or all devices have been deleted
-------------------------------------------------------------------------------
[root@controller swift]# swift-ring-builder account.builder remove z1
-------------------------------------------------------------------------------
/usr/bin/swift-ring-builder:592: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
(dev['id'], e.message)
An error occurred while removing device with id 0
This usually means that you attempted to remove
the last device in a ring. If this is the case,
consider creating a new ring instead.
The on-disk ring builder is unchanged.
Original exception message: There are no devices in this ring, or all devices have been deleted
-------------------------------------------------------------------------------
[root@controller swift]# swift-ring-builder container.builder remove z1
-------------------------------------------------------------------------------
/usr/bin/swift-ring-builder:592: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
(dev['id'], e.message)
An error occurred while removing device with id 0
This usually means that you attempted to remove
the last device in a ring. If this is the case,
consider creating a new ring instead.
The on-disk ring builder is unchanged.
Original exception message: There are no devices in this ring, or all devices have been deleted
-------------------------------------------------------------------------------
По этому я остановил swift, удалил файлы и создал заново
После этого все заработало
swift stat
Account: AUTH_96371ad7fecf418d98c22b8e31120de9
Containers: 0
Objects: 0
Bytes: 0
Content-Type: text/plain; charset=utf-8
X-Timestamp: 1403764852.36654
X-Trans-Id: tx8f5713f7dc6c471a8f415-0053abc074
X-Put-Timestamp: 1403764852.36654
Спасибо!
четверг, 26 июня 2014 г., 9:25:04 UTC+3 пользователь Anton Buzdalkin написал: