[ovirt-users] Export VM to ova or ovf format

2017-05-31 Thread Brett Holcomb
Is there anyway to export a oVirt VM to an ova or ovf format. Right 
click export seems to be intended to transfer between oVirt storage 
domains. There is a project to setup a gui to do this but it's still in 
the planning stage.  I've found various references that basically export 
it to an export domain and then you strip the disk or disks from it, 
create a VMware workstation VM, and then point it at the new disks you 
have.  VMware's P2V converter is useless because it only converts Linux 
machines to an ESXi server which I don't have and once you do that it's 
another conversion to VMware Workstation.  Guess nobody wants to run 
Linux on VMware workstation according to VMware.  I'm trying to get some 
of my critical servers over to VMware Workstation on my Windows Physical 
box so when I upgrade oVirt I still have my basic network.  I'm running 
a self-hosted Engine setup with only one Physical server at the moment.


Thanks.


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


Re: [ovirt-users] Manually copying VM disks from FC data domain

2017-05-31 Thread Николаев Алексей
Please advise, where I can find some materials how oVirt (or maybe VDSM) works with block storage, multipath?   30.05.2017, 11:57, "Николаев Алексей" :Hi, community! After import DATA DOMAIN some VM disks not visible in oVirt.Can I manually copy VM disks from data domain at FC block device?,___Users mailing listUsers@ovirt.orghttp://lists.ovirt.org/mailman/listinfo/users
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] live migration between datacenters with shared storage

2017-05-31 Thread Charles Kozler
I couldnt find a definitive on this so I would like to inquire here

I have gluster on my storage backend exporting the volume from a single
node via NFS

I have a DC of 4.0 and I would like to upgrade to 4.1. I would ideally like
to take one node out of the cluster and build a 4.1 datacenter. Then live
migrate VMs from the 4.0 DC over to the 4.1 DC with zero downtime to the VMs

Is this possible? Or would I be safer to export/import VMs?

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


[ovirt-users] oVirt install error

2017-05-31 Thread ovirt

Any ideas what this is:

