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

    Proxmox only root user works

    Scheduled Pinned Locked Moved Virtual Environments
    4 Posts 2 Posters 114 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.
    • A Offline
      adam.wyzgol
      last edited by

      Hi, what I'm doing wrong when I'm unable to connect proxmox on another user then root. On root everything works fine but when I created anoter user for Storware I have below exception on inventory sync. I added /usr/sbin to Storware user profile PATH, when I'm using that user to connect with ssh brctl command is found but for some reason it's not working from Storware.

      eu.storware.vprotect.engine.remote.ssh.exception.SshExecException: Failed to execute remote command: [LC_ALL=C brctl show], return code: 127, error: [bash: line 1: brctl: command not found
      ]
      	at eu.storware.vprotect.engine.remote.ssh.connector.DefaultSshConnector.exec(DefaultSshConnector.java:318) ~[engine.jar:?]
      	at eu.storware.vprotect.engine.remote.ssh.connector.DefaultSshConnector.exec(DefaultSshConnector.java:263) ~[engine.jar:?]
      	at eu.storware.vprotect.engine.remote.ssh.connector.DefaultSshConnector.exec(DefaultSshConnector.java:248) ~[engine.jar:?]
      	at eu.storware.vprotect.engine.hypervisor.proxmox.ProxmoxHypervisor.listNetworks(ProxmoxHypervisor.java:149) ~[engine.jar:?]
      	at eu.storware.vprotect.engine.task.InventorySyncTask.lambda$getNetworks$14(InventorySyncTask.java:488) ~[engine.jar:?]
      	at java.util.Optional.orElseGet(Optional.java:364) ~[?:?]
      	at eu.storware.vprotect.engine.task.InventorySyncTask.getNetworks(InventorySyncTask.java:488) ~[engine.jar:?]
      	at eu.storware.vprotect.engine.task.InventorySyncTask.syncAndUpdateProgress(InventorySyncTask.java:258) ~[engine.jar:?]
      	at eu.storware.vprotect.engine.task.InventorySyncTask.lambda$updateProgress$1(InventorySyncTask.java:253) ~[engine.jar:?]
      	at java.util.stream.ReduceOps$1ReducingSink.accept(ReduceOps.java:80) ~[?:?]
      	at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1625) ~[?:?]
      	at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509) ~[?:?]
      	at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499) ~[?:?]
      	at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:921) ~[?:?]
      	at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:?]
      	at java.util.stream.ReferencePipeline.reduce(ReferencePipeline.java:667) ~[?:?]
      	at eu.storware.vprotect.engine.task.InventorySyncTask.updateProgress(InventorySyncTask.java:253) ~[engine.jar:?]
      	at eu.storware.vprotect.engine.task.InventorySyncTask.syncHypervisor(InventorySyncTask.java:200) ~[engine.jar:?]
      	at eu.storware.vprotect.engine.task.InventorySyncTask.run(InventorySyncTask.java:107) [engine.jar:?]
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) [?:?]
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) [?:?]
      	at java.lang.Thread.run(Thread.java:840) [?:?]
      
      
      1 Reply Last reply Reply Quote 0
      • A Offline
        a.spinek Storware Professional Services
        last edited by

        Hi, Proxmox usually requires the use of a root account (most of the command line tools are currently root only). Therefore, we also recommend using a root account to connect with Storware.
        As a workaround, you can try to add this user to the sudo group, but we do not guarantee that all functions will work properly. Such a scenario was never tested and is not supported.

        1 Reply Last reply Reply Quote 0
        • A Offline
          adam.wyzgol
          last edited by

          thanks for response, so maybe it will be good to add that to documentation? also would be nice to add comment in UI where it's field for user, could be nice to have warning that only root is fully tested and with other users something could goes wrong.

          1 Reply Last reply Reply Quote 0
          • A Offline
            a.spinek Storware Professional Services
            last edited by

            Thank you for your suggestion. I will submit a request to update the documentation accordingly.

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