← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1461158] [NEW] image table throws errrors into log files trying to display size attr

 

Public bug reported:

I am seeing the images table fill up our log file with messages that are
completely useless / silly.  There should be a getattr() with a default
to None so this type of situation is more gracefully handled.


2015-06-01 20:50:11,741 32061 WARNING horizon.tables.base ^[[31;1mThe attribute size doesn't exist on <Image {u'status': u'queued', u'name': u'testImageName_27765-201502260914540762', u'deleted': False, u'container_format': u'bare', u'created_at': u'2015-02-26T16:14:56', u'disk_format': u'qcow2', u'updated_at': u'2015-02-26T16:49:14', u'id': u'58d63ece-d06c-4245-8b8b-e9236bb10470', u'owner': u'fae517f867cb4ddd867e108630f7b6fe', u'protected': False, u'min_ram': 0, u'min_disk': 0, u'is_public': False, 'properties': {}}>.^[[0m
2015-06-01 20:50:42,434 32062 WARNING horizon.tables.base ^[[31;1mThe attribute size doesn't exist on <Image {u'status': u'queued', u'name': u'testImageName_47390-201503121921360259', u'deleted': False, u'container_format': u'bare', u'created_at': u'2015-03-13T01:21:37', u'disk_format': u'qcow2', u'updated_at': u'2015-03-13T01:28:28', u'id': u'cf24fcb2-7c9f-4f49-93dc-ef1d16730a7b', u'owner': u'64a102112a124298aacd23e3afa8894e', u'protected': False, u'min_ram': 0, u'min_disk': 0, u'is_public': False, 'properties': {}}>.^[[0m
2015-06-01 20:50:42,434 32063 WARNING horizon.tables.base ^[[31;1mThe attribute size doesn't exist on <Image {u'status': u'queued', u'name': u'testImageName_27765-201502260914540762', u'deleted': False, u'container_format': u'bare', u'created_at': u'2015-02-26T16:14:56', u'disk_format': u'qcow2', u'updated_at': u'2015-02-26T16:49:14', u'id': u'58d63ece-d06c-4245-8b8b-e9236bb10470', u'owner': u'fae517f867cb4ddd867e108630f7b6fe', u'protected': False, u'min_ram': 0, u'min_disk': 0, u'is_public': False, 'properties': {}}>.^[[0m
2015-06-01 20:51:13,339 32062 WARNING horizon.tables.base ^[[31;1mThe attribute size doesn't exist on <Image {u'status': u'queued', u'name': u'testImageName_27765-201502260914540762', u'deleted': False, u'container_format': u'bare', u'created_at': u'2015-02-26T16:14:56', u'disk_format': u'qcow2', u'updated_at': u'2015-02-26T16:49:14', u'id': u'58d63ece-d06c-4245-8b8b-e9236bb10470', u'owner': u'fae517f867cb4ddd867e108630f7b6fe', u'protected': False, u'min_ram': 0, u'min_disk': 0, u'is_public': False, 'properties': {}}>.^[[0m

** Affects: horizon
     Importance: Undecided
         Status: New


** Tags: low-hanging-fruit

** Tags added: low-hanging-fruit

-- 
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/1461158

Title:
  image table throws errrors into log files trying to display size attr

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  I am seeing the images table fill up our log file with messages that
  are completely useless / silly.  There should be a getattr() with a
  default to None so this type of situation is more gracefully handled.

  
  2015-06-01 20:50:11,741 32061 WARNING horizon.tables.base ^[[31;1mThe attribute size doesn't exist on <Image {u'status': u'queued', u'name': u'testImageName_27765-201502260914540762', u'deleted': False, u'container_format': u'bare', u'created_at': u'2015-02-26T16:14:56', u'disk_format': u'qcow2', u'updated_at': u'2015-02-26T16:49:14', u'id': u'58d63ece-d06c-4245-8b8b-e9236bb10470', u'owner': u'fae517f867cb4ddd867e108630f7b6fe', u'protected': False, u'min_ram': 0, u'min_disk': 0, u'is_public': False, 'properties': {}}>.^[[0m
  2015-06-01 20:50:42,434 32062 WARNING horizon.tables.base ^[[31;1mThe attribute size doesn't exist on <Image {u'status': u'queued', u'name': u'testImageName_47390-201503121921360259', u'deleted': False, u'container_format': u'bare', u'created_at': u'2015-03-13T01:21:37', u'disk_format': u'qcow2', u'updated_at': u'2015-03-13T01:28:28', u'id': u'cf24fcb2-7c9f-4f49-93dc-ef1d16730a7b', u'owner': u'64a102112a124298aacd23e3afa8894e', u'protected': False, u'min_ram': 0, u'min_disk': 0, u'is_public': False, 'properties': {}}>.^[[0m
  2015-06-01 20:50:42,434 32063 WARNING horizon.tables.base ^[[31;1mThe attribute size doesn't exist on <Image {u'status': u'queued', u'name': u'testImageName_27765-201502260914540762', u'deleted': False, u'container_format': u'bare', u'created_at': u'2015-02-26T16:14:56', u'disk_format': u'qcow2', u'updated_at': u'2015-02-26T16:49:14', u'id': u'58d63ece-d06c-4245-8b8b-e9236bb10470', u'owner': u'fae517f867cb4ddd867e108630f7b6fe', u'protected': False, u'min_ram': 0, u'min_disk': 0, u'is_public': False, 'properties': {}}>.^[[0m
  2015-06-01 20:51:13,339 32062 WARNING horizon.tables.base ^[[31;1mThe attribute size doesn't exist on <Image {u'status': u'queued', u'name': u'testImageName_27765-201502260914540762', u'deleted': False, u'container_format': u'bare', u'created_at': u'2015-02-26T16:14:56', u'disk_format': u'qcow2', u'updated_at': u'2015-02-26T16:49:14', u'id': u'58d63ece-d06c-4245-8b8b-e9236bb10470', u'owner': u'fae517f867cb4ddd867e108630f7b6fe', u'protected': False, u'min_ram': 0, u'min_disk': 0, u'is_public': False, 'properties': {}}>.^[[0m

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


Follow ups

References