TASK [Run a shell script] 
**
fatal: [ovirt-node1.lab]: FAILED! => {"failed": true, "msg": "The 
conditional check 'result.rc != 0' failed. The error was: error while 
evaluating conditional (result.rc != 0): 'dict object' has no attribute 
'rc'"}
fatal: [ovirt-node3.lab]: FAILED! => {"failed": true, "msg": "The 
conditional check 'result.rc != 0' failed. The error was: error while 
evaluating conditional (result.rc != 0): 'dict object' has no attribute 
'rc'"}
fatal: [ovirt-node2.lab]: FAILED! => {"failed": true, "msg": "The 
conditional check 'result.rc != 0' failed. The error was: error while 
evaluating conditional (result.rc != 0): 'dict object' has no attribute 
'rc'"}

to retry, use: --limit @/tmp/tmpaOHOtY/run-script.retry
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] no spm node in cluster and unable to start any vm or stopped storage domain

2017-05-31 Thread Adam Litke
I'm no NFS expert but for development domains I use the following options:

rw,sync,no_subtree_check,all_squash,anonuid=36,anongid=36

I wonder if something subtle changed on upgrade that interacts poorly with
your configuration?

On Wed, May 31, 2017 at 11:34 AM, Moritz Baumann  wrote:

> Hi Adam,
>
> Just an idea, but could this be related to stale mounts from when you
>> rebooted the storage?  Please try the following:
>>
>>  1. Place all nodes into maintenance mode
>>  2. Disable the ovirt NFS exports
>>  1. Comment out lines in /etc/exports
>>  2. exportfs -r
>>  3. Reboot your nodes
>>  4. Re-enable the ovirt NFS exports
>>  5. Activate your nodes
>>
>
> all storage domains (data/iso) are down, so is the data center
> (non-responsive) and no nfs mount is on any of the nodes.
>
> I can however manually mount the data export and touch a file (as root).
>
> So I think stale mounts is not the issue.
>
> However I did the steps and the result is the same.
>
> Best,
> Mo
>



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


Re: [ovirt-users] Engine Down Score is 0

2017-05-31 Thread Rizwan Qureshi
Hi Sandro,
We upgraded from 3.6 to 4.0 but it was still working after the upgrade. It 
broke when we did a restart.

Any ideas how to fix this?

Also, in case we can’t make it work can we save the VMs and reload them after a 
fresh install of ovirt? We don’t want to lose the data that is on the VMs. Is 
there anyay to recover the data in the VMs?

Thanks,

From: Sandro Bonazzola [mailto:sbona...@redhat.com]
Sent: Wednesday, May 31, 2017 3:19 PM
To: Rizwan Qureshi ; Francesco Romani 
; Michal Skrivanek ; Simone Tiraboschi 
; Martin Sivak 
Cc: users@ovirt.org
Subject: Re: [ovirt-users] Engine Down Score is 0



On Wed, May 31, 2017 at 4:18 PM, Sandro Bonazzola 
> wrote:
The hosted engine fails to start due to:

Traceback (most recent call last):
  File "/usr/share/vdsm/virt/vm.py", line 714, in _startUnderlyingVm
self._run()
  File "/usr/share/vdsm/virt/vm.py", line 2026, in _run
self._connection.createXML(domxml, flags),
  File "/usr/lib/python2.7/site-packages/vdsm/libvirtconnection.py", line 123, 
in wrapper
ret = f(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/vdsm/utils.py", line 917, in wrapper
return func(inst, *args, **kwargs)
  File "/usr/lib64/python2.7/site-packages/libvirt.py", line 3782, in createXML
if ret is None:raise libvirtError('virDomainCreateXML() failed', conn=self)
libvirtError: Cannot get interface MTU on 'None': No such device

The Hosted Engine VM has been configured with:









also:









Not sure how you got there.
Can you share steps you did before having this issue?


On Wed, May 31, 2017 at 4:04 PM, Rizwan Qureshi 
> wrote:
Hi Sandro,
PFA the sos report and vdsm logs.

From: Sandro Bonazzola [mailto:sbona...@redhat.com]
Sent: Wednesday, May 31, 2017 11:04 AM
To: Rizwan Qureshi >; 
Martin Sivak >
Cc: Michal Skrivanek >; 
users@ovirt.org

Subject: Re: [ovirt-users] Engine Down Score is 0



On Wed, May 31, 2017 at 11:10 AM, Rizwan Qureshi 
> wrote:
Hi Sandro,
Thanks for your response.

We have tried that already but the VM shuts down after the –vm-start executes.

Also, apologies for wrong information bfore. We have 3 dedicated hosts not 1.

Please see below the output of –vm-status command:


Can you please share sos report or at least vdsm logs from the hosts?
Need to understand what happened to the vm.



--== Host 1 status ==--

Status up-to-date  : True
Hostname   : 
vmhost1.le1.uk.cxn-network.net
Host ID: 1
Engine status  : {"reason": "bad vm status", "health": 
"bad", "vm": "down", "detail": "down"}
Score  : 0
stopped: False
Local maintenance  : False
crc32  : 37a4ce89
Host timestamp : 76387
Extra metadata (valid at timestamp):
metadata_parse_version=1
metadata_feature_version=1
timestamp=76387 (Wed May 31 10:04:47 2017)
host-id=1
score=0
maintenance=False
state=EngineUnexpectedlyDown
stopped=False
timeout=Thu Jan  1 22:17:00 1970


--== Host 2 status ==--

Status up-to-date  : True
Hostname   : 
vmhost2.le1.uk.cxn-network.net
Host ID: 2
Engine status  : {"reason": "bad vm status", "health": 
"bad", "vm": "down", "detail": "down"}
Score  : 0
stopped: False
Local maintenance  : False
crc32  : 937b5542
Host timestamp : 76069
Extra metadata (valid at timestamp):
metadata_parse_version=1
metadata_feature_version=1
timestamp=76069 (Wed May 31 10:04:51 2017)
host-id=2
score=0
maintenance=False
state=EngineUnexpectedlyDown
stopped=False
timeout=Thu Jan  1 22:17:49 1970


--== Host 3 status ==--

Status up-to-date  : True
Hostname   : 
vmhost3.le1.uk.cxn-network.net
Host ID: 3
Engine status  

[ovirt-users] nic order

2017-05-31 Thread Nathanaël Blanchet

Hi all,

I added a new nic on all my vms, but the MAC address pool was too small. 
So I extended it from 00:1a:4a:22:1f:00 to 00:1a:4a:22:1f:ff => 
00:1a:4a:22:1e:00 to 00:1a:4a:22:1f:ff.


It was okay but when rebooting some vms, nics are interverted and I 
couldn't join my vm on ip!


I noticed nics were ordered now from the smallest MAC address to the 
greatest one, so the last plugged nic from the new pool was now the 
first in the vm, and all nics were moved at the bottom.


Is it an expected behaviour?


--
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


Re: [ovirt-users] Engine Down Score is 0

2017-05-31 Thread Rizwan Qureshi
Hi Sandro,
Thanks for your response.

We have tried that already but the VM shuts down after the –vm-start executes.

Also, apologies for wrong information bfore. We have 3 dedicated hosts not 1.

Please see below the output of –vm-status command:

--== Host 1 status ==--

Status up-to-date  : True
Hostname   : vmhost1.le1.uk.cxn-network.net
Host ID: 1
Engine status  : {"reason": "bad vm status", "health": 
"bad", "vm": "down", "detail": "down"}
Score  : 0
stopped: False
Local maintenance  : False
crc32  : 37a4ce89
Host timestamp : 76387
Extra metadata (valid at timestamp):
metadata_parse_version=1
metadata_feature_version=1
timestamp=76387 (Wed May 31 10:04:47 2017)
host-id=1
score=0
maintenance=False
state=EngineUnexpectedlyDown
stopped=False
timeout=Thu Jan  1 22:17:00 1970


--== Host 2 status ==--

Status up-to-date  : True
Hostname   : vmhost2.le1.uk.cxn-network.net
Host ID: 2
Engine status  : {"reason": "bad vm status", "health": 
"bad", "vm": "down", "detail": "down"}
Score  : 0
stopped: False
Local maintenance  : False
crc32  : 937b5542
Host timestamp : 76069
Extra metadata (valid at timestamp):
metadata_parse_version=1
metadata_feature_version=1
timestamp=76069 (Wed May 31 10:04:51 2017)
host-id=2
score=0
maintenance=False
state=EngineUnexpectedlyDown
stopped=False
timeout=Thu Jan  1 22:17:49 1970


--== Host 3 status ==--

Status up-to-date  : True
Hostname   : vmhost3.le1.uk.cxn-network.net
Host ID: 3
Engine status  : {"reason": "bad vm status", "health": 
"bad", "vm": "down", "detail": "down"}
Score  : 0
stopped: False
Local maintenance  : False
crc32  : 8ffac898
Host timestamp : 76212
Extra metadata (valid at timestamp):
metadata_parse_version=1
metadata_feature_version=1
timestamp=76212 (Wed May 31 10:04:55 2017)
host-id=3
score=0
maintenance=False
state=EngineUnexpectedlyDown
stopped=False
timeout=Thu Jan  1 22:16:58 1970

From: Sandro Bonazzola [mailto:sbona...@redhat.com]
Sent: Wednesday, May 31, 2017 7:52 AM
To: Rizwan Qureshi ; Michal Skrivanek 

Cc: users@ovirt.org
Subject: Re: [ovirt-users] Engine Down Score is 0



On Tue, May 30, 2017 at 6:32 PM, Rizwan Qureshi 
> wrote:
Hello Ovirt Users,
I am new to ovirt.

Hi, welcome ot oVirt community!


Just trying to fix the issue with the engine which seems to be down and hence 
all our VMs which we are very much dependent upon are not working.

Other VMs shouldn't be affected by an unavailability of the engine, they should 
keep going if already started.


Tried googling the log snippet but to no avail. Hoping to get some help from 
you guys.

I am completely blank and don’t know whats wrong with it.

We have 3 Dell servers. One for Engine and the other two for nodes. Please see 
the log snippet from the engine server agent.log. Please let me know if more 
information is needed to debug the issue.

So you have only 1 host dedicated to running hosted engine?



MainThread::INFO::2017-05-30 
17:21:51,649::hosted_engine::612::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(_initialize_vdsm)
 Initializing VDSM
MainThread::INFO::2017-05-30 
17:21:53,820::hosted_engine::639::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(_initialize_storage_images)
 Connecting the storage
MainThread::INFO::2017-05-30 
17:21:53,821::storage_server::219::ovirt_hosted_engine_ha.lib.storage_server.StorageServer::(connect_storage_server)
 Connecting storage server
MainThread::INFO::2017-05-30 
17:21:58,134::storage_server::226::ovirt_hosted_engine_ha.lib.storage_server.StorageServer::(connect_storage_server)
 Connecting storage server
MainThread::INFO::2017-05-30 
17:21:58,142::storage_server::233::ovirt_hosted_engine_ha.lib.storage_server.StorageServer::(connect_storage_server)
 Refreshing the storage domain
MainThread::INFO::2017-05-30 
17:21:58,258::hosted_engine::666::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(_initialize_storage_images)
 Preparing images
MainThread::INFO::2017-05-30 
17:21:58,258::image::126::ovirt_hosted_engine_ha.lib.image.Image::(prepare_images)
 Preparing images

Re: [ovirt-users] Hosted-Engine Deploy - Error Creating a Storage Domain

2017-05-31 Thread Langley, Robert
Not sure if you received my SOSReport (mail system told me the file is too 
big). Here is a cropped version of the VDSM.log file. I deleted the tail end of 
it, and some of the beginning, in order to focus on when the deployment was 
happening and shrink the size of the file below 9 MB.
So, if you go to the end of the file, that is where the error is. “[Errno 2] No 
such file or directory' - code 100” and it is happening on several files. 
Something is apparently missing.

Thank you,
Robert

From: Sandro Bonazzola [mailto:sbona...@redhat.com]
Sent: Wednesday, May 31, 2017 12:00 AM
To: Langley, Robert ; Nir Soffer 
; Allon Mureinik ; Tal Nisan 
; Simone Tiraboschi 
Cc: users 
Subject: Re: [ovirt-users] Hosted-Engine Deploy - Error Creating a Storage 
Domain



On Tue, May 30, 2017 at 11:50 PM, Langley, Robert 
> wrote:
While going through the hosted engine deployment, I am not able to have it 
successfully complete. Even going through the setup log, I’m not able to 
identify what is wrong. Why it thinks the system is not reliable.

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/otopi/context.py", line 132, in 
_executeMethod
method['method']()
  File 
"/usr/share/ovirt-hosted-engine-setup/scripts/../plugins/gr-he-setup/storage/storage.py",
 line 957, in _misc
self._createStorageDomain()
  File 
"/usr/share/ovirt-hosted-engine-setup/scripts/../plugins/gr-he-setup/storage/storage.py",
 line 546, in _createStorageDomain
raise RuntimeError(status['status']['message'])
RuntimeError: Error creating a storage domain: (u'storageType=7, 
sdUUID=a2494209-f823-4745-8eea-a122889d48f6, domainName=hosted_storage, 
domClass=1, typeSpecificArg=gsa-stor1.stor.local:/engine domVersion=3',)


Can you please provide vdsm logs or better a full sos report (sosreport -a)?





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



--

SANDRO BONAZZOLA

ASSOCIATE MANAGER, SOFTWARE ENGINEERING, EMEA ENG VIRTUALIZATION R

Red Hat EMEA
[Image removed by sender.]

TRIED. TESTED. TRUSTED.


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


Re: [ovirt-users] Hosted-Engine Deploy - Error Creating a Storage Domain

2017-05-31 Thread Simone Tiraboschi
It seams something related to IOProcess connection.

2017-05-25 20:54:40,362-0700 INFO  (jsonrpc/4) [IOProcessClient] Starting
client ioprocess-3 (__init__:330)
2017-05-25 20:54:40,370-0700 INFO  (ioprocess/31239) [IOProcess] Starting
ioprocess (__init__:452)
2017-05-25 20:54:40,407-0700 ERROR (jsonrpc/4) [storage.TaskManager.Task]
(Task='89dd17d2-8a38-4825-9ba2-f231f1aff9f5') Unexpected error (task:870)
Traceback (most recent call last):
  File "/usr/share/vdsm/storage/task.py", line 877, in _run
return fn(*args, **kargs)
  File "/usr/lib/python2.7/site-packages/vdsm/logUtils.py", line 52, in
wrapper
res = f(*args, **kwargs)
  File "/usr/share/vdsm/storage/hsm.py", line 2581, in createStorageDomain
storageType, domVersion)
  File "/usr/share/vdsm/storage/nfsSD.py", line 87, in create
remotePath, storageType, version)
  File "/usr/share/vdsm/storage/fileSD.py", line 421, in _prepareMetadata
procPool.fileUtils.createdir(metadataDir, 0o775)
  File "/usr/lib/python2.7/site-packages/vdsm/storage/outOfProcess.py",
line 166, in createdir
self._iop.mkdir(tmpPath, mode)
  File "/usr/lib/python2.7/site-packages/ioprocess/__init__.py", line 524,
in mkdir
self.timeout)
  File "/usr/lib/python2.7/site-packages/ioprocess/__init__.py", line 466,
in _sendCommand
raise OSError(errcode, errstr)
OSError: [Errno 61] No data available
2017-05-25 20:54:40,409-0700 INFO  (jsonrpc/4) [storage.TaskManager.Task]
(Task='89dd17d2-8a38-4825-9ba2-f231f1aff9f5') aborting: Task is aborted:
u'[Errno 61] No data available' - code 100 (task:1175)
2017-05-25 20:54:40,409-0700 ERROR (jsonrpc/4) [storage.Dispatcher] [Errno
61] No data available (dispatcher:80)
Traceback (most recent call last):
  File "/usr/share/vdsm/storage/dispatcher.py", line 72, in wrapper
result = ctask.prepare(func, *args, **kwargs)
  File "/usr/share/vdsm/storage/task.py", line 105, in wrapper
return m(self, *a, **kw)
  File "/usr/share/vdsm/storage/task.py", line 1183, in prepare
raise self.error
OSError: [Errno 61] No data available
2017-05-25 20:54:40,410-0700 INFO  (jsonrpc/4) [jsonrpc.JsonRpcServer] RPC
call StorageDomain.create failed (error 351) in 0.24 seconds (__init__:533)

Nir, any hint?


On Wed, May 31, 2017 at 5:24 PM, Langley, Robert  wrote:

> SOSReport attached, with md5. Thank you
>
>
>
>
>
> *From:* Sandro Bonazzola [mailto:sbona...@redhat.com]
> *Sent:* Wednesday, May 31, 2017 12:00 AM
> *To:* Langley, Robert ; Nir Soffer <
> nsof...@redhat.com>; Allon Mureinik ; Tal Nisan <
> tni...@redhat.com>; Simone Tiraboschi 
> *Cc:* users 
> *Subject:* Re: [ovirt-users] Hosted-Engine Deploy - Error Creating a
> Storage Domain
>
>
>
>
>
>
>
> On Tue, May 30, 2017 at 11:50 PM, Langley, Robert <
> robert.lang...@ventura.org> wrote:
>
> While going through the hosted engine deployment, I am not able to have it
> successfully complete. Even going through the setup log, I’m not able to
> identify what is wrong. Why it thinks the system is not reliable.
>
>
>
> Traceback (most recent call last):
>
>   File "/usr/lib/python2.7/site-packages/otopi/context.py", line 132, in
> _executeMethod
>
> method['method']()
>
>   File "/usr/share/ovirt-hosted-engine-setup/scripts/../
> plugins/gr-he-setup/storage/storage.py", line 957, in _misc
>
> self._createStorageDomain()
>
>   File "/usr/share/ovirt-hosted-engine-setup/scripts/../
> plugins/gr-he-setup/storage/storage.py", line 546, in _createStorageDomain
>
> raise RuntimeError(status['status']['message'])
>
> RuntimeError: Error creating a storage domain: (u'storageType=7,
> sdUUID=a2494209-f823-4745-8eea-a122889d48f6, domainName=hosted_storage,
> domClass=1, typeSpecificArg=gsa-stor1.stor.local:/engine domVersion=3',)
>
>
>
>
>
> Can you please provide vdsm logs or better a full sos report (sosreport
> -a)?
>
>
>
>
>
>
>
>
>
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
>
>
>
> --
>
> *SANDRO BONAZZOLA*
>
> ASSOCIATE MANAGER, SOFTWARE ENGINEERING, EMEA ENG VIRTUALIZATION R
>
> Red Hat EMEA 
>
> [image: Image removed by sender.] 
>
> *TRIED. TESTED. TRUSTED.* 
>
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] no spm node in cluster and unable to start any vm or stopped storage domain

2017-05-31 Thread Moritz Baumann

Hi Adam,

Just an idea, but could this be related to stale mounts from when you 
rebooted the storage?  Please try the following:


 1. Place all nodes into maintenance mode
 2. Disable the ovirt NFS exports
 1. Comment out lines in /etc/exports
 2. exportfs -r
 3. Reboot your nodes
 4. Re-enable the ovirt NFS exports
 5. Activate your nodes


all storage domains (data/iso) are down, so is the data center 
(non-responsive) and no nfs mount is on any of the nodes.


I can however manually mount the data export and touch a file (as root).

So I think stale mounts is not the issue.

However I did the steps and the result is the same.

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


Re: [ovirt-users] unsuccessful hosted engine install

2017-05-31 Thread Brendan Hartzell
Now that you have identified the problem, should I run the following
commands and send you another SOS?

ovirt-hosted-engine-cleanup
vdsm-tool configure --force
systemctl restart libvirtd
systemctl restart vdsm

Or is there a different plan in mind?

Thank you,

Brendan

On Tue, May 30, 2017 at 11:42 PM, Sandro Bonazzola 
wrote:

>
>
> On Wed, May 31, 2017 at 4:45 AM, Brendan Hartzell 
> wrote:
>
>> Can you please elaborate about the failure you see here and how are you
>> trying to manually partition the host?
>>
>> Sure, I will start from the beginning.
>> - Using: ovirt-node-ng-installer-ovirt-4.1-2017052604 <(201)%20705-2604>
>> .iso
>> - During installation I setup one of the two interfaces and check the box
>> to automatically use the connection.
>> - I'm currently providing a host name of node-1.test.net until I have a
>> successful process.
>> - I configure date and time for my timezone and to use an internal NTP
>> server.
>> - On Installation Destination, I pick my 128GB USB3.0 SanDisk flash
>> drive, check the box that I would like to make additional space, and click
>> done.  In the reclaim disk space window, I click delete all, and then
>> reclaim space.  I go back into the Installation Destination, select that I
>> will configure partitioning, and click done.  The Manual Partitioning
>> window opens, I use the option to automatically create mount points.
>>
>
> In this screen, please change partitioning scheme from LVM to LVM Thin
> Provisioning: it should solve your following error.
>
>
>
>
>>   At this point, /boot is 1024MB, /var is 15GB, / is 88.11 GB, and swap
>> is 11.57GB.  I then change / to 23.11 GB, update settings, change /var to
>> 80GB, update settings again, and click done.  I accept the changes and
>> begin installation.
>>
>> I tried these changes based on this article: http://www.ovirt.org/
>> documentation/self-hosted/chap-Deploying_Self-Hosted_Engine/
>>
>> The article does say that you can specify a different directory than
>> /var/tmp, but I don't recall seeing that option.
>>
>
> If the setup detects not enough space in /var/tmp for extracting the
> appliance it will ask about a different directory.
>
>
>
>>
>> After some time, I get the following error:
>> There was an error running the kickstart script at line 7.  This is a
>> fatal error and installation will be aborted.  The details of this error
>> are:
>>
>> [INFO] Trying to create a manageable base from '/'
>> [ERROR] LVM Thin Provisioning partitioning scheme is required.  For
>> autoinstall via Kickstart with LVM Thin Provisioning check options
>> --thinpool and --grow.  Please consult documentation for details.
>>
>
>
> ^^ this one should be solved by the LVM Thin Provisioning scheme mentioned
> above..
>
>
>
>>
>> Traceback (most recent call last):
>> File "/usr/lib64/python2.7/runpy.py", line 162, in _run_module_as_main
>> "__main__", fname, loader, pkg_name)
>> File "/usr/lib64/python2.7runpy.py", line 72, in _run_code exec code in
>> run_globals
>> File "/usr/lib/python2.7/site-packages/imgbased/__main__.py", line 51,
>> in  CliApplication()
>> File "/usr/lib/python2.7/site-packages/imgbased/__init__.py", line 82,
>> in CliApplication()
>> File "/usr/lib/python2.7/site-packages/imgbased/hooks.py", line 120, in
>> emit cb(self.context, *args)
>> File "/usr/lib/python2.7/site-packages/imgbased/plugins/core.py", line
>> 169, in post_argparse layout.initialize(args.source, args.init_nvr)
>> File "/usr/lib/python2.7/site-packages/imgbased/plugins/core.py", line
>> 216, in initialize self.app.imgbase.init_layout_from(source, init_nvr)
>> File "/usr/lib/python2.7/site-packages/imgbased/imgbase.py", line 271,
>> in init_layout_from self.init_tags_on(existing_lv)
>> File "/usr/lib/python2.7/site-packages/imgbased/imgbase.py", line 243,
>> in init_tags_on pool = lv.thinpool()
>> File "/usr/lib/python2.7/site-packages/imgbased/lvm.py", line 250, in
>> thinpool raise MissingLvmThinPool() imgbased.lvm.MissingLvmThinPool
>>
>> At this point, the only option is to exit the installer.
>>
>> 
>>
>> Being this a new install, please use 4.1. oVirt 4.0 is not supported
>> anymore.
>>
>> Not a problem.
>>
>> 
>>
>> Can you please provide hosted engine setup logs or better a full sos
>> report? (sosreport -a)
>>
>> Again, the process I'm following:
>> - Using: ovirt-node-ng-installer-ovirt-4.1-2017052604 <(201)%20705-2604>
>> .iso
>> - During installation I setup one of the two interfaces and check the box
>> to automatically use the connection.
>> - I'm currently providing a host name of node-1.test.net until I have a
>> successful process.
>> - I configure date and time for my timezone and to use an internal NTP
>> server.
>> - On Installation Destination, I pick my 128GB USB3.0 SanDisk flash
>> drive, check the box that I would like to make additional space, and click
>> done. In the reclaim disk space window, I click delete all, 

