Openstack/Devstack: console "Error code explanation: 404 = Nothing matches the given URI"
Linux - Virtualization and CloudThis forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Thank you.I make it .
1)
If I want to reinstall the control node (A), whether the compute nodes (B, C) previously installed on the control node (A) still need to be reinstalled,
if i don't need to re-install the compute nodes(B、C),If i still need to run /opt/stack/devstack/tools/ Discover_hosts.sh in node A.
2)
I have edited the local.conf in control node A(192.168.99.206) :
FIXED_RANGE=10.0.1.0/24,but i don't see anything change in network when i check the control node's dashboard.
Last edited by James Baldwin; 10-17-2019 at 09:31 PM.
I am sorry to bother you again.
Because I found that my OpenStack assigned an IP address to my instance, but when i opened the console and found that the IP of this virtual machine was not assigned.
when i opened the console and found that the IP of this virtual machine was not assigned.
Normally, instances get their IP addresses via DHCP. You either attached the instance to a network that doesn't enable DHCP, or something is wrong with your network or Neutron configuration.
Normally, instances get their IP addresses via DHCP. You either attached the instance to a network that doesn't enable DHCP, or something is wrong with your network or Neutron configuration.
1)Ubuntu server version is :18.04
2)50-cloud-init.yaml is this :
network:
ethernets:
eth0:
addresses: [192.168.99.206/16]
gateway4: 192.168.99.2
nameservers:
addresses: [202.112.144.236,202.112.144.246]
eth1:
addresses: [77.77.77.206/24]
version: 2
3)controller's local.conf is this :
[[local|localrc]]
To which network is the instance attached? Does this network have DHCP?
By the way, I am not sure, but I think that PUBLIC_NETWORK_GATEWAY should refer to the gateway for eth1. However this is unlikely to be related to your current problem.
Last edited by berndbausch; 10-22-2019 at 08:15 AM.
To which network is the instance attached? Does this network have DHCP?
By the way, I am not sure, but I think that PUBLIC_NETWORK_GATEWAY should refer to the gateway for eth1. However this is unlikely to be related to your current problem.
1)
I follow the page https://docs.openstack.org/devstack/...etworking.html
It says that
If you have 2 or more interfaces on your devstack server, you can allocate an interface to neutron to fully manage. This should not be the same interface you use to ssh into the devstack server itself.
This is done by setting with the PUBLIC_INTERFACE attribute.
2)
The instance attaches the network 192.168.0.0/16,public-subnet 192.168.0.0/16,i want it to access the external network.
this network(192.168.0.0/16) doesn't have DHCP.
3)
i don't set the gateway for eth1.
If i set it ,should i set IP address for eth1 in 192.168.x.x/16 or 77.77.77.x/24
1)
2)
The instance attaches the network 192.168.0.0/16,public-subnet 192.168.0.0/16,i want it to access the external network.
this network(192.168.0.0/16) doesn't have DHCP.
Well, that explains why the instance doesn't get an IP address.
Quote:
3)
i don't set the gateway for eth1.
If i set it ,should i set IP address for eth1 in 192.168.x.x/16 or 77.77.77.x/24
I'd say that depends on your settings outside of the cloud. Personally I have no experience with Devstack on a multihomed host.
If i use the OVS bridge to make the VM access the external network.The network must be DHCP.
External access and DHCP are two different things. DHCP is one method for getting an IP address (and by far the most commmon in a cloud), but for instances connected to the external network, you could use your own DHCP server outside of the cloud instead of Neutron's DHCP service. You can also set a static IP address in the VM (I don't know how common that is).
Why did you attach the instance to the external network? Normally, you attach them to a tenant network where DHCP is enabled. By default, Devstack sets up a tenant network named private, which is routed to the external network. This is where I would attach instances.
External access and DHCP are two different things. DHCP is one method for getting an IP address (and by far the most commmon in a cloud), but for instances connected to the external network, you could use your own DHCP server outside of the cloud instead of Neutron's DHCP service. You can also set a static IP address in the VM (I don't know how common that is).
Why did you attach the instance to the external network? Normally, you attach them to a tenant network where DHCP is enabled. By default, Devstack sets up a tenant network named private, which is routed to the external network. This is where I would attach instances.
You say:
Devstack sets up a tenant network named private, which is routed to the external network.
How to let the private network be routed to the external network.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.