Re: [ovirt-users] Iso Upload

2016-12-20 Thread Amit Aviram
On Sun, Dec 18, 2016 at 10:21 PM, Derek Atkins  wrote:

> Gianluca Cecchi  writes:
>
> > Yes thanks, I know it.
> > In 4.1 (but it seems to me also in 4.x) it was a matter of seconds after
> scp,
> > but I hoped there would be something smarter and directly usable by the
> web
> > admin GUI...
>
> True, it would be nice to have a web-based "upload file".  It was also
> be nice to have a web-based "download from URI" feature, where I can
> pass a URL to the web-ui and it would internally run 'curl' (or
> whatever) to pull it down.  Maybe an integrated bitorrent client?  :)
>

​Hi all, both of these features are going to be introduced soon. We already
have the infra to support it, and it is just a matter of some work ​until
it will be in.

Amit.



>
> -derek
>
> --
>Derek Atkins 617-623-3745
>de...@ihtfp.com www.ihtfp.com
>Computer and Internet Security Consultant
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Can't upload qcow2 images via web UI

2016-11-08 Thread Amit Aviram
On Tue, Nov 8, 2016 at 12:50 PM, วีร์ ศรีทิพโพธิ์ <we...@forest.go.th>
wrote:

>
> On Nov 8, 2559 BE, at 16:50, Amit Aviram <aavi...@redhat.com> wrote:
>
> ​Hi Wee​.
> Looking in your logs, it looks like "ovirt-imageio-daemon" service, which
> runs in the oVirt's host (ovirt03.forest.go.th), doesn't accept the
> requests as should. Please, log into this host and restart this service,
> running:
>
> *service ovirt-imageio-daemon restart*
>
>
> And try upload.
>
> If this won't work, please send us the output of "journalctl -xeu​
> ​ovirt-imageio-daemon" from ovirt03.forest.go.th.
>
> Thanks, Amit.
>
>
> Hi Amit,
>
> I restarted ‘overt-imageio-daemon’ service in
> ​​
> ovirt03.forest.go.th but still can’t upload. Here is the output from
> ‘journalctl -xeu overt-imageio-daemon’ command in ovirt03.forest.go.th:
>
>
>
> Thank you,
> Wee.
>
>
Indeed the requests from ovirt-imageio-proxy doesn't get to
ovirt-imageio-daemon. you can see in the proxy logs that a "​No route to
host" is logged.​
Initially our setup opens up the needed ports in iptables in order to allow
this connection, but if it was changed somehow it will break the upload
flow. Can you make sure that port 54322 is open for input requests in
​
ovirt03.forest.go.th, and also open for output request where the proxy
resides? Or whatever reason for the host not be reachable?
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Uploading an image with qcow2 compat 1.1 is unsupported for storage format type V3

2016-11-08 Thread Amit Aviram
Hi
​
Nathanaël.

On Mon, Nov 7, 2016 at 5:02 PM,
​​
Nathanaël Blanchet  wrote:

> Hi all, how can I get informations about supported formats with the image
> upload feature ?
>

​​Actually, supported QCOW formats are derived from the ovirt storage
versions (V3, etc..) of a DC, and the upload flow just restricts the user
so the supplied image that is being uploaded will be supported in the DC
that owns the target storage domain.

​So basically, the DC specifies the supported formats​, not the upload
feature.


> All my domain storages are v3, does it exist v4? If yes, how can I upgrade
> them to a superior format?


​V4 is about to be introduced (targeted to 4.1)​, and it will support QCOW2
version 1.1.
You will be able to upgrade your DCs to this version easily when it will be
available.


> Do I need to convert my non compatible 1.1 qcow2 appliance to an other
> format?
>
> This is what I found : https://access.redhat.com/docu
> mentation/en-US/Red_Hat_Enterprise_Linux/7/html/Virtualizati
> on_Deployment_and_Administration_Guide/sect-Using_qemu_img-
> Supported_qemu_img_formats.html
>
>
> Thank you
>
>
> --
> Nathanaël Blanchet
>
> Supervision réseau
> Pôle Infrastrutures Informatiques
> 227 avenue Professeur-Jean-Louis-Viala
> 34193 MONTPELLIER CEDEX 5
> Tél. 33 (0)4 67 54 84 55
> Fax  33 (0)4 67 54 84 14
> blanc...@abes.fr
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Can't upload qcow2 images via web UI

2016-11-08 Thread Amit Aviram
On Tue, Nov 8, 2016 at 10:24 AM, วีร์ ศรีทิพโพธิ์ 
wrote:

> Hi,
>
> I’m trying to transfer one of my VM from KVM to oVirt. My understanding is
> that I can upload its qcow2 to oVirt via ’Upload > Start’ in ‘Disks’ tab of
> the web UI.
>
> However, the upload won’t start. I found this message in the events tab:
>
> "Unable to upload image to disk 2a2e3afc-825b-4022-b402-669731003f3a due
> to a network error. Make sure ovirt-imageio-proxy service is installed and
> configured, and ovirt-engine's certificate is registered as a valid CA in
> the browser."
>
> I already installed the CA from 'https://[engine address]/
> ovirt-engine/services/pki-resource?resource=ca-
> certificate=X509-PEM-CA’ and ovirt-imageio-proxy is still running.
>
> [root@oengine ~]# systemctl status ovirt-imageio-proxy
> *●* ovirt-imageio-proxy.service - oVirt ImageIO Proxy
>Loaded: loaded (/usr/lib/systemd/system/ovirt-imageio-proxy.service;
> enabled; vendor preset: disabled)
>Active: *active (running)* since Tue 2016-11-08 02:06:55 UTC; 5h 28min
> ago
>  Main PID: 503 (ovirt-imageio-p)
>CGroup: /system.slice/ovirt-imageio-proxy.service
>└─503 /usr/bin/python /usr/bin/ovirt-imageio-proxy
>
> Please guide me in this regard,
> Wee.
>
> oVirt Engine Version: 4.0.4.4-1.el7.centos
>
> Logs:
>
>
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
​Hi Wee​.
Looking in your logs, it looks like "ovirt-imageio-daemon" service, which
runs in the oVirt's host (ovirt03.forest.go.th), doesn't accept the
requests as should. Please, log into this host and restart this service,
running:

*service ovirt-imageio-daemon restart*


And try upload.

If this won't work, please send us the output of "journalctl -xeu​
​ovirt-imageio-daemon" from ovirt03.forest.go.th .

Thanks, Amit.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] ovirt 4.0.4?==?utf-8?q? : unable to upload images