[ovirt-users] Ovirt native Container support

2017-05-31 Thread eric stam
Hi,

I've been intrested if it is possible to run a native container in The
current ovirt 4.0 version.
In previous versions I found out that with some tricks it is possible. I do
not know if it is stable or not.

-- 
Gr. Eric Stam
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Importing VMs from kvm to oVirt. "VM zarafa is down with error. Exit message: Failed to find the libvirt domain."

2017-05-31 Thread Luca 'remix_tj' Lorenzetto
Hello Marc,

could you please attach your vdsm.log of the host where virt-v2v (the
conversion tool) is running? In that logs you'll have more details
about, and maybe we can try launching manually the conversion command
and see what's happening.

Luca

On Wed, May 31, 2017 at 5:13 PM, Marc Pfaendler
 wrote:
> Hello
>
> I'm trying to import an existing kvm VM into oVirt 4.1. It a new server with
> a fresh installation of oVirt.
>
> I'm working with the oVirt gui to achieve this.
> After moving the VM from the old system into the export folder, the gui
> allows me to import it.
> The import seems to succeed. But after the VM is imported it fails to start.
>
> Giving this error:
>"VM zarafa is down with error. Exit message: Failed to find the
> libvirt domain."
>
>
>
> Cheers
> Marc
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users



-- 
"E' assurdo impiegare gli uomini di intelligenza eccellente per fare
calcoli che potrebbero essere affidati a chiunque se si usassero delle
macchine"
Gottfried Wilhelm von Leibnitz, Filosofo e Matematico (1646-1716)

"Internet è la più grande biblioteca del mondo.
Ma il problema è che i libri sono tutti sparsi sul pavimento"
John Allen Paulos, Matematico (1945-vivente)

Luca 'remix_tj' Lorenzetto, http://www.remixtj.net , 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Importing VMs from kvm to oVirt. "VM zarafa is down with error. Exit message: Failed to find the libvirt domain."

2017-05-31 Thread Marc Pfaendler

Hello

I'm trying to import an existing kvm VM into oVirt 4.1. It a new server 
with a fresh installation of oVirt.


I'm working with the oVirt gui to achieve this.
After moving the VM from the old system into the export folder, the gui 
allows me to import it.

The import seems to succeed. But after the VM is imported it fails to start.

Giving this error:
   "VM zarafa is down with error. Exit message: Failed to find the 
libvirt domain."




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


[ovirt-users] Wednesday Website

2017-05-31 Thread Sandro Bonazzola
Hi,
oVirt website issues are piling up, currently counting 63 issues[1]
reported.
I'd like to propose to dedicate one hour next Wednesday, picking one of
them and trying to address it.
Most of them doesn't require programming skills.

[1] https://github.com/oVirt/ovirt-site/issues

-- 

SANDRO BONAZZOLA

ASSOCIATE MANAGER, SOFTWARE ENGINEERING, EMEA ENG VIRTUALIZATION R

Red Hat EMEA 

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


Re: [ovirt-users] no spm node in cluster and unable to start any vm or stopped storage domain

2017-05-31 Thread Adam Litke
Just an idea, but could this be related to stale mounts from when you
rebooted the storage?  Please try the following:

   1. Place all nodes into maintenance mode
   2. Disable the ovirt NFS exports
  1. Comment out lines in /etc/exports
  2. exportfs -r
   3. Reboot your nodes
   4. Re-enable the ovirt NFS exports
   5. Activate your nodes



On Wed, May 31, 2017 at 10:04 AM, Moritz Baumann  wrote:

> I found some info on how to import an abandomed export domain
>
> https://www.ovirt.org/documentation/how-to/storage/clear-
> the-storage-domain-pool-config-of-an-exported-nfs-domain/
>
> would the same (empty POOL_UUID and SHA_CKSUM in metadata) allow me to
> import the data domain as a new one (and keep the existing vms) ?
>
>
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>



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


Re: [ovirt-users] Engine Down Score is 0

2017-05-31 Thread Sandro Bonazzola
On Wed, May 31, 2017 at 4:18 PM, Sandro Bonazzola 
wrote:

> The hosted engine fails to start due to:
>
> Traceback (most recent call last):
>   File "/usr/share/vdsm/virt/vm.py", line 714, in _startUnderlyingVm
> self._run()
>   File "/usr/share/vdsm/virt/vm.py", line 2026, in _run
> self._connection.createXML(domxml, flags),
>   File "/usr/lib/python2.7/site-packages/vdsm/libvirtconnection.py", line
> 123, in wrapper
> ret = f(*args, **kwargs)
>   File "/usr/lib/python2.7/site-packages/vdsm/utils.py", line 917, in
> wrapper
> return func(inst, *args, **kwargs)
>   File "/usr/lib64/python2.7/site-packages/libvirt.py", line 3782, in
> createXML
> if ret is None:raise libvirtError('virDomainCreateXML() failed',
> conn=self)
> libvirtError: Cannot get interface MTU on 'None': No such device
>
> The Hosted Engine VM has been configured with:
> 
> 
> 
> 
> 
> 
>
>

also:










> Not sure how you got there.
> Can you share steps you did before having this issue?
>
>
> On Wed, May 31, 2017 at 4:04 PM, Rizwan Qureshi 
> wrote:
>
>> Hi Sandro,
>>
>> PFA the sos report and vdsm logs.
>>
>>
>>
>> *From:* Sandro Bonazzola [mailto:sbona...@redhat.com]
>> *Sent:* Wednesday, May 31, 2017 11:04 AM
>> *To:* Rizwan Qureshi ; Martin Sivak <
>> msi...@redhat.com>
>> *Cc:* Michal Skrivanek ; users@ovirt.org
>>
>> *Subject:* Re: [ovirt-users] Engine Down Score is 0
>>
>>
>>
>>
>>
>>
>>
>> On Wed, May 31, 2017 at 11:10 AM, Rizwan Qureshi 
>> wrote:
>>
>> Hi Sandro,
>>
>> Thanks for your response.
>>
>>
>>
>> We have tried that already but the VM shuts down after the –vm-start
>> executes.
>>
>>
>>
>> Also, apologies for wrong information bfore. We have 3 dedicated hosts
>> not 1.
>>
>>
>>
>> Please see below the output of –vm-status command:
>>
>>
>>
>>
>>
>> Can you please share sos report or at least vdsm logs from the hosts?
>>
>> Need to understand what happened to the vm.
>>
>>
>>
>>
>>
>>
>>
>> --== Host 1 status ==--
>>
>>
>>
>> Status up-to-date  : True
>>
>> Hostname   : vmhost1.le1.uk.cxn-network.net
>>
>> Host ID: 1
>>
>> Engine status  : {"reason": "bad vm status",
>> "health": "bad", "vm": "down", "detail": "down"}
>>
>> Score  : 0
>>
>> stopped: False
>>
>> Local maintenance  : False
>>
>> crc32  : 37a4ce89
>>
>> Host timestamp : 76387
>>
>> Extra metadata (valid at timestamp):
>>
>> metadata_parse_version=1
>>
>> metadata_feature_version=1
>>
>> timestamp=76387 (Wed May 31 10:04:47 2017)
>>
>> host-id=1
>>
>> score=0
>>
>> maintenance=False
>>
>> state=EngineUnexpectedlyDown
>>
>> stopped=False
>>
>> timeout=Thu Jan  1 22:17:00 1970
>>
>>
>>
>>
>>
>> --== Host 2 status ==--
>>
>>
>>
>> Status up-to-date  : True
>>
>> Hostname   : vmhost2.le1.uk.cxn-network.net
>>
>> Host ID: 2
>>
>> Engine status  : {"reason": "bad vm status",
>> "health": "bad", "vm": "down", "detail": "down"}
>>
>> Score  : 0
>>
>> stopped: False
>>
>> Local maintenance  : False
>>
>> crc32  : 937b5542
>>
>> Host timestamp : 76069
>>
>> Extra metadata (valid at timestamp):
>>
>> metadata_parse_version=1
>>
>> metadata_feature_version=1
>>
>> timestamp=76069 (Wed May 31 10:04:51 2017)
>>
>> host-id=2
>>
>> score=0
>>
>> maintenance=False
>>
>> state=EngineUnexpectedlyDown
>>
>> stopped=False
>>
>> timeout=Thu Jan  1 22:17:49 1970
>>
>>
>>
>>
>>
>> --== Host 3 status ==--
>>
>>
>>
>> Status up-to-date  : True
>>
>> Hostname   : vmhost3.le1.uk.cxn-network.net
>>
>> Host ID: 3
>>
>> Engine status  : {"reason": "bad vm status",
>> "health": "bad", "vm": "down", "detail": "down"}
>>
>> Score  : 0
>>
>> stopped: False
>>
>> Local maintenance  : False
>>
>> crc32  : 8ffac898
>>
>> Host timestamp : 76212
>>
>> Extra metadata (valid at timestamp):
>>
>> metadata_parse_version=1
>>
>> metadata_feature_version=1
>>
>> timestamp=76212 (Wed May 31 10:04:55 2017)
>>
>> host-id=3
>>
>> 

