novaclient tenant_id deprecation warning in ./prepare_functional_test.sh

Bug #1663082 reported by Sridhar Ramaswamy on 2017-02-09
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
tacker
Low
Hari

Bug Description

When ./prepare_functional_test.sh tool used to prepare a devstack to locally run dsvm test, throws following novaclient deprecation warnings:

$ ./prepare_functional_test.sh
WARNING: setting legacy OS_TENANT_NAME to support cli tools.
Disable nova compute instance & core quota
/usr/local/lib/python2.7/dist-packages/novaclient/client.py:278: UserWarning: The 'tenant_id' argument is deprecated in Ocata and its use may result in errors in future releases. As 'project_id' is provided, the 'tenant_id' argument will be ignored.
  warnings.warn(msg)
Disable neutron port quota on project 'nfv' 05a0e48d853346039b1a2c7b881eb922
neutron CLI is deprecated and will be removed in the future. Use openstack CLI instead.
+---------------------+-------+
| Field | Value |
+---------------------+-------+
| floatingip | 50 |
| flow_classifier | 100 |
| network | 10 |
| port | -1 |
| port_chain | 10 |
| port_pair | 100 |
| port_pair_group | 10 |
| rbac_policy | 10 |
| router | 10 |
| security_group | 10 |
| security_group_rule | 100 |
| subnet | 10 |
| subnetpool | -1 |
+---------------------+-------+
Adding nova key if not exist
/usr/local/lib/python2.7/dist-packages/novaclient/client.py:278: UserWarning: The 'tenant_id' argument is deprecated in Ocata and its use may result in errors in future releases. As 'project_id' is provided, the 'tenant_id' argument will be ignored.
  warnings.warn(msg)
...

Changed in tacker:
importance: Undecided → Low
milestone: none → ocata-3
Changed in tacker:
assignee: nobody → Ashish Kumar Singh (aksingh)
assignee: Ashish Kumar Singh (aksingh) → nobody
tags: added: low-hanging-fruit
Changed in tacker:
milestone: ocata-3 → pike-1
Hari (hosingh000) on 2017-02-15
Changed in tacker:
assignee: nobody → Hari (hosingh000)
Changed in tacker:
milestone: pike-1 → pike-2

In the file all commands except nova keypair-add are changed to use openstack cli. So the warnings mentioned in description are no longer valid.

Changed in tacker:
milestone: pike-2 → pike-3
Changed in tacker:
milestone: pike-3 → none
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers