Monster
    Storware Backup & Recovery
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Problem doing Inventory of a KVM machine

    Scheduled Pinned Locked Moved Virtual Environments
    4 Posts 2 Posters 696 Views
    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.
    • V Offline
      vicemats
      last edited by

      I am somewhat of a newbie when it comes to Linux and I get errors when I try to add a Hypervisor and doing the Inventory.

      When I execute the sync I get the following error

      Synchronization task failed: ExternalAPIException: Failed to execute remote command: [LC_ALL=C sudo virsh net-list --all --name], return code: 1, error: [sudo: a terminal is required to read the password; either use the -S option to read from standard ...

      I change the sudoers file to include username ALL=(ALL) NOPASSWD: /usr/bin/virsh (changed username to the one i am using)

      I am not sure how I need to proceed. Anybody have any advice for me?

      1 Reply Last reply Reply Quote 0
      • K Offline
        krzysztof.sz Storware Professional Services
        last edited by

        Hi!

        Thank for your post.

        Could you tell me which user do you use to connect to your KVM host?

        Regards

        V 1 Reply Last reply Reply Quote 0
        • V Offline
          vicemats @krzysztof.sz
          last edited by

          @krzysztof-sz I use a added user that is in the sudo group. I can run the commands without problems from a terminal window

          What i added in the sudoers xxxxxx

          xxxxxx ALL=(ALL) NOPASSWD: /usr/bin/virsh

          1 Reply Last reply Reply Quote 0
          • K Offline
            krzysztof.sz Storware Professional Services
            last edited by

            Hi!

            Did you try use that KB? There are few additional steps.

            KB10025

            Regards
            Krzysztof

            1 Reply Last reply Reply Quote 0
            • adminA admin locked this topic on
            • First post
              Last post