Re: [ovirt-users] Engine Down Score is 0

2017-05-31 Thread Sandro Bonazzola
The hosted engine fails to start due to:

Traceback (most recent call last):
  File "/usr/share/vdsm/virt/vm.py", line 714, in _startUnderlyingVm
self._run()
  File "/usr/share/vdsm/virt/vm.py", line 2026, in _run
self._connection.createXML(domxml, flags),
  File "/usr/lib/python2.7/site-packages/vdsm/libvirtconnection.py", line
123, in wrapper
ret = f(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/vdsm/utils.py", line 917, in
wrapper
return func(inst, *args, **kwargs)
  File "/usr/lib64/python2.7/site-packages/libvirt.py", line 3782, in
createXML
if ret is None:raise libvirtError('virDomainCreateXML() failed',
conn=self)
libvirtError: Cannot get interface MTU on 'None': No such device

The Hosted Engine VM has been configured with:







Not sure how you got there.
Can you share steps you did before having this issue?


On Wed, May 31, 2017 at 4:04 PM, Rizwan Qureshi 
wrote:

> Hi Sandro,
>
> PFA the sos report and vdsm logs.
>
>
>
> *From:* Sandro Bonazzola [mailto:sbona...@redhat.com]
> *Sent:* Wednesday, May 31, 2017 11:04 AM
> *To:* Rizwan Qureshi ; Martin Sivak <
> msi...@redhat.com>
> *Cc:* Michal Skrivanek ; users@ovirt.org
>
> *Subject:* Re: [ovirt-users] Engine Down Score is 0
>
>
>
>
>
>
>
> On Wed, May 31, 2017 at 11:10 AM, Rizwan Qureshi 
> wrote:
>
> Hi Sandro,
>
> Thanks for your response.
>
>
>
> We have tried that already but the VM shuts down after the –vm-start
> executes.
>
>
>
> Also, apologies for wrong information bfore. We have 3 dedicated hosts not
> 1.
>
>
>
> Please see below the output of –vm-status command:
>
>
>
>
>
> Can you please share sos report or at least vdsm logs from the hosts?
>
> Need to understand what happened to the vm.
>
>
>
>
>
>
>
> --== Host 1 status ==--
>
>
>
> Status up-to-date  : True
>
> Hostname   : vmhost1.le1.uk.cxn-network.net
>
> Host ID: 1
>
> Engine status  : {"reason": "bad vm status", "health":
> "bad", "vm": "down", "detail": "down"}
>
> Score  : 0
>
> stopped: False
>
> Local maintenance  : False
>
> crc32  : 37a4ce89
>
> Host timestamp : 76387
>
> Extra metadata (valid at timestamp):
>
> metadata_parse_version=1
>
> metadata_feature_version=1
>
> timestamp=76387 (Wed May 31 10:04:47 2017)
>
> host-id=1
>
> score=0
>
> maintenance=False
>
> state=EngineUnexpectedlyDown
>
> stopped=False
>
> timeout=Thu Jan  1 22:17:00 1970
>
>
>
>
>
> --== Host 2 status ==--
>
>
>
> Status up-to-date  : True
>
> Hostname   : vmhost2.le1.uk.cxn-network.net
>
> Host ID: 2
>
> Engine status  : {"reason": "bad vm status", "health":
> "bad", "vm": "down", "detail": "down"}
>
> Score  : 0
>
> stopped: False
>
> Local maintenance  : False
>
> crc32  : 937b5542
>
> Host timestamp : 76069
>
> Extra metadata (valid at timestamp):
>
> metadata_parse_version=1
>
> metadata_feature_version=1
>
> timestamp=76069 (Wed May 31 10:04:51 2017)
>
> host-id=2
>
> score=0
>
> maintenance=False
>
> state=EngineUnexpectedlyDown
>
> stopped=False
>
> timeout=Thu Jan  1 22:17:49 1970
>
>
>
>
>
> --== Host 3 status ==--
>
>
>
> Status up-to-date  : True
>
> Hostname   : vmhost3.le1.uk.cxn-network.net
>
> Host ID: 3
>
> Engine status  : {"reason": "bad vm status", "health":
> "bad", "vm": "down", "detail": "down"}
>
> Score  : 0
>
> stopped: False
>
> Local maintenance  : False
>
> crc32  : 8ffac898
>
> Host timestamp : 76212
>
> Extra metadata (valid at timestamp):
>
> metadata_parse_version=1
>
> metadata_feature_version=1
>
> timestamp=76212 (Wed May 31 10:04:55 2017)
>
> host-id=3
>
> score=0
>
> maintenance=False
>
> state=EngineUnexpectedlyDown
>
> stopped=False
>
> timeout=Thu Jan  1 22:16:58 1970
>
>
>
> *From:* Sandro Bonazzola [mailto:sbona...@redhat.com]
> *Sent:* Wednesday, May 31, 2017 7:52 AM
> *To:* Rizwan Qureshi ; Michal Skrivanek <
> mskri...@redhat.com>
> *Cc:* users@ovirt.org
> *Subject:* Re: [ovirt-users] Engine Down Score is 0
>
>
>
>
>
>
>
> On Tue, May 30, 2017 at 

Re: [ovirt-users] PXE boot of oVirt Node 4.1

2017-05-31 Thread Sandro Bonazzola
Pavol, could you please write a page on ovirt.org website with this?

On Wed, May 31, 2017 at 3:04 PM, Pavol Brilla  wrote:

> Hi
>
> Information on ovirt.org is about old node, from oVirt 4.0 we have
> NextGeneration Node (NGN). I don't  use cobbler, but for PXE I can provide
> what worked for me.
> Take iso from: http://resources.ovirt.org/pub/ovirt-4.1/iso/ovirt-node-ng-
> installer/, unpack it ( simple mount -o loop; cp -r ):
>
> pxelinux.cfg/ovirt-node.menu:
> ...
> LABEL ovirt NGN
> KERNEL http://websrv/your_unpacked_iso/images/pxeboot/vmlinuz
> APPEND initrd=http://websrv/your_unpa
> cked_iso/images/pxeboot/initrd.img 
> inst.stage2=http://websrv/your_unpacked_iso/
> inst.ks=http://websrv/your_unpacked_iso/my.ks
> ipappend 2
>
>
> Kickstart file to automate a lot of tasks for me "my.ks":
> ​​install
> lang en_US.UTF-8
> keyboard us
> rootpw  --plaintext 123
> network --bootproto=dhcp
> timezone --utc Europe/Prague
> firewall --service=ssh
>
> liveimg --url=http://websrv/your_unpacked_iso/ovirt-node-ng-image.
> squashfs.img
>
> # partitioning - nuke and start fresh
> zerombr
> clearpart --all --initlabel
> autopart --type=thinp
> bootloader --location=mbr
>
> reboot
>
> %post --erroronfail
> imgbase layout --init
> %end
>
>
> Basically liveimg --url ... & autopart & %post part should be enough for
> interactive install.
> I hope I made it at least a little bit clearer.
>
> ​
> --
> Pavol Brilla
>
> On Thu, May 25, 2017 at 5:41 PM, Christopher Young 
> wrote:
>
>> I've been wondering the same.  In particular, I use cobbler for system
>> provisioning, so would love to have some details to help me implement
>> this.
>>
>> On Thu, May 25, 2017 at 10:49 AM, Latchezar Filtchev 
>> wrote:
>> > Hello oVirt-ers,
>> >
>> >
>> >
>> > Did someone was able to install oVirt node 4.1 -
>> > ovirt-node-ng-installer-ovirt-4.1-2017051704.iso via pxe/tftp boot?
>> >
>> >
>> >
>> > This works http://www.ovirt.org/develop/projects/node/pxe/ for oVirt
>> 3.4
>> >
>> > When using the same approach for oVirt 4.0 and oVirt 4.1 the computer
>> hangs.
>> >
>> > Any help will be appreciated.
>> >
>> >
>> >
>> >
>> >
>> > Thank you!
>> >
>> > Best,
>> >
>> > Latcho
>> >
>> >
>> >
>> >
>> >
>> >
>> > ___
>> > 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
>
>


-- 

SANDRO BONAZZOLA

ASSOCIATE MANAGER, SOFTWARE ENGINEERING, EMEA ENG VIRTUALIZATION R

Red Hat EMEA 

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


Re: [ovirt-users] no spm node in cluster and unable to start any vm or stopped storage domain

2017-05-31 Thread Moritz Baumann

I found some info on how to import an abandomed export domain

https://www.ovirt.org/documentation/how-to/storage/clear-the-storage-domain-pool-config-of-an-exported-nfs-domain/

would the same (empty POOL_UUID and SHA_CKSUM in metadata) allow me to 
import the data domain as a new one (and keep the existing vms) ?



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


Re: [ovirt-users] unsuccessful hosted engine install

2017-05-31 Thread Sandro Bonazzola
On Wed, May 31, 2017 at 3:10 PM, Brendan Hartzell  wrote:

> Now that you have identified the problem, should I run the following
> commands and send you another SOS?
>
> ovirt-hosted-engine-cleanup
> vdsm-tool configure --force
> systemctl restart libvirtd
> systemctl restart vdsm
>
> Or is there a different plan in mind?
>

I would have expected someone from virt team to follow up for further
investigations :-)
above commands should work.



