发起问题

qubitrenegade 的档案 - activity

2020-02-21 02:14:23 -0500 获得奖牌  著名问题 (source)
2019-10-05 17:12:35 -0500 获得奖牌  热门的问题 (source)
2019-09-30 15:23:50 -0500 获得奖牌  受欢迎的问题 (source)
2019-09-29 16:06:47 -0500 回答问题 DevStack Homelab Network Configuration

Ok, the solution was to add a static route in the router to point to the floating subnet.

What I ended up doing was setting FLOATING_RANGE=10.10.0.0/24 then adding a static route in the modem pointing at 192.168.0.15 as the G/W.

This is a screenshot of my ZyXEL C2100Z router configuration page: https://i.imgur.com/Dtq0G4z.png

2019-09-28 12:39:26 -0500 评论问题 DevStack Homelab Network Configuration

Hmm... These docs: https://docs.openstack.org/devstack/latest/configuration.html (https://docs.openstack.org/devstack/l...)

Have different attributes:

#IPV4_ADDRS_SAFE_TO_USE=172.31.1.0/24
#FLOATING_RANGE=192.168.20.0/25

Though, I'm not sure that would really have any affect...

But, the FLOATING_RANGEdifferent subnet than host

2019-09-28 03:04:33 -0500 获得奖牌  编辑 (source)
2019-09-28 02:45:14 -0500 问了问题 DevStack Homelab Network Configuration

Hello,

I have a single host that I'd like to run DevStack on.

OS: 18.04.3 LTS (Bionic Beaver)
Kernel: Linux OpenStack 5.0.0-29-generic #31~18.04.1-Ubuntu SMP Thu Sep 12 18:29:21 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
CPU: AMD Ryzen 7 1800X Eight-Core Processor
RAM: 16GB
Disk:  /dev/mapper/ubuntu--vg-ubuntu--lv  916G   19G  860G   3% /
NIC: enp35s0, Intel Corporation I211 Gigabit Network Connection (rev 03)

https://docs.openstack.org/devstack/latest/guides/single-machine.html (I followed this doc). The installer runs, and I'm able to spin up VMs! This seems to create two networks "Public" and "Shared" (I do not seem to be able to assign a floating IP when a VM is attached to the shared network, that seems intentional?).

However, these are not reachable from outside of the host machine.

I set the following in my local.conf before running stack.sh

FLOATING_RANGE=192.168.0.128/26
FIXED_RANGE=10.11.12.0/24
HOST_IP=192.168.0.15

After creating DevStack, I created a few networks, subnets, and routers. Then for troubleshooting purposes I created an "allow all" to allow all TCP, UDP, and ICMP traffic. https://gitlab.com/qbrd-homelab/terraform/openstack/infrastructure (Terraform that I used to do so can be found here). https://gist.github.com/qubitrenegade/3fc1e9c3df595540ce3b2b42c97bbfc2 (I created a gist) of the out put from network, router, and port opentstack commands.

I'm doing this on my home network I created a https://i.imgur.com/K2teP5l.png (rough drawing) to illustrate what I have going on.

Home Subnet:  192.168.0.0/24
DHCP Range:  192.168.0.96-127
DHCP/DNS Server: 192.168.0.2

Host1: DevStack
IP: 192.168.0.15

VM1: Guest on DevStack
Network: prod01-network
IP: 192.168.100.30
Floating IP: 192.168.0.186

VM2: Guest on another host, all results are replicable from laptop and workstation (which is the host of VM2)
IP: 192.168.0.72

I am able to ping/ssh to the VM1 guest from Host1. I cannot ping/ssh from VM2 (external to DevStack) to VM1 (DevStack guest). I _can_ ping/ssh from VM1 (DevStack Guest) to VM2 (external to DevStack)

I performed the following connectivity tests:

Host1 -> VM1 Floating IP - 192.168.0.186, yes
Host1 -> Floating IP G/W -192.168.0.129, yes
Host1 -> VM1 IP - 192.168.100.30, negative
Host1 -> VM1 Gateway - 192.168.100.1, negative

VM2 -> ping VM1 Floating IP - 192.168.0.186, negative
VM2 -> ssh VM1 FLoating IP - 192.168.0.186, negative
VM2 -> ping Floating IP G/W -192.168.0.129, yes
VM2 -> VM1 IP - 192.168.100.30, negative
VM2 -> VM1 Gateway - 192.168.100.1, negative
VM2 -> curl -L 1.0.0.1, yes
VM2 -> Host1 - 192.168.0.15, yes

