[Openstack] [OpenStack] [Swift] How to install Swift3 middleware?
Alexandr Porunov
alexandr.porunov at gmail.com
Thu Oct 13 05:34:17 UTC 2016
No, I didn't.
I ran "python setup.py install" one more time. Here is the output:
http://paste.openstack.org/show/585535/
On Thu, Oct 13, 2016 at 8:21 AM, John van Ommen <john.vanommen at gmail.com>
wrote:
> To me, the errors you're receiving are indicative of the swift3
> package not installing correctly.
>
> When you ran that first step (setup.py), did you get errors?
>
> John
>
> On Wed, Oct 12, 2016 at 10:03 PM, Alexandr Porunov
> <alexandr.porunov at gmail.com> wrote:
> > Hello,
> >
> > It still doesn't work... The same error is shown. Maybe I missed
> something?
> > Maybe before the installation I had to done something or something else.
> I
> > tried different things to run it. But when we do have swift3 or/and
> s3token
> > in pipeline it doesn't work.
> >
> > Sincerely,
> > Alexandr
> >
> > On Thu, Oct 13, 2016 at 12:17 AM, Mark Kirkwood
> > <mark.kirkwood at catalyst.net.nz> wrote:
> >>
> >>
> >>
> >> On 13/10/16 06:26, Alexandr Porunov wrote:
> >>>
> >>> Hello,
> >>>
> >>> I want to use S3 api for Swift.
> >>>
> >>> I have installed swift3 as here:
> >>>
> >>> git clone https://github.com/openstack/swift3
> >>> cd swift3
> >>> python setup.py install
> >>>
> >>> Then I have configured my proxy-server.conf as here:
> >>>
> >>> [pipeline:main]
> >>> pipeline = catch_errors gatekeeper healthcheck proxy-logging cache
> >>> container_sync bulk ratelimit swift3 s3token authtoken keystoneauth
> >>> container-quotas account-quotas slo dlo versioned_writes proxy-logging
> >>> proxy-server
> >>>
> >>> [filter:swift3]
> >>> use = egg:swift3#swift3
> >>>
> >>> [filter:s3token]
> >>> use = egg:swift3#s3token
> >>> auth_uri = http://keystone:35357/
> >>> reseller_prefix = AUTH_
> >>>
> >>> Then I tried to restart the proxy:
> >>> systemctl restart openstack-swift-proxy
> >>>
> >>> And it failes.
> >>>
> >>>
> >>
> >> Yeah - for Mitaka (or thereabouts) onwards that s3token config needs to
> >> change:
> >>
> >> [filter:s3token]
> >> paste.filter_factory = keystoneclient.middleware.s3_
> token:filter_factory
> >> auth_uri = http://keystone:35357/
> >> reseller_prefix = AUTH_
> >>
> >> Alternatively the older port/protocol/host variables still work instead
> of
> >> auth_uri:
> >>
> >> [filter:s3token]
> >> paste.filter_factory = keystoneclient.middleware.s3_
> token:filter_factory
> >> auth_port = 35357
> >> auth_host = keystone
> >> auth_protocol = http
> >>
> >> The swift3 docs need updating, as it is not obvious what has gone wrong
> >> when you hit this.
> >>
> >> regards
> >>
> >> Mark
> >>
> >>
> >>
> >>
> >>
> >>
> >> _______________________________________________
> >> Mailing list:
> >> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> >> Post to : openstack at lists.openstack.org
> >> Unsubscribe :
> >> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> >
> >
> >
> > _______________________________________________
> > Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/
> openstack
> > Post to : openstack at lists.openstack.org
> > Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/
> openstack
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20161013/3e80a521/attachment.html>
More information about the Openstack
mailing list