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

    PIF_VLAN_STILL_EXISTS

    Scheduled Pinned Locked Moved Xen Orchestra
    4 Posts 3 Posters 772 Views 3 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.
    • A Offline
      adriangabura
      last edited by adriangabura

      Hi,
      I noticed when I create a new PIF and assign a VLAN then want to delete it, I can't do it as long as it has a VLAN. But for example I had VLAN 1000 and I couldn't erase it to have None, and was getting the error PIF_VLAN_STILL_EXISTS. I had to instead write -1 in the VLAN field, then it cleared the VLAN. Otherwise I couldn't do it. I think it's a good place to have an info button or smth that says to delete you need to write -1. Thanks for your tool!!!

      77db5dc5-9fae-4a37-a09d-47ac0f373919-image.png

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

        Hi and thanks for the report. Indeed, we could probably add this in XO to automatically clear the VLAN field to remove it if we catch the PIF_VLAN_STILL_EXISTS exception.

        Any objection @julien-f ?

        julien-fJ 2 Replies Last reply Reply Quote 0
        • julien-fJ Offline
          julien-f Vates 🪐 Co-Founder XO Team @olivierlambert
          last edited by

          @olivierlambert I'm not very familiar with the way VLANs work, but frmo I understand, this should work, it will remove the PIF from the VLAN and then destroy it.

          1 Reply Last reply Reply Quote 0
          • julien-fJ Offline
            julien-f Vates 🪐 Co-Founder XO Team @olivierlambert
            last edited by

            @olivierlambert I can do it pretty easily, but there may be a good reason for XAPI to throw this error instead.

            1 Reply Last reply Reply Quote 0
            • First post
              Last post