2016-11-02 Thread Amit Aviram
; u'7d83b9c5-2e0b-4ef2-a004-ee6c7
> >>> b4d7901'}
> >>> (Thread-16 ) INFO 2016-11-02 07:59:33,467
> >>> session:191:root:(_create_update_session) Established session:
> >>> expiration: '1478077167', imaged-host-uri:
> >>> 'https://virt1.management.gnc.am:54322', proxy-ticket:
> >>> 'eyJzYWx0IjoiTjdxdnFucE83MUU9IiwiZGF0YSI6IntcbiAgXCJuYmZcIiA6...MjAx
> >>> NjExMDIwNzU5MjciLCJ2YWxpZFRvIjoiMjAxNjExMDIwODU5MjcifQ==', session-id:
> >>> '44909f91-ad71-455a-a548-0ccf2350b72e', transfer-ticket:
> >>> '7d83b9c5-2e0b-4ef2-a004-ee6c7b4d7901'
> >>> (Thread-16 ) INFO 2016-11-02 07:59:33,468
> >>> connectionpool:735:requests.packages.urllib3.
> connectionpool:(_new_conn)
> >>> Starting new HTTPS connection (1): virt1.management.gnc.am
> >>> (Thread-16 ) ERROR 2016-11-02 07:59:33,476
> >>> image_handler:186:root:(make_imaged_request) Failed communicating with
> >>> vdsm-imaged: An SSL error occurred.
> >>> Traceback (most recent call last):
> >>>  File "/usr/lib/python2.7/site-packages/ovirt_imageio_proxy/
> image_handler.py",
> >>> line 177, in make_imaged_request
> >>>timeout=timeout, stream=stream)
> >>>  File "/usr/lib/python2.7/site-packages/requests/sessions.py", line
> 576, in send
> >>>r = adapter.send(request, **kwargs)
> >>>  File "/usr/lib/python2.7/site-packages/requests/adapters.py", line
> 431, in send
> >>>raise SSLError(e, request=request)
> >>> SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed
> >>> (_ssl.c:765)
> >>> (Thread-17 ) INFO 2016-11-02 07:59:36,498
> >>> session:259:root:(_decode_proxy_ticket) Proxy ticket valid: {u'iat':
> >>> 1478073567, u'imaged-uri': u'https://virt1.management.gnc.am:54322',
> >>> u'nbf': 1478073567, u'exp': 1478077167, u'transfer-ticket':
> >>> u'7d83b9c5-2e0b-4ef2-a004-ee6c7
> >>> b4d7901'}
> >>> (Thread-17 ) INFO 2016-11-02 07:59:36,498
> >>> session:191:root:(_create_update_session) Established session:
> >>> expiration: '1478077167', imaged-host-uri:
> >>> 'https://virt1.management.gnc.am:54322', proxy-ticket:
> >>> 'eyJzYWx0IjoiTjdxdnFucE83MUU9IiwiZGF0YSI6IntcbiAgXCJuYmZcIiA6...MjAx
> >>> NjExMDIwNzU5MjciLCJ2YWxpZFRvIjoiMjAxNjExMDIwODU5MjcifQ==', session-id:
> >>> 'ef47ebdd-6381-4aa3-b62a-10c0588f0a84', transfer-ticket:
> >>> '7d83b9c5-2e0b-4ef2-a004-ee6c7b4d7901'
> >>> (Thread-17 ) INFO 2016-11-02 07:59:36,499
> >>> connectionpool:735:requests.packages.urllib3.
> connectionpool:(_new_conn)
> >>> Starting new HTTPS connection (1): virt1.management.gnc.am
> >>> (Thread-17 ) ERROR 2016-11-02 07:59:36,508
> >>> image_handler:186:root:(make_imaged_request) Failed communicating with
> >>> vdsm-imaged: An SSL error occurred.
> >>> Traceback (most recent call last):
> >>>  File "/usr/lib/python2.7/site-packages/ovirt_imageio_proxy/
> image_handler.py",
> >>> line 177, in make_imaged_request
> >>>timeout=timeout, stream=stream)
> >>>  File "/usr/lib/python2.7/site-packages/requests/sessions.py", line
> 576, in send
> >>>r = adapter.send(request, **kwargs)
> >>>  File "/usr/lib/python2.7/site-packages/requests/adapters.py", line
> 431, in send
> >>>raise SSLError(e, request=request)
> >>> SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed
> >>> (_ssl.c:765)
> >>> (Thread-18 ) INFO 2016-11-02 07:59:39,659
> >>> session:259:root:(_decode_proxy_ticket) Proxy ticket valid: {u'iat':
> >>> 1478073567, u'imaged-uri': u'https://virt1.management.gnc.am:54322',
> >>> u'nbf': 1478073567, u'exp': 1478077167, u'transfer-ticket':
> >>> u'7d83b9c5-2e0b-4ef2-a004-ee6c7
> >>> b4d7901'}
> >>> (Thread-18 ) INFO 2016-11-02 07:59:39,659
> >>> session:191:root:(_create_update_session) Established session:
> >>> expiration: '1478077167', imaged-host-uri:
> >>> 'https://virt1.management.gnc.am:54322', proxy-ticket:
> >>> 'eyJzYWx0IjoiTjdxdnFucE83MUU9IiwiZGF0YSI6IntcbiAgXCJuYmZcIiA6...MjAx
> >>> NjExMDIwNzU5MjciLCJ2YWxpZFRvIjoiMjAxNjExMDIwODU5MjcifQ==', session-id:
> >>> '177decb1-1fe5-4195-924c-2f6c3bdf2849', transfer-ticket:
> >>> '7d83b9c5-2e0b-4ef2-a004-ee6c7b4d7901'
> >>> (Thread-18 ) INFO 2016-11-02 07:59:39,661
> >>

Re: [ovirt-users] ovirt 4.0.4?==?utf-8?q? : unable to upload images

2016-11-02 Thread Amit Aviram
gt;timeout=timeout, stream=stream)
>  File "/usr/lib/python2.7/site-packages/requests/sessions.py", line 576,
> in send
>r = adapter.send(request, **kwargs)
>  File "/usr/lib/python2.7/site-packages/requests/adapters.py", line 431,
> in send
>raise SSLError(e, request=request)
> SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed
> (_ssl.c:765)
> (Thread-18 ) INFO 2016-11-02 07:59:39,659
> session:259:root:(_decode_proxy_ticket) Proxy ticket valid: {u'iat':
> 1478073567, u'imaged-uri': u'https://virt1.management.gnc.am:54322',
> u'nbf': 1478073567, u'exp': 1478077167, u'transfer-ticket':
> u'7d83b9c5-2e0b-4ef2-a004-ee6c7
> b4d7901'}
> (Thread-18 ) INFO 2016-11-02 07:59:39,659
> session:191:root:(_create_update_session) Established session:
> expiration: '1478077167', imaged-host-uri:
> 'https://virt1.management.gnc.am:54322', proxy-ticket:
> 'eyJzYWx0IjoiTjdxdnFucE83MUU9IiwiZGF0YSI6IntcbiAgXCJuYmZcIiA6...MjAx
> NjExMDIwNzU5MjciLCJ2YWxpZFRvIjoiMjAxNjExMDIwODU5MjcifQ==', session-id:
> '177decb1-1fe5-4195-924c-2f6c3bdf2849', transfer-ticket:
> '7d83b9c5-2e0b-4ef2-a004-ee6c7b4d7901'
> (Thread-18 ) INFO 2016-11-02 07:59:39,661
> connectionpool:735:requests.packages.urllib3.connectionpool:(_new_conn)
> Starting new HTTPS connection (1): virt1.management.gnc.am
> (Thread-18 ) ERROR 2016-11-02 07:59:39,669
> image_handler:186:root:(make_imaged_request) Failed communicating with
> vdsm-imaged: An SSL error occurred.
> Traceback (most recent call last):
>  File "/usr/lib/python2.7/site-packages/ovirt_imageio_proxy/
> image_handler.py",
> line 177, in make_imaged_request
>timeout=timeout, stream=stream)
>  File "/usr/lib/python2.7/site-packages/requests/sessions.py", line 576,
> in send
>r = adapter.send(request, **kwargs)
>  File "/usr/lib/python2.7/site-packages/requests/adapters.py", line 431,
> in send
>raise SSLError(e, request=request)
> SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed
> (_ssl.c:765)
> ^C
>
> It seems that browser is not a problem but connection between
> ovirt-imageio-proxy on engine and vdsm on hosts.
>
> Best regards,
> Misak Khachatryan
>
>
> On Wed, Nov 2, 2016 at 12:41 PM, Amit Aviram <aavi...@redhat.com> wrote:
> >
> >
> > On Wed, Nov 2, 2016 at 8:48 AM, Yedidyah Bar David <d...@redhat.com>
> wrote:
> >>
> >> On Tue, Nov 1, 2016 at 10:42 PM, Claude Durocher
> >> <claude.duroc...@cptaq.gouv.qc.ca> wrote:
> >> > We have a setup with ovirt 4.0.4 (hosted engine) and I try to import a
> >> > Ubuntu qcow cloud image. When I try to import, it stops with the error
> >> > 'Unable to upload image to disk ... due to a network error. Make sure
> >> > ovirt-imageio-proxy service is installed and configured, and
> >> > ovirt-engine's
> >> > certificate is registered as a valid CA in the browser'.
> >> >
> >> > The ovirt-imageio-proxy service is running on the engine.  No errors
> in
> >> > the
> >> > log (just a mention that the service has started up). I also imported
> >> > the
> >> > server CA in my browser (Firefox 49 on Ubuntu).
> >>
> >> Please check:
> >>
> >> https://bugzilla.redhat.com/show_bug.cgi?id=1317253
> >>
> >> https://www.ovirt.org/develop/release-management/features/
> storage/image-upload/
> >>
> >> Do you have on your host 'ovirt-imageio-daemon' installed and running?
> >>
> >> Did you manually configure iptables on the host? If so, you need port
> >> 54322 open.
> >>
> >> If still stuck, please check/attach:
> >>
> >> On engine machine:
> >>
> >> /var/log/ovirt-engine/*
> >> /var/log/ovirt-imageio-proxy/*
> >> /var/log/httpd/*
> >>
> >> On host:
> >>
> >> /var/log/messages
> >> journalctl
> >>
> >> Thanks,
> >
> > Please also attach your browser logs.
> >
> >>
> >> --
> >> Didi
> >> ___
> >> Users mailing list
> >> Users@ovirt.org
> >> http://lists.ovirt.org/mailman/listinfo/users
> >
> >
> >
> > ___
> > Users mailing list
> > Users@ovirt.org
> > http://lists.ovirt.org/mailman/listinfo/users
> >
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] ovirt 4.0.4?==?utf-8?q? : unable to upload images

2016-11-02 Thread Amit Aviram
On Wed, Nov 2, 2016 at 8:48 AM, Yedidyah Bar David  wrote:

> On Tue, Nov 1, 2016 at 10:42 PM, Claude Durocher
>  wrote:
> > We have a setup with ovirt 4.0.4 (hosted engine) and I try to import a
> > Ubuntu qcow cloud image. When I try to import, it stops with the error
> > 'Unable to upload image to disk ... due to a network error. Make sure
> > ovirt-imageio-proxy service is installed and configured, and
> ovirt-engine's
> > certificate is registered as a valid CA in the browser'.
> >
> > The ovirt-imageio-proxy service is running on the engine.  No errors in
> the
> > log (just a mention that the service has started up). I also imported the
> > server CA in my browser (Firefox 49 on Ubuntu).
>
> Please check:
>
> https://bugzilla.redhat.com/show_bug.cgi?id=1317253
> https://www.ovirt.org/develop/release-management/features/
> storage/image-upload/
>
> Do you have on your host 'ovirt-imageio-daemon' installed and running?
>
> Did you manually configure iptables on the host? If so, you need port
> 54322 open.
>
> If still stuck, please check/attach:
>
> On engine machine:
>
> /var/log/ovirt-engine/*
> /var/log/ovirt-imageio-proxy/*
> /var/log/httpd/*
>
> On host:
>
> /var/log/messages
> journalctl
>
> Thanks,
>
​
Please also attach your browser logs.


> --
> Didi
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] mass upload of disks?

2016-11-01 Thread Amit Aviram
On Tue, Nov 1, 2016 at 3:27 PM, Ben De Luca <bdel...@gmail.com> wrote:

> Could I set up glance for this?
>

> On 31 October 2016 at 23:42, Ben De Luca <bdel...@gmail.com> wrote:
>
>> That's probably a little bit more brave than I am, so there is no way in
>> the current release? I don't mind jumping through a few hoops but sitting
>> for days loading them doesn't fill me joy.
>
>
Unfortunately besides the new API and ovirt-image-uploader there is no
other way for uploading disks.


>
>> If not it's great that feature is added.
>>
>>
>>
>>
>> On Monday, 31 October 2016, Amit Aviram <aavi...@redhat.com> wrote:
>>
>>> Hi Ben. Actually exactly today REST API for uploading disks was
>>> introduced to master. It is supposed to get into the next 4.0.Z version, so
>>> if you want you can update your version soon enough and use the API.
>>>
>>> When you'll have the right version, you can use examples from
>>> "/api/Model" to upload disks using oVirt's Python SDK.
>>>
>>> If you need any help, please feel free to keep asking on the list.
>>>
>>> Amit.
>>>
>>> On Mon, Oct 31, 2016 at 7:22 PM, Ben De Luca <bdel...@gmail.com> wrote:
>>>
>>>> Hi,
>>>> I was wondering if there was a method on the cli/script to mass
>>>> upload disks to ovirt. The web loader is great, but also I have 20 disks
>>>> that I really just want to upload via shell.
>>>>
>>>> I can't seem to find a tool to do it, I have found
>>>> ovirt-image-uploader (but that's for ovf files).
>>>>
>>>> I hoped that I could just pull the date directly off nfs but that
>>>> doesnt seem to be possible, or I am blind?
>>>>
>>>> Thanks
>>>> -Ben
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> ___
>>>> Users mailing list
>>>> Users@ovirt.org
>>>> http://lists.ovirt.org/mailman/listinfo/users
>>>>
>>>>
>>>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] mass upload of disks?

2016-10-31 Thread Amit Aviram
Hi Ben. Actually exactly today REST API for uploading disks was introduced
to master. It is supposed to get into the next 4.0.Z version, so if you
want you can update your version soon enough and use the API.

When you'll have the right version, you can use examples from "/api/Model"
to upload disks using oVirt's Python SDK.

If you need any help, please feel free to keep asking on the list.

Amit.

On Mon, Oct 31, 2016 at 7:22 PM, Ben De Luca  wrote:

> Hi,
> I was wondering if there was a method on the cli/script to mass upload
> disks to ovirt. The web loader is great, but also I have 20 disks that I
> really just want to upload via shell.
>
> I can't seem to find a tool to do it, I have found
> ovirt-image-uploader (but that's for ovf files).
>
> I hoped that I could just pull the date directly off nfs but that
> doesnt seem to be possible, or I am blind?
>
> Thanks
> -Ben
>
>
>
>
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] disk image uploading

2016-10-27 Thread Amit Aviram
On Thu, Oct 27, 2016 at 12:22 PM, Chris Cowley 
wrote:

> Simple question:
>
> Is there a better way of uploading a disk to a storage domain than through
> my browser?
>

Soon​ you will be able to do that using the REST API or JDK if that fits
your needs better. What difficulties did you find while uploading through
the browser btw?



>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] ISO Import

2016-09-27 Thread Amit Aviram
Hi, Since oVirt 4.0, you can upload images as disks directly to your
storage domain, using the upload dialog in Disks -> Upload -> Start.

Uploading ISOs to ISO domain isn't implemented yet, but it will also be
introduced in one of the following releases.

As uploading a disk might be a good solution for you, you can use the "
engine-iso-uploader" if you still want to upload your ISO to the ISO domain.

Please let us know if you need any further help.

Thanks, Amit.

On Tue, Sep 27, 2016 at 10:33 AM, Johann van der Westhuizen <
joh...@sharenet.co.za> wrote:

> Hi,
>
>
>
> Thanks for your previous support on oVirt.
>
>
>
> I want to ask just one more thing, how do I import a new ISO into oVert.
>
>
>
> Please let me know.
>
>
>
> Regards / Groete,
>
>
>
> *Johann van der Westhuizen*
>
> *Systems Administrator*
>
> [image: cid:image001.png@01D1DB97.0D86FCB0]
>
> *joh...@sharenet.co.za * | +27 (021) 700 4827 |
> www.sharenet.co.za
>
>
>
> [image: cid:image002.png@01D1DE78.2EE61F10]
>  [image:
> cid:image003.jpg@01D1DE78.2EE61F10] 
>
>
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] How to import a qcow2 disk into ovirt

2016-09-01 Thread Amit Aviram
You can do both,
Through the database, the table is "vdc_options". change "option_value"
where "option_name" = 'ImageProxyAddress' .

On Thu, Sep 1, 2016 at 4:56 PM, Gianluca Cecchi <gianluca.cec...@gmail.com>
wrote:

> On Thu, Sep 1, 2016 at 3:53 PM, Amit Aviram <aavi...@redhat.com> wrote:
>
>> You can just replace this value in the DB and change it to the right
>> FQDN, it is a config value named "ImageProxyAddress". replace "localhost"
>> with the right address (notice that the port is there too).
>>
>> If this will keep happen after users will have the latest version, we
>> will have to open a bug and fix whatever causes the URL to be "localhost".
>>
>>
> Do you mean through "engine-config" or directly into database?
> In this second case which is the table involved?
>
> Gianluca
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] How to import a qcow2 disk into ovirt

2016-09-01 Thread Amit Aviram
You can just replace this value in the DB and change it to the right FQDN,
it is a config value named "ImageProxyAddress". replace "localhost" with
the right address (notice that the port is there too).

If this will keep happen after users will have the latest version, we will
have to open a bug and fix whatever causes the URL to be "localhost".

On Thu, Sep 1, 2016 at 4:30 PM, Gianluca Cecchi <gianluca.cec...@gmail.com>
wrote:

>
>
> On Thu, Sep 1, 2016 at 3:18 PM, Gianluca Cecchi <gianluca.cec...@gmail.com
> > wrote:
>
>> On Thu, Sep 1, 2016 at 3:12 PM, Gianluca Cecchi <
>> gianluca.cec...@gmail.com> wrote:
>>
>>> On Thu, Sep 1, 2016 at 2:53 PM, Amit Aviram <aavi...@redhat.com> wrote:
>>>
>>>> Can you please run engine-setup again and check if the URL of the POST
>>>> request is still localhost? bug https://bugzilla.redhat.com/sh
>>>> ow_bug.cgi?id=1365744 was about running the setup twice in order to
>>>> install this feature to work.
>>>>
>>>>
>>>>
>>> I seem to remember that I already did it, but I can do again.
>>> Currently I'm on 4.0.2.
>>> Is there any way to run engine-setup but without updating it to 4.0.3?
>>> ANy command line switch?
>>>
>>>
>> Found.. I forgot it "--offline"
>> I'm going to do and verify, even if another post seems to confirm if
>> doesn't change behavior...
>>
>>
>
> Closed firefox from client and run engine-setup again:
>
> Full output
> [root@ractorshe tmp]# engine-setup --offline
> [ INFO  ] Stage: Initializing
> [ INFO  ] Stage: Environment setup
>   Configuration files: ['/etc/ovirt-engine-setup.
> conf.d/10-packaging-jboss.conf', 
> '/etc/ovirt-engine-setup.conf.d/10-packaging.conf',
> '/etc/ovirt-engine-setup.conf.d/20-setup-ovirt-post.conf']
>   Log file: /var/log/ovirt-engine/setup/ovirt-engine-setup-
> 20160901151651-n77p09.log
>   Version: otopi-1.5.1 (otopi-1.5.1-1.el7.centos)
> [ INFO  ] Stage: Environment packages setup
> [ INFO  ] Stage: Programs detection
> [ INFO  ] Stage: Environment setup
> [ INFO  ] Stage: Environment customization
>
>   --== PRODUCT OPTIONS ==--
>
>
>   --== PACKAGES ==--
>
>
>   --== NETWORK CONFIGURATION ==--
>
> [WARNING] Failed to resolve ractorshe.mydomain using DNS, it can be
> resolved only locally
>   Setup can automatically configure the firewall on this system.
>   Note: automatic configuration of the firewall may overwrite
> current settings.
>   Do you want Setup to configure the firewall? (Yes, No) [Yes]:
> [ INFO  ] firewalld will be configured as firewall manager.
>
>   --== DATABASE CONFIGURATION ==--
>
>   The detected DWH database size is 177 MB.
>   Setup can backup the existing database. The time and space
> required for the database backup depend on its size. This process takes
> time, and in some cases (for instance, when the size is few GBs) may take
> several hours to complete.
>   If you choose to not back up the database, and Setup later fails
> for some reason, it will not be able to restore the database and all DWH
> data will be lost.
>   Would you like to backup the existing database before upgrading
> it? (Yes, No) [Yes]:
>
>   --== OVIRT ENGINE CONFIGURATION ==--
>
>
>   --== STORAGE CONFIGURATION ==--
>
>
>   --== PKI CONFIGURATION ==--
>
>
>   --== APACHE CONFIGURATION ==--
>
>
>   --== SYSTEM CONFIGURATION ==--
>
>
>   --== MISC CONFIGURATION ==--
>
>
>   --== END OF CONFIGURATION ==--
>
> [ INFO  ] Stage: Setup validation
>   During execution engine service will be stopped (OK, Cancel)
> [OK]:
> [ INFO  ] Hosted Engine HA is in Global Maintenance mode.
> [ INFO  ] Cleaning stale zombie tasks and commands
>
>   --== CONFIGURATION PREVIEW ==--
>
>   Default SAN wipe after delete   : False
>   Firewall manager: firewalld
>   Update Firewall : True
>   Host FQDN   : ractorshe.mydomain
>   Engine database secured connection  : False
>   Engine database host: localhost
>   Engine database user name   : engine
>   Engine database name: engine
>   Engine database port: 5432
>   Engine database host name validation: False
>   DWH database secu

Re: [ovirt-users] How to import a qcow2 disk into ovirt

2016-09-01 Thread Amit Aviram
Can you please run engine-setup again and check if the URL of the POST
request is still localhost? bug
https://bugzilla.redhat.com/show_bug.cgi?id=1365744 was about running the
setup twice in order to install this feature to work.

On Thu, Sep 1, 2016 at 3:38 PM, Gianluca Cecchi <gianluca.cec...@gmail.com>
wrote:

> On Thu, Sep 1, 2016 at 10:49 AM, Gianluca Cecchi <
> gianluca.cec...@gmail.com> wrote:
>
>> On Thu, Sep 1, 2016 at 10:41 AM, Amit Aviram <aavi...@redhat.com> wrote:
>>
>>> When installing the engine, what FQDN did you set? because I see in the
>>> logs that the browser is trying to send the disk to localhost. this is
>>> taken from the FQDN set during setup.
>>>
>>> On Thu, Sep 1, 2016 at 9:49 AM, Стаценко Константин Юрьевич <
>>> statsenko...@interrao.ru> wrote:
>>>
>>>> No, engine is running on another host.
>>>>
>>>>
>>>>
>>>> *From:* Amit Aviram [mailto:aavi...@redhat.com]
>>>> *Sent:* Wednesday, August 31, 2016 6:53 PM
>>>>
>>>> *To:* Стаценко Константин Юрьевич <statsenko...@interrao.ru>
>>>> *Cc:* lifuqiong <lifuqi...@cncloudsec.com>; users <users@ovirt.org>
>>>> *Subject:* Re: [ovirt-users] How to import a qcow2 disk into ovirt
>>>>
>>>>
>>>>
>>>> Does your engine runs where your browser is? (do you connect to
>>>> localhost in order to connect to the engine?)
>>>>
>>>>
>>>>
>>>>
>>>>
>> How to create browser.log?
>> So that I can send also mine, bacuase I also still have the problem
>> (4.0.2 with workaround fixes) and also in my case engine is on another host
>> and an FQDN was set...
>> Thanks,
>> Gianluca
>>
>
>
> found...
>
> Also in my case I get the "localhost" thing:
>
>
>
> Thu Sep 01 14:33:08 GMT+200 2016
> INFO: Polling for statuswebadmin:1:12954
> Thu Sep 01 14:33:08 GMT+200 2016
> INFO: Upload phase: Initializingwebadmin:1:12954
> Thu Sep 01 14:33:12 GMT+200 2016
> INFO: Polling for statuswebadmin:1:12954
> Thu Sep 01 14:33:15 GMT+200 2016
> INFO: Upload phase: Initializingwebadmin:1:12954
> Thu Sep 01 14:33:19 GMT+200 2016
> INFO: Polling for statuswebadmin:1:12954
> Thu Sep 01 14:33:20 GMT+200 2016
> INFO: Upload phase: Transferringwebadmin:1:12954
> "Thu Sep 01 14:33:20 GMT+200 2016
> INFO: Starting upload to https://localhost:54323/images
> With imaged ticket: 87c0a98e-96c4-4244-bc55-605539b005f4
> With proxy ticket: eyJzYWx0IjoiOU1oaHUzdmlRTzA9Ii
> wiZGF0YSI6IntcbiAgXCJuYmZcIiA6IDE0NzI3MzMxOTQsXG4gIFwiZXhwXC
> IgOiAxNDcyNzM2Nzk0LFxuICBcImlhdFwiIDogMTQ3MjczMzE5NCxcbiAgXC
> J0cmFuc2Zlci10aWNrZXRcIiA6IFwiODdjMGE5OGUtOTZjNC00MjQ0LWJjNT
> UtNjA1NTM5YjAwNWY0XCIsXG4gIFwiaW1hZ2VkLXVyaVwiIDogXCJodHRwcz
> ovL3JhY3Rvci5kYXRhY2VudGVyLnBvbGltaS5pdDo1NDMyMlwiXG59Iiwic2
> lnbmF0dXJlIjoiVXhueWJaVG81Rmd6SFArTXdNcDZUalY2Wkx6RTdMaWtJNG
> psM0QzblhWTzJMRUVZKzhFK2Q3bVQyK3BBR1NrQlJhUGxVbm1HZElURVBpcU
> 5obUpRbFhSTFZBb3RXaFlEUnI5N0dHcmc3OUN0NW5NSTNwNUtPSGp6QzB3L1
> N5dlQ0RGxWeXZZMFBzZDgvakhnb3VJellLWDZzZzd0NzgwK0h4b1NRNCtZb3
> h2ZElZUTZBUFF6c0lEdlVFbkplb0lRMGQvd01LWVpMS0E2dmRRb2J3RzVIN3
> lwVTcvUFpyRUhKT1p4em1BT3F4STU1bm5JZ21ublpjQ3RWRzB1dUYyRVRLNF
> hpbGhEOFZQSDBGRGJCZkRwdjdEQllhblhENUhDbUMxcEx2UnBtL3hkNWcwbk
> FEbHpSMUJMVFYySVNQdUJVMmxKOXNHNlVZSloxRDQ2SmxwS0hRPT0iLCJkaW
> dlc3QiOiJzaGExIiwiY2VydGlmaWNhdGUiOiItLS0tLUJFR0lOIENFUlRJRk
> lDQVRFLS0tLS1cbk1JSUVyVENDQTVXZ0F3SUJBZ0lDRUFFd0RRWUpLb1pJaH
> ZjTkFRRUZCUUF3V3pFTE1Ba0dBMVVFQmhNQ1ZWTXhIVEFiQmdOVkJBb1Rccl
> xuRkdSaGRHRmpaVzUwWlhJdWNHOXNhVzFwTG1sME1TMHdLd1lEVlFRREV5Un
> lZV04wYjNKemFHVXVaR0YwWVdObGJuUmxjaTV3YjJ4cFxyXG5iV2t1YVhRdU
> 1UTTVPVGt3SGhjTk1UVXhNVEU0TVRRek16VTFXaGNOTWpBeE1ESXpNVFF6TX
> pVMVdqQlZNUXN3Q1FZRFZRUUdFd0pWXHJcblV6RWRNQnNHQTFVRUNoTVVaR0
> YwWVdObGJuUmxjaTV3YjJ4cGJXa3VhWFF4SnpBbEJnTlZCQU1USG5KaFkzUn
> Zjbk5vWlM1a1lYUmhcclxuWTJWdWRHVnlMbkJ2YkdsdGFTNXBkRENDQVNJd0
> RRWUpLb1pJaHZjTkFRRUJCUUFEZ2dFUEFEQ0NBUW9DZ2dFQkFOd0E5cmc4cG
> NCR1xyXG5zeGpMZSs3UzhFeU9aRnloN1FOQjBDNnpqNGdKeUd6N1FyVVNMcF
> EwTUNlSjdrWlBuRTBuM1hGazg1NDM0anJpMkh3UlBBcUkwcFM2XHJcbkg5VG
> R1MGNubDZRNDkrbllTSTdaVjFyR25SYXlTZU55ZWNQRTh1blhSVlVPWWhHVk
> ltSXIxVmxKTzc0V2tsL1F1aHYwTzZKZzQ4RElcclxuL3pPSGllU2tXVGpJVW
> tKSE1waTRNU3QyU29YZ0xnMXVpcUptZkxsM0tONGVYeXcrcVRPaytKRjJrTE
> R3UU1waTZJUXp5REx2eVJjTFxyXG5lbDBQaE1MTDlMTWVPMVlJTFZCTFRxTX
> orb2tWWjJJZ1dSaXRGNkMwWjBjd0pCeGcxb1RENXVtZnloWi9kVEY1V2x3Q2
> VOQWRtUUFyXHJcbnpPUjZoV0lMMURBTmNEamMvUGFJT2d3cEE1TUNBd0VBQW
> FPQ0FYOHdnZ0Y3TUIwR0ExVWREZ1FXQkJTMUo5cm43Wjcramt6ZGl3MHpccl
> xuUnl4S0pRdFFoVENCbFFZSUt3WUJCUVV

Re: [ovirt-users] How to import a qcow2 disk into ovirt

2016-09-01 Thread Amit Aviram
When installing the engine, what FQDN did you set? because I see in the
logs that the browser is trying to send the disk to localhost. this is
taken from the FQDN set during setup.

On Thu, Sep 1, 2016 at 9:49 AM, Стаценко Константин Юрьевич <
statsenko...@interrao.ru> wrote:

> No, engine is running on another host.
>
>
>
> *From:* Amit Aviram [mailto:aavi...@redhat.com]
> *Sent:* Wednesday, August 31, 2016 6:53 PM
>
> *To:* Стаценко Константин Юрьевич <statsenko...@interrao.ru>
> *Cc:* lifuqiong <lifuqi...@cncloudsec.com>; users <users@ovirt.org>
> *Subject:* Re: [ovirt-users] How to import a qcow2 disk into ovirt
>
>
>
> Does your engine runs where your browser is? (do you connect to localhost
> in order to connect to the engine?)
>
>
>
> On Wed, Aug 31, 2016 at 6:15 PM, Стаценко Константин Юрьевич <
> statsenko...@interrao.ru> wrote:
>
> ovirt-imageio-proxy is running.
>
> Logs attached.
>
> Nothing interesting in ovirt-imageio-proxy logs. Just start events.
>
>
>
> *From:* Amit Aviram [mailto:aavi...@redhat.com]
> *Sent:* Wednesday, August 31, 2016 5:39 PM
> *To:* Стаценко Константин Юрьевич <statsenko...@interrao.ru>
> *Cc:* lifuqiong <lifuqi...@cncloudsec.com>; users <users@ovirt.org>
>
>
> *Subject:* Re: [ovirt-users] How to import a qcow2 disk into ovirt
>
>
>
> Make sure ovirt-imageio-proxy runs in your engine's host.
>
>
>
> Can you please attach ovirt-imageio-proxy logs from
> /vat/ovirt-imageio-proxy, engine logs and your browser's console logs as
> well?
>
>
>
> On Wed, Aug 31, 2016 at 5:36 PM, Стаценко Константин Юрьевич <
> statsenko...@interrao.ru> wrote:
>
> Same problem here…
>
> oVirt 4.0.3-1. Cannot upload image using GUI. “Paused by system”.
>
> Already tried to import oVirt CA cert to trusted CA’s with no luck.
>
> Any solutions ?
>
>
>
> *From:* users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] *On
> Behalf Of *lifuqiong
> *Sent:* Wednesday, August 31, 2016 9:34 AM
> *To:* 'Amit Aviram' <aavi...@redhat.com>
> *Cc:* 'users' <users@ovirt.org>
> *Subject:* Re: [ovirt-users] How to import a qcow2 disk into ovirt
>
>
>
> My ovirt engine version is already 4.0.0.6,  which version should I
> upgrade for?
>
>
>
> Another version of ovirt engine is 4.0.2.1, I can’t even find ‘qcow2’
> option in Image Type of Dilog ‘Upload Image’
>
>
>
> *发件人**:* Amit Aviram [mailto:aavi...@redhat.com <aavi...@redhat.com>]
> *发送时间**:* 2016年8月31日 14:00
> *收件人**:* lifuqiong
> *抄送**:* Maor Lipchuk; users
> *主**题**:* Re: [ovirt-users] How to import a qcow2 disk into ovirt
>
>
>
> lifuqiong, you need to update your oVirt version in order for this to
> succeed. Please dnf/yum update ovirt-engine.
>
>
>
> On Wed, Aug 31, 2016 at 5:46 AM, lifuqiong <lifuqi...@cncloudsec.com>
> wrote:
>
> Hi Maor,
>
>
>
> I Upload qcow2 file in Storage Tab, but the qcow2 upload error, which’s
> status keep ‘Paused by System’. What’s the reason?
>
>
>
> Thank you
>
>
>
> *发件人**:* Maor Lipchuk [mailto:mlipc...@redhat.com]
> *发送时间**:* 2016年8月29日 21:00
> *收件人**:* lifuqiong
> *抄送**:* users
> *主**题**:* Re: [ovirt-users] How to import a qcow2 disk into ovirt
>
>
>
> Hi lifuqiong,
>
>
>
> There are several ways to import disks into oVirt
>
>
>
> Does the disk contains any snapshots?
>
> if not, the disk file can be copied to the storage domain and you can
> register it using the Register button (see https://bugzilla.redhat.
> com/show_bug.cgi?id=1138139)
>
>
>
> You can also take a look at the image-uploader, see
> http://www.ovirt.org/develop/release-management/features/
> storage/image-upload/
>
>
>
> What is the use case that you want to do? What is the origin of the disk
> (Was it an oVirt disk?), as asked before, does the disk includes any
> snapshots.
>
>
>
> Regards,
>
> Maor
>
>
>
>
>
> On Mon, Aug 29, 2016 at 3:40 PM, lifuqiong <lifuqi...@cncloudsec.com>
> wrote:
>
> Hi,
>
>  How to import a qcow2 disk file into ovirt? I search the Internet
> for a long time , but find no solution work.
>
>
>
> Thank you
>
>
>
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
>
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
>
>
>
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] How to import a qcow2 disk into ovirt

2016-08-31 Thread Amit Aviram
Does your engine runs where your browser is? (do you connect to localhost
in order to connect to the engine?)

On Wed, Aug 31, 2016 at 6:15 PM, Стаценко Константин Юрьевич <
statsenko...@interrao.ru> wrote:

> ovirt-imageio-proxy is running.
>
> Logs attached.
>
> Nothing interesting in ovirt-imageio-proxy logs. Just start events.
>
>
>
> *From:* Amit Aviram [mailto:aavi...@redhat.com]
> *Sent:* Wednesday, August 31, 2016 5:39 PM
> *To:* Стаценко Константин Юрьевич <statsenko...@interrao.ru>
> *Cc:* lifuqiong <lifuqi...@cncloudsec.com>; users <users@ovirt.org>
>
> *Subject:* Re: [ovirt-users] How to import a qcow2 disk into ovirt
>
>
>
> Make sure ovirt-imageio-proxy runs in your engine's host.
>
>
>
> Can you please attach ovirt-imageio-proxy logs from
> /vat/ovirt-imageio-proxy, engine logs and your browser's console logs as
> well?
>
>
>
> On Wed, Aug 31, 2016 at 5:36 PM, Стаценко Константин Юрьевич <
> statsenko...@interrao.ru> wrote:
>
> Same problem here…
>
> oVirt 4.0.3-1. Cannot upload image using GUI. “Paused by system”.
>
> Already tried to import oVirt CA cert to trusted CA’s with no luck.
>
> Any solutions ?
>
>
>
> *From:* users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] *On
> Behalf Of *lifuqiong
> *Sent:* Wednesday, August 31, 2016 9:34 AM
> *To:* 'Amit Aviram' <aavi...@redhat.com>
> *Cc:* 'users' <users@ovirt.org>
> *Subject:* Re: [ovirt-users] How to import a qcow2 disk into ovirt
>
>
>
> My ovirt engine version is already 4.0.0.6,  which version should I
> upgrade for?
>
>
>
> Another version of ovirt engine is 4.0.2.1, I can’t even find ‘qcow2’
> option in Image Type of Dilog ‘Upload Image’
>
>
>
> *发件人**:* Amit Aviram [mailto:aavi...@redhat.com <aavi...@redhat.com>]
> *发送时间**:* 2016年8月31日 14:00
> *收件人**:* lifuqiong
> *抄送**:* Maor Lipchuk; users
> *主**题**:* Re: [ovirt-users] How to import a qcow2 disk into ovirt
>
>
>
> lifuqiong, you need to update your oVirt version in order for this to
> succeed. Please dnf/yum update ovirt-engine.
>
>
>
> On Wed, Aug 31, 2016 at 5:46 AM, lifuqiong <lifuqi...@cncloudsec.com>
> wrote:
>
> Hi Maor,
>
>
>
> I Upload qcow2 file in Storage Tab, but the qcow2 upload error, which’s
> status keep ‘Paused by System’. What’s the reason?
>
>
>
> Thank you
>
>
>
> *发件人**:* Maor Lipchuk [mailto:mlipc...@redhat.com]
> *发送时间**:* 2016年8月29日 21:00
> *收件人**:* lifuqiong
> *抄送**:* users
> *主**题**:* Re: [ovirt-users] How to import a qcow2 disk into ovirt
>
>
>
> Hi lifuqiong,
>
>
>
> There are several ways to import disks into oVirt
>
>
>
> Does the disk contains any snapshots?
>
> if not, the disk file can be copied to the storage domain and you can
> register it using the Register button (see https://bugzilla.redhat.
> com/show_bug.cgi?id=1138139)
>
>
>
> You can also take a look at the image-uploader, see
> http://www.ovirt.org/develop/release-management/features/
> storage/image-upload/
>
>
>
> What is the use case that you want to do? What is the origin of the disk
> (Was it an oVirt disk?), as asked before, does the disk includes any
> snapshots.
>
>
>
> Regards,
>
> Maor
>
>
>
>
>
> On Mon, Aug 29, 2016 at 3:40 PM, lifuqiong <lifuqi...@cncloudsec.com>
> wrote:
>
> Hi,
>
>  How to import a qcow2 disk file into ovirt? I search the Internet
> for a long time , but find no solution work.
>
>
>
> Thank you
>
>
>
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
>
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
>
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] How to import a qcow2 disk into ovirt

2016-08-31 Thread Amit Aviram
Make sure ovirt-imageio-proxy runs in your engine's host.

Can you please attach ovirt-imageio-proxy logs from
/vat/ovirt-imageio-proxy, engine logs and your browser's console logs as
well?

On Wed, Aug 31, 2016 at 5:36 PM, Стаценко Константин Юрьевич <
statsenko...@interrao.ru> wrote:

> Same problem here…
>
> oVirt 4.0.3-1. Cannot upload image using GUI. “Paused by system”.
>
> Already tried to import oVirt CA cert to trusted CA’s with no luck.
>
> Any solutions ?
>
>
>
> *From:* users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] *On
> Behalf Of *lifuqiong
> *Sent:* Wednesday, August 31, 2016 9:34 AM
> *To:* 'Amit Aviram' <aavi...@redhat.com>
> *Cc:* 'users' <users@ovirt.org>
> *Subject:* Re: [ovirt-users] How to import a qcow2 disk into ovirt
>
>
>
> My ovirt engine version is already 4.0.0.6,  which version should I
> upgrade for?
>
>
>
> Another version of ovirt engine is 4.0.2.1, I can’t even find ‘qcow2’
> option in Image Type of Dilog ‘Upload Image’
>
>
>
> *发件人**:* Amit Aviram [mailto:aavi...@redhat.com <aavi...@redhat.com>]
> *发送时间**:* 2016年8月31日 14:00
> *收件人**:* lifuqiong
> *抄送**:* Maor Lipchuk; users
> *主题**:* Re: [ovirt-users] How to import a qcow2 disk into ovirt
>
>
>
> lifuqiong, you need to update your oVirt version in order for this to
> succeed. Please dnf/yum update ovirt-engine.
>
>
>
> On Wed, Aug 31, 2016 at 5:46 AM, lifuqiong <lifuqi...@cncloudsec.com>
> wrote:
>
> Hi Maor,
>
>
>
> I Upload qcow2 file in Storage Tab, but the qcow2 upload error, which’s
> status keep ‘Paused by System’. What’s the reason?
>
>
>
> Thank you
>
>
>
> *发件人**:* Maor Lipchuk [mailto:mlipc...@redhat.com]
> *发送时间**:* 2016年8月29日 21:00
> *收件人**:* lifuqiong
> *抄送**:* users
> *主题**:* Re: [ovirt-users] How to import a qcow2 disk into ovirt
>
>
>
> Hi lifuqiong,
>
>
>
> There are several ways to import disks into oVirt
>
>
>
> Does the disk contains any snapshots?
>
> if not, the disk file can be copied to the storage domain and you can
> register it using the Register button (see https://bugzilla.redhat.
> com/show_bug.cgi?id=1138139)
>
>
>
> You can also take a look at the image-uploader, see
> http://www.ovirt.org/develop/release-management/features/
> storage/image-upload/
>
>
>
> What is the use case that you want to do? What is the origin of the disk
> (Was it an oVirt disk?), as asked before, does the disk includes any
> snapshots.
>
>
>
> Regards,
>
> Maor
>
>
>
>
>
> On Mon, Aug 29, 2016 at 3:40 PM, lifuqiong <lifuqi...@cncloudsec.com>
> wrote:
>
> Hi,
>
>  How to import a qcow2 disk file into ovirt? I search the Internet
> for a long time , but find no solution work.
>
>
>
> Thank you
>
>
>
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
>
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] How to import a qcow2 disk into ovirt

2016-08-31 Thread Amit Aviram
lifuqiong, you need to update your oVirt version in order for this to
succeed. Please dnf/yum update ovirt-engine.

On Wed, Aug 31, 2016 at 5:46 AM, lifuqiong  wrote:

> Hi Maor,
>
>
>
> I Upload qcow2 file in Storage Tab, but the qcow2 upload error, which’s
> status keep ‘Paused by System’. What’s the reason?
>
>
>
> Thank you
>
>
>
> *发件人:* Maor Lipchuk [mailto:mlipc...@redhat.com]
> *发送时间:* 2016年8月29日 21:00
> *收件人:* lifuqiong
> *抄送:* users
> *主题:* Re: [ovirt-users] How to import a qcow2 disk into ovirt
>
>
>
> Hi lifuqiong,
>
>
>
> There are several ways to import disks into oVirt
>
>
>
> Does the disk contains any snapshots?
>
> if not, the disk file can be copied to the storage domain and you can
> register it using the Register button (see https://bugzilla.redhat.
> com/show_bug.cgi?id=1138139)
>
>
>
> You can also take a look at the image-uploader, see
> http://www.ovirt.org/develop/release-management/features/
> storage/image-upload/
>
>
>
> What is the use case that you want to do? What is the origin of the disk
> (Was it an oVirt disk?), as asked before, does the disk includes any
> snapshots.
>
>
>
> Regards,
>
> Maor
>
>
>
>
>
> On Mon, Aug 29, 2016 at 3:40 PM, lifuqiong 
> wrote:
>
> Hi,
>
>  How to import a qcow2 disk file into ovirt? I search the Internet
> for a long time , but find no solution work.
>
>
>
> Thank you
>
>
>
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] How to import a qcow2 disk into ovirt

2016-08-30 Thread Amit Aviram
Hi
Actually, if you have the latest oVirt 4, you can just do that from the UI.
just go to disks tab and select "upload" -> "start".

Before doing that, make sure to make your browser trust oVirt's CA by
downloading its CA certificate from:
https://{your_engine's_URI}/ovirt-engine/services/pki-resource?resource=ca-certificate=X509-PEM-CA


Let me know if that's works for you.

On Mon, Aug 29, 2016 at 3:40 PM, lifuqiong  wrote:

> Hi,
>
>  How to import a qcow2 disk file into ovirt? I search the Internet
> for a long time , but find no solution work.
>
>
>
> Thank you
>
>
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] import qcow2 image to ovirt

2016-08-14 Thread Amit Aviram
On Thu, Aug 11, 2016 at 5:44 PM, Gianluca Cecchi <gianluca.cec...@gmail.com>
wrote:

> On Thu, Aug 11, 2016 at 4:40 PM, Amit Aviram <aavi...@redhat.com> wrote:
>
>>
>> On Thu, Aug 11, 2016 at 5:39 PM, Amit Aviram <aavi...@redhat.com> wrote:
>>
>>> Due to bug:
>>> https://bugzilla.redhat.com/show_bug.cgi?id=1365451
>>>
>>> There will need to be special configurations to do, in order to run
>>> ovirt-imageio-proxy after upgrade. we are making best efforts to publish
>>> this fix asap
>>>
>>
>> ​(patch is merged in master, will be available in the next build)​
>>
>>
>>>
>>>
> Ok, I read the bug. for the missing pki. In fact in conf file I see
> reference to missing
>
> # Key file for SSL connections
> ssl_key_file = /etc/pki/ovirt-engine/keys/imageio-proxy.key.nopass
>
> # Certificate file for SSL connections
> ssl_cert_file = /etc/pki/ovirt-engine/certs/imageio-proxy.cer
>
>
> In the mean time I see that if I change the default in
>  /etc/ovirt-imageio-proxy/ovirt-imageio-proxy.conf
> from
>
> # Wrap incoming connections with SSL
> use_ssl = true
>
> to
>
> # Wrap incoming connections with SSL
> use_ssl = false
>
> The service starts and it seems it listens to tcp port 54323.
> Could it be a workaround (wit the limitations of not secure trasnport) or
> is it anyway designed to only work through SSL?
>
> ​
Yes, supposed to work. if not for HTTPS connection to ovirt, probably for
HTTP.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] import qcow2 image to ovirt

2016-08-11 Thread Amit Aviram
On Thu, Aug 11, 2016 at 5:39 PM, Amit Aviram <aavi...@redhat.com> wrote:

> Due to bug:
> https://bugzilla.redhat.com/show_bug.cgi?id=1365451
>
> There will need to be special configurations to do, in order to run
> ovirt-imageio-proxy after upgrade. we are making best efforts to publish
> this fix asap
>

​(patch is merged in master, will be available in the next build)​


>
> On Thu, Aug 11, 2016 at 4:39 PM, Gianluca Cecchi <
> gianluca.cec...@gmail.com> wrote:
>
>> On Wed, Aug 10, 2016 at 4:20 PM, Amit Aviram <aavi...@redhat.com> wrote:
>>
>>> It seems like you have an early version of ovirt-4.0, if you'll update
>>> your version it might solve some of your problems (such as the exception in
>>> the screenshot). soon, the size and format will be deduced from the image
>>> as well, so many things will be clearer.
>>>
>>> If you want to stay with your version, you'll need to do the following
>>> steps in order to upload the file:
>>> - At the engine's host, yum install ovirt-imageio-proxy
>>> - Then, run engine-setup.
>>> - Add the engine's CA to the Authorities list in your browser. (you can
>>> download it from https://%your_engine%/ovirt-engine/services/pki-resourc
>>> e?resource=ca-certificate=X509-PEM-CA
>>> <https://engineaaviram.usersys.redhat.com:8443/ovirt-engine/services/pki-resource?resource=ca-certificate=X509-PEM-CA>
>>> )
>>>
>>> regarding the size- you can choose a bigger size than the original
>>> file's size.
>>>
>>> Hope that works out for you!
>>>
>>>
>>>
>> Hello,
>> I updated both engine and host to 4.0.2 RC4 and during the engine-setup
>> phase I indeed see this:
>>
>> ...
>>
>>   PACKAGE: [install] ovirt-imageio-common-0.3.0-1.el7.noarch
>>   PACKAGE: [install] ovirt-imageio-proxy-0.3.0-0.20
>> 1606191345.git9f3d6d4.el7.centos.noarch
>>   PACKAGE: [install] ovirt-imageio-proxy-setup-0.3.
>> 0-0.201606191345.git9f3d6d4.el7.centos.noarch
>>
>> and the configuration preview appeared as
>>
>>
>>   --== CONFIGURATION PREVIEW ==--
>>
>>   Default SAN wipe after delete   : False
>>   Firewall manager: firewalld
>>   Update Firewall : True
>>   Host FQDN   : ractorshe.mydomain
>>   Upgrade packages: True
>>   Engine database secured connection  : False
>>   Engine database host: localhost
>>   Engine database user name   : engine
>>   Engine database name: engine
>>   Engine database port: 5432
>>   Engine database host name validation: False
>>   DWH database secured connection : False
>>   DWH database host   : localhost
>>   DWH database user name  : ovirt_engine_history
>>   DWH database name   : ovirt_engine_history
>>   DWH database port   : 5432
>>   DWH database host name validation   : False
>>   Engine installation : True
>>   PKI organization: mydomain
>>   DWH installation: True
>>   Backup DWH database : True
>>   Engine Host FQDN: ractorshe.mydomain
>>   Configure VMConsole Proxy   : True
>>   Configure WebSocket Proxy   : True
>>
>>
>> Should I have seen anything related to image proxy in engine-setup
>> configuration preview above?
>>
>> The version installed is:
>> ovirt-imageio-proxy-0.3.0-0.201606191345.git9f3d6d4.el7.centos.noarch
>>
>> I don't get anymore the exception in the GUI but again the upload goes
>> into paused mode as soon as it starts
>>
>> I see that part of the new package there is also a service
>>
>> [root@ractorshe log]# systemctl status ovirt-imageio-proxy.service
>> ● ovirt-imageio-proxy.service - oVirt ImageIO Proxy
>>Loaded: loaded (/usr/lib/systemd/system/ovirt-imageio-proxy.service;
>> disabled; vendor preset: disabled)
>>Active: inactive (dead)
>> [root@ractorshe log]#
>>
>> Do I have to enable and start it?
>> What TCP ports does the upload use? Does the client communicate with the
>> engine or directly with the host?
>>
>
> ​The client uploads directly to ovirt-imageio-proxy, not through the
> engine. this proxy writes to the host.
>
>
>>
>> Thanks,
>> Gianluca
>>
>>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] import qcow2 image to ovirt

2016-08-11 Thread Amit Aviram
Due to bug:
https://bugzilla.redhat.com/show_bug.cgi?id=1365451

There will need to be special configurations to do, in order to run
ovirt-imageio-proxy after upgrade. we are making best efforts to publish
this fix asap

On Thu, Aug 11, 2016 at 4:39 PM, Gianluca Cecchi <gianluca.cec...@gmail.com>
wrote:

> On Wed, Aug 10, 2016 at 4:20 PM, Amit Aviram <aavi...@redhat.com> wrote:
>
>> It seems like you have an early version of ovirt-4.0, if you'll update
>> your version it might solve some of your problems (such as the exception in
>> the screenshot). soon, the size and format will be deduced from the image
>> as well, so many things will be clearer.
>>
>> If you want to stay with your version, you'll need to do the following
>> steps in order to upload the file:
>> - At the engine's host, yum install ovirt-imageio-proxy
>> - Then, run engine-setup.
>> - Add the engine's CA to the Authorities list in your browser. (you can
>> download it from https://%your_engine%/ovirt-engine/services/pki-resourc
>> e?resource=ca-certificate=X509-PEM-CA
>> <https://engineaaviram.usersys.redhat.com:8443/ovirt-engine/services/pki-resource?resource=ca-certificate=X509-PEM-CA>
>> )
>>
>> regarding the size- you can choose a bigger size than the original file's
>> size.
>>
>> Hope that works out for you!
>>
>>
>>
> Hello,
> I updated both engine and host to 4.0.2 RC4 and during the engine-setup
> phase I indeed see this:
>
> ...
>
>   PACKAGE: [install] ovirt-imageio-common-0.3.0-1.el7.noarch
>   PACKAGE: [install] ovirt-imageio-proxy-0.3.0-0.
> 201606191345.git9f3d6d4.el7.centos.noarch
>   PACKAGE: [install] ovirt-imageio-proxy-setup-0.3.
> 0-0.201606191345.git9f3d6d4.el7.centos.noarch
>
> and the configuration preview appeared as
>
>
>   --== CONFIGURATION PREVIEW ==--
>
>   Default SAN wipe after delete   : False
>   Firewall manager: firewalld
>   Update Firewall : True
>   Host FQDN   : ractorshe.mydomain
>   Upgrade packages: True
>   Engine database secured connection  : False
>   Engine database host: localhost
>   Engine database user name   : engine
>   Engine database name: engine
>   Engine database port: 5432
>   Engine database host name validation: False
>   DWH database secured connection : False
>   DWH database host   : localhost
>   DWH database user name  : ovirt_engine_history
>   DWH database name   : ovirt_engine_history
>   DWH database port   : 5432
>   DWH database host name validation   : False
>   Engine installation : True
>   PKI organization: mydomain
>   DWH installation: True
>   Backup DWH database : True
>   Engine Host FQDN: ractorshe.mydomain
>   Configure VMConsole Proxy   : True
>   Configure WebSocket Proxy   : True
>
>
> Should I have seen anything related to image proxy in engine-setup
> configuration preview above?
>
> The version installed is:
> ovirt-imageio-proxy-0.3.0-0.201606191345.git9f3d6d4.el7.centos.noarch
>
> I don't get anymore the exception in the GUI but again the upload goes
> into paused mode as soon as it starts
>
> I see that part of the new package there is also a service
>
> [root@ractorshe log]# systemctl status ovirt-imageio-proxy.service
> ● ovirt-imageio-proxy.service - oVirt ImageIO Proxy
>Loaded: loaded (/usr/lib/systemd/system/ovirt-imageio-proxy.service;
> disabled; vendor preset: disabled)
>Active: inactive (dead)
> [root@ractorshe log]#
>
> Do I have to enable and start it?
> What TCP ports does the upload use? Does the client communicate with the
> engine or directly with the host?
>

​The client uploads directly to ovirt-imageio-proxy, not through the
engine. this proxy writes to the host.


>
> Thanks,
> Gianluca
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] import qcow2 image to ovirt

2016-08-10 Thread Amit Aviram
It seems like you have an early version of ovirt-4.0, if you'll update your
version it might solve some of your problems (such as the exception in the
screenshot). soon, the size and format will be deduced from the image as
well, so many things will be clearer.

If you want to stay with your version, you'll need to do the following
steps in order to upload the file:
- At the engine's host, yum install ovirt-imageio-proxy
- Then, run engine-setup.
- Add the engine's CA to the Authorities list in your browser. (you can
download it from
https://%your_engine%/ovirt-engine/services/pki-resource?resource=ca-certificate=X509-PEM-CA
<https://engineaaviram.usersys.redhat.com:8443/ovirt-engine/services/pki-resource?resource=ca-certificate=X509-PEM-CA>
)

regarding the size- you can choose a bigger size than the original file's
size.

Hope that works out for you!







On Wed, Aug 10, 2016 at 1:32 PM, Gianluca Cecchi <gianluca.cec...@gmail.com>
wrote:

>
>
> On Wed, Aug 10, 2016 at 12:26 PM, Gianluca Cecchi <
> gianluca.cec...@gmail.com> wrote:
>
>> On Wed, Aug 10, 2016 at 12:13 PM, Amit Aviram <aavi...@redhat.com> wrote:
>>
>>> If you are using ovirt-4.0, you can just upload it to any storage domain
>>> you have, from
>>> Storage->domain->disks tab->Upload->Start
>>> or:
>>> Disks->Upload->Start
>>>
>>> Thanks, Amit.
>>>
>>>
>>>
>>>
>> I didn't know about it so I just tested uploading a local file.
>> Can I only select and put nothing in the lower part of the screen?
>> Because I get this error with both the options:
>> https://drive.google.com/file/d/0BwoPbcrMv8mvNzliUWs5a0dGV2c
>> /view?usp=sharing
>> It seems nothing in engine.log or events
>>
>> $ qemu-img info /tmp/manageiq_01.qcow2
>> image: /tmp/manageiq_01.qcow2
>> file format: qcow2
>> virtual size: 40G (42949672960 bytes)
>> disk size: 1.5G
>> cluster_size: 65536
>> Format specific information:
>> compat: 0.10
>> refcount bits: 16
>>
>> On storage domain I have 11Gb free. Would it calculate 40Gb of necessary
>> storage or 1.5Gb?
>>
>> Gianluca
>>
>
> Ok, self answer.
> As I have visual problems to notice the square border changes (and didn't
> notice the dotted lines under the required fields).
> Putting now data inside the upload starts, but then I see message "Paused
> by System" in disks page
> and in engine.log many mlines of type
> 2016-08-10 12:28:02,410 WARN  [org.ovirt.engine.core.bll.
> storage.disk.image.UploadDiskImageCommand] (DefaultQuartzScheduler9)
> [4a24dd69] Failed to stop image transfer session. Ticket does not exist for
> image '53e2ee54-b710-4872-bea6-fbecfa767bf9'
>
> Also, as I have to specify a size, does that mean that I can use a
> different virtual size from the original qcow2 file I'm uploding?
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] import qcow2 image to ovirt

2016-08-10 Thread Amit Aviram
If you are using ovirt-4.0, you can just upload it to any storage domain
you have, from
Storage->domain->disks tab->Upload->Start
or:
Disks->Upload->Start

Thanks, Amit.

On Wed, Aug 10, 2016 at 11:26 AM, David David  wrote:

> Hi all
>
> ovirt 4.0
>
> there is KVM qcow2 image:
>
> file format: qcow2
> virtual size: 466G (500106788864 bytes)
> disk size: 86G
> cluster_size: 65536
>
> How to import the image with the same disk size, 86 GB, to ovirt ?
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Procedure to upgrade single-host datacenter from el6 to el7

2016-04-24 Thread Amit Aviram
On Sun, Apr 24, 2016 at 4:22 PM, Rik Theys <rik.th...@esat.kuleuven.be>
wrote:

> Hi,
>
> If the host is the only host in the cluster and I remove the host from
> the cluster prior to the OS upgrade, is it still necessary to create a
> new cluster?
>
> Should I:
>
> A) remove the host from the cluster and add the host to a new cluster
> after the OS upgrade
>

"A" is the right thing to do. after adding the host to the new cluster,
choose to reinstall it, then activate it.


> B) remove the host from the cluster and add it to the same cluster after
> OS upgrade
> C) Keep the host in the cluster and choose the "reinstall" option after
> the OS upgrade?
>
> What does the "reinstall" option do?


Nothing special more than installing again. Still- it is recommended to
"refresh" the host's installation if you do anything significant with it,
such as upgrading its OS.


>
>
> Regards,
>
> Rik
>
> --
> Rik Theys
> System Engineer
> KU Leuven - Dept. Elektrotechniek (ESAT)
> Kasteelpark Arenberg 10 bus 2440  - B-3001 Leuven-Heverlee
> +32(0)16/32.11.07
> 
> <>
>
> On Sun, 24 Apr 2016, Amit Aviram wrote:
>
> Hi Rik.The flow should work, as long as the OS is supported by oVirt.
>>
>> However, you will still need to move it to a new cluster.
>>
>> On Fri, Apr 22, 2016 at 3:44 PM, Rik Theys <rik.th...@esat.kuleuven.be>
>> wrote:
>>   Hi,
>>
>>   I'm looking for the best procedure to upgrade a host from CentOS 6
>> to
>>   CentOS 7. The host is the only host in the oVirt data center (the
>> engine
>>   is running on another machine and manages multiple data centers).
>>
>>   For datacenters with multiple hosts I followed the following steps:
>>- Add new cluster
>>- Put host in maintenance
>>- Remove host from old cluster
>>- Reinstall host
>>- Add host to new cluster
>>- repeat for all hosts until old cluster is empty
>>
>>   This worked OK and the data center was never "non operational".
>>
>>   Is the procedure identical for a data center with only one host?
>>
>>   Should I also remove the host from the (only) cluster in the data
>>   center, or should I reinstall it and select the "reinstall" option
>> in
>>   the oVirt web interface? Since there is only one host in the cluster
>>   there's no need to create a new cluster?
>>
>>   Is there any state on the host that I should keep when performing
>> the
>>   reinstall with CentOS 7?
>>
>>   The host is using FC storage (local disks configured as FC through
>>   multipath).
>>
>>   Regards,
>>
>>   Rik
>>
>>   --
>>   Rik Theys
>>   System Engineer
>>   KU Leuven - Dept. Elektrotechniek (ESAT)
>>   Kasteelpark Arenberg 10 bus 2440  - B-3001 Leuven-Heverlee
>>   +32(0)16/32.11.07
>>   
>>   <>
>>   ___
>>   Users mailing list
>>   Users@ovirt.org
>>   http://lists.ovirt.org/mailman/listinfo/users
>>
>>
>>
>>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Procedure to upgrade single-host datacenter from el6 to el7

2016-04-24 Thread Amit Aviram
Hi Rik.
The flow should work, as long as the OS is supported by oVirt.
However, you will still need to move it to a new cluster.

On Fri, Apr 22, 2016 at 3:44 PM, Rik Theys 
wrote:

> Hi,
>
> I'm looking for the best procedure to upgrade a host from CentOS 6 to
> CentOS 7. The host is the only host in the oVirt data center (the engine
> is running on another machine and manages multiple data centers).
>
> For datacenters with multiple hosts I followed the following steps:
>  - Add new cluster
>  - Put host in maintenance
>  - Remove host from old cluster
>  - Reinstall host
>  - Add host to new cluster
>  - repeat for all hosts until old cluster is empty
>
> This worked OK and the data center was never "non operational".
>
> Is the procedure identical for a data center with only one host?
>
> Should I also remove the host from the (only) cluster in the data
> center, or should I reinstall it and select the "reinstall" option in
> the oVirt web interface? Since there is only one host in the cluster
> there's no need to create a new cluster?
>
> Is there any state on the host that I should keep when performing the
> reinstall with CentOS 7?
>
> The host is using FC storage (local disks configured as FC through
> multipath).
>
> Regards,
>
> Rik
>
> --
> Rik Theys
> System Engineer
> KU Leuven - Dept. Elektrotechniek (ESAT)
> Kasteelpark Arenberg 10 bus 2440  - B-3001 Leuven-Heverlee
> +32(0)16/32.11.07
> 
> <>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Second DataCenter isn't available to attach Export Storage Domain

2016-04-24 Thread Amit Aviram
Hi Joshua.
Is the second DC up?

On Thu, Apr 21, 2016 at 10:35 PM, Joshua Adkisson 
wrote:

> I have put the export domain into maintenance, detach from Datacenter 1,
> and when I try to attach it to Datacenter 2, attached to the same engine,
> when the Attach to Data Center dialog pops up, it only shows Datacenter 1.
>
> What am I missing here?
>
> Please be kind, I’m very new to oVirt…
>


That's fine, please- feel free to ask what ever you want, we'll be more
than happy to assist!


>
> Version 3.6
> CONFIDENTIALITY NOTICE: This email, including any attachments, is for the
> sole use of the intended recipient(s) and may contain confidential and
> privileged information. Any unauthorized review, use, disclosure, or
> distribution is prohibited. If you received this email and are not the
> intended recipient, please inform the sender by email reply and destroy all
> copies of the original message.
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Consult actual size the disk vm

2016-04-21 Thread Amit Aviram
Hi Marcelo.

Using the API:
-   "disk.get_actual_size()" will return the actual size in bytes, which is
the value you can find as "Actual size" in GB in oVirt's webadmin, where
Idan wrote (Virtual Machines tab -> Disks sub tab -> actual size, Thanks
Idan)

- "disk.get_provisioned_size()" will return the size in bytes which is the
value you can find as "Virtual size" in GB also under the disks sub tab.

After transforming the value you got to GB, does the values seem correct?

Thanks, Amit.


On Thu, Apr 21, 2016 at 1:08 PM, Marcelo Leandro 
wrote:

> Thanks for reply, but for my script is necessary consult the actual size
> with python-api or database.
> Hi Marcelo,
>
> Please note that under the Virtual Machines tab -> Disks sub tab, assuming
> we are talking about an image, you can click on the Images radio button and
> see the disk's virtual and actual size.
> Hope it helps.
>
>
> Regards,
> Idan
>
> On Thu, Apr 21, 2016 at 6:06 AM, Marcelo Leandro 
> wrote:
>
>> Hello,
>>
>> i am try automate an task, i am try consult the actual size the disk of
>> vm, but not have success, i try in database in table imagens, i try with
>> python-api with command:
>>
>> vm = api.vms.get(vmname)
>> disk =  vm.disks.get(diskname)
>> disk.get_actual_size()
>>
>> but the informations  not is equal with that shown in the dashboard.
>>
>> Can someone help me?
>>
>>
>>
>> ___
>> Users mailing list
>> Users@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>>
>>
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Issue while importing the existing storage domain

2016-04-21 Thread Amit Aviram
Adding users list, dropped from the reply.

On Wed, Apr 20, 2016 at 1:49 PM, Amit Aviram <aavi...@redhat.com> wrote:

> Hi sasundar.
> IIUC, The storage that is being imported is a backup that was generated by
> other process than VDSM?
> If that is the case, the files inside might have other user as an owner,
> which might cause permission problems to VDSM while trying to write to it.
>
> Can you try changing the owner back to VDSM and try importing again?
>
> Please let us know if that did the trick.
>
> Thanks, Amit.
>
> On Wed, Apr 20, 2016 at 12:42 PM, SATHEESARAN <sasun...@redhat.com> wrote:
>
>> Hi All,
>>
>> I was testing the gluster geo-replication on RHEV storage domain backed
>> by gluster volume.
>> In this case, storage domain ( data domain ) was created with gluster
>> replica 3 volume.
>>
>> The VMs additional disks are carved out from this storage domain.
>>
>> Now I have geo-replicated[1] the gluster volume to the remote volume.
>> When I try importing this storage domain in another RHEVM instance, it
>> fails with error "internal engine error"
>>  I see the following error in engine.log
>>
>> 
>> 2016-04-20 05:13:47,685 ERROR
>> [org.ovirt.engine.core.vdsbroker.irsbroker.DetachStorageDomainVDSCommand]
>> (ajp-/127.0.0.1:8702-3) [20f6ea4c] Failed in 'DetachStorageDomainVDS'
>> method
>> 2016-04-20 05:13:47,708 ERROR
>> [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
>> (ajp-/127.0.0.1:8702-3) [20f6ea4c] Correlation ID: null, Call Stack:
>> null, Custom Event ID: -1, Message: VDSM command failed: Cannot acquire
>> host id: (u'89061d19-fb76-47c9-a4aa-22b0062b769e', SanlockException(-262,
>> 'Sanlock lockspace add failure', 'Sanlock exception'))
>> 2016-04-20 05:13:47,708 INFO
>> [org.ovirt.engine.core.vdsbroker.irsbroker.DetachStorageDomainVDSCommand]
>> (ajp-/127.0.0.1:8702-3) [20f6ea4c] Command
>> 'org.ovirt.engine.core.vdsbroker.irsbroker.DetachStorageDomainVDSCommand'
>> return value 'StatusOnlyReturnForXmlRpc [status=StatusForXmlRpc [code=661,
>> message=Cannot acquire host id: (u'89061d19-fb76-47c9-a4aa-22b0062b769e',
>> SanlockException(-262, 'Sanlock lockspace add failure', 'Sanlock
>> exception'))]]'
>> 
>>
>> The complete logs are available in the fpaste[2]
>> Attaching the part of vdsm log to this mail
>>
>> [1] - geo-replication is the feature in glusterfs where the contents of
>> volume are asynchronously replicated in remote volume.
>> This is used for disaster-recovery workflow
>>
>> [2] - https://paste.fedoraproject.org/357701/11448771/
>>
>> Thanks,
>> Satheesaran S
>>
>> ___
>> Users mailing list
>> Users@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>>
>>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Getting qcow images into oVirt

2016-02-08 Thread Amit Aviram
Hi
There's an upcoming feature to upload a pre-created image into your ovirt
system. it is not merged yet, but here's a link if you are interested in
more details:
http://www.ovirt.org/Features/Image_Upload

Anyway, currently you can still manually put an ISO file in an ISO domain,
and it should appear in your web admin.


On Mon, Feb 8, 2016 at 10:59 AM, Barak Korren  wrote:

> Hi there,
>
> We would like to consume pre-created QCOW images in oVirt/RHEV.
>
> So far it seems that the only way to do that would be to store the
> images in a Glance server which will require us to maintain such
> server.
> Trying to put the image in an ISO domain made in show up as a useless
> "unkonwn" file type in engine.
>
> Is there any other way to get the images into oVirt?
>
> --
> Barak Korren
> bkor...@redhat.com
> RHEV-CI Team
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Snapshot failed

2016-01-31 Thread Amit Aviram
Hi johan, The logs shows that there were an error in the VDSM side, can you
please provide the VDSM logs?

On Tue, Jan 26, 2016 at 4:08 PM, Johan Kooijman 
wrote:

> Hi all,
>
> I've been live migrating storage all day, but suddenly getting an error on
> one VM.
> I've put the logs here:
> https://plakbord.cloud.nl/p/VCqBg50032GZyrhz5QbDpjJM
>
> oVirt versions:
>
> ovirt-image-uploader-3.5.1-1.el6.noarch
> ovirt-engine-setup-base-3.5.3.1-1.el6.noarch
> ovirt-engine-setup-plugin-websocket-proxy-3.5.3.1-1.el6.noarch
> ovirt-engine-userportal-3.5.3.1-1.el6.noarch
> ovirt-engine-backend-3.5.3.1-1.el6.noarch
> ovirt-host-deploy-1.3.1-1.el6.noarch
> ovirt-guest-tools-iso-3.5-7.noarch
> ovirt-host-deploy-java-1.3.1-1.el6.noarch
> ovirt-release35-004-1.noarch
> ovirt-engine-lib-3.5.3.1-1.el6.noarch
> ovirt-engine-setup-plugin-ovirt-engine-common-3.5.3.1-1.el6.noarch
> ovirt-engine-extensions-api-impl-3.5.3.1-1.el6.noarch
> ovirt-engine-webadmin-portal-3.5.3.1-1.el6.noarch
> ovirt-iso-uploader-3.5.2-1.el6.noarch
> ovirt-engine-setup-3.5.3.1-1.el6.noarch
> ovirt-engine-dbscripts-3.5.3.1-1.el6.noarch
> ovirt-engine-3.5.3.1-1.el6.noarch
> ovirt-engine-setup-plugin-ovirt-engine-3.5.3.1-1.el6.noarch
> ovirt-engine-websocket-proxy-3.5.3.1-1.el6.noarch
> ovirt-engine-restapi-3.5.3.1-1.el6.noarch
> ovirt-engine-tools-3.5.3.1-1.el6.noarch
> ovirt-engine-cli-3.5.0.6-1.el6.noarch
> ovirt-engine-jboss-as-7.1.1-1.el6.x86_64
> ovirt-engine-sdk-python-3.5.2.1-1.el6.noarch
>
> Any clues?
>
> --
> Met vriendelijke groeten / With kind regards,
> Johan Kooijman
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] [ovirt-devel] [ANN] oVirt Bugzilla Now Supports Votes.

2015-12-22 Thread Amit Aviram
Does voting includes only the severity option? or anything else?

On Tue, Dec 22, 2015 at 12:29 PM, Yaniv Dary  wrote:

> Hi all,
> I'm happy to announce that voting has been enabled for all the oVirt
> projects.
> Let us know what RFEs and bugs you hold dear and help us in prioritizing
> what to fix first and what will have most impact.
>
> To vote please login, enter any oVirt bug and press on vote button (see
> attached image).
>
>
> Thanks!
>
> Yaniv Dary
> Technical Product Manager
> Red Hat Israel Ltd.
> 34 Jerusalem Road
> Building A, 4th floor
> Ra'anana, Israel 4350109
>
> Tel : +972 (9) 7692306
> 8272306
> Email: yd...@redhat.com
> IRC : ydary
>
>
> ___
> Devel mailing list
> de...@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/devel
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] oVirt 4.0 wishlist: progress bar in the WebUI

2015-12-08 Thread Amit Aviram
On Tue, Dec 8, 2015 at 12:09 PM, Kevin COUSIN 
wrote:

> Hi list,
>
> It could be great if we can follow process like moving Disk storage,
> snapshots or VM import in the oVirt Interface, like in VMware or VMM.
>

Hi Kevin, actually there is usage of a progress bar in some oVirt
processes, such as oVirt's integration with virt-v2v:
https://www.youtube.com/watch?v=QSss__Nl5rU

Also, a progress bar will be in use in the upcoming image upload feature:
http://www.ovirt.org/Features/Image_Upload

and hopefully will be included in more features in the future.


> Regards,
>
> Kevin C
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Contribute with Ovirt

2015-11-01 Thread Amit Aviram
Hi Somansh, and thanks for having interest in the project!
First I would recommend getting know with the architecture of oVirt:
http://www.ovirt.org/Architecture

Then you can decide whether contributing to oVirt Engine:
http://www.ovirt.org/OVirt_Engine_Development_Environment

Or to VDSM:
http://www.ovirt.org/Vdsm_Developers

Of course, feel free to ask anything via the mailing lists.

On Fri, Oct 30, 2015 at 11:55 AM, Somansh Arora 
wrote:

> Hi All,
>
> I am a Linux Admin from India aged 24, working for a reputed company
> handling their Linux, AIX and HPUX server from last 2 years. I would like
> to give some of my time now contributing to some of the open projects. I
> liked ovirt.
>
> Please let me know if i could be of any help in any ways around. Help from
> anyone in your team responding to me is appreciated.
>
> --
> Thanks & Regards
>
> Somansh Arora
> +91- 9582671964
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] VM has been paused due to unknown storage error

2015-07-16 Thread Amit Aviram
Hi again Konstantinos.

Can you please attach the full VDSM  Engine logs so we can understand the 
reason for your problem?

Thanks.

- Original Message -
From: Konstantinos Christidis kochr...@ekt.gr
To: users@ovirt.org
Sent: Thursday, July 16, 2015 11:29:26 AM
Subject: [ovirt-users] VM has been paused due to unknown storage error

Hello oVirt users,

I am facing a serious problem regarding my GlusterFS storage and virtual 
machines that have *bootable* disks on this storage.

All my VMs that have GlusterFS disks are occasionally (1-2 times/hour) 
becoming paused with the following Error: VM vm02.mytld has been paused 
due to unknown storage error.

Engine Log
INFO  [org.ovirt.engine.core.vdsbroker.VmAnalyzer] 
(DefaultQuartzScheduler_Worker-69) [] VM 
'247bb0f3-1a77-44e4-a404-3271eaee94be'(vm02.mytld) moved from 'Up' -- 
'Paused'
INFO 
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
(DefaultQuartzScheduler_Worker-69) [] Correlation ID: null, Call Stack: 
null, Custom Event ID: -1, Message: VM vm02.mytld has been paused.
ERROR 
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
(DefaultQuartzScheduler_Worker-69) [] Correlation ID: null, Call Stack: 
null, Custom Event ID: -1, Message: VM vm02.mytld has been paused due to 
unknown storage error

My iSCSI VM's, some of which may have mounted (not bootable) disks from 
the same GlusterFS storage, do NOT suffer from this issue AFAIK.

My installation (oVirt 3.6/CentOS 7) is pretty much a typical one, with 
a GlusterFS enabled cluster with 4 hosts, 2-3 networks, and 6-7 VMs..

Thanks,

K.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Storage question: single node gluster?

2015-07-15 Thread Amit Aviram
Hey Alan.

Using a single Gluster node will be like mounting any other storage, just 
without Gluster's advantages of backuping/distributing the FS.
Also, you can attach nodes later on to your GlusterFS after you start using it.

(Thanks to Sahina Bose from Gluster's team for advicing (: )


- Original Message -
From: Alan Murrell li...@murrell.ca
To: users@ovirt.org
Sent: Tuesday, July 14, 2015 7:18:31 AM
Subject: [ovirt-users] Storage question: single node gluster?

Hi There,

This is not strictly oVirt, but is storage-related, so hopefully you
will indulge me?

Is there any detriment (performance or otherwise) in setting up a
single-node glusterFS storage?  I know glusterFS is designed to be used
with multiple nodes, but I am wondering if there are any ill-effects in
configuring current storage as a single-node cluster, with the idea of
possibly adding future nodes in the future?

Thanks! :-)

-Alan

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Internal Engine Error while adding a new (distribute glusterfs) Storage Domain

2015-07-14 Thread Amit Aviram
Hi Konstantinos.

After having a look at the logs, it seems that the problem you have doesn't 
relate directly to oVirt's support to a single Gluster replica, but for some 
bug in that area. can you please  attach the hole log files so we can open a 
bug for this issue?

Thanks.


- Original Message -
From: Konstantinos Christidis kochr...@ekt.gr
To: users@ovirt.org
Sent: Monday, July 13, 2015 7:22:41 PM
Subject: Re: [ovirt-users] Internal Engine Error while adding a new (distribute 
glusterfs) Storage Domain

The good news: there is an an option for this.
The bad news: Only replica 3 is supported. Other options are for 
development purposes.




[root@hv00 ~]# cat /etc/vdsm/vdsm.conf
...

[gluster]
# Only replica 3 is supported, this configuration is for development.
# Value is comma separated. For example, to allow replica 1 and
# replica 3, use 1,3.
allowed_replica_counts = 1,3

...

https://bugzilla.redhat.com/show_bug.cgi?id=1238093



On 07/13/2015 05:08 PM, Konstantinos Christidis wrote:
 Hello,

 I created (through oVirt web) a GlusterFS distributed volume with four 
 bricks.

 When I try to add a New Domain - GlusterFS Data I am getting
 Error while executing action Add Storage Connection: Internal Engine 
 Error
 and
 Error validating master storage domain: ('MD read error',)

 Full logs
 engine.log - https://paste.kde.org/pefcwndgc/zamd2o/raw
 vdsm.log - https://paste.kde.org/pxf91znwq/6mhrg3/raw

 Gluster info/options - https://paste.kde.org/pjfauvisg/grfrvj/raw
 (oVirt3.6/Centos7)

 ps: My installation seems to work only with replica-3 oVirt Optimized 
 volumes. Every other combination fails with the error above.

 Any help would be appreciated.

 Thanks,

 K.
 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users

K.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users