← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1259533] Re: Cinder client is not mocked in tests

 

** Changed in: horizon
       Status: Fix Committed => Fix Released

** Changed in: horizon
    Milestone: None => icehouse-2

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1259533

Title:
  Cinder client is not mocked in tests

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  When running the Horizon test cases, I get the following lines in the
  console:

  Trying your patch leads me to: INFO:urllib3.connectionpool:Starting
  new HTTP connection (1): public.nova.example.com
  DEBUG:cinderclient.client:Connection refused:
  HTTPConnectionPool(host='public.nova.example.com', port=8776): Max
  retries exceeded with url: /v1/limits (Caused by <class
  'socket.gaierror'>: [Errno -2] Name or service not known)
  .INFO:urllib3.connectionpool:Starting new HTTP connection (1):
  public.nova.example.com DEBUG:cinderclient.client:Connection refused:
  HTTPConnectionPool(host='public.nova.example.com', port=8776): Max
  retries exceeded with url: /v1/limits (Caused by <class
  'socket.gaierror'>: [Errno -2] Name or service not known)
  .INFO:urllib3.connectionpool:Starting new HTTP connection (1):
  public.nova.example.com DEBUG:cinderclient.client:Connection refused:
  HTTPConnectionPool(host='public.nova.example.com', port=8776): Max
  retries exceeded with url: /v1/limits (Caused by <class
  'socket.gaierror'>: [Errno -2] Name or service not known)
  .INFO:urllib3.connectionpool:Starting new HTTP connection (1):
  public.nova.example.com DEBUG:cinderclient.client:Connection refused:
  HTTPConnectionPool(host='public.nova.example.com', port=8776): Max
  retries exceeded with url: /v1/limits (Caused by <class
  'socket.gaierror'>: [Errno -2] Name or service not known)

  It looks like Cinder client is not mocked.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1259533/+subscriptions


References