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

    disable vswitch controller

    Scheduled Pinned Locked Moved Solved Xen Orchestra
    3 Posts 2 Posters 752 Views 1 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.
    • S Offline
      sb2014
      last edited by olivierlambert

      Hey,
      Is it possible to undo the activation of the SDN Controller.
      I have already deactivated it via the settings and plugins.
      However, I still get the error message.

      vif.set
      {
        "allowedIpv4Addresses": [
          "10.0.0.1"
        ],
        "allowedIpv6Addresses": [],
        "id": "123e4567-e89b-12d3-a456-426614174000"
      }
      {
        "code": "OPERATION_NOT_ALLOWED",
        "params": [
          "A vswitch controller is active"
        ],
        "call": {
          "method": "VIF.set_locking_mode",
          "params": [
            "OpaqueRef:123e4567-e89b-12d3-a456-426614174000",
            "locked"
          ]
        },
        "message": "OPERATION_NOT_ALLOWED(A vswitch controller is active)",
        "name": "XapiError",
        "stack": "XapiError: OPERATION_NOT_ALLOWED(A vswitch controller is active)
          at Function.wrap (file:///opt/xo/xo-builds/xen-orchestra-202402061623/packages/xen-api/_XapiError.mjs:16:12)
          at file:///opt/xo/xo-builds/xen-orchestra-202402061623/packages/xen-api/transports/json-rpc.mjs:35:21"
      }
      
      gskgerG 1 Reply Last reply Reply Quote 0
      • gskgerG Offline
        gskger Top contributor @sb2014
        last edited by gskger

        @sb2014 Did you try xe sdn-controller-forget uuid=<uuid of sdn-controller> at the console from Unable to set XCP-ng VIFs to Locked? Not the same issue, but maybe a solution.

        Could you please format the output in your post as code (insert ``` before and after the output)? This really helps with readability.

        S 1 Reply Last reply Reply Quote 0
        • S Offline
          sb2014 @gskger
          last edited by

          @gskger works thanks

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

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • First post
            Last post