Ask Your Question
0

multi projects

asked 2011-04-12 12:29:56 -0500

jon-whiteheat gravatar image

Hi,

I've got a single machine 'cloud', with dashboard installed - and as far as I can tell, it's working.

I've currently got one project, and wanted to add another. Here's an example of what I did for the first:-

/usr/bin/python /usr/bin/nova-manage user admin user

/usr/bin/python /usr/bin/nova-manage project create project-one user

/usr/bin/python /usr/bin/nova-manage network create 10.0.0.0/24 1 255

I then created the required credentials:-

mkdir -p /root/creds/nova/

/usr/bin/python /usr/bin/nova-manage project zipfile project-one user /root/creds/nova/novacreds.zip

unzip /root/creds/nova/novacreds.zip -d /root/creds/nova/

cat /root/creds/nova/novarc >> ~/.bashrc

source ~/.bashrc

From both the terminal and dashboard view all was looking shiny. I then wanted to add another project, so I did the following:-

/usr/bin/python /usr/bin/nova-manage user admin user

/usr/bin/python /usr/bin/nova-manage project create project-two user

/usr/bin/python /usr/bin/nova-manage network create 10.0.10.0/24 1 255

I then created the required credentials:-

mkdir -p /root/creds/nimbus/

/usr/bin/python /usr/bin/nova-manage project zipfile project-two user /root/creds/nimbus/nimbuscreds.zip

unzip /root/creds/nimbus/nimbuscreds.zip -d /root/creds/nimbus/

cat /root/creds/nimbus/novarc >> ~/.bashrc

source ~/.bashrc

From dashboard, I could see titles of both projects, but under both project titles where the same instances. My problem, therefore, is that each project is not unique. How should I properly manage projects?

edit retag flag offensive close merge delete

3 answers

Sort by ยป oldest newest most voted
0

answered 2011-04-12 14:30:23 -0500

vishvananda gravatar image

First of all, if you create project networks separately like that, you need to specify a different vlan for each network. The reason you can see all of the instances is because you made both users admins. You can use nova-manage user create instead of user admin to create regular users. You can also do nova-manage user modify user "" "" F to turn an admin into a regular user. On Apr 12, 2011 7:30 AM, "nimda" question152533@answers.launchpad.net wrote:

New question #152533 on OpenStack Compute (nova): https://answers.launchpad.net/nova/+q...

Hi,

I've got a single machine 'cloud', with dashboard installed - and as far as I can tell, it's working.

I've currently got one project, and wanted to add another. Here's an example of what I did for the first:-

/usr/bin/python /usr/bin/nova-manage user admin user

/usr/bin/python /usr/bin/nova-manage project create project-one user

/usr/bin/python /usr/bin/nova-manage network create 10.0.0.0/24 1 255

I then created the required credentials:-

mkdir -p /root/creds/nova/

/usr/bin/python /usr/bin/nova-manage project zipfile project-one user

/root/creds/nova/novacreds.zip

unzip /root/creds/nova/novacreds.zip -d /root/creds/nova/

cat /root/creds/nova/novarc >> ~/.bashrc

source ~/.bashrc

From both the terminal and dashboard view all was looking shiny. I then wanted to add another project, so I did the following:-

/usr/bin/python /usr/bin/nova-manage user admin user

/usr/bin/python /usr/bin/nova-manage project create project-two user

/usr/bin/python /usr/bin/nova-manage network create 10.0.10.0/24 1 255

I then created the required credentials:-

mkdir -p /root/creds/nimbus/

/usr/bin/python /usr/bin/nova-manage project zipfile project-two user

/root/creds/nimbus/nimbuscreds.zip

unzip /root/creds/nimbus/nimbuscreds.zip -d /root/creds/nimbus/

cat /root/creds/nimbus/novarc >> ~/.bashrc

source ~/.bashrc

From dashboard, I could see titles of both projects, but under both project titles where the same instances. My problem, therefore, is that each project is not unique. How should I properly manage projects?


You received this question notification because you are a member of Nova Core, which is an answer contact for OpenStack Compute (nova).

edit flag offensive delete link more
0

answered 2011-04-12 15:38:52 -0500

jon-whiteheat gravatar image

They don't have to be on separate networks, especially if that means I'd need to use vLAN manager.

All I'd like to do is have a network pool if IP addresses, which I can then add uses to and give them a finite number of instances to launch/play with; which I can then allow them to use dashboard.

I'm not sure how to create credentials, and implement them, for multiple users; that's my cloud computing knowledge gap at the moment.

edit flag offensive delete link more
0

answered 2011-04-12 15:50:00 -0500

vishvananda gravatar image

Below

On Apr 12, 2011, at 8:38 AM, nimda wrote:

Question #152533 on OpenStack Compute (nova) changed: https://answers.launchpad.net/nova/+q...

Status: Answered => Open

nimda is still having a problem: They don't have to be on separate networks, especially if that means I'd need to use vLAN manager.

You can use FlatDHCPManager in that case and just use one network.

All I'd like to do is have a network pool if IP addresses, which I can then add uses to and give them a finite number of instances to launch/play with; which I can then allow them to use dashboard.

I'm not sure how to create credentials, and implement them, for multiple users; that's my cloud computing knowledge gap at the moment.

the user create will give each user a unique access and secret key.


You received this question notification because you are a member of Nova Core, which is an answer contact for OpenStack Compute (nova).

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2011-04-12 12:29:56 -0500

Seen: 16 times

Last updated: Apr 12 '11