~rackspace-titan/nova/api-profiling

« back to all changes in this revision

Viewing changes to nova/scheduler/zone_manager.py

  • Committer: Tarmac
  • Author(s): Sandy Walsh
  • Date: 2011-06-16 01:16:39 UTC
  • mfrom: (1182.1.4 novaclient_project_id)
  • Revision ID: tarmac-20110616011639-imd9bzgvw9vubo2k
novaclient changed to support projectID in authentication. Caused some minor issues with distributed scheduler. This fixes them up.

Show diffs side-by-side

added added

removed removed

Lines of Context:
89
89
 
90
90
def _call_novaclient(zone):
91
91
    """Call novaclient. Broken out for testing purposes."""
92
 
    client = novaclient.OpenStack(zone.username, zone.password, zone.api_url)
 
92
    client = novaclient.OpenStack(zone.username, zone.password, None,
 
93
                                  zone.api_url)
93
94
    return client.zones.info()._info
94
95
 
95
96