Activity log for bug #1693466

Date Who What changed Old value New value Message
2017-05-25 10:10:34 zhanggang bug added bug
2017-05-25 10:10:41 zhanggang trove: assignee zhanggang (gangzh)
2017-05-25 10:14:03 zhanggang description location: trove/cluster/models.py Class Cluster method: rolling_configuration_update. if not (instance.configuration and instance.configuration.id != configuration_id): self.context.notification = ( DBaaSInstanceAttachConfiguration(self.context, **request_info)) with StartNotification(self.context, instance_id=instance.id, configuration_id=configuration_id): with EndNotification(self.context): instance.save_configuration(configuration) else: LOG.debug( "Node '%s' already has the configuration '%s' " "attached." % (instance.id, configuration_id)) if condition False means the instance has attached a configuration, but the configuration is not the one I want to attach. So, in else block, should use "instance.configuration.id" instead of "configuration_id, one is a attached configuration, one is a wanted configuration, and they are not the same. location: trove/cluster/models.py Class Cluster method: rolling_configuration_update.  if not (instance.configuration and      instance.configuration.id != configuration_id):    self.context.notification = (      DBaaSInstanceAttachConfiguration(self.context,                      **request_info))    with StartNotification(self.context,                instance_id=instance.id,                configuration_id=configuration_id):      with EndNotification(self.context):        instance.save_configuration(configuration)  else: LOG.debug( "Node '%(inst_id)s' already has the configuration " "'%(conf_id)s' attached.", {'inst_id': instance.id, 'conf_id': configuration_id}) if condition False means the instance has attached a configuration, but the configuration is not the one I want to attach. So, in else block, should use "instance.configuration.id" instead of "configuration_id, one is a attached configuration, one is a wanted configuration, and they are not the same.
2017-05-25 10:14:16 zhanggang description location: trove/cluster/models.py Class Cluster method: rolling_configuration_update.  if not (instance.configuration and      instance.configuration.id != configuration_id):    self.context.notification = (      DBaaSInstanceAttachConfiguration(self.context,                      **request_info))    with StartNotification(self.context,                instance_id=instance.id,                configuration_id=configuration_id):      with EndNotification(self.context):        instance.save_configuration(configuration)  else: LOG.debug( "Node '%(inst_id)s' already has the configuration " "'%(conf_id)s' attached.", {'inst_id': instance.id, 'conf_id': configuration_id}) if condition False means the instance has attached a configuration, but the configuration is not the one I want to attach. So, in else block, should use "instance.configuration.id" instead of "configuration_id, one is a attached configuration, one is a wanted configuration, and they are not the same. location: trove/cluster/models.py Class Cluster method: rolling_configuration_update.  if not (instance.configuration and      instance.configuration.id != configuration_id):    self.context.notification = (      DBaaSInstanceAttachConfiguration(self.context,                      **request_info))    with StartNotification(self.context,                instance_id=instance.id,                configuration_id=configuration_id):      with EndNotification(self.context):        instance.save_configuration(configuration)  else:       LOG.debug(                 "Node '%(inst_id)s' already has the configuration "                 "'%(conf_id)s' attached.",                {'inst_id': instance.id, 'conf_id': configuration_id}) if condition False means the instance has attached a configuration, but the configuration is not the one I want to attach. So, in else block, should use "instance.configuration.id" instead of "configuration_id, one is a attached configuration, one is a wanted configuration, and they are not the same.
2017-05-25 10:14:30 zhanggang description location: trove/cluster/models.py Class Cluster method: rolling_configuration_update.  if not (instance.configuration and      instance.configuration.id != configuration_id):    self.context.notification = (      DBaaSInstanceAttachConfiguration(self.context,                      **request_info))    with StartNotification(self.context,                instance_id=instance.id,                configuration_id=configuration_id):      with EndNotification(self.context):        instance.save_configuration(configuration)  else:       LOG.debug(                 "Node '%(inst_id)s' already has the configuration "                 "'%(conf_id)s' attached.",                {'inst_id': instance.id, 'conf_id': configuration_id}) if condition False means the instance has attached a configuration, but the configuration is not the one I want to attach. So, in else block, should use "instance.configuration.id" instead of "configuration_id, one is a attached configuration, one is a wanted configuration, and they are not the same. location: trove/cluster/models.py Class Cluster method: rolling_configuration_update.  if not (instance.configuration and      instance.configuration.id != configuration_id):    self.context.notification = (      DBaaSInstanceAttachConfiguration(self.context,                      **request_info))    with StartNotification(self.context,               instance_id=instance.id,               configuration_id=configuration_id):      with EndNotification(self.context):        instance.save_configuration(configuration)  else:       LOG.debug(                 "Node '%(inst_id)s' already has the configuration "                 "'%(conf_id)s' attached.",                {'inst_id': instance.id, 'conf_id': configuration_id}) if condition False means the instance has attached a configuration, but the configuration is not the one I want to attach. So, in else block, should use "instance.configuration.id" instead of "configuration_id, one is a attached configuration, one is a wanted configuration, and they are not the same.
2017-05-25 10:15:11 zhanggang description location: trove/cluster/models.py Class Cluster method: rolling_configuration_update.  if not (instance.configuration and      instance.configuration.id != configuration_id):    self.context.notification = (      DBaaSInstanceAttachConfiguration(self.context,                      **request_info))    with StartNotification(self.context,               instance_id=instance.id,               configuration_id=configuration_id):      with EndNotification(self.context):        instance.save_configuration(configuration)  else:       LOG.debug(                 "Node '%(inst_id)s' already has the configuration "                 "'%(conf_id)s' attached.",                {'inst_id': instance.id, 'conf_id': configuration_id}) if condition False means the instance has attached a configuration, but the configuration is not the one I want to attach. So, in else block, should use "instance.configuration.id" instead of "configuration_id, one is a attached configuration, one is a wanted configuration, and they are not the same. location: trove/cluster/models.py Class Cluster method: rolling_configuration_update. ******************************************************************************************  if not (instance.configuration and      instance.configuration.id != configuration_id):    self.context.notification = (      DBaaSInstanceAttachConfiguration(self.context,                      **request_info))    with StartNotification(self.context,               instance_id=instance.id,               configuration_id=configuration_id):      with EndNotification(self.context):        instance.save_configuration(configuration)  else:       LOG.debug(                 "Node '%(inst_id)s' already has the configuration "                 "'%(conf_id)s' attached.",                {'inst_id': instance.id, 'conf_id': configuration_id}) ****************************************************************************************** if condition False means the instance has attached a configuration, but the configuration is not the one I want to attach. So, in else block, should use "instance.configuration.id" instead of "configuration_id, one is a attached configuration, one is a wanted configuration, and they are not the same.
2017-05-25 10:15:45 zhanggang description location: trove/cluster/models.py Class Cluster method: rolling_configuration_update. ******************************************************************************************  if not (instance.configuration and      instance.configuration.id != configuration_id):    self.context.notification = (      DBaaSInstanceAttachConfiguration(self.context,                      **request_info))    with StartNotification(self.context,               instance_id=instance.id,               configuration_id=configuration_id):      with EndNotification(self.context):        instance.save_configuration(configuration)  else:       LOG.debug(                 "Node '%(inst_id)s' already has the configuration "                 "'%(conf_id)s' attached.",                {'inst_id': instance.id, 'conf_id': configuration_id}) ****************************************************************************************** if condition False means the instance has attached a configuration, but the configuration is not the one I want to attach. So, in else block, should use "instance.configuration.id" instead of "configuration_id, one is a attached configuration, one is a wanted configuration, and they are not the same. location: trove/cluster/models.py Class Cluster method: rolling_configuration_update. ******************************************************************************************  if not (instance.configuration and      instance.configuration.id != configuration_id):    self.context.notification = (      DBaaSInstanceAttachConfiguration(self.context,                      **request_info))    with StartNotification(self.context,               instance_id=instance.id,               configuration_id=configuration_id):      with EndNotification(self.context):        instance.save_configuration(configuration)  else:       LOG.debug(                 "Node '%(inst_id)s' already has the configuration "                 "'%(conf_id)s' attached.",                {'inst_id': instance.id, 'conf_id': configuration_id}) ****************************************************************************************** if condition False means the instance has attached a configuration, but the configuration is not the one I want to attach. So, in else block, should use "instance.configuration.id" instead of "configuration_id", one is a attached configuration, one is a wanted configuration, and they are not the same.
2017-05-26 18:34:14 Trevor McCasland trove: status New Confirmed
2017-05-26 18:37:01 Trevor McCasland trove: status Confirmed Invalid
2017-05-26 18:43:05 Trevor McCasland trove: status Invalid Confirmed
2017-05-31 07:02:00 OpenStack Infra trove: status Confirmed In Progress
2017-06-15 04:42:05 OpenStack Infra trove: status In Progress Fix Released