openstack-discuss

openstack-discuss@lists.openstack.org

July 2021

  • 138 participants
  • 242 discussions
Fwd: DPDK+OVS with OpenStack
by Mark Wittling 23 Apr '25

23 Apr '25
Looking for someone who knows OpenStack with OpenVSwitch, and in additionto that, DPDK with OpenStack and OVS.I am using OpenStack Queens, withOpenVSwitch. The architecture I am using is documented here:https://docs.openstack.org/neutron/queens/admin/deploy-ovs-provider.htmlTheOVS I am using on the Compute Node, is compiled with DPDK, and I haveenabled the datapath to netdev (DPDK) on br-prv (provider network bridge),and br-tun (tunneling bridge). But these two bridges, br-tun and br-prv,are patched into another OpenStack bridge, called br-int. I wasn’t actuallysure about whether to tinker with this bridge, and wondered what datapathit was using.Then, I realized there is a parameter in theopenvswitch_agent.ini file, which I will list here:# OVS datapath to use. 'system' is the default value and corresponds to the# kernel datapath. To enable the userspace datapath set this value to 'netdev'.# (string value)# Possible values:# system - <No description provided># netdev - <No description provided>#datapath_type = systemdatapath_type = netdevSo in tinkering with this, what I realized, is that when you set thisdatapath_type to system or netdev, it will adjust the br-int bridge to thatdatapath type.So here is my question. How can I launch a non-DPDK VM, ifall of the bridges are using the netdev datapath type?Here is anotherquestion. What if one of the flavors don’t have the largepages property seton them? I assumed OpenStack would revert to a system datapath and not useDPDK for those VM interfaces. Well, I found out in testing, that is not thecase. If you set all your bridges up for netdev, and you don’t set theproperty on the Flavor of the VM (largepages), the VM will launch, but itsimply won’t work.Is there no way, on a specific Compute Host, to supportboth DPDK (netdev datapaths) and non-DPDK (system datapaths)?Either on a VMinterface level (VM has one interface that is netdev DPDK and another thatis system datapath non-DPDK)?Or on a VM by VM basis (VM 1 has 1 or morenetdev datapath interfaces and VM 2 has 1 or more system datapathinterfaces)?Am I right here? Once you set up a Compute Host for DPDK, it’sDPDK or nothing on that Compute Host? (edited)
3 2
0 0
How to config DPDK compute in OVN
by dangerzone ar 22 Apr '25

22 Apr '25
Hi....as far I understand ovs does support dpdk compute to be deployed. I'mreferring to the guideline '*https://docs.openstack.org/networking-ovn/queens/admin/dpdk.html<https://docs.openstack.org/networking-ovn/queens/admin/dpdk.html>* ' ...It's too brief.. May I know how to config dpdk compute in OVN networkingopenstack? Hope someone could help what is the config to be done....Currently compute is run without dpdk over openstack train ovn based.Please need some info on how I can proceed. Thank you
2 1
0 0
Live migration fails
by Szabo, Istvan (Agoda) 06 Aug '24