VM1 -> ping VM2 - 192.168.0.72, yes
VM1 -> ssh VM2 192.168.0.72, yes
VM1 -> ping 8.8.8.8 -> yes
VM1 -> ping google.com, negative "name ...
(more)
2019-01-21 09:53:38 -0500 获得奖牌  热门的问题 (source)
2019-01-21 09:53:38 -0500 获得奖牌  受欢迎的问题 (source)
2016-09-14 07:42:05 -0500 问了问题 CRITICAL nova SAXParseException <unknown>:12941:6: unclosed token

Hello,

I'm having trouble deploying VMs using the UI. In the UI I get the ever helpful "No hosts found 500" error. I get the following log in /var/logs/nova/nova-compute when creating the vm:

2016-09-13 19:46:52.540 1309 CRITICAL nova [-] SAXParseException: <unknown>:12941:6: unclosed token
2016-09-13 19:46:52.540 1309 TRACE nova Traceback (most recent call last):
2016-09-13 19:46:52.540 1309 TRACE nova   File "/usr/bin/nova-compute", line 10, in <module>
2016-09-13 19:46:52.540 1309 TRACE nova     sys.exit(main())
2016-09-13 19:46:52.540 1309 TRACE nova   File "/usr/lib/python2.7/dist-packages/nova/cmd/compute.py", line 72, in main
2016-09-13 19:46:52.540 1309 TRACE nova     db_allowed=CONF.conductor.use_local)
2016-09-13 19:46:52.540 1309 TRACE nova   File "/usr/lib/python2.7/dist-packages/nova/service.py", line 300, in create
2016-09-13 19:46:52.540 1309 TRACE nova     db_allowed=db_allowed)
2016-09-13 19:46:52.540 1309 TRACE nova   File "/usr/lib/python2.7/dist-packages/nova/service.py", line 170, in __init__
2016-09-13 19:46:52.540 1309 TRACE nova     self.manager = manager_class(host=self.host, *args, **kwargs)
2016-09-13 19:46:52.540 1309 TRACE nova   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 734, in __init__
2016-09-13 19:46:52.540 1309 TRACE nova     self.driver = driver.load_compute_driver(self.virtapi, compute_driver)
2016-09-13 19:46:52.540 1309 TRACE nova   File "/usr/lib/python2.7/dist-packages/nova/virt/driver.py", line 1393, in load_compute_driver
2016-09-13 19:46:52.540 1309 TRACE nova     virtapi)
2016-09-13 19:46:52.540 1309 TRACE nova   File "/usr/lib/python2.7/dist-packages/oslo_utils/importutils.py", line 50, in import_object_ns
2016-09-13 19:46:52.540 1309 TRACE nova     return import_class(import_value)(*args, **kwargs)
2016-09-13 19:46:52.540 1309 TRACE nova   File "/usr/lib/python2.7/dist-packages/nova/virt/vmwareapi/driver.py", line 159, in __init__
2016-09-13 19:46:52.540 1309 TRACE nova     self._session = VMwareAPISession(scheme=scheme)
2016-09-13 19:46:52.540 1309 TRACE nova   File "/usr/lib/python2.7/dist-packages/nova/virt/vmwareapi/driver.py", line 664, in __init__
2016-09-13 19:46:52.540 1309 TRACE nova     insecure=insecure)
2016-09-13 19:46:52.540 1309 TRACE nova   File "/usr/lib/python2.7/dist-packages/oslo_vmware/api.py", line 179, in __init__
2016-09-13 19:46:52.540 1309 TRACE nova     self._create_session()
2016-09-13 19:46:52.540 1309 TRACE nova   File "/usr/lib/python2.7/dist-packages/oslo_vmware/api.py", line 121, in func
2016-09-13 19:46:52.540 1309 TRACE nova     return evt.wait()
2016-09-13 19:46:52.540 1309 TRACE nova   File "/usr/lib/python2.7/dist-packages/eventlet/event.py", line 121, in wait
2016-09-13 19:46:52.540 1309 TRACE nova     return hubs.get_hub().switch()
2016-09-13 19:46:52.540 1309 TRACE nova   File "/usr/lib/python2.7/dist-packages/eventlet/hubs/hub.py", line 294, in switch
2016-09-13 19:46:52.540 1309 TRACE nova     return self.greenlet.switch()
2016-09-13 19:46:52.540 1309 ...
(more)
2016-09-14 07:42:05 -0500 问了问题 CRITICAL nova SAXParseException: <unknown>:12941:6: unclosed token when attempting to create instances

