[openstack-hpc] openstack heat multi tenant scenario

Fox, Kevin M Kevin.Fox at pnnl.gov
Tue Oct 10 15:51:07 UTC 2017


A heat stack belongs to one tenant. It works as you describe below.

You just have to specify which tenant to run which command under. like:
OS_PROJECT_NAME=TenantA openstack stack create "mystack"
OS_PROJECT_NAME=TenantB openstack stack create "mystack"

Thanks,
Kevin
________________________________________
From: Charls D. Chap [chapcharls at gmail.com]
Sent: Tuesday, October 10, 2017 5:17 AM
To: openstack-hpc at lists.openstack.org; openstack at lists.openstack.org
Subject: [openstack-hpc] openstack heat multi tenant scenario

Scenario:
-DomainA (TenantA, TenantB)
-TenantA(userA)
-TenantB(userB)
- A template which start OS:NOVA:SERVERS

1. Is it possible two run simultaneously the same openstack stack
create command?
2.
a. how can i specify that i want, in the first case, the VMs of the
stack, beloging to TenantA
and in the second case to TenantB
b. for the OS::NOVA::SERVER as fas as i can see there is no such
property to Distinguish project names

c. I want to achieve something like this
openstack stack create "mystack" for TenantA
openstack stack create "mystack" for TenantB
 openstack server list for TenantA
            VM1 RUNNING
            VM2 RUNNING
            ....
openstack server list for TenantB
            VM1 RUNNING
            VM2 RUNNING
            ....

So THE SAME VMs for both Tenants!

3. In the end, how is multi-tenancy achieved?
So far, I have achieved it, by having two different stack names,
tenantA and tenantB correspondingly, which take as input the same template,
with the same parameters.

_______________________________________________
OpenStack-HPC mailing list
OpenStack-HPC at lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-hpc



More information about the OpenStack-HPC mailing list