[Openstack] Single IP Pool and Multiple Tenant

Umar Draz unix.co at gmail.com
Sat Feb 2 03:35:37 UTC 2013


HI Vish,

I always connect my Controller or Compute node with root user for nova
commands and here is the .bashrc of root user

export OS_NO_CACHE=1
export OS_TENANT_NAME="admin"
export OS_USERNAME="admin"
export OS_PASSWORD="plainJet <b0j at n1ca>"
export OS_AUTH_URL="http://172.168.1.2:5000/v2.0/"
export ADMIN_PASSWORD="plainJet <b0j at n1ca>"
export SERVICE_PASSWORD="plainJet <b0j at n1ca>"
export SERVICE_TOKEN="78ddf99"
export SERVICE_ENDPOINT="http://172.168.1.2:35357/v2.0"
export SERVICE_TENANT_NAME="service"
According to above bashrc everything I do will be run as admin user.

1) Then how I can run nova commands for other users?
2) I don't want to run this floating-ip-create 50 times for my 50 tenant
3) Is there possible I just run this one time and it should be available
for all projects?

Br.

Umar

On Sat, Feb 2, 2013 at 6:27 AM, Vishvananda Ishaya <vishvananda at gmail.com>wrote:

> What do you mean it isn't visible?
>
> you should be able to do:
>
> nova floating-ip-create mypool
>
> as any user.
>
> Vish
>
> On Feb 1, 2013, at 10:29 AM, Umar Draz <unix.co at gmail.com> wrote:
>
> Hi All,
>
> I have 3 Tenant (admin, rebel, penguin). Also have 3 different users for
> these Tenants
>
> I have /25 network pool from my datacenter. I have created my default pool
> using this name
>
> nova-manage floating create --pool mypool --ip_range 73.63.93.128/25
>
> Now the problem is I can only see this pool in my admin user, rebel and
> penguin user's vms are unable to see this floating pool.
>
> I want this pool should be visible for all my tenant and I can allocate ip
> from this pool to any virtual machine regardless of tenant, is this
> possible?
>
> Br.
>
> Umar
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack at lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>
>
>


-- 
Umar Draz
Network Architect
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20130202/5240bd4c/attachment.html>


More information about the Openstack mailing list