Ubuntu server glusterfs and virt-manager












0














Trying to install glusterfs on 3 Ubuntu 18.04 servers.
Everything works if i add it to fstab and mount the volume.
No problem, read, write, delete. And it updates on the server.



If i add it to virt-manager, i can see the files, and delete existing images, but not create new ones.



if i try qemu-img, i get:



qemu-img create -f qcow2 gluster://gluster3/gv0/vm1.img 10G
qemu-img: gluster://gluster3/gv0/vm1.img: Unknown protocol 'gluster'


So close, but yet so far.










share|improve this question



























    0














    Trying to install glusterfs on 3 Ubuntu 18.04 servers.
    Everything works if i add it to fstab and mount the volume.
    No problem, read, write, delete. And it updates on the server.



    If i add it to virt-manager, i can see the files, and delete existing images, but not create new ones.



    if i try qemu-img, i get:



    qemu-img create -f qcow2 gluster://gluster3/gv0/vm1.img 10G
    qemu-img: gluster://gluster3/gv0/vm1.img: Unknown protocol 'gluster'


    So close, but yet so far.










    share|improve this question

























      0












      0








      0







      Trying to install glusterfs on 3 Ubuntu 18.04 servers.
      Everything works if i add it to fstab and mount the volume.
      No problem, read, write, delete. And it updates on the server.



      If i add it to virt-manager, i can see the files, and delete existing images, but not create new ones.



      if i try qemu-img, i get:



      qemu-img create -f qcow2 gluster://gluster3/gv0/vm1.img 10G
      qemu-img: gluster://gluster3/gv0/vm1.img: Unknown protocol 'gluster'


      So close, but yet so far.










      share|improve this question













      Trying to install glusterfs on 3 Ubuntu 18.04 servers.
      Everything works if i add it to fstab and mount the volume.
      No problem, read, write, delete. And it updates on the server.



      If i add it to virt-manager, i can see the files, and delete existing images, but not create new ones.



      if i try qemu-img, i get:



      qemu-img create -f qcow2 gluster://gluster3/gv0/vm1.img 10G
      qemu-img: gluster://gluster3/gv0/vm1.img: Unknown protocol 'gluster'


      So close, but yet so far.







      virtualization cluster virt-manager






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Dec 22 at 17:26









      m-momr

      12




      12






















          1 Answer
          1






          active

          oldest

          votes


















          1














          I ran into the EXACT same problem.
          I think the problem is qemu wasn't compiled with GlusterFS support (from the build log):




          ../configure --with-pkgversion="Debian 1:2.11+dfsg-1ubuntu7.9" --extra-cflags="-g -O2 -fdebug-prefix-map=/<>/qemu-2.11+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DCONFIG_QEMU_DATAPATH='"/usr/share/qemu:/usr/share/seabios:/usr/lib/ipxe/qemu"' -DVENDOR_UBUNTU" --extra-ldflags="-Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,--as-needed" --prefix=/usr --sysconfdir=/etc --libdir=/usr/lib/x86_64-linux-gnu --libexecdir=/usr/lib/qemu --localstatedir=/var --disable-blobs --disable-strip --interp-prefix=/etc/qemu-binfmt/%M --localstatedir=/var --disable-user
          --enable-system
          --enable-linux-user
          --enable-modules
          --enable-linux-aio --audio-drv-list=pa,alsa,oss --enable-attr --enable-bluez --enable-brlapi --enable-virtfs --enable-cap-ng --enable-curl --enable-fdt --enable-gnutls --disable-gtk --disable-vte --enable-libiscsi --enable-curses --enable-smartcard --enable-rbd --enable-rdma --enable-vnc-sasl --enable-seccomp --enable-spice --enable-libusb --enable-usb-redir --enable-xen --enable-xfsctl --enable-vnc --enable-vnc-jpeg --enable-vnc-png --enable-kvm --enable-vhost-net




          Which further reinforced by looking further down the log:




          GlusterFS support no




          (Full log here: qemu build log)



          If I'm wrong I'd be very happy to know about it.






          share|improve this answer








          New contributor




          Squigly is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.


















          • Thanks, i will look into it, and get back to you :)
            – m-momr
            14 hours ago











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "89"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1103840%2fubuntu-server-glusterfs-and-virt-manager%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          1














          I ran into the EXACT same problem.
          I think the problem is qemu wasn't compiled with GlusterFS support (from the build log):




          ../configure --with-pkgversion="Debian 1:2.11+dfsg-1ubuntu7.9" --extra-cflags="-g -O2 -fdebug-prefix-map=/<>/qemu-2.11+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DCONFIG_QEMU_DATAPATH='"/usr/share/qemu:/usr/share/seabios:/usr/lib/ipxe/qemu"' -DVENDOR_UBUNTU" --extra-ldflags="-Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,--as-needed" --prefix=/usr --sysconfdir=/etc --libdir=/usr/lib/x86_64-linux-gnu --libexecdir=/usr/lib/qemu --localstatedir=/var --disable-blobs --disable-strip --interp-prefix=/etc/qemu-binfmt/%M --localstatedir=/var --disable-user
          --enable-system
          --enable-linux-user
          --enable-modules
          --enable-linux-aio --audio-drv-list=pa,alsa,oss --enable-attr --enable-bluez --enable-brlapi --enable-virtfs --enable-cap-ng --enable-curl --enable-fdt --enable-gnutls --disable-gtk --disable-vte --enable-libiscsi --enable-curses --enable-smartcard --enable-rbd --enable-rdma --enable-vnc-sasl --enable-seccomp --enable-spice --enable-libusb --enable-usb-redir --enable-xen --enable-xfsctl --enable-vnc --enable-vnc-jpeg --enable-vnc-png --enable-kvm --enable-vhost-net




          Which further reinforced by looking further down the log:




          GlusterFS support no




          (Full log here: qemu build log)



          If I'm wrong I'd be very happy to know about it.






          share|improve this answer








          New contributor




          Squigly is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.


















          • Thanks, i will look into it, and get back to you :)
            – m-momr
            14 hours ago
















          1














          I ran into the EXACT same problem.
          I think the problem is qemu wasn't compiled with GlusterFS support (from the build log):




          ../configure --with-pkgversion="Debian 1:2.11+dfsg-1ubuntu7.9" --extra-cflags="-g -O2 -fdebug-prefix-map=/<>/qemu-2.11+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DCONFIG_QEMU_DATAPATH='"/usr/share/qemu:/usr/share/seabios:/usr/lib/ipxe/qemu"' -DVENDOR_UBUNTU" --extra-ldflags="-Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,--as-needed" --prefix=/usr --sysconfdir=/etc --libdir=/usr/lib/x86_64-linux-gnu --libexecdir=/usr/lib/qemu --localstatedir=/var --disable-blobs --disable-strip --interp-prefix=/etc/qemu-binfmt/%M --localstatedir=/var --disable-user
          --enable-system
          --enable-linux-user
          --enable-modules
          --enable-linux-aio --audio-drv-list=pa,alsa,oss --enable-attr --enable-bluez --enable-brlapi --enable-virtfs --enable-cap-ng --enable-curl --enable-fdt --enable-gnutls --disable-gtk --disable-vte --enable-libiscsi --enable-curses --enable-smartcard --enable-rbd --enable-rdma --enable-vnc-sasl --enable-seccomp --enable-spice --enable-libusb --enable-usb-redir --enable-xen --enable-xfsctl --enable-vnc --enable-vnc-jpeg --enable-vnc-png --enable-kvm --enable-vhost-net




          Which further reinforced by looking further down the log:




          GlusterFS support no




          (Full log here: qemu build log)



          If I'm wrong I'd be very happy to know about it.






          share|improve this answer








          New contributor




          Squigly is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.


















          • Thanks, i will look into it, and get back to you :)
            – m-momr
            14 hours ago














          1












          1








          1






          I ran into the EXACT same problem.
          I think the problem is qemu wasn't compiled with GlusterFS support (from the build log):




          ../configure --with-pkgversion="Debian 1:2.11+dfsg-1ubuntu7.9" --extra-cflags="-g -O2 -fdebug-prefix-map=/<>/qemu-2.11+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DCONFIG_QEMU_DATAPATH='"/usr/share/qemu:/usr/share/seabios:/usr/lib/ipxe/qemu"' -DVENDOR_UBUNTU" --extra-ldflags="-Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,--as-needed" --prefix=/usr --sysconfdir=/etc --libdir=/usr/lib/x86_64-linux-gnu --libexecdir=/usr/lib/qemu --localstatedir=/var --disable-blobs --disable-strip --interp-prefix=/etc/qemu-binfmt/%M --localstatedir=/var --disable-user
          --enable-system
          --enable-linux-user
          --enable-modules
          --enable-linux-aio --audio-drv-list=pa,alsa,oss --enable-attr --enable-bluez --enable-brlapi --enable-virtfs --enable-cap-ng --enable-curl --enable-fdt --enable-gnutls --disable-gtk --disable-vte --enable-libiscsi --enable-curses --enable-smartcard --enable-rbd --enable-rdma --enable-vnc-sasl --enable-seccomp --enable-spice --enable-libusb --enable-usb-redir --enable-xen --enable-xfsctl --enable-vnc --enable-vnc-jpeg --enable-vnc-png --enable-kvm --enable-vhost-net




          Which further reinforced by looking further down the log:




          GlusterFS support no




          (Full log here: qemu build log)



          If I'm wrong I'd be very happy to know about it.






          share|improve this answer








          New contributor




          Squigly is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.









          I ran into the EXACT same problem.
          I think the problem is qemu wasn't compiled with GlusterFS support (from the build log):




          ../configure --with-pkgversion="Debian 1:2.11+dfsg-1ubuntu7.9" --extra-cflags="-g -O2 -fdebug-prefix-map=/<>/qemu-2.11+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DCONFIG_QEMU_DATAPATH='"/usr/share/qemu:/usr/share/seabios:/usr/lib/ipxe/qemu"' -DVENDOR_UBUNTU" --extra-ldflags="-Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,--as-needed" --prefix=/usr --sysconfdir=/etc --libdir=/usr/lib/x86_64-linux-gnu --libexecdir=/usr/lib/qemu --localstatedir=/var --disable-blobs --disable-strip --interp-prefix=/etc/qemu-binfmt/%M --localstatedir=/var --disable-user
          --enable-system
          --enable-linux-user
          --enable-modules
          --enable-linux-aio --audio-drv-list=pa,alsa,oss --enable-attr --enable-bluez --enable-brlapi --enable-virtfs --enable-cap-ng --enable-curl --enable-fdt --enable-gnutls --disable-gtk --disable-vte --enable-libiscsi --enable-curses --enable-smartcard --enable-rbd --enable-rdma --enable-vnc-sasl --enable-seccomp --enable-spice --enable-libusb --enable-usb-redir --enable-xen --enable-xfsctl --enable-vnc --enable-vnc-jpeg --enable-vnc-png --enable-kvm --enable-vhost-net




          Which further reinforced by looking further down the log:




          GlusterFS support no




          (Full log here: qemu build log)



          If I'm wrong I'd be very happy to know about it.







          share|improve this answer








          New contributor




          Squigly is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.









          share|improve this answer



          share|improve this answer






          New contributor




          Squigly is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.









          answered yesterday









          Squigly

          111




          111




          New contributor




          Squigly is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.





          New contributor





          Squigly is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.






          Squigly is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.












          • Thanks, i will look into it, and get back to you :)
            – m-momr
            14 hours ago


















          • Thanks, i will look into it, and get back to you :)
            – m-momr
            14 hours ago
















          Thanks, i will look into it, and get back to you :)
          – m-momr
          14 hours ago




          Thanks, i will look into it, and get back to you :)
          – m-momr
          14 hours ago


















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Ask Ubuntu!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.





          Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


          Please pay close attention to the following guidance:


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1103840%2fubuntu-server-glusterfs-and-virt-manager%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          How did Captain America manage to do this?

          迪纳利

          南乌拉尔铁路局