>
> Thank you,
>
> Brendan
>
> On Tue, May 30, 2017 at 11:42 PM, Sandro Bonazzola 
> wrote:
>
>>
>>
>> On Wed, May 31, 2017 at 4:45 AM, Brendan Hartzell 
>> wrote:
>>
>>> Can you please elaborate about the failure you see here and how are you
>>> trying to manually partition the host?
>>>
>>> Sure, I will start from the beginning.
>>> - Using: ovirt-node-ng-installer-ovirt-4.1-2017052604 <(201)%20705-2604>
>>> .iso
>>> - During installation I setup one of the two interfaces and check the
>>> box to automatically use the connection.
>>> - I'm currently providing a host name of node-1.test.net until I have a
>>> successful process.
>>> - I configure date and time for my timezone and to use an internal NTP
>>> server.
>>> - On Installation Destination, I pick my 128GB USB3.0 SanDisk flash
>>> drive, check the box that I would like to make additional space, and click
>>> done.  In the reclaim disk space window, I click delete all, and then
>>> reclaim space.  I go back into the Installation Destination, select that I
>>> will configure partitioning, and click done.  The Manual Partitioning
>>> window opens, I use the option to automatically create mount points.
>>>
>>
>> In this screen, please change partitioning scheme from LVM to LVM Thin
>> Provisioning: it should solve your following error.
>>
>>
>>
>>
>>>   At this point, /boot is 1024MB, /var is 15GB, / is 88.11 GB, and swap
>>> is 11.57GB.  I then change / to 23.11 GB, update settings, change /var to
>>> 80GB, update settings again, and click done.  I accept the changes and
>>> begin installation.
>>>
>>> I tried these changes based on this article: http://www.ovirt.org/
>>> documentation/self-hosted/chap-Deploying_Self-Hosted_Engine/
>>>
>>> The article does say that you can specify a different directory than
>>> /var/tmp, but I don't recall seeing that option.
>>>
>>
>> If the setup detects not enough space in /var/tmp for extracting the
>> appliance it will ask about a different directory.
>>
>>
>>
>>>
>>> After some time, I get the following error:
>>> There was an error running the kickstart script at line 7.  This is a
>>> fatal error and installation will be aborted.  The details of this error
>>> are:
>>>
>>> [INFO] Trying to create a manageable base from '/'
>>> [ERROR] LVM Thin Provisioning partitioning scheme is required.  For
>>> autoinstall via Kickstart with LVM Thin Provisioning check options
>>> --thinpool and --grow.  Please consult documentation for details.
>>>
>>
>>
>> ^^ this one should be solved by the LVM Thin Provisioning scheme
>> mentioned above..
>>
>>
>>
>>>
>>> Traceback (most recent call last):
>>> File "/usr/lib64/python2.7/runpy.py", line 162, in _run_module_as_main
>>> "__main__", fname, loader, pkg_name)
>>> File "/usr/lib64/python2.7runpy.py", line 72, in _run_code exec code in
>>> run_globals
>>> File "/usr/lib/python2.7/site-packages/imgbased/__main__.py", line 51,
>>> in  CliApplication()
>>> File "/usr/lib/python2.7/site-packages/imgbased/__init__.py", line 82,
>>> in CliApplication()
>>> File "/usr/lib/python2.7/site-packages/imgbased/hooks.py", line 120, in
>>> emit cb(self.context, *args)
>>> File "/usr/lib/python2.7/site-packages/imgbased/plugins/core.py", line
>>> 169, in post_argparse layout.initialize(args.source, args.init_nvr)
>>> File "/usr/lib/python2.7/site-packages/imgbased/plugins/core.py", line
>>> 216, in initialize self.app.imgbase.init_layout_from(source, init_nvr)
>>> File "/usr/lib/python2.7/site-packages/imgbased/imgbase.py", line 271,
>>> in init_layout_from self.init_tags_on(existing_lv)
>>> File "/usr/lib/python2.7/site-packages/imgbased/imgbase.py", line 243,
>>> in init_tags_on pool = lv.thinpool()
>>> File "/usr/lib/python2.7/site-packages/imgbased/lvm.py", line 250, in
>>> thinpool raise MissingLvmThinPool() imgbased.lvm.MissingLvmThinPool
>>>
>>> At this point, the only option is to exit the installer.
>>>
>>> 
>>>
>>> Being this a new install, please use 4.1. oVirt 4.0 is not supported
>>> anymore.
>>>
>>> Not a problem.
>>>
>>> 
>>>
>>> Can you please provide hosted engine setup logs or better a full sos
>>> report? (sosreport -a)
>>>
>>> Again, the process I'm following:
>>> - Using: ovirt-node-ng-installer-ovirt-4.1-2017052604 <(201)%20705-2604>
>>> .iso
>>> - During installation I setup one of the two interfaces and check the
>>> box to automatically use the connection.
>>> - I'm currently providing a host name of node-1.test.net 

[ovirt-users] virt-viewer disabling rhel6

2017-05-31 Thread cmc
Hi,

virt-viewer no longer appears to work when trying to launch a console
with EL 6.8 and oVirt 4.1. The error is:

"At least Remote Viewer version 99.0-1 is required to setup this connection"

When I ran remote-viewer in debug mode, it seems that it is
deliberately disabling rhel6 by setting the version to a non-existent
version:

(remote-viewer:23829): remote-viewer-DEBUG: Minimum version '2.0-160'
for OS id 'rhev-win64'
(remote-viewer:23829): remote-viewer-DEBUG: Minimum version '2.0-160'
for OS id 'rhev-win32'
(remote-viewer:23829): remote-viewer-DEBUG: Minimum version '2.0-6'
for OS id 'rhel7'
(remote-viewer:23829): remote-viewer-DEBUG: Minimum version '99.0-1'
for OS id 'rhel6'

rhel 6.7 (and presumably brfore) works fine. I contacted the
maintainers of virt-viewer and they said that this is an ovirt issue.
Is this somehow disabled in 4.1? Can someone tell me why this is the
case?

Thanks in advance for any insights,

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


Re: [ovirt-users] Resize of virtio disk

2017-05-31 Thread Gianluca Cecchi
On Wed, May 31, 2017 at 2:51 PM, Gianluca Cecchi 
wrote:

> Hello,
> I seem to remember that online resize of VirtIO disk is possible.
> Now I have an Oracle Linux VM with 2.6.39-400.215.3.el6uek.x86_64 kernel
> where I resize a disk (/dev/vdb) from 500Gb to 900Gb.
> Apparently the kernel acquired the change because in /var/log/messages I
> see:
>
> May 31 14:16:16 dbatest3 kernel: virtio_blk virtio6: new size: 1887436800
> 512-byte logical blocks (966 GB/900 GiB)
>
> but fdisk seems not to be able to recognize it:
>
> [root@dbatest3 ~]# fdisk -l /dev/vdb
>
> Disk /dev/vdb: 536.9 GB, 536870912000 bytes
> 16 heads, 63 sectors/track, 1040253 cylinders
> Units = cylinders of 1008 * 512 = 516096 bytes
> Sector size (logical/physical): 512 bytes / 512 bytes
> I/O size (minimum/optimal): 512 bytes / 512 bytes
> Disk identifier: 0x
>
> [root@dbatest3 ~]#
>
>
It seems that one of these two commands got the change available:

[root@dbatest3 ~]# blockdev --flushbufs /dev/vdb

[root@dbatest3 ~]# blockdev --rereadpt /dev/vdb

Now
[root@dbatest3 ~]# fdisk -l /dev/vdb

Disk /dev/vdb: 966.4 GB, 966367641600 bytes
16 heads, 63 sectors/track, 1872457 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x

[root@dbatest3 ~]# tail -3 /var/log/messages
May 31 14:16:16 dbatest3 kernel: virtio_blk virtio6: new size: 1887436800
512-byte logical blocks (966 GB/900 GiB)
May 31 15:13:49 dbatest3 kernel: vdb: detected capacity change from
536870912000 to 966367641600
May 31 15:13:49 dbatest3 kernel: vdb: unknown partition table
[root@dbatest3 ~]#

I found the hint/suggestion through this proxmox thread:
http://pve-devel.pve.proxmox.narkive.com/LBZ1yFpv/online-resize-of-virtio-blk

Just in case other guys need the same... ;-)
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] PXE boot of oVirt Node 4.1

2017-05-31 Thread Pavol Brilla
Hi

Information on ovirt.org is about old node, from oVirt 4.0 we have
NextGeneration Node (NGN). I don't  use cobbler, but for PXE I can provide
what worked for me.
Take iso from: http://resources.ovirt.org/pub/ovirt-4.1/iso/ovirt-node-
ng-installer/, unpack it ( simple mount -o loop; cp -r ):

pxelinux.cfg/ovirt-node.menu:
...
LABEL ovirt NGN
KERNEL http://websrv/your_unpacked_iso/images/pxeboot/vmlinuz
APPEND initrd=http://websrv/your_unpacked_iso/images/pxeboot/initrd.img
inst.stage2=http://websrv/your_unpacked_iso/ inst.ks=http://websrv/your_
unpacked_iso/my.ks
ipappend 2


Kickstart file to automate a lot of tasks for me "my.ks":
​​install
lang en_US.UTF-8
keyboard us
rootpw  --plaintext 123
network --bootproto=dhcp
timezone --utc Europe/Prague
firewall --service=ssh

liveimg --url=http://websrv/your_unpacked_iso/ovirt-node-ng-
image.squashfs.img

# partitioning - nuke and start fresh
zerombr
clearpart --all --initlabel
autopart --type=thinp
bootloader --location=mbr

reboot

%post --erroronfail
imgbase layout --init
%end


Basically liveimg --url ... & autopart & %post part should be enough for
interactive install.
I hope I made it at least a little bit clearer.

​
-- 
Pavol Brilla

On Thu, May 25, 2017 at 5:41 PM, Christopher Young 
wrote:

> I've been wondering the same.  In particular, I use cobbler for system
> provisioning, so would love to have some details to help me implement
> this.
>
> On Thu, May 25, 2017 at 10:49 AM, Latchezar Filtchev 
> wrote:
> > Hello oVirt-ers,
> >
> >
> >
> > Did someone was able to install oVirt node 4.1 -
> > ovirt-node-ng-installer-ovirt-4.1-2017051704.iso via pxe/tftp boot?
> >
> >
> >
> > This works http://www.ovirt.org/develop/projects/node/pxe/ for oVirt 3.4
> >
> > When using the same approach for oVirt 4.0 and oVirt 4.1 the computer
> hangs.
> >
> > Any help will be appreciated.
> >
> >
> >
> >
> >
> > Thank you!
> >
> > Best,
> >
> > Latcho
> >
> >
> >
> >
> >
> >
> > ___
> > 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


[ovirt-users] Resize of virtio disk

2017-05-31 Thread Gianluca Cecchi
Hello,
I seem to remember that online resize of VirtIO disk is possible.
Now I have an Oracle Linux VM with 2.6.39-400.215.3.el6uek.x86_64 kernel
where I resize a disk (/dev/vdb) from 500Gb to 900Gb.
Apparently the kernel acquired the change because in /var/log/messages I
see:

May 31 14:16:16 dbatest3 kernel: virtio_blk virtio6: new size: 1887436800
512-byte logical blocks (966 GB/900 GiB)

but fdisk seems not to be able to recognize it:

[root@dbatest3 ~]# fdisk -l /dev/vdb

Disk /dev/vdb: 536.9 GB, 536870912000 bytes
16 heads, 63 sectors/track, 1040253 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x

[root@dbatest3 ~]#

oVirt is 4.1.1 with hypervisor running the VM being in CentOS 7.3 with
libvirt 2.0.0-10.el7_3.5 and qemu-kvm-ev 2.6.0-28.el7_3.6.1

I was not able to find the rescan option I eventually need to execute (but
I think not necessary because the kernel already detected it).
Is this a bug in fdisk itself?
I have an LVM PV on the whole disk, but of course a pvresize doesn't notice
any change in it.
I verified that in my kernel the ACPI PCI hotplug feature is compiled into
the kernel and not as a module:

[root@dbatest3 ~]# grep "CONFIG_HOTPLUG_PCI_ACPI="
/boot/config-2.6.39-400.215.3.el6uek.x86_64
CONFIG_HOTPLUG_PCI_ACPI=y
[root@dbatest3 ~]#

I tried also this:

echo 1 > /sys/devices/pci\:00/\:00\:09.0/rescan

because of the tree below:

[root@dbatest3 ~]# ll /sys/devices/pci\:00/\:00\:09.0/virtio6/
total 0
drwxr-xr-x 3 root root0 May 31 11:45 block
-r--r--r-- 1 root root 4096 May 31 14:19 device
lrwxrwxrwx 1 root root0 May 31 14:19 driver ->
../../../../bus/virtio/drivers/virtio_blk
-r--r--r-- 1 root root 4096 May 31 14:19 features
-r--r--r-- 1 root root 4096 May 31 14:19 modalias
drwxr-xr-x 2 root root0 May 31 14:18 power
-r--r--r-- 1 root root 4096 May 31 14:19 status
lrwxrwxrwx 1 root root0 May 31 14:16 subsystem -> ../../../../bus/virtio
-rw-r--r-- 1 root root 4096 May 31 14:16 uevent
-r--r--r-- 1 root root 4096 May 31 14:19 vendor
[root@dbatest3 ~]#

[root@dbatest3 ~]# ll /sys/devices/pci\:00/\:00\:09.0/virtio6/block
total 0
drwxr-xr-x 7 root root 0 May 31 11:45 vdb
[root@dbatest3 ~]#