Hello,

I'm having trouble deploying VMs using the UI. In the UI I get the ever helpful "No hosts found 500" error. I get the following log in /var/logs/nova/nova-compute when creating the vm:

2016-09-13 19:46:52.540 1309 CRITICAL nova [-] SAXParseException: <unknown>:12941:6: unclosed token
2016-09-13 19:46:52.540 1309 TRACE nova Traceback (most recent call last):
2016-09-13 19:46:52.540 1309 TRACE nova   File "/usr/bin/nova-compute", line 10, in <module>
2016-09-13 19:46:52.540 1309 TRACE nova     sys.exit(main())
2016-09-13 19:46:52.540 1309 TRACE nova   File "/usr/lib/python2.7/dist-packages/nova/cmd/compute.py", line 72, in main
2016-09-13 19:46:52.540 1309 TRACE nova     db_allowed=CONF.conductor.use_local)
2016-09-13 19:46:52.540 1309 TRACE nova   File "/usr/lib/python2.7/dist-packages/nova/service.py", line 300, in create
2016-09-13 19:46:52.540 1309 TRACE nova     db_allowed=db_allowed)
2016-09-13 19:46:52.540 1309 TRACE nova   File "/usr/lib/python2.7/dist-packages/nova/service.py", line 170, in __init__
2016-09-13 19:46:52.540 1309 TRACE nova     self.manager = manager_class(host=self.host, *args, **kwargs)
2016-09-13 19:46:52.540 1309 TRACE nova   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 734, in __init__
2016-09-13 19:46:52.540 1309 TRACE nova     self.driver = driver.load_compute_driver(self.virtapi, compute_driver)
2016-09-13 19:46:52.540 1309 TRACE nova   File "/usr/lib/python2.7/dist-packages/nova/virt/driver.py", line 1393, in load_compute_driver
2016-09-13 19:46:52.540 1309 TRACE nova     virtapi)
2016-09-13 19:46:52.540 1309 TRACE nova   File "/usr/lib/python2.7/dist-packages/oslo_utils/importutils.py", line 50, in import_object_ns
2016-09-13 19:46:52.540 1309 TRACE nova     return import_class(import_value)(*args, **kwargs)
2016-09-13 19:46:52.540 1309 TRACE nova   File "/usr/lib/python2.7/dist-packages/nova/virt/vmwareapi/driver.py", line 159, in __init__
2016-09-13 19:46:52.540 1309 TRACE nova     self._session = VMwareAPISession(scheme=scheme)
2016-09-13 19:46:52.540 1309 TRACE nova   File "/usr/lib/python2.7/dist-packages/nova/virt/vmwareapi/driver.py", line 664, in __init__
2016-09-13 19:46:52.540 1309 TRACE nova     insecure=insecure)
2016-09-13 19:46:52.540 1309 TRACE nova   File "/usr/lib/python2.7/dist-packages/oslo_vmware/api.py", line 179, in __init__
2016-09-13 19:46:52.540 1309 TRACE nova     self._create_session()
2016-09-13 19:46:52.540 1309 TRACE nova   File "/usr/lib/python2.7/dist-packages/oslo_vmware/api.py", line 121, in func
2016-09-13 19:46:52.540 1309 TRACE nova     return evt.wait()
2016-09-13 19:46:52.540 1309 TRACE nova   File "/usr/lib/python2.7/dist-packages/eventlet/event.py", line 121, in wait
2016-09-13 19:46:52.540 1309 TRACE nova     return hubs.get_hub().switch()
2016-09-13 19:46:52.540 1309 TRACE nova   File "/usr/lib/python2.7/dist-packages/eventlet/hubs/hub.py", line 294, in switch
2016-09-13 19:46:52.540 1309 TRACE nova     return self.greenlet.switch()
2016-09-13 19:46:52.540 1309 ...
(more)