I could't have a stack with the SAME name "mystack" for different tenants, and i did specify OS_PROJECT_NAME.
It prompts error message, that stack with the same name already exists... On Tue, Oct 10, 2017 at 6:51 PM, Fox, Kevin M <kevin....@pnnl.gov> wrote: > 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 [chapcha...@gmail.com] > Sent: Tuesday, October 10, 2017 5:17 AM > To: openstack-...@lists.openstack.org; openstack@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-...@lists.openstack.org > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-hpc _______________________________________________ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to : openstack@lists.openstack.org Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack