heat spewing many deprecation warnings during undercloud install

Bug #1933241 reported by Alex Schultz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Medium
Unassigned

Bug Description

When running undercloud install we're getting a wall of DeprecationWarnings now and the logs are 2+megs.

** Performing Heat stack create.. **
/usr/lib/python3.6/site-packages/oslo_utils/fnmatch.py:25: DeprecationWarning: Using the oslo.utils's 'fnmatch' module is deprecated, please use the stdlib 'fnmatch' module.
  "Using the oslo.utils's 'fnmatch' module is deprecated, "
/usr/lib/python3.6/site-packages/oslo_db/sqlalchemy/enginefacade.py:359: OsloDBDeprecationWarning: EngineFacade is deprecated; please use oslo_db.sqlalchemy.enginefacade
  self._legacy_facade = LegacyEngineFacade(None, _factory=self)
/usr/lib/python3.6/site-packages/debtcollector/renames.py:43: DeprecationWarning: Using the 'user_domain' argument is deprecated in version '2.18' and will be removed in version '3.0', please use the 'user_domain_id' argument instead
  return wrapped(*args, **kwargs)
/usr/lib/python3.6/site-packages/debtcollector/renames.py:43: DeprecationWarning: Using the 'project_domain' argument is deprecated in version '2.18' and will be removed in version '3.0', please use the 'project_domain_id' argument instead
  return wrapped(*args, **kwargs)
/usr/lib/python3.6/site-packages/heat/common/context.py:188: DeprecationWarning: Property 'user_domain' has moved to 'user_domain_id' in version '2.6' and will be removed in version '3.0'
  'user_domain': self.user_domain,
/usr/lib/python3.6/site-packages/heat/common/context.py:189: DeprecationWarning: Property 'project_domain' has moved to 'project_domain_id' in version '2.6' and will be removed in version '3.0'
  'project_domain': self.project_domain}
/usr/lib/python3.6/site-packages/heat/common/context.py:188: DeprecationWarning: Property 'user_domain' has moved to 'user_domain_id' in version '2.6' and will be removed in version '3.0'
  'user_domain': self.user_domain,
/usr/lib/python3.6/site-packages/heat/common/context.py:189: DeprecationWarning: Property 'project_domain' has moved to 'project_domain_id' in version '2.6' and will be removed in version '3.0'
  'project_domain': self.project_domain}
/usr/lib/python3.6/site-packages/heat/common/context.py:188: DeprecationWarning: Property 'user_domain' has moved to 'user_domain_id' in version '2.6' and will be removed in version '3.0'
  'user_domain': self.user_domain,
/usr/lib/python3.6/site-packages/heat/common/context.py:189: DeprecationWarning: Property 'project_domain' has moved to 'project_domain_id' in version '2.6' and will be removed in version '3.0'
  'project_domain': self.project_domain}
/usr/lib/python3.6/site-packages/heat/common/context.py:188: DeprecationWarning: Property 'user_domain' has moved to 'user_domain_id' in version '2.6' and will be removed in version '3.0'
  'user_domain': self.user_domain,
/usr/lib/python3.6/site-packages/heat/common/context.py:189: DeprecationWarning: Property 'project_domain' has moved to 'project_domain_id' in version '2.6' and will be removed in version '3.0'
  'project_domain': self.project_domain}
/usr/lib/python3.6/site-packages/oslo_policy/policy.py:785: UserWarning: Policy "actions:snapshot":"rule:deny_stack_user" was deprecated in W in favor of "actions:snapshot":"(role:admin and system_scope:all) or (role:member and project_id:%(project_id)s)". Reason:
The actions API now supports system scope and default roles.
. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.
  warnings.warn(deprecated_msg)
/usr/lib/python3.6/site-packages/oslo_policy/policy.py:785: UserWarning: Policy "actions:suspend":"rule:deny_stack_user" was deprecated in W in favor of "actions:suspend":"(role:admin and system_scope:all) or (role:member and project_id:%(project_id)s)". Reason:
The actions API now supports system scope and default roles.
. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.
  warnings.warn(deprecated_msg)
/usr/lib/python3.6/site-packages/oslo_policy/policy.py:785: UserWarning: Policy "actions:resume":"rule:deny_stack_user" was deprecated in W in favor of "actions:resume":"(role:admin and system_scope:all) or (role:member and project_id:%(project_id)s)". Reason:
The actions API now supports system scope and default roles.
. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.
  warnings.warn(deprecated_msg)
/usr/lib/python3.6/site-packages/oslo_policy/policy.py:785: UserWarning: Policy "actions:check":"rule:deny_stack_user" was deprecated in W in favor of "actions:check":"(role:reader and system_scope:all) or (role:reader and project_id:%(project_id)s)". Reason:
The actions API now supports system scope and default roles.
. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.
  warnings.warn(deprecated_msg)
/usr/lib/python3.6/site-packages/oslo_policy/policy.py:785: UserWarning: Policy "actions:cancel_update":"rule:deny_stack_user" was deprecated in W in favor of "actions:cancel_update":"(role:admin and system_scope:all) or (role:member and project_id:%(project_id)s)". Reason:
The actions API now supports system scope and default roles.
. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.
  warnings.warn(deprecated_msg)
/usr/lib/python3.6/site-packages/oslo_policy/policy.py:785: UserWarning: Policy "actions:cancel_without_rollback":"rule:deny_stack_user" was deprecated in W in favor of "actions:cancel_without_rollback":"(role:admin and system_scope:all) or (role:member and project_id:%(project_id)s)". Reason:
The actions API now supports system scope and default roles.
. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.
  warnings.warn(deprecated_msg)
/usr/lib/python3.6/site-packages/heat/common/context.py:188: DeprecationWarning: Property 'user_domain' has moved to 'user_domain_id' in version '2.6' and will be removed in version '3.0'
  'user_domain': self.user_domain,
/usr/lib/python3.6/site-packages/heat/common/context.py:189: DeprecationWarning: Property 'project_domain' has moved to 'project_domain_id' in version '2.6' and will be removed in version '3.0'
  'project_domain': self.project_domain}
/usr/lib/python3.6/site-packages/heat/common/context.py:188: DeprecationWarning: Property 'user_domain' has moved to 'user_domain_id' in version '2.6' and will be removed in version '3.0'
  'user_domain': self.user_domain,
/usr/lib/python3.6/site-packages/heat/common/context.py:189: DeprecationWarning: Property 'project_domain' has moved to 'project_domain_id' in version '2.6' and will be removed in version '3.0'
  'project_domain': self.project_domain}

https://storage.gra.cloud.ovh.net/v1/AUTH_dcaab5e32b234d56b626f72581e3644c/zuul_opendev_logs_8ec/797173/1/check/tripleo-ci-centos-8-undercloud-containers/8ec82fc/logs/undercloud/home/zuul/undercloud_install.log

Changed in tripleo:
milestone: xena-1 → xena-2
Revision history for this message
Alex Schultz (alex-schultz) wrote :
Changed in tripleo:
status: Triaged → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/heat 17.0.0.0rc1

This issue was fixed in the openstack/heat 17.0.0.0rc1 release candidate.

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.