OpenStack RDO + S3

Packstack(RDO) installation "sync db timeout" issue

version:

openstack-packstack-13.0.0-0.1.0rc1.el7.noarch
openstack-packstack-puppet-13.0.0-0.1.0rc1.el7.noarch

add timeout => 0, into /usr/share/openstack-puppet/modules/module/manifests/db/sync.pp, or set $db_sync_timeout = 300 to $db_sync_timeout = 0

For example:

# vim /usr/share/openstack-puppet/modules/nova/manifests/db/sync.pp
class nova::db::sync(
  $extra_params    = undef,
  $db_sync_timeout = 0,
)

Create ec2 credentials

# source keystonerc_admin
# openstack ec2 credentials create --project demo --user demo

swfit s3api configuration (openstack-rocky)

Set s3api before your auth in your pipeline in proxy-server.conf file. To enable all compatibility currently supported, you should make sure that bulk, slo, and your auth middleware are also included in your proxy pipeline setting.

[pipeline:main]
# Our traditional pipeline produces a cluster without any authentication,
# open to access by any client. This is almost always a very bad idea, and
# it's overridden by OSP Director, so it is likely to go away some time
# after Newton.
pipeline = catch_errors bulk healthcheck cache authtoken s3api s3token crossdomain ratelimit keystone formpost staticweb tempurl slo account_quotas container_quotas proxy-server


[filter:s3api]
use = egg:swift#s3api

[filter:s3token]
# s3token middleware authenticates with keystone using the s3 credentials
# provided in the request header. Please put s3token between s3api
# and keystoneauth if you're using keystoneauth.
use = egg:swift#s3token

# Prefix that will be prepended to the tenant to form the account
reseller_prefix = AUTH_

# By default, s3token will reject all invalid S3-style requests. Set this to
# True to delegate that decision to downstream WSGI components. This may be
# useful if there are multiple auth systems in the proxy pipeline.
delay_auth_decision = True

# Keystone server details. Note that this differs from how swift3 was
# configured: in particular, the Keystone API version must be included.
auth_uri = http://keystonehost:35357/v3

转载于:https://my.oschina.net/firxiao/blog/3041474

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值