XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Cannot deploy new XOA with a static IP address

    Scheduled Pinned Locked Moved Solved Xen Orchestra
    3 Posts 2 Posters 668 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J Offline
      JeffBerntsen Top contributor
      last edited by JeffBerntsen

      I just tried deploying a new XOA VM to test out the new XO 5.92 and ran into problems trying to deploy it with a static IP address.

      No errors are given deploying either via the web form or the deployment script and I can specify static addressing, IP, gateway, netmask, and DNS without any problem. No matter what I enter, the XOA always uses DHCP addressing.

      The next thing I tried was deploying via an import of the XVA file and setting the addresses as VM parameters which also had the same problem.

      My next attempt was to deploy using DHCP addressing and enabling SSH (which did work) then log in via SSH and use the xoa network static cli command and had the same problem.

      I eventually looked at the /etc/network/interfaces file and output from the ip addr command and discovered that the network interface is named enX0 while the parameters are being set for network interface eth0. Manually editing the file and changing eth0 to enX0 corrected the problem and now the static address assignment is working.

      I suspect either whatever configuration script or program is there is always setting a configuration for the wrong network interface name, eth0 instead of enX0 or there is something configured to rename the network interface to eth0 that isn't working correctly.

      1 Reply Last reply Reply Quote 0
      • olivierlambertO Offline
        olivierlambert Vates 🪐 Co-Founder CEO
        last edited by

        Good catch, we'll fix that ASAP 🙂

        1 Reply Last reply Reply Quote 0
        • olivierlambertO Offline
          olivierlambert Vates 🪐 Co-Founder CEO
          last edited by

          JeffBerntsen it's now fixed!

          1 Reply Last reply Reply Quote 1
          • olivierlambertO olivierlambert marked this topic as a question on
          • olivierlambertO olivierlambert has marked this topic as solved on
          • First post
            Last post