[root@dbatest3 ~]# ll
/sys/devices/pci\:00/\:00\:09.0/virtio6/block/vdb/
total 0
-r--r--r-- 1 root root 4096 May 31 14:19 alignment_offset
lrwxrwxrwx 1 root root0 May 31 14:19 bdi ->
../../../../../virtual/bdi/251:16
-r--r--r-- 1 root root 4096 May 31 14:19 capability
-r--r--r-- 1 root root 4096 May 31 14:15 dev
lrwxrwxrwx 1 root root0 May 31 14:19 device -> ../../../virtio6
-r--r--r-- 1 root root 4096 May 31 14:19 discard_alignment
-r--r--r-- 1 root root 4096 May 31 14:19 ext_range
drwxr-xr-x 2 root root0 May 31 14:18 holders
-r--r--r-- 1 root root 4096 May 31 14:19 inflight
drwxr-xr-x 2 root root0 May 31 14:18 power
drwxr-xr-x 3 root root0 May 31 14:16 queue
-r--r--r-- 1 root root 4096 May 31 14:19 range
-r--r--r-- 1 root root 4096 May 31 14:16 removable
-r--r--r-- 1 root root 4096 May 31 14:19 ro
-r--r--r-- 1 root root 4096 May 31 14:16 serial
-r--r--r-- 1 root root 4096 May 31 14:19 size
drwxr-xr-x 2 root root0 May 31 14:18 slaves
-r--r--r-- 1 root root 4096 May 31 14:19 stat
lrwxrwxrwx 1 root root0 May 31 11:45 subsystem ->
../../../../../../class/block
drwxr-xr-x 2 root root0 May 31 14:18 trace
-rw-r--r-- 1 root root 4096 May 31 11:45 uevent
[root@dbatest3 ~]#

Any hint to avoid guest reboot and have fdisk recognize the happened resize?
In the future I'm going to upgrade from the current 6.5 version, so that I
can also use Virtio-SCSI driver and so standard SCSI commands when adding
disks or resizing existing ones, but this VM was "imported" by another
environment and I have initially to be stick with it in this precise
configuration.

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


[ovirt-users] How to reset network statistics

2017-05-31 Thread Paulo Silva
Hi,

Is it possible to reset the statistics counters presents for each network
interface in a VM without shutting down the VM?

Thanks
-- 
Paulo Silva 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Engine Down Score is 0

2017-05-31 Thread Sandro Bonazzola
On Wed, May 31, 2017 at 11:10 AM, Rizwan Qureshi 
wrote:

> Hi Sandro,
>
> Thanks for your response.
>
>
>
> We have tried that already but the VM shuts down after the –vm-start
> executes.
>
>
>
> Also, apologies for wrong information bfore. We have 3 dedicated hosts not
> 1.
>
>
>
> Please see below the output of –vm-status command:
>


Can you please share sos report or at least vdsm logs from the hosts?
Need to understand what happened to the vm.



>
>
> --== Host 1 status ==--
>
>
>
> Status up-to-date  : True
>
> Hostname   : vmhost1.le1.uk.cxn-network.net
>
> Host ID: 1
>
> Engine status  : {"reason": "bad vm status", "health":
> "bad", "vm": "down", "detail": "down"}
>
> Score  : 0
>
> stopped: False
>
> Local maintenance  : False
>
> crc32  : 37a4ce89
>
> Host timestamp : 76387
>
> Extra metadata (valid at timestamp):
>
> metadata_parse_version=1
>
> metadata_feature_version=1
>
> timestamp=76387 (Wed May 31 10:04:47 2017)
>
> host-id=1
>
> score=0
>
> maintenance=False
>
> state=EngineUnexpectedlyDown
>
> stopped=False
>
> timeout=Thu Jan  1 22:17:00 1970
>
>
>
>
>
> --== Host 2 status ==--
>
>
>
> Status up-to-date  : True
>
> Hostname   : vmhost2.le1.uk.cxn-network.net
>
> Host ID: 2
>
> Engine status  : {"reason": "bad vm status", "health":
> "bad", "vm": "down", "detail": "down"}
>
> Score  : 0
>
> stopped: False
>
> Local maintenance  : False
>
> crc32  : 937b5542
>
> Host timestamp : 76069
>
> Extra metadata (valid at timestamp):
>
> metadata_parse_version=1
>
> metadata_feature_version=1
>
> timestamp=76069 (Wed May 31 10:04:51 2017)
>
> host-id=2
>
> score=0
>
> maintenance=False
>
> state=EngineUnexpectedlyDown
>
> stopped=False
>
> timeout=Thu Jan  1 22:17:49 1970
>
>
>
>
>
> --== Host 3 status ==--
>
>
>
> Status up-to-date  : True
>
> Hostname   : vmhost3.le1.uk.cxn-network.net
>
> Host ID: 3
>
> Engine status  : {"reason": "bad vm status", "health":
> "bad", "vm": "down", "detail": "down"}
>
> Score  : 0
>
> stopped: False
>
> Local maintenance  : False
>
> crc32  : 8ffac898
>
> Host timestamp : 76212
>
> Extra metadata (valid at timestamp):
>
> metadata_parse_version=1
>
> metadata_feature_version=1
>
> timestamp=76212 (Wed May 31 10:04:55 2017)
>
> host-id=3
>
> score=0
>
> maintenance=False
>
> state=EngineUnexpectedlyDown
>
> stopped=False
>
> timeout=Thu Jan  1 22:16:58 1970
>
>
>
> *From:* Sandro Bonazzola [mailto:sbona...@redhat.com]
> *Sent:* Wednesday, May 31, 2017 7:52 AM
> *To:* Rizwan Qureshi ; Michal Skrivanek <
> mskri...@redhat.com>
> *Cc:* users@ovirt.org
> *Subject:* Re: [ovirt-users] Engine Down Score is 0
>
>
>
>
>
>
>
> On Tue, May 30, 2017 at 6:32 PM, Rizwan Qureshi 
> wrote:
>
> Hello Ovirt Users,
>
> I am new to ovirt.
>
>
>
> Hi, welcome ot oVirt community!
>
>
>
>
>
> Just trying to fix the issue with the engine which seems to be down and
> hence all our VMs which we are very much dependent upon are not working.
>
>
>
> Other VMs shouldn't be affected by an unavailability of the engine, they
> should keep going if already started.
>
>
>
>
>
> Tried googling the log snippet but to no avail. Hoping to get some help
> from you guys.
>
>
>
> I am completely blank and don’t know whats wrong with it.
>
>
>
> We have 3 Dell servers. One for Engine and the other two for nodes. Please
> see the log snippet from the engine server agent.log. Please let me know if
> more information is needed to debug the issue.
>
>
>
> So you have only 1 host dedicated to running hosted engine?
>
>
>
>
>
>
>
> MainThread::INFO::2017-05-30 17:21:51,649::hosted_engine::
> 612::ovirt_hosted_engine_ha.agent.hosted_engine.
> HostedEngine::(_initialize_vdsm) Initializing VDSM
>
> MainThread::INFO::2017-05-30 17:21:53,820::hosted_engine::
> 639::ovirt_hosted_engine_ha.agent.hosted_engine.
> HostedEngine::(_initialize_storage_images) Connecting the storage
>
> MainThread::INFO::2017-05-30 17:21:53,821::storage_server::
> 219::ovirt_hosted_engine_ha.lib.storage_server.StorageServer::(connect_storage_server)
> Connecting storage server
>
> MainThread::INFO::2017-05-30 

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

2017-05-31 Thread David Gossage
On Wed, May 31, 2017 at 4:16 AM,  wrote:

> Hi,
>
> I found the cause of this problem. I had to turn off sharding.
>


Did you have sharding enabled but not have any sharded VM images or were
their shards missing on some bricks?



> --
> *De: *supo...@logicworks.pt
> *Para: *"Sahina Bose" 
> *Cc: *"ovirt users" 
> *Enviadas: *Sexta-feira, 26 De Maio de 2017 12:27:43
> *Assunto: *Re: [ovirt-users] vm has been paused due to unknown storage
>
> Hi,
>
> I updated glusterfs:
> glusterfs-client-xlators-3.8.12-1.el7.x86_64
> glusterfs-cli-3.8.12-1.el7.x86_64
> glusterfs-api-3.8.12-1.el7.x86_64
> glusterfs-fuse-3.8.12-1.el7.x86_64
> glusterfs-server-3.8.12-1.el7.x86_64
> glusterfs-libs-3.8.12-1.el7.x86_64
> glusterfs-3.8.12-1.el7.x86_64
>
> Now I cannot add a volume disk preallocated, after a while it breaks.
>
> message log:
> May 26 11:18:16 node journal: vdsm root ERROR VM metrics collection
> failed#012Traceback (most recent call last):#012  File
> "/usr/lib/python2.7/site-packages/vdsm/virt/vmstats.py", line 221, in
> send_metrics#012diskinfo['readOps']#012KeyError: 'readOps'
>
> vdsm.log
> 2017-05-26 11:18:16,715+0100 ERROR (periodic/3) [root] VM metrics
> collection failed (vmstats:264)
> 2017-05-26 11:19:39,369+0100 ERROR (tasks/5) [storage.Volume] Unexpected
> error (fileVolume:456)
> 2017-05-26 11:19:39,373+0100 ERROR (tasks/5) [storage.Volume] Unexpected
> error (volume:1107)
> 2017-05-26 11:19:39,374+0100 ERROR (tasks/5) [storage.TaskManager.Task]
> (Task='5b2adb9a-e24e-48fa-9f01-f21c23588aef') Unexpected error (task:870)
>
> glusterfs
> [2017-05-26 10:53:08.247219] W [MSGID: 114031] 
> [client-rpc-fops.c:2933:client3_3_lookup_cbk]
> 0-gv2-client-0: remote operation failed. Path: 
> /.shard/55b94942-dee5-4f69-8b0f-52e251ac6f5e.164
> (----) [No data available]
> [2017-05-26 10:53:14.899499] W [MSGID: 114031] 
> [client-rpc-fops.c:2933:client3_3_lookup_cbk]
> 0-gv2-client-0: remote operation failed. Path: 
> /.shard/55b94942-dee5-4f69-8b0f-52e251ac6f5e.167
> (----) [No data available]
> [2017-05-26 10:53:14.899526] E [MSGID: 133010] 
> [shard.c:1725:shard_common_lookup_shards_cbk]
> 0-gv2-shard: Lookup on shard 167 failed. Base file gfid =
> 55b94942-dee5-4f69-8b0f-52e251ac6f5e [No data available]
> [2017-05-26 10:53:19.712567] W [MSGID: 114031] 
> [client-rpc-fops.c:2933:client3_3_lookup_cbk]
> 0-gv2-client-0: remote operation failed. Path: 
> /.shard/55b94942-dee5-4f69-8b0f-52e251ac6f5e.169
> (----) [No data available]
> [2017-05-26 10:53:19.712614] E [MSGID: 133010] 
> [shard.c:1725:shard_common_lookup_shards_cbk]
> 0-gv2-shard: Lookup on shard 169 failed. Base file gfid =
> 55b94942-dee5-4f69-8b0f-52e251ac6f5e [No data available]
> [2017-05-26 10:53:29.419317] W [MSGID: 114031] 
> [client-rpc-fops.c:2933:client3_3_lookup_cbk]
> 0-gv2-client-0: remote operation failed. Path: 
> /.shard/55b94942-dee5-4f69-8b0f-52e251ac6f5e.173
> (----) [No data available]
> [2017-05-26 10:53:29.419369] E [MSGID: 133010] 
> [shard.c:1725:shard_common_lookup_shards_cbk]
> 0-gv2-shard: Lookup on shard 173 failed. Base file gfid =
> 55b94942-dee5-4f69-8b0f-52e251ac6f5e [No data available]
>
>
> thanks
>
> --
> *De: *"Sahina Bose" 
> *Para: *supo...@logicworks.pt, "Krutika Dhananjay" 
> *Cc: *"ovirt users" 
> *Enviadas: *Quinta-feira, 25 De Maio de 2017 7:12:40
> *Assunto: *Re: [ovirt-users] vm has been paused due to unknown storage
>
> The glusterfs logs contain below errors:
> [2017-05-22 18:12:50.941883] E [MSGID: 133010] 
> [shard.c:1725:shard_common_lookup_shards_cbk]
> 0-gv2-shard: Lookup on shard 50 failed. Base file gfid =
> 33f1fe3e-c626-49f2-861e-2259c972931d [No data available]
> [2017-05-22 18:12:50.945085] W [fuse-bridge.c:1291:fuse_err_cbk]
> 0-glusterfs-fuse: 61306713: FSYNC() ERR => -1 (No data available)
>
> Krutika, could you take a look?
>
> On Thu, May 25, 2017 at 1:02 AM,  wrote:
>
>> Hi,
>>
>> I setup an ovirt hosted enine, in only one server with local gluster
>> bricks.
>>
>> When running a MS SQL 2012 process to rebuild a data base, which take
>> around 4 hours, after a while the VM is paused with the error:
>>
>> vm has been paused due to unknown storage
>>
>> The VM disk is in Thin provision
>>
>> Ovirt and gluter versions:
>>
>> Version 4.1.1.8-1.el7.centos
>>
>> glusterfs-cli-3.8.11-1.el7.x86_64
>> glusterfs-libs-3.8.11-1.el7.x86_64
>> glusterfs-3.8.11-1.el7.x86_64
>> glusterfs-client-xlators-3.8.11-1.el7.x86_64
>> glusterfs-fuse-3.8.11-1.el7.x86_64
>> glusterfs-api-3.8.11-1.el7.x86_64
>> glusterfs-server-3.8.11-1.el7.x86_64
>>
>>
>> I can find the reason why
>> The logs are attached.
>>
>> Any idea?
>>
>> Thanks
>>
>> --
>> --
>> Jose 

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

