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 # Initialize Swift driver
Swift = get_driver(Provider.OPENSTACK_SWIFT) Swift = get_driver(Provider.OPENSTACK_SWIFT)
driver = Swift( driver = Swift(
user='CloudComp2', 'CloudComp2',
key='demo', 'demo',
tenant_name='CloudComp2', ex_force_auth_url='https://10.32.4.29:5000/',
auth_url='https://10.32.4.29:5000/v3', ex_force_auth_version='3.x_password',
ex_tenant_name='CloudComp2',
ex_domain_name='default',
) )
# Ensure container exists # Ensure container exists
@ -230,4 +232,4 @@ def main():
exclude=['image'], exclude=['image'],
url_prefix='/v1', url_prefix='/v1',
allow_client_generated_ids=True) 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.config
oslo.log oslo.log
PrettyTable PrettyTable
kombu kombu
apache-libcloud