Fix libcloud login, and add libcloud requirement to faafo

This commit is contained in:
2025-07-08 12:04:54 +03:00
committed by Emin Arslan
parent 894fe53725
commit e465497714
2 changed files with 9 additions and 6 deletions

View File

@ -65,10 +65,12 @@ log.setup(CONF, 'api',
# Initialize Swift driver
Swift = get_driver(Provider.OPENSTACK_SWIFT)
driver = Swift(
user='CloudComp2',
key='demo',
tenant_name='CloudComp2',
auth_url='https://10.32.4.29:5000/v3',
'CloudComp2',
'demo',
ex_force_auth_url='https://10.32.4.29:5000/',
ex_force_auth_version='3.x_password',
ex_tenant_name='CloudComp2',
ex_domain_name='default',
)
# Ensure container exists
@ -230,4 +232,4 @@ def main():
exclude=['image'],
url_prefix='/v1',
allow_client_generated_ids=True)
app.run(host=CONF.listen_address, port=CONF.bind_port, debug=True)
app.run(host=CONF.listen_address, port=CONF.bind_port, debug=True)

View File

@ -28,4 +28,5 @@ flask-sqlalchemy
oslo.config
oslo.log
PrettyTable
kombu
kombu
apache-libcloud