2017-05-31 Thread suporte
Hi, 

I found the cause of this problem. I had to turn off sharding. 


De: supo...@logicworks.pt 
Para: "Sahina Bose"  
Cc: "ovirt users"  
Enviadas: Sexta-feira, 26 De Maio de 2017 12:27:43 
Assunto: Re: [ovirt-users] vm has been paused due to unknown storage 

Hi, 

I updated glusterfs: 
glusterfs-client-xlators-3.8.12-1.el7.x86_64 
glusterfs-cli-3.8.12-1.el7.x86_64 
glusterfs-api-3.8.12-1.el7.x86_64 
glusterfs-fuse-3.8.12-1.el7.x86_64 
glusterfs-server-3.8.12-1.el7.x86_64 
glusterfs-libs-3.8.12-1.el7.x86_64 
glusterfs-3.8.12-1.el7.x86_64 

Now I cannot add a volume disk preallocated, after a while it breaks. 

message log: 
May 26 11:18:16 node journal: vdsm root ERROR VM metrics collection 
failed#012Traceback (most recent call last):#012 File 
"/usr/lib/python2.7/site-packages/vdsm/virt/vmstats.py", line 221, in 
send_metrics#012 diskinfo['readOps']#012KeyError: 'readOps' 

vdsm.log 
2017-05-26 11:18:16,715+0100 ERROR (periodic/3) [root] VM metrics collection 
failed (vmstats:264) 
2017-05-26 11:19:39,369+0100 ERROR (tasks/5) [storage.Volume] Unexpected error 
(fileVolume:456) 
2017-05-26 11:19:39,373+0100 ERROR (tasks/5) [storage.Volume] Unexpected error 
(volume:1107) 
2017-05-26 11:19:39,374+0100 ERROR (tasks/5) [storage.TaskManager.Task] 
(Task='5b2adb9a-e24e-48fa-9f01-f21c23588aef') Unexpected error (task:870) 

glusterfs 
[2017-05-26 10:53:08.247219] W [MSGID: 114031] 
[client-rpc-fops.c:2933:client3_3_lookup_cbk] 0-gv2-client-0: remote operation 
failed. Path: /.shard/55b94942-dee5-4f69-8b0f-52e251ac6f5e.164 
(----) [No data available] 
[2017-05-26 10:53:14.899499] W [MSGID: 114031] 
[client-rpc-fops.c:2933:client3_3_lookup_cbk] 0-gv2-client-0: remote operation 
failed. Path: /.shard/55b94942-dee5-4f69-8b0f-52e251ac6f5e.167 
(----) [No data available] 
[2017-05-26 10:53:14.899526] E [MSGID: 133010] 
[shard.c:1725:shard_common_lookup_shards_cbk] 0-gv2-shard: Lookup on shard 167 
failed. Base file gfid = 55b94942-dee5-4f69-8b0f-52e251ac6f5e [No data 
available] 
[2017-05-26 10:53:19.712567] W [MSGID: 114031] 
[client-rpc-fops.c:2933:client3_3_lookup_cbk] 0-gv2-client-0: remote operation 
failed. Path: /.shard/55b94942-dee5-4f69-8b0f-52e251ac6f5e.169 
(----) [No data available] 
[2017-05-26 10:53:19.712614] E [MSGID: 133010] 
[shard.c:1725:shard_common_lookup_shards_cbk] 0-gv2-shard: Lookup on shard 169 
failed. Base file gfid = 55b94942-dee5-4f69-8b0f-52e251ac6f5e [No data 
available] 
[2017-05-26 10:53:29.419317] W [MSGID: 114031] 
[client-rpc-fops.c:2933:client3_3_lookup_cbk] 0-gv2-client-0: remote operation 
failed. Path: /.shard/55b94942-dee5-4f69-8b0f-52e251ac6f5e.173 
(----) [No data available] 
[2017-05-26 10:53:29.419369] E [MSGID: 133010] 
[shard.c:1725:shard_common_lookup_shards_cbk] 0-gv2-shard: Lookup on shard 173 
failed. Base file gfid = 55b94942-dee5-4f69-8b0f-52e251ac6f5e [No data 
available] 


thanks 


De: "Sahina Bose"  
Para: supo...@logicworks.pt, "Krutika Dhananjay"  
Cc: "ovirt users"  
Enviadas: Quinta-feira, 25 De Maio de 2017 7:12:40 
Assunto: Re: [ovirt-users] vm has been paused due to unknown storage 

The glusterfs logs contain below errors: 
[2017-05-22 18:12:50.941883] E [MSGID: 133010] 
[shard.c:1725:shard_common_lookup_shards_cbk] 0-gv2-shard: Lookup on shard 50 
failed. Base file gfid = 33f1fe3e-c626-49f2-861e-2259c972931d [No data 
available] 
[2017-05-22 18:12:50.945085] W [fuse-bridge.c:1291:fuse_err_cbk] 
0-glusterfs-fuse: 61306713: FSYNC() ERR => -1 (No data available) 

Krutika, could you take a look? 

On Thu, May 25, 2017 at 1:02 AM, < supo...@logicworks.pt > wrote: 



Hi, 

I setup an ovirt hosted enine, in only one server with local gluster bricks. 

When running a MS SQL 2012 process to rebuild a data base, which take around 4 
hours, after a while the VM is paused with the error: 
vm has been paused due to unknown storage 

The VM disk is in Thin provision

Ovirt and gluter versions:

Version 4.1.1.8-1.el7.centos

glusterfs-cli-3.8.11-1.el7.x86_64
glusterfs-libs-3.8.11-1.el7.x86_64
glusterfs-3.8.11-1.el7.x86_64
glusterfs-client-xlators-3.8.11-1.el7.x86_64
glusterfs-fuse-3.8.11-1.el7.x86_64
glusterfs-api-3.8.11-1.el7.x86_64
glusterfs-server-3.8.11-1.el7.x86_64 

I can find the reason why 
The logs are attached. 

Any idea? 

Thanks 

-- 

Jose Ferradeira 
http://www.logicworks.pt 

___ 
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 v4.1.2 error: Failed to start service 'vdsmd'

2017-05-31 Thread ovirt
Is it possible that this is part of my problem? Guest Can Reach Outside 
Network, but Cannot Reach Host when Using macvtap Interface

https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Virtualization_Host_Configuration_and_Guest_Installation_Guide/App_Macvtap.html

On 2017-05-30 02:33, Yaniv Kaul wrote:

Can you ensure virtualization is enabled on your host?
"Cannot detect if hardware supports virtualization " seems to hint of
an issue.
Y.

On Tue, May 30, 2017 at 7:15 AM,  wrote:


Failed to execute stage 'Environment setup': Failed to start
service 'vdsmd'
Hosted Engine deployment failed.

This is my 4th try installing oVirt...each time a different error

logs attached

THanks

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




Links:
--
[1] http://lists.ovirt.org/mailman/listinfo/users

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


Re: [ovirt-users] Snapshot Image ID

2017-05-31 Thread Sandro Bonazzola
On Tue, May 23, 2017 at 4:25 PM, Marcelo Leandro 
wrote:

> I see now that image base id stay in snapshot the before of the last. I
> think that should stay in the last. correct?
>
> Thanks,
> Marcelo Leandro
>
> 2017-05-23 11:16 GMT-03:00 Marcelo Leandro :
>
>> Good morning,
>> I have a problem with snapshot, my last snapshot that should have the
>> image base ID not contain this reference in sub-tab in the dashboard.
>> how can see in the picture attached.
>> I think that is necessary add this reference in the database again. The
>> image exist in the storage and it is used for VM execution, but i think
>> when I shutdown the VM it not start anymore.
>>
>> someone help me?
>>
>> Thanks,
>> Marcelo Leandro
>>
>
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>


-- 

SANDRO BONAZZOLA

ASSOCIATE MANAGER, SOFTWARE ENGINEERING, EMEA ENG VIRTUALIZATION R

Red Hat EMEA 

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


Re: [ovirt-users] oVirt-4.1 repo

2017-05-31 Thread Sandro Bonazzola
On Tue, May 30, 2017 at 7:48 PM,  wrote:

> I'm getting a "Failed to synchronize cache for repo 'ovirt-4.1',
> disabling." everything else updates fine.
>
> I assume this is just a temporary hiccup?
>

works for me
# yum --verbose update
Loading "fastestmirror" plugin
Loading "versionlock" plugin
Config time: 0.006
Yum version: 3.4.3
rpmdb time: 0.000
Updating Everything
Building updates object
Setting up Package Sacks
Loading mirror speeds from cached hostfile
 * base: mirrors.prometeus.net
 * extras: mirrors.prometeus.net
 * ovirt-4.1: ftp.nluug.nl
 * ovirt-4.1-epel: pkg.adfinis-sygroup.ch
 * updates: mirrors.prometeus.net
Reading version lock configuration
pkgsack time: 0.734
up:Obs Init time: 0.140
up:simple updates time: 0.006
up:obs time: 0.002
up:condense time: 0.000
updates time: 1.788
No packages marked for update




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



-- 

SANDRO BONAZZOLA

ASSOCIATE MANAGER, SOFTWARE ENGINEERING, EMEA ENG VIRTUALIZATION R

Red Hat EMEA 

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


Re: [ovirt-users] Hosted-Engine Deploy - Error Creating a Storage Domain

2017-05-31 Thread Sandro Bonazzola
On Tue, May 30, 2017 at 11:50 PM, Langley, Robert <
robert.lang...@ventura.org> wrote:

> While going through the hosted engine deployment, I am not able to have it
> successfully complete. Even going through the setup log, I’m not able to
> identify what is wrong. Why it thinks the system is not reliable.
>

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/otopi/context.py", line 132, in
_executeMethod
method['method']()
  File
"/usr/share/ovirt-hosted-engine-setup/scripts/../plugins/gr-he-setup/storage/storage.py",
line 957, in _misc
self._createStorageDomain()
  File
