Joe: I don't think this is correct. it is using OS_TENANT_NAME as the name of the tenant, but falling back to NOVA_PROJECT_ID because in older versions nova id and name were equivalent. You used to be able to set NOVA_PROJECT_ID in your env for old versions of nova-client, so that fallback is only there for compatibility reasons.
Joe: I don't think this is correct. it is using OS_TENANT_NAME as the name of the tenant, but falling back to NOVA_PROJECT_ID because in older versions nova id and name were equivalent. You used to be able to set NOVA_PROJECT_ID in your env for old versions of nova-client, so that fallback is only there for compatibility reasons.