← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1259533] [NEW] Cinder client is not mocked in tests

 

Public bug reported:

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.

** Affects: horizon
     Importance: Undecided
     Assignee: Cristian A Sanchez (cristian-a-sanchez)
         Status: New

** Changed in: horizon
     Assignee: (unassigned) => Cristian A Sanchez (cristian-a-sanchez)

-- 
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):
  New

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


Follow ups

References