settingsLogin | Registersettings

[Openstack] openstack heat multi tenant scenario

0 votes

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!

  1. 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.


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
asked Oct 10, 2017 in openstack by Charls_D._Chap (180 points)  

1 Response

0 votes

I could't have a stack with the SAME name "mystack" for different tenants,
and i did specify OSPROJECTNAME.

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.Fox@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:
OSPROJECTNAME=TenantA openstack stack create "mystack"
OSPROJECTNAME=TenantB openstack stack create "mystack"

Thanks,
Kevin


From: Charls D. Chap [chapcharls@gmail.com]
Sent: Tuesday, October 10, 2017 5:17 AM
To: openstack-hpc@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!

  1. 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@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
responded Oct 11, 2017 by Charls_D._Chap (180 points)  
...