"/usr/share/ovirt-hosted-engine-setup/scripts/../plugins/gr-he-setup/storage/storage.py",
line 546, in _createStorageDomain
raise RuntimeError(status['status']['message'])
RuntimeError: Error creating a storage domain: (u'storageType=7,
sdUUID=a2494209-f823-4745-8eea-a122889d48f6, domainName=hosted_storage,
domClass=1, typeSpecificArg=gsa-stor1.stor.local:/engine domVersion=3',)


Can you please provide vdsm logs or better a full sos report (sosreport -a)?




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


-- 

SANDRO BONAZZOLA

ASSOCIATE MANAGER, SOFTWARE ENGINEERING, EMEA ENG VIRTUALIZATION R

Red Hat EMEA 

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


Re: [ovirt-users] Engine Down Score is 0

2017-05-31 Thread Sandro Bonazzola
On Tue, May 30, 2017 at 6:32 PM, Rizwan Qureshi 
wrote:

> Hello Ovirt Users,
>
> I am new to ovirt.
>

Hi, welcome ot oVirt community!



> Just trying to fix the issue with the engine which seems to be down and
> hence all our VMs which we are very much dependent upon are not working.
>

Other VMs shouldn't be affected by an unavailability of the engine, they
should keep going if already started.



> Tried googling the log snippet but to no avail. Hoping to get some help
> from you guys.
>
>
>
> I am completely blank and don’t know whats wrong with it.
>
>
>
> We have 3 Dell servers. One for Engine and the other two for nodes. Please
> see the log snippet from the engine server agent.log. Please let me know if
> more information is needed to debug the issue.
>

So you have only 1 host dedicated to running hosted engine?



>
>
> MainThread::INFO::2017-05-30 17:21:51,649::hosted_engine::
> 612::ovirt_hosted_engine_ha.agent.hosted_engine.
> HostedEngine::(_initialize_vdsm) Initializing VDSM
>
> MainThread::INFO::2017-05-30 17:21:53,820::hosted_engine::
> 639::ovirt_hosted_engine_ha.agent.hosted_engine.
> HostedEngine::(_initialize_storage_images) Connecting the storage
>
> MainThread::INFO::2017-05-30 17:21:53,821::storage_server::
> 219::ovirt_hosted_engine_ha.lib.storage_server.StorageServer::(connect_storage_server)
> Connecting storage server
>
> MainThread::INFO::2017-05-30 17:21:58,134::storage_server::
> 226::ovirt_hosted_engine_ha.lib.storage_server.StorageServer::(connect_storage_server)
> Connecting storage server
>
> MainThread::INFO::2017-05-30 17:21:58,142::storage_server::
> 233::ovirt_hosted_engine_ha.lib.storage_server.StorageServer::(connect_storage_server)
> Refreshing the storage domain
>
> MainThread::INFO::2017-05-30 17:21:58,258::hosted_engine::
> 666::ovirt_hosted_engine_ha.agent.hosted_engine.
> HostedEngine::(_initialize_storage_images) Preparing images
>
> MainThread::INFO::2017-05-30 17:21:58,258::image::126::
> ovirt_hosted_engine_ha.lib.image.Image::(prepare_images) Preparing images
>
> MainThread::INFO::2017-05-30 17:22:00,637::hosted_engine::
> 669::ovirt_hosted_engine_ha.agent.hosted_engine.
> HostedEngine::(_initialize_storage_images) Reloading vm.conf from the
> shared storage domain
>
> MainThread::INFO::2017-05-30 17:22:00,638::config::206::
> ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine.
> config::(refresh_local_conf_file) Trying to get a fresher copy of vm
> configuration from the OVF_STORE
>
> MainThread::INFO::2017-05-30 17:22:02,838::ovf_store::103::
> ovirt_hosted_engine_ha.lib.ovf.ovf_store.OVFStore::(scan) Found
> OVF_STORE: imgUUID:f4d55192-a2c8-4c2b-8e6c-46a49c30967c,
> volUUID:0ae2c43f-5883-4354-a33f-e68e21ae3733
>
> MainThread::INFO::2017-05-30 17:22:02,977::ovf_store::103::
> ovirt_hosted_engine_ha.lib.ovf.ovf_store.OVFStore::(scan) Found
> OVF_STORE: imgUUID:4ef3bd37-e48d-44a8-b906-5353de1a32cc,
> volUUID:d63b9f36-c5f1-4ddc-9d4a-e01f22023e73
>
> MainThread::INFO::2017-05-30 17:22:03,032::ovf_store::112::
> ovirt_hosted_engine_ha.lib.ovf.ovf_store.OVFStore::(getEngineVMOVF)
> Extracting Engine VM OVF from the OVF_STORE
>
> MainThread::INFO::2017-05-30 17:22:03,033::ovf_store::119::
> ovirt_hosted_engine_ha.lib.ovf.ovf_store.OVFStore::(getEngineVMOVF)
> OVF_STORE volume path: /rhev/data-center/mnt/nas1.le1.uk.cxn-network.net:
> _oVirt/4f9e46d7-594e-473c-b0c5-1770c5773a2e/images/4ef3bd37-
> e48d-44a8-b906-5353de1a32cc/d63b9f36-c5f1-4ddc-9d4a-e01f22023e73
>
> MainThread::INFO::2017-05-30 17:22:03,044::config::226::
> ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine.
> config::(refresh_local_conf_file) Found an OVF for HE VM, trying to
> convert
>
> MainThread::INFO::2017-05-30 17:22:03,046::config::231::
> ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine.
> config::(refresh_local_conf_file) Got vm.conf from OVF_STORE
>
> MainThread::INFO::2017-05-30 17:22:03,082::states::672::
> ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(score) Score is
> 0 due to unexpected vm shutdown at Tue May 30 17:18:38 2017
>
> MainThread::INFO::2017-05-30 17:22:03,082::hosted_engine::
> 461::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(start_monitoring)
> Current state EngineUnexpectedlyDown (score: 0)
>
> MainThread::INFO::2017-05-30 17:22:03,082::hosted_engine::
> 466::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(start_monitoring)
> Best remote host vmhost2.le1.uk.cxn-network.net (id: 2, score: 0)
>
> MainThread::INFO::2017-05-30 17:22:13,135::hosted_engine::
> 612::ovirt_hosted_engine_ha.agent.hosted_engine.
> HostedEngine::(_initialize_vdsm) Initializing VDSM
>
> MainThread::INFO::2017-05-30 17:22:15,305::hosted_engine::
> 639::ovirt_hosted_engine_ha.agent.hosted_engine.
> HostedEngine::(_initialize_storage_images) Connecting the storage
>
> MainThread::INFO::2017-05-30 17:22:15,306::storage_server::
> 219::ovirt_hosted_engine_ha.lib.storage_server.StorageServer::(connect_storage_server)
> 

Re: [ovirt-users] unsuccessful hosted engine install

2017-05-31 Thread Sandro Bonazzola
On Wed, May 31, 2017 at 4:45 AM, Brendan Hartzell  wrote:

> Can you please elaborate about the failure you see here and how are you
> trying to manually partition the host?
>
> Sure, I will start from the beginning.
> - Using: ovirt-node-ng-installer-ovirt-4.1-2017052604 <(201)%20705-2604>
> .iso
> - During installation I setup one of the two interfaces and check the box
> to automatically use the connection.
> - I'm currently providing a host name of node-1.test.net until I have a
> successful process.
> - I configure date and time for my timezone and to use an internal NTP
> server.
> - On Installation Destination, I pick my 128GB USB3.0 SanDisk flash drive,
> check the box that I would like to make additional space, and click done.
> In the reclaim disk space window, I click delete all, and then reclaim
> space.  I go back into the Installation Destination, select that I will
> configure partitioning, and click done.  The Manual Partitioning window
> opens, I use the option to automatically create mount points.
>

In this screen, please change partitioning scheme from LVM to LVM Thin
Provisioning: it should solve your following error.




>   At this point, /boot is 1024MB, /var is 15GB, / is 88.11 GB, and swap is
> 11.57GB.  I then change / to 23.11 GB, update settings, change /var to
> 80GB, update settings again, and click done.  I accept the changes and
> begin installation.
>
> I tried these changes based on this article: http://www.ovirt.org/
> documentation/self-hosted/chap-Deploying_Self-Hosted_Engine/
>
> The article does say that you can specify a different directory than
> /var/tmp, but I don't recall seeing that option.
>

If the setup detects not enough space in /var/tmp for extracting the
appliance it will ask about a different directory.



>
> After some time, I get the following error:
> There was an error running the kickstart script at line 7.  This is a
> fatal error and installation will be aborted.  The details of this error
> are:
>
> [INFO] Trying to create a manageable base from '/'
> [ERROR] LVM Thin Provisioning partitioning scheme is required.  For
> autoinstall via Kickstart with LVM Thin Provisioning check options
> --thinpool and --grow.  Please consult documentation for details.
>


^^ this one should be solved by the LVM Thin Provisioning scheme mentioned
above..



>
> Traceback (most recent call last):
> File "/usr/lib64/python2.7/runpy.py", line 162, in _run_module_as_main
> "__main__", fname, loader, pkg_name)
> File "/usr/lib64/python2.7runpy.py", line 72, in _run_code exec code in
> run_globals
> File "/usr/lib/python2.7/site-packages/imgbased/__main__.py", line 51, in
>  CliApplication()
> File "/usr/lib/python2.7/site-packages/imgbased/__init__.py", line 82, in
> CliApplication()
> File "/usr/lib/python2.7/site-packages/imgbased/hooks.py", line 120, in
> emit cb(self.context, *args)
> File "/usr/lib/python2.7/site-packages/imgbased/plugins/core.py", line
> 169, in post_argparse layout.initialize(args.source, args.init_nvr)
> File "/usr/lib/python2.7/site-packages/imgbased/plugins/core.py", line
> 216, in initialize self.app.imgbase.init_layout_from(source, init_nvr)
> File "/usr/lib/python2.7/site-packages/imgbased/imgbase.py", line 271, in
> init_layout_from self.init_tags_on(existing_lv)
> File "/usr/lib/python2.7/site-packages/imgbased/imgbase.py", line 243, in
> init_tags_on pool = lv.thinpool()
> File "/usr/lib/python2.7/site-packages/imgbased/lvm.py", line 250, in
> thinpool raise MissingLvmThinPool() imgbased.lvm.MissingLvmThinPool
>
> At this point, the only option is to exit the installer.
>
> 
>
> Being this a new install, please use 4.1. oVirt 4.0 is not supported
> anymore.
>
> Not a problem.
>
> 
>
> Can you please provide hosted engine setup logs or better a full sos
> report? (sosreport -a)
>
> Again, the process I'm following:
> - Using: ovirt-node-ng-installer-ovirt-4.1-2017052604 <(201)%20705-2604>
> .iso
> - During installation I setup one of the two interfaces and check the box
> to automatically use the connection.
> - I'm currently providing a host name of node-1.test.net until I have a
> successful process.
> - I configure date and time for my timezone and to use an internal NTP
> server.
> - On Installation Destination, I pick my 128GB USB3.0 SanDisk flash drive,
> check the box that I would like to make additional space, and click done.
> In the reclaim disk space window, I click delete all, and then reclaim
> space.
> - Begin Installation and set a root password.
> - Perform a yum update - no packages marked for update (as expected)
> - Use vi to update /etc/hosts with a reference for node-1.test.net and
> engine.test.net
> - First attempt at hosted-engine from web-UI
> - Setup downloads and installs ovirt-engine-appliance-4.1-20170523.1.el7.
> centos.noarch.rpm
> *Failed to execute stage 'Environment setup': Failed to reconfigure
> libvirt for VDSM
> *Hosted