DeprecationWarnings that had to be corrected in Juno release

Bug #1385310 reported by Peter Razumovsky
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Heat
Fix Released
Low
Unassigned

Bug Description

When I run tox -epy27, I get next DeprecationWarnings:

heat/engine/service.py:346: DeprecationWarning: The "instance_user" option in heat.conf is deprecated and will be removed in the Juno release.
  'release.', DeprecationWarning)
heat/engine/service.py:346: DeprecationWarning: The "instance_user" option in heat.conf is deprecated and will be removed in the Juno release.
  'release.', DeprecationWarning)
heat/engine/service.py:346: DeprecationWarning: The "instance_user" option in heat.conf is deprecated and will be removed in the Juno release.
  'release.', DeprecationWarning)
heat/engine/service.py:346: DeprecationWarning: The "instance_user" option in heat.conf is deprecated and will be removed in the Juno release.
  'release.', DeprecationWarning)
heat/engine/service.py:346: DeprecationWarning: The "instance_user" option in heat.conf is deprecated and will be removed in the Juno release.
  'release.', DeprecationWarning)

Also, beside these warnings there are another DeprecationWarnings:

heat/engine/environment.py:223: UserWarning: OS::Heat::CWLiteAlarm is deprecated, use OS::Ceilometer::Alarm instead.
  warnings.warn(six.text_type(info.value.support_status.message))
heat/engine/environment.py:223: UserWarning: RouterGateway resource is deprecated and should not be used. Instead use the `external_gateway_info` property in the router resource to set up the gateway.
  warnings.warn(six.text_type(info.value.support_status.message))

heat/engine/resources/neutron/neutron.py:153: UserWarning: neutron.NeutronResource.get_secgroup_uuids is deprecated. Use self.client_plugin("neutron").get_secgroup_uuids
  warnings.warn('neutron.NeutronResource.get_secgroup_uuids is '
heat/engine/environment.py:223: UserWarning: OS::Heat::CWLiteAlarm is deprecated, use OS::Ceilometer::Alarm instead.
  warnings.warn(six.text_type(info.value.support_status.message))

How do you think:
1) whether it is time to correct DeprecationWarnings of Juno release?
2) Is there any reason not to correct other DeprecationWarnings?

Changed in heat:
assignee: nobody → Razumovsky Peter (prazumovsky)
Revision history for this message
Steven Hardy (shardy) wrote :

We should've removed the "instance_user" option in Juno like we said we would, so I guess the only thing to do is to remove it in Kilo, e.g now.

For the CWLiteAlarm warning, I don't think there is anything to do, as we're not ready to remove that resource yet.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to heat (master)

Fix proposed to branch: master
Review: https://review.openstack.org/131518

Changed in heat:
status: New → In Progress
Changed in heat:
assignee: Razumovsky Peter (prazumovsky) → nobody
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on heat (master)

Change abandoned by Peter Razumovsky (<email address hidden>) on branch: master
Review: https://review.openstack.org/131518
Reason: dupe of https://review.openstack.org/#/c/103928/

Angus Salkeld (asalkeld)
Changed in heat:
status: In Progress → Triaged
Angus Salkeld (asalkeld)
Changed in heat:
importance: Undecided → Low
Revision history for this message
Peter Razumovsky (prazumovsky) wrote :

Currently no DeprecationWarning raises, so -> Fix Released.

Changed in heat:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.