Fix libcloud login, and add libcloud requirement to faafo
This commit is contained in:
		@@ -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)
 | 
			
		||||
 
 | 
			
		||||
@@ -28,4 +28,5 @@ flask-sqlalchemy
 | 
			
		||||
oslo.config
 | 
			
		||||
oslo.log
 | 
			
		||||
PrettyTable
 | 
			
		||||
kombu
 | 
			
		||||
kombu
 | 
			
		||||
apache-libcloud
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user