Ask Your Question
0

network configuration questions

asked 2019-12-10 09:11:15 -0600

natiya gravatar image

updated 2019-12-10 10:33:45 -0600

I'd like to clarify a few points about the network configuration in Openstack:

1.- Can the public network be the same as my physical LAN network so I get access to internet? If not, what is it?

2.- I saw, from the dashboard, there is public network with an IP that doesn't belong to my LAN and I can't edit it. What's the purpose of this network? Can I delete it?

3.- I'm trying to create a public network using the official documentation of OpenStack but it's just explained to do it through CLI. I log in through SSH to my OpenStack but it seems I don't have permissions to input commands. What's the best way to do this? When I try to input commands through SSH or through the CentOS console, I get this type of message: "Missing value auth-url required for auth plugin password"

4.- Regarding to ports, do I need to have a port in my public network to connect to my physical network? If I'm using a CentOS VM in VMWare, how can I know the type of port I need to select?

I know it's a lot of stuff but I'm not able to launch any instance and I believe it's because my networks/subnetworks/ports configuration is wrong or incomplete. I'd just like to have a basic network configuration that works.

edit retag flag offensive close merge delete

Comments

How did you create this cloud?

Q1/2: Yes, usually an external network (public is not an OpenStack term) corresponds to a physical network outside of the cloud, but clouds created for testing, learning or POC often fake the external network.

Q3: What happens when you try to input commands?

Bernd Bausch gravatar imageBernd Bausch ( 2019-12-10 09:26:15 -0600 )edit

Q4: What do you mean by "port"? Neutron ports are used to connect routers, instances, DHCP servers etc to a network, not to associate an external network with a physical network.

Bernd Bausch gravatar imageBernd Bausch ( 2019-12-10 09:28:07 -0600 )edit

Q1: you can create same public network or u can have virtual router. Q2: Its default network you can delete it, its dummy one. Q3: source your keystone.rc file then run cli command. Q4: Normal type ovs.

piyushsrivastava gravatar imagepiyushsrivastava ( 2019-12-10 09:35:09 -0600 )edit

Thanks, guys!! To do this deployment, I followed this guide step by step: https://linuxhint.com/install_openstack_vmware_esxi/ (https://linuxhint.com/install_opensta...)

natiya gravatar imagenatiya ( 2019-12-10 10:34:54 -0600 )edit

When I input the commands through SSH or through the console of the CentOS, I get this messahe: "Missing value auth-url required for auth plugin password"

natiya gravatar imagenatiya ( 2019-12-10 10:37:09 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
1

answered 2019-12-10 16:42:12 -0600

You have installed Packstack, which creates an isolated, fake "external" network by default. You can connect it to a real external network instead, but this requires some work including reinstallation. I suggest you first familiarize yourself with OpenStack using your current installation before attempting this. When you reinstall, start with reinstallation of Centos.

I also recommend using the command line, not only the GUI. To run openstack commands, you first need to set a few shell variables by sourcing the keystonerc_admin file. This sets your identity as user admin and project admin. By default, Packstack also creates a demo user and demo project, but I think you have to create your own keystone_demofile. See also https://docs.openstack.org/mitaka/cli....

edit flag offensive delete link more

Comments

Thanks a lot, but at the moment, my issue is that I can't launch any instance. It ends with an error (for example:Port X is still in use.(HTTP 409)) or the error is a timeout, so I can't do anything. Have you got a step by step example which include the image to upload through the dashboard, please?

natiya gravatar imagenatiya ( 2019-12-11 02:22:25 -0600 )edit

There are step by step examples in the user guide.

Bernd Bausch gravatar imageBernd Bausch ( 2019-12-11 04:59:41 -0600 )edit

should I use the cli guide instead of the dashboard one? this one: https://docs.openstack.org/mitaka/user-guide/cli.html (https://docs.openstack.org/mitaka/use...) ?

natiya gravatar imagenatiya ( 2019-12-12 02:20:59 -0600 )edit

I would recommend it, yes. The GUI can be quicker and displays your network topology, but the CLI forces you to think more in my opinion. It also has the advantage that it is easier to share your steps with other people.

Bernd Bausch gravatar imageBernd Bausch ( 2019-12-12 02:59:32 -0600 )edit

ok! thanks a lot!

natiya gravatar imagenatiya ( 2019-12-12 03:56:45 -0600 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2019-12-10 09:11:15 -0600

Seen: 110 times

Last updated: Dec 10 '19