Ubuntu: Creation of ringbuilder files fails because of Permission Error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
puppet-swift |
Fix Released
|
Critical
|
Takashi Kajinami |
Bug Description
Currently scenario 002 job in Ubuntu is consistently failing because the following permission error is preventing the swift-ring-builder command from creating a builder file.
~~~
Traceback (most recent call last):
File "/usr/bin/
sys.
File "/usr/lib/
mkdir(
PermissionError: [Errno 13] Permission denied: '/etc/swift/
~~~
According to the output of `ls -la /etc/swift`, the /etc/swift directory is owned by root and the swift user does not have write access to the directory.
~~~
total 44
drwxr-x--- 5 root swift 4096 Jul 4 00:14 .
drwxr-xr-x 120 root root 4096 Jul 4 00:12 ..
drwxr-xr-x 2 swift swift 4096 Jul 4 00:14 account-server
-rw-r--r-- 1 swift swift 656 Jul 4 00:14 account-server.conf
drwxr-xr-x 2 swift swift 4096 Jul 4 00:14 container-server
-rw-r--r-- 1 swift swift 792 Jul 4 00:14 container-
-rw-r----- 1 root swift 625 Jul 4 00:14 object-expirer.conf
drwxr-xr-x 2 swift swift 4096 Jul 4 00:14 object-server
-rw-r--r-- 1 swift swift 822 Jul 4 00:14 object-server.conf
-rw-r--r-- 1 root root 2559 Jul 4 00:14 proxy-server.conf
-rw-r--r-- 1 root root 86 Jul 4 00:14 swift.conf
~~~
Changed in puppet-swift: | |
importance: | Undecided → Critical |
assignee: | nobody → Takashi Kajinami (kajinamit) |
Fix proposed to branch: master /review. opendev. org/c/openstack /puppet- swift/+ /848554
Review: https:/