[Swift] Package python-swift rewrites groups for swift user

Bug #1481413 reported by Yaroslav Lobankov
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Mirantis OpenStack
Fix Released
High
Ivan Berezovskiy
6.1.x
Won't Fix
High
Alexey Khivin

Bug Description

Cannot create a Swift container and it looks like Swift doesn't work at all.

STEPS TO REPRODUCE:
1. Deploy OpenStack environment (see configuration below).
2. Go to the Horizon. Log in to it.
3. Navigate to Project -> Object Store -> Containers. At this point we already can see the error (see screenshot-1.png).
4. Click on the "Create Container" button.
5. Enter the name of a container.
6. Click on the "Create Container" button.

EXPECTED RESULT:
The container has been successfully created.

ACTUAL RESULT:
The container has not been created. See screenshot-2.png.

In addition I have run Swift tempest tests and all of them have failed. My steps:
1. The Fuel master node must have Internet connection. Log into the Fuel master node via SSH.
2. # yum install -y git
3. # git clone https://github.com/Mirantis/mos-tempest-runner.git
4. # cd mos-tempest-runner/ && ./setup_env.sh
5. # ./rejoin.sh
6. $ run_tests tempest.api.object_storage

See tempest-report.html for more details in attachments.

VERSION:
  feature_groups:
    - mirantis
  production: "docker"
  release: "7.0"
  openstack_version: "2015.1.0-7.0"
  api: "1.0"
  build_number: "132"
  build_id: "2015-08-03_22-04-28"
  nailgun_sha: "d1536c3a57459e205e39bc4d86d2b4efc6141c4e"
  python-fuelclient_sha: "4fe70fb5c0ce8905ae5908f63d45b45e89a99340"
  fuel-agent_sha: "1fe47720ba554818a0be707f2e16281791492d50"
  fuel-nailgun-agent_sha: "1512b9af6b41cc95c4d891c593aeebe0faca5a63"
  astute_sha: "6d09f3fc7f69ac558095299211ebfd081fa54b8f"
  fuel-library_sha: "1cfd80a833ed27c777c950006a8d4e4080f81616"
  fuel-ostf_sha: "53109a99d923cccdf88c5cf5aba0af8050df47e3"
  fuelmain_sha: "7a374fbd1f5ebde943cb391a4f71b94888ce4a15"

ENVIRONMENT:
Ubuntu, Neutron with VLAN segmentation, Ceph for volumes, Ceph for images, Ceph for ephemeral volumes, Ceilometer enabled, 1 (controller + mongo), 1 (compute + ceph-osd).

Pay attention that Ceph RadosGW is not installed! Swift is installed.

Diagnostic snapshot is attached.

Revision history for this message
Yaroslav Lobankov (ylobankov) wrote :
Revision history for this message
Yaroslav Lobankov (ylobankov) wrote :
Revision history for this message
Yaroslav Lobankov (ylobankov) wrote :
Revision history for this message
Yaroslav Lobankov (ylobankov) wrote :
Changed in mos:
status: New → Confirmed
assignee: nobody → MOS Swift (mos-swift)
description: updated
Revision history for this message
Yaroslav Lobankov (ylobankov) wrote :

If I cut out "ceilometer" from Swift pipeline in the /etc/swift/proxy-server.conf file and restart all Swift services, Swift starts to work properly. My steps:

1. Ssh into the controller node.
2. # vim /etc/swift/proxy-server.conf
3. Cut out "ceilometer" entry from main Swift pipeline and comment out Ceilometer filter.
4. # for i in $(ls /etc/init.d/ | grep swift); do service $i restart; done

Now Swift will work properly.

Changed in mos:
assignee: MOS Swift (mos-swift) → Ivan Berezovskiy (iberezovskiy)
Revision history for this message
Ivan Berezovskiy (iberezovskiy) wrote :

http://paste.openstack.org/show/412554/

'Swift' user should be in 'ceilometer' group

Revision history for this message
Timur Nurlygayanov (tnurlygayanov) wrote :

We need to fix this issue in MOS 7.0 release, it is critical functionality and it is regression issue.

tags: added: low-hanging-fruit
summary: - [Swift] Cannot create a Swift container and it looks like Swift doesn't
- work at all
+ [Swift] Package python-swift rewrites groups for swift user
Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix proposed to openstack-build/swift-build (openstack-ci/fuel-7.0/2015.1.0)

Fix proposed to branch: openstack-ci/fuel-7.0/2015.1.0
Change author: Ivan Berezovskiy <email address hidden>
Review: https://review.fuel-infra.org/10359

Changed in mos:
status: Confirmed → In Progress
Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix merged to openstack-build/swift-build (openstack-ci/fuel-7.0/2015.1.0)

Reviewed: https://review.fuel-infra.org/10359
Submitter: Ivan Berezovskiy <email address hidden>
Branch: openstack-ci/fuel-7.0/2015.1.0

Commit: f2191f46fa1ab575798f0154598faff5ec88680f
Author: Ivan Berezovskiy <email address hidden>
Date: Wed Aug 12 12:56:29 2015

Add swift user to adm group using more safely way

Change-Id: I5eafe4eb931f306768db49541e14efd9dd6be55a
Closes-bug: #1481413

Changed in mos:
status: In Progress → Fix Committed
Revision history for this message
Yaroslav Lobankov (ylobankov) wrote :

Verified on

VERSION:
  feature_groups:
    - mirantis
  production: "docker"
  release: "7.0"
  openstack_version: "2015.1.0-7.0"
  api: "1.0"
  build_number: "165"
  build_id: "2015-08-12_17-24-26"
  nailgun_sha: "68642a8207d6f12543f244bab0c130e2510536ee"
  python-fuelclient_sha: "26fc025e0fc5791b62e5ed8561a6016bf8a406bc"
  fuel-agent_sha: "57145b1d8804389304cd04322ba0fb3dc9d30327"
  fuel-nailgun-agent_sha: "e01693992d7a0304d926b922b43f3b747c35964c"
  astute_sha: "e1d3a435e5df5b40cbfb1a3acf80b4176d15a2dc"
  fuel-library_sha: "1176b634eeafb8465a88ff357fdcf40005fba610"
  fuel-ostf_sha: "58220583f10fa47f12291488ef77854809c68310"
  fuelmain_sha: "67e5214c0dc5d4ba6da4ae651cef9934800459a9"

Changed in mos:
status: Fix Committed → Fix Released
Revision history for this message
Denis Meltsaykin (dmeltsaykin) wrote :

Won't fix for 6.x series as they are unsupported and there was no progress on the issue.

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.