← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1286959] Re: stack.updated_time is None

 

We have just changed what is stored in the updated_at field; it now
represents the time that the stack had an update operation performed on
it. This means that updated_time will often be None.

Horizon needs to expect a None updated_time, and its probably not
appropriate to even have an Updated column on displayed tables.

** Also affects: horizon
   Importance: Undecided
       Status: New

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

Title:
  stack.updated_time is None

Status in Orchestration API (Heat):
  New
Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  I did a DevStack install, around 22:42 on 2 March 2013 UTC.  I used
  horizon to create a stack.  The creation eventually finished
  successfully, but the stack's "updated_time" field always held None.
  I suppose this is pretty bad for lots of reasons.  The one I noticed
  is that it crashes horizon's page for listing stacks.  I captured the
  crash output at http://paste.openstack.org/show/71561/.  Here is an
  excerpt:

  /opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/tables/base.py
  in get_data

                                   self.display_choices

                                   if value.lower() == (data or
  '').lower()]

              if display_value:

                  data = display_value[0]

              else:

                  for filter_func in self.filters:

                      data = filter_func(data)

      ...

              if data and self.truncate:

                  data = truncatechars(data, self.truncate)

              self.table._data_cache[self][datum_id] = data

  ▼ Local vars
  Variable 	Value
  datum_id 	

  u'210b2c04-395d-41ce-bb17-0ca3bc0e0361'

  filter_func

  <function timesince at 0x7f16807c81b8>

  self

  <Column: updated>

  datum

  <Stack {u'description': u'A HOT template that holds an ASRG of a
  stack\n', u'links': [{u'href':
  u'http://10.10.0.24:8004/v1/1175b4cf027f494faa3cd99102ccb59a/stacks/mjs-s1/210b2c04
  -395d-41ce-bb17-0ca3bc0e0361', u'rel': u'self'}],
  u'stack_status_reason': u'Stack CREATE started', u'stack_name':
  u'mjs-s1', u'creation_time': u'2014-03-02T23:05:59Z', u'updated_time':
  None, u'stack_status': u'CREATE_IN_PROGRESS', u'id': u'210b2c04-395d-
  41ce-bb17-0ca3bc0e0361'}>

  data

  ''

  display_value

  None

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