openstack team mailing list archive
Mailing list archive
Re: Single IP Pool and Multiple Tenant
Floating-ip-create is a user command that allocates a floating ip to a
tenant. It pulls it out of the pool so other tenants cannot use it.
Floating IPS are available for all projects. Any user can allocate an IP
and then associate it.
On Feb 1, 2013 7:35 PM, "Umar Draz" <unix.co@xxxxxxxxx> wrote:
> 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@n1ca>"
> export OS_AUTH_URL="http://126.96.36.199:5000/v2.0/"
> export ADMIN_PASSWORD="plainJet <b0j@n1ca>"
> export SERVICE_PASSWORD="plainJet <b0j@n1ca>"
> export SERVICE_TOKEN="78ddf99"
> export SERVICE_ENDPOINT="http://188.8.131.52: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?
> On Sat, Feb 2, 2013 at 6:27 AM, Vishvananda Ishaya <vishvananda@xxxxxxxxx>wrote:
>> What do you mean it isn't visible?
>> you should be able to do:
>> nova floating-ip-create mypool
>> as any user.
>> On Feb 1, 2013, at 10:29 AM, Umar Draz <unix.co@xxxxxxxxx> 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 184.108.40.206/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
>> Mailing list: https://launchpad.net/~openstack
>> Post to : openstack@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~openstack
>> More help : https://help.launchpad.net/ListHelp
> Umar Draz
> Network Architect