06 Aug '24
Hi,I have couple of compute nodes where the live migration fails with existing vms.When I quickly spawn a vm and try live migration it works so I assume shouldn't be a big problem with the compute node.However I have many existing vms where it fails with a servername not found./var/log/nova/nova-conductor.log:2021-04-21 14:47:12.605 227612 ERROR nova.conductor.tasks.migrate [req-f4067a26-a233-4673-8c07-9a8a290980b0 dce35e6eceea4312bb0baa0510cef363 ca7e35079f4440c78bd9870724b9638b - default default] [instance: 1517a2ac-3b51-4d8d-80b3-89a5614d1ae0] Unable to find record for source node servername on servername: ComputeHostNotFound: Compute host servername could not be found./var/log/nova/nova-conductor.log:2021-04-21 14:47:12.605 227612 WARNING nova.scheduler.utils [req-f4067a26-a233-4673-8c07-9a8a290980b0 dce35e6eceea4312bb0baa0510cef363 ca7e35079f4440c78bd9870724b9638b - default default] Failed to compute_task_migrate_server: Compute host servername could not be found.: ComputeHostNotFound: Compute host servername could not be found./var/log/nova/nova-conductor.log:2021-04-21 14:47:12.605 227612 WARNING nova.scheduler.utils [req-f4067a26-a233-4673-8c07-9a8a290980b0 dce35e6eceea4312bb0baa0510cef363 ca7e35079f4440c78bd9870724b9638b - default default] [instance: 1517a2ac-3b51-4d8d-80b3-89a5614d1ae0] Setting instance to ACTIVE state.: ComputeHostNotFound: Compute host servername could not be found./var/log/nova/nova-conductor.log:2021-04-21 14:47:12.672 227612 ERROR oslo_messaging.rpc.server [req-f4067a26-a233-4673-8c07-9a8a290980b0 dce35e6eceea4312bb0baa0510cef363 ca7e35079f4440c78bd9870724b9638b - default default] Exception during message handling: ComputeHostNotFound: Compute host am-osfecn-4025Tried with this command:nova live-migration --block-migrate id.Any idea?Thank you.________________________________This message is confidential and is for the sole use of the intended recipient(s). It may also be privileged or otherwise protected by copyright or other legal rules. If you have received it by mistake please let us know by reply email and delete it from your system. It is prohibited to copy this message or disclose its content to anyone. Any confidentiality or privilege is not waived or lost by any mistaken delivery or unauthorized disclosure of the message. All messages sent to and from Agoda may be monitored to ensure compliance with company policies, to protect the company's interests and to remove potential malware. Electronic messages may be intercepted, amended, lost or deleted, or contain viruses.
5 16
0 0
[all] Dynamic Zuul results table in Gerrit 3
by Radosław Piliszek 04 Aug '22

04 Aug '22
Hello Fellow OpenStack and OpenDev Folks!TL;DR click on [3] and enjoy.I am starting this thread to not hijack the discussion happening on [1].First of all, I would like to thank gibi (Balazs Gibizer) for hackinga way to get the place to render the table in the first place (punintended).I have been a long-time-now user of [2].I have improved and customised it for myself but never really got toshare back the changes I made.The new Gerrit obviously broke the whole script so it was of no use toshare at that particular state.However, inspired by gibi's work, I decided to finally sit down andfix it to work with Gerrit 3 and here it comes: [3].Works well on Chrome with Tampermonkey. Not tested others.I hope you will enjoy this little helper (I do).I know the script looks super fugly but it generally boils down to amix of styles of 3 people and Gerrit having funky UI rendering.Finally, I'd also like to thank hrw (Marcin Juszkiewicz) for linkingme to the original Michel's script in 2019.[1]http://lists.openstack.org/pipermail/openstack-discuss/2020-November/019051…[2]https://opendev.org/x/coats/src/commit/444c95738677593dcfed0cfd9667d4c4f0d5…[3]https://gist.github.com/yoctozepto/7ea1271c299d143388b7c1b1802ee75eKind regards,-yoctozepto
5 7
0 0
[all] PyCharm Licenses Renewed till July 2021
by Swapnil Kulkarni 13 Jul '22

13 Jul '22
Hello,Happy to inform you the open source developer license for Pycharm has beenrenewed for 1 additional year till July 2021.Best Regards,Swapnil Kulkarnicoolsvap at gmail dot com
8 13
0 0
Hello Openstack-Discuss,after some digging I found out that cinder learned to resize attached (in-use) volumes quite a while ago with the introductionof the initial "extend 'in-use' volume" feature:https://review.opendev.org/c/openstack/cinder/+/454287/The support was then extended to also cover Ceph RBD backed volumes with:https://review.opendev.org/c/openstack/nova/+/613039/Since this is only about the cinder part, I was wondering if nova would ever find out and would actively rescan the device / volume and quintessentially present an increased new size to the guest. Apparently this is where a certain volume-extended event comes into play:https://review.opendev.org/c/openstack/nova/+/454322/ that is to be emitted by cinder when a volume had been extened.I then went head and tried this with the openstack cli (as Horizon does not seem to support / offer to resize in-use volumes.I run Openstack Train with Ceph RBD as storage. First I ran into an issue with the openstack cli (https://bugs.launchpad.net/cinder/+bug/1871759/comments/2 <https://bugs.launchpad.net/cinder/+bug/1871759/comments/2>) but using   cinder extend $volumeid $newsizeI was able to resize in-use volumes just fine.The only thing missing was the propagation to the guest. I played around with SCSI rescans, but that did not work, reboots also failed to do anyting in this regards. Stopping and starting the VM did work, but why having the capability to online-resize an attached volume when not being able to resize the guest volume as well?Apparently there seems to be an old and somewhat similar observation / bug withhttps://bugs.launchpad.net/nova/+bug/1369465So I was simply wondering if this is expected to be working?Are there any special settings / options I need to set to enable this feature?Thanks and with kind regardsChristian
4 9
0 0
All,A few years ago I asked a question[1] about why nova, when given a hw_architecture property from glance for an image, would not end up using the correct qemu-system-xx binary when starting the guest process on a compute node if that compute nodes architecture did not match the proposed guest architecture. As an example, if we had all x86 hosts, but wanted to run an emulated ppc guest, we should be able to do that given that at least one compute node had qemu-system-ppc already installed and libvirt was successfully reporting that as a supported architecture to nova. It seemed like a heavy lift at the time, so it was put on the back burner.I am now in a position to fund a contract developer to make this happen, so the question is: would this be a useful blueprint that would potentially be accepted? Most of the time when people want to run an emulated guest they would just nest it inside of an already running guest of the native architecture, but that severely limits observability and the task of managing any more than a handful of instances in this manner quickly becomes a tangled nightmare of networking, etc. I see real benefit in allowing this scenario to run natively so all of the tooling that exists for fleet management 'just works'. This would also be a significant differentiator for OpenStack as a whole.Thoughts?[1]http://lists.openstack.org/pipermail/openstack-operators/2018-August/015653…Chris ApseyDirector | Georgia Cyber RangeGEORGIA CYBER CENTER100 Grace Hopper Lane | Augusta, Georgia | 30901https://www.gacybercenter.org
2 2
0 0
We've seen issues in some projects, whereby attempting to build translations aspart of the 'openstack-tox-docs' zuul job [1] can result in the followingwarning: Warning, treated as error: ../doc/source/contributor/contributing.rst::rST localisation for language "id" not found.Based on [2], this issue appears to have been introduced by a recent versionbump of docutils, which was in turn introduced by the introduction of Sphinx4.x.We don't have a resolution for this bug yet but we'll update when we do.Hopefully this email will improve the "Google'ability" of this bug.Stephen[1]https://opendev.org/openstack/openstackdocstheme/src/commit/08461c5311aa692…[2]https://lists.freebsd.org/pipermail/freebsd-ports/2021-April/120848.html
2 2
0 0
[docs] Double headings on every page
by Peter Matulis 04 Nov '21

04 Nov '21
Hi, I'm hitting an oddity in one of my projects where the titles of allpages show up twice.Example:https://docs.openstack.org/project-deploy-guide/charm-deployment-guide/wall…Source file is here:https://opendev.org/openstack/charm-deployment-guide/src/branch/master/depl…Does anyone see what can be causing this? It appears to happen only for thecurrent stable release ('wallaby') and 'latest'.Thanks,Peter
5 6
0 0
[all][tc] Yoga TC-PTG Planning
by Ghanshyam Mann 20 Oct '21

20 Oct '21
Hello Everyone,As you already know that the Yoga cycle virtual PTG will be held between 18th - 22nd October[1].To plan the Technical Committee PTG sessions, please do the following:1. Fill the below doodle poll as per your availability. Please fill it soon as deadline to book the slot is 21th July.-https://doodle.com/poll/6dfdmdfi4s8wc7cd 2. Add the topics you would like to discuss to the below etherpad.-https://etherpad.opendev.org/p/tc-yoga-ptg NOTE: this is not limited to TC members only; I would like all community members tofill the doodle poll and, add the topics you would like or want TC members to discuss in PTG.[1]http://lists.openstack.org/pipermail/openstack-discuss/2021-July/023540.html-gmann
1 2
0 0