[regression] Swift service fails to start with [Errno 2] No such file or directory: '/etc/swift/object.ring.gz

Bug #1582646 reported by Volodymyr Shypyguzov
30
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
High
Dmitry Ilyin
Mitaka
Fix Released
High
Dmitry Ilyin
Newton
Fix Released
High
Dmitry Ilyin

Bug Description

Test group: deploy_neutron_vlan_ha
Steps to reproduce:
        1. Create cluster
        2. Add 3 nodes with controller role
        3. Add 2 nodes with compute role
        4. Deploy the cluster
        5. Run network verification
        6. Run OSTF << Fails

Expected result: OSTF tests passed
Actual result: OSTF test fails on checking backends state

In swift-all.log:
#012IOError: [Errno 2] No such file or directory: '/etc/swift/object.ring.gz'

Revision history for this message
Volodymyr Shypyguzov (vshypyguzov) wrote :
Revision history for this message
Volodymyr Shypyguzov (vshypyguzov) wrote :
Revision history for this message
Alexandr Kostrikov (akostrikov-mirantis) wrote :

Also, reproduce at bonding test cases
https://product-ci.infra.mirantis.net/job/9.0.system_test.ubuntu.bonding_ha/109/consoleFull
setting to swarm-blocker

Changed in fuel:
importance: Undecided → High
tags: added: swarm-blocker
Changed in fuel:
assignee: nobody → MOS Linux (mos-linux)
Revision history for this message
Dmitry Teselkin (teselkin-d) wrote :
Changed in fuel:
assignee: MOS Linux (mos-linux) → MOS Packaging Team (mos-packaging)
summary: - Swift service fails to start with [Errno 2] No such file or directory:
- '/etc/swift/object.ring.gz
+ [regression] Swift service fails to start with [Errno 2] No such file or
+ directory: '/etc/swift/object.ring.gz
Changed in fuel:
milestone: none → 9.0
status: New → Confirmed
Revision history for this message
Bug Checker Bot (bug-checker) wrote : Autochecker

(This check performed automatically)
Please, make sure that bug description contains the following sections filled in with the appropriate data related to the bug you are describing:

version

For more detailed information on the contents of each of the listed sections see https://wiki.openstack.org/wiki/Fuel/How_to_contribute#Here_is_how_you_file_a_bug

tags: added: need-info
Revision history for this message
Igor Yozhikov (iyozhikov) wrote :

Packages? as far as I know and according to Swift manuals? are not responsible for rings creation.
Ring creation and synchronization must be done using CM tools or manually.
Also in deployment logs was found next:
node-1 - primary controller - ring files created
node-4 and node-5 - rest controllers - didn't sync ring files.
Procedure described at https://github.com/openstack/fuel-library/blob/2f9f9516f04de573809b4d1162dfd2b9087ea90f/deployment/puppet/openstack_tasks/manifests/swift/proxy_storage.pp#L421-L440 has not been seen in logs.

Please, reproduce this bug and provide ENV for further investigation.

Changed in fuel:
status: Confirmed → Incomplete
Revision history for this message
Igor Yozhikov (iyozhikov) wrote :

s/?/,/

Revision history for this message
Alexandr Kostrikov (akostrikov-mirantis) wrote :
Changed in fuel:
status: Incomplete → Confirmed
Revision history for this message
Igor Yozhikov (iyozhikov) wrote :

During more deep investigation made with Dmitry Ilyin found root cause - wrong
puppet sequence of steps.

Changed in fuel:
assignee: MOS Packaging Team (mos-packaging) → MOS Puppet Team (mos-puppet)
Dmitry Ilyin (idv1985)
Changed in fuel:
assignee: MOS Puppet Team (mos-puppet) → Dmitry Ilyin (idv1985)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to fuel-library (master)

Related fix proposed to branch: master
Review: https://review.openstack.org/318563

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to fuel-library (master)

Reviewed: https://review.openstack.org/318563
Committed: https://git.openstack.org/cgit/openstack/fuel-library/commit/?id=52716670dcd2636828ea49165e24219fd07aea1a
Submitter: Jenkins
Branch: master

commit 52716670dcd2636828ea49165e24219fd07aea1a
Author: Dmitry Ilyin <email address hidden>
Date: Thu May 19 13:50:28 2016 +0300

    Refactor openstack_tasks::swift

    Change-Id: I7ff5778367a30b00975ba41069dd6e11332a5c38
    Related-bug: 1582646

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to fuel-library (stable/mitaka)

Related fix proposed to branch: stable/mitaka
Review: https://review.openstack.org/320374

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to fuel-library (stable/mitaka)

Reviewed: https://review.openstack.org/320374
Committed: https://git.openstack.org/cgit/openstack/fuel-library/commit/?id=765af856b63f8e99ad8c82f303432d572c399bd3
Submitter: Jenkins
Branch: stable/mitaka

commit 765af856b63f8e99ad8c82f303432d572c399bd3
Author: Dmitry Ilyin <email address hidden>
Date: Thu May 19 13:50:28 2016 +0300

    Refactor openstack_tasks::swift

    cherry picked from commit 52716670dcd2636828ea49165e24219fd07aea1a
    Change-Id: I7ff5778367a30b00975ba41069dd6e11332a5c38
    Related-bug: 1582646

tags: added: in-stable-mitaka
Revision history for this message
Alexandr Kostrikov (akostrikov-mirantis) wrote :

There were no reproduces on swarm on iso 9.0 mos iso #416

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.