Swift Installation Error

Tim Burke tburke at nvidia.com
Mon Sep 28 22:35:06 UTC 2020


On 9/28/20 12:11 AM, WALSH CHANG wrote:
> *External email: Use caution opening links or attachments*
> 
> 
> To whom it may concern,
> 
> I am very new to OpenStack.
> I had an error when I install the Swift service.
> Error trying to load config from /etc/swift/proxy-server.conf: Entry 
> point 'proxy\naccount_autocreate = True' not found in egg 'swift' (dir: 
> /usr/lib/python2.7/dist-packages; protocols: paste.app_factory, 
> paste.composite_factory, paste.composit_factory; entry_points: )
> 
> Just wondering if it's ok to have storage node and controller node on 
> the same device.
> I use the controller node as the storage node, and use the flash drive 
> as the storage space.
> 
> Not sure if this is the reason for the error.
> It will be very appreciated if someone can provide some suggestions.
> 
> Kind regards,
> Walsh
> 

Any chance there's an extra space at the start of the line? Like

[app:proxy-server]
use = egg:swift#proxy
  allow_account_management = True

instead of

[app:proxy-server]
use = egg:swift#proxy
allow_account_management = True

? Looks like the leading space will invoke some line folding in the 
config parser.

As far as running storage and proxy services on the same box (or VM, or 
whatever), that should work fine -- in fact, it's a fairly common setup 
even for large clusters.

Hope it helps,
Tim



More information about the openstack-discuss mailing list