Code Monkey home page Code Monkey logo

Comments (11)

numansiddique avatar numansiddique commented on August 22, 2024

@umago Do you have any comments here

from ovn.

umago avatar umago commented on August 22, 2024

Hi,

@M258 are you using an IPv4 address as the value of that option or a hostname ? Because just yesterday I saw a patch that is suppose to fix the data type of that option from "ipv4" to "string" in order to make it support hostnames as well. Maybe you are hitting this limitation, let me know.

You can find the patch fixing it here https://patchwork.ozlabs.org/project/openvswitch/patch/[email protected]/

from ovn.

M258 avatar M258 commented on August 22, 2024

Hi,

@M258 are you using an IPv4 address as the value of that option or a hostname ? Because just yesterday I saw a patch that is suppose to fix the data type of that option from "ipv4" to "string" in order to make it support hostnames as well. Maybe you are hitting this limitation, let me know.

You can find the patch fixing it here https://patchwork.ozlabs.org/project/openvswitch/patch/[email protected]/

Thanks for informing me about this patch,but it's not what I want。I want to use ovn dhcp to set “next server” in dhcp header to use pxe,not “tftp server” in dhcp options.

from ovn.

numansiddique avatar numansiddique commented on August 22, 2024

@M258 So you want the OVN dhcp to set dhcp next header to "tftp_server" option ?
If this is what RFC says and if we are not following it, we should fix it.

It should be straight forward to fix it.

Feel free to propose a patch. If not, I can look into it, but it has to wait before I clear my backlog.

Thanks

from ovn.

liuyuanfeng06 avatar liuyuanfeng06 commented on August 22, 2024

Has this problem been solved ? I meet the same problem when i start mlx cx6 pxe with ovn dhcp.

from ovn.

liuyuanfeng06 avatar liuyuanfeng06 commented on August 22, 2024

I want to use ovn DHCP to set the PXE server by using “ovn-nbctl dhcp-options-set-options [dhcp-option-id] tftp_server=X.X.X.X", but it dose't work.
It seems that ovn dosen't set DHCP “next server” as tftp_server. How to resove it?

mark

from ovn.

numansiddique avatar numansiddique commented on August 22, 2024

which version of OVN you're using ?

I thought that we have all the necessart bits in OVN to support PXE.

@umago You've any comments ?

Thanks

from ovn.

liuyuanfeng06 avatar liuyuanfeng06 commented on August 22, 2024

which version of OVN you're using ?

I thought that we have all the necessart bits in OVN to support PXE.

@umago You've any comments ?

Thanks
[root@arm01 ~]# ovn-sbctl --version
ovn-sbctl 20.12.1
Open vSwitch Library 2.14.90
DB Schema 20.12.0
[root@arm01 ~]#
[root@arm01 ~]#
[root@arm01 ~]# ovn-nbctl --version
ovn-nbctl 20.12.1
Open vSwitch Library 2.14.90
DB Schema 5.28.0

from ovn.

liuyuanfeng06 avatar liuyuanfeng06 commented on August 22, 2024

i catch 2 packets with dnsmasq service and ovn dhcp respectively. i find when i use dnsmasq , next server in dhcp ack has a value and can pxe normally .But when i use ovn dhcp,during pxe i get an error ‘Nothing to boot:No such file ’ ,and No value is assigened to next server in dhcp ack.

from ovn.

liuyuanfeng06 avatar liuyuanfeng06 commented on August 22, 2024

from ovn.

shylou avatar shylou commented on August 22, 2024

we had fixed it by ourselves, like this: put option 150 to siaddr.

from ovn.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.