Ask Your Question
2

Horizon: Networks with nova-network

asked 2014-01-14 13:38:21 -0500

Mathias Ewald gravatar image

Hi, I am running a VlanManager configuration which is finally working. Now I installed Horizon and even got VNC to work (so proud of me :D). Now what I recognized is that I can create instances using Horizon but this does not work:

  1. I cannot create new networks within my project.
  2. I cannot select the networks an instance gets connected to. Instead instances I spawn get connected to all available networks.

What's going wrong?

cheers Mathias

edit retag flag offensive close merge delete

Comments

Can I ask, how you got Horizon to work? My Horizon installation (Havana / Ubuntu 12.04) tries to find Neutron, which I obviously do not have, as I'm using nova-network ([error] ConnectionFailed: Connection to neutron failed: Maximum attempts reached)

Sascha Vogt gravatar imageSascha Vogt ( 2014-01-15 02:09:05 -0500 )edit

Hi Sascha, I think all I did was follow the installation guide for Ubuntu. If you need any further assistance I can send you any config file you need.

Mathias Ewald gravatar imageMathias Ewald ( 2014-01-20 11:06:52 -0500 )edit

2 answers

Sort by ยป oldest newest most voted
1

answered 2014-01-14 17:20:57 -0500

SamYaple gravatar image

Congrats Mathias Ewald! That first setup certainly is an accomplishment.

Ill need a few extra details, but as far as it sounds you are on the right track.

  1. The user that you are logging into Horizon with, does it have the "admin" role? If not, can you create a user with one and see if you can create a network? Can you create another network from the command line?

  2. Do you mean the user has the ability to connect directly to the "ext-net" (or whatever you call your external network) and you dont want the user to be able to attach to that network? Please clarify that question for me a little bit.

edit flag offensive delete link more

Comments

Hi Sam, thanks :) Ok let me be clearer: Working on the command line, I go in as user "admin" and tenant "admin". My keystone knows two roles: admin and _member_ (no idea why I put the _ there, probably comes from some tutorial). "keystone user-role-list" tells me user "admin" has role "admin" in tenant "admin" :D brainfuck ... On the CLI I can easily create a network for my project also called "admin" :D for example like this: "nova network-create --fixed-range-v4 10.0.102.0/24 --gateway 10.0.102.1 --dns1 8.8.8.8 --dns2 8.8.8.8 --project-id 2575481bef7f4fde956202e3070fe688 network3" Then I can create an instance and connect it to that network (single NIC) using the "--nic net-id=" parameter of "nova boot". So from the CLI everything works as expected. In horizon I would like to be able to 1. create networks 2. attach instances to particular ...(more)

Mathias Ewald gravatar imageMathias Ewald ( 2014-01-15 02:15:01 -0500 )edit

I see. The issue is that since Grizzly release, Horizon no longer supports creating or managing nova-networks from Horizon. You will need to setup Neutron to manage this from Horizon dashboard.

SamYaple gravatar imageSamYaple ( 2014-01-15 08:32:49 -0500 )edit
1

answered 2014-01-20 05:59:25 -0500

jpichon gravatar image

For a long time, network management for nova-network was only possible to do with root commands (using nova-manage), therefore it was not possible to manage networks via Horizon. When the APIs to create networks were added to nova-network later on, Quantum/Neutron was already well supported in Horizon while nova-network was going toward deprecation, which is probably why no one made the effort to add support for network management with nova-network to Horizon.

I hope this helps to clarify things. You may need to switch to using Neutron if you would like the ability to manage networks via the dashboard.

edit flag offensive delete link more

Comments

HI jpichion, thanks for the explanation. So it's just not implemented. I would love to switch over to neutron but I am running VMware and as far as I know (PLEASE prove me wrong) Neutron + VMware means I need Nicira (probably NSX by now) or Plumgrid. Both is unecessary for my use case and damn expensive, too :D All I need is VLANs with some routing, nat, etc.

Mathias Ewald gravatar imageMathias Ewald ( 2014-01-20 11:09:45 -0500 )edit

I wish I could give you a definite answer but I'm afraid I don't know. I would encourage you to ask this in a separate question and/or on the usage mailing list. Best of luck!

jpichon gravatar imagejpichon ( 2014-01-21 09:19:38 -0500 )edit

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: 2014-01-14 13:38:21 -0500

Seen: 1,028 times

Last updated: Jan 20 '14