Re: [ovirt-users] ovirtmgmt bridge creation fails 100% during hosted-engine 4.1 install

2017-03-13 Thread Ian Neilsen
re:bug 2 - confirmed - ovirtmgmt bridge is not created during initial
deploy of second host.
Workaround - maintenance 2nd host --> re-establish bond network from backup
files or manually, systemctl restart network --> engine gui --> second host
--> network --> add in ovirtmgmt bridge

Seems to work and allows the bridge to be created without hassle.



On 14 March 2017 at 12:48, Ian Neilsen  wrote:

> Guys
>
> Bug 1:
> I have run the ovirt 4.1 installation many times now and everytime through
> the deploy the ovirtmgmt bridge fails at ifup when used in conjunction with
> bonded nic's
>
> The deploy process stops when it cannot raise the bridge ifup. To fix, a
> systemctl restart network works and I can start deploy again. ifup will not
> work.
>
> 2 questions:
> Do you want me to raise a bug for this. I'll get my logs to a place where
> you can access them.
> Has anyone got a scrip to create the ovirtmgmt bridge? Is there anything
> special I need to know if I create it manually on my bonded nic's.
>
> Bug 2:
> During hosted deploy on second node,via gui, the ovirtmgt bridge fails to
> create necessary files and deletes other ifcfg files in the process. Bridge
> creation stops as it seems to be missing ifcfg files necessary. Again nics
> are bonded. manual creation is needed to fix the deploy mess.
>
> Yet to confirm this one, am about to try now. Will let you know.
>
> Systems:
> Centos7.3,
> ovirt 4.1,
> gluster 3.10.0
> vdsm-4.19.4-1.el7.centos.x86_64
> kernel 3.10.0-514.10.2.el7.x86_64
>
> --
> Ian Neilsen
>
> Mobile: 0424 379 762
> Linkedin: http://au.linkedin.com/in/ianneilsen
> Twitter : ineilsen
>



-- 
Ian Neilsen

Mobile: 0424 379 762
Linkedin: http://au.linkedin.com/in/ianneilsen
Twitter : ineilsen
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] ovirtmgmt bridge creation fails 100% during hosted-engine 4.1 install

2017-03-13 Thread Ian Neilsen
Guys

Bug 1:
I have run the ovirt 4.1 installation many times now and everytime through
the deploy the ovirtmgmt bridge fails at ifup when used in conjunction with
bonded nic's

The deploy process stops when it cannot raise the bridge ifup. To fix, a
systemctl restart network works and I can start deploy again. ifup will not
work.

2 questions:
Do you want me to raise a bug for this. I'll get my logs to a place where
you can access them.
Has anyone got a scrip to create the ovirtmgmt bridge? Is there anything
special I need to know if I create it manually on my bonded nic's.

Bug 2:
During hosted deploy on second node,via gui, the ovirtmgt bridge fails to
create necessary files and deletes other ifcfg files in the process. Bridge
creation stops as it seems to be missing ifcfg files necessary. Again nics
are bonded. manual creation is needed to fix the deploy mess.

Yet to confirm this one, am about to try now. Will let you know.

Systems:
Centos7.3,
ovirt 4.1,
gluster 3.10.0
vdsm-4.19.4-1.el7.centos.x86_64
kernel 3.10.0-514.10.2.el7.x86_64

-- 
Ian Neilsen

Mobile: 0424 379 762
Linkedin: http://au.linkedin.com/in/ianneilsen
Twitter : ineilsen
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] oVirt 4.1 Dashboard

2017-03-13 Thread Shirly Radco
Hi,

Please open a bug so we can better track you issue.
As far as I can see from the screenshot the dwh does collect the samples,
but do not aggregate it to hourly tables.
1. I see that you installed the full dwh. Did it work correctly in the
past? Did you use the reports and was able to use them?
2. Please attach the ovirt_engine_history db dump and the dwh log and
screenshot to the bug and state the versions of the engine and dwh.

 Best regards,

--

Shirly Radco

BI Software Engineer
Red Hat Israel Ltd.


On Mon, Mar 13, 2017 at 2:12 PM, Arsène Gschwind 
wrote:

> Hi,
>
> I'm wondering if you could identify something. I've investigate on my side
> but couldn't find any problem but for some reason it seams DWH is not
> collecting data.
>
> Thanks a lot for any hint/help
>
> Rgds,
> Arsène
>
> On 03/07/2017 11:04 AM, Arsène Gschwind wrote:
>
> Please find files attached
>
> On 03/07/2017 10:48 AM, Shirly Radco wrote:
>
> Hi,
>
> Please attach ovirt-engine-dwh logs and a screenshot.
>
> Best regards,
>
> Shirly Radco
>
> BI Software Engineer
> Red Hat Israel Ltd.
> 34 Jerusalem Road
> Building A, 4th floor
> Ra'anana, Israel 4350109
>
>
> On Tue, Mar 7, 2017 at 11:41 AM, Arsène Gschwind <
> arsene.gschw...@unibas.ch> wrote:
>
>> Please find engine.log attached
>>
>> On 03/07/2017 10:06 AM, Oved Ourfali wrote:
>>
>>
>>
>> On Tue, Mar 7, 2017 at 10:57 AM, Arsène Gschwind <
>> arsene.gschw...@unibas.ch> wrote:
>>
>>> Hi,
>>>
>>> I've update our oVirt installation 3.6 --> 4.0 --> 4.1, everything went
>>> smooth except update some of the hosts which i could update after several
>>> hour playing around.
>>>
>>> We greatly appreciate the dashboard in 4.1 but we see the information
>>> missing:
>>>
>>>1. On the cluster block in the upper part we see the amount of
>>>clusters but no Status (N/A)
>>>
>>>
>> The reason there is no status there is that in oVirt there is no cluster
>> status (look at the cluster main-tab, for example).
>> We only have statuses for objects like DCs, Hosts, VMs, SDs (well, maybe
>> we have for some more, but not clusters...).
>> We decided to include clusters in the inventory part anyway, for user
>> visibility, and provide access to the clusters main tab by pressing the
>> link.
>>
>>
>>
>>>
>>>1. On the lower part at "Cluster Utilization" and "Storage
>>>Utilization" we don't have any information at all.
>>>
>>> Where does this information come from? DWH service is up and running
>>>
>> The inventory part is taken from the engine.
>> All the rest is taken from DWH.
>> You can start with sharing the engine logs here.
>> Shirly - any other logs or information you think is required?
>>
>>
>>
>>> Where do I have have to investigate further to find out what is
>>> missing/not working?
>>>
>>> Let me know if you need further information.
>>>
>>> Rgds,
>>> Arsène
>>>
>>> ___
>>> 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] idempiere

2017-03-13 Thread Logan Kuhn
We have 4 idempiere-* VMs in an older cluster and we can search for VMs
based on all sorts of strings, but if it contains idempiere it shows:

2017-03-13 11:27:33,268 INFO  [org.ovirt.engine.core.bll.SearchQuery]
(default task-19) [] ResourceManager::searchBusinessObjects - erroneous
search text - ''Vms: idempiere''

Can anyone else duplicate this problem in their environment?

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


Re: [ovirt-users] oVirt Hosted Engine Setup fails

2017-03-13 Thread Simone Tiraboschi
On Mon, Mar 13, 2017 at 4:08 PM, Manuel Luis Aznar <
manuel.luis.az...@gmail.com> wrote:

> Hello to all there again,
>
> I was having some troubles while installing ovirt Hosted Engine, I took
> some look at the hosted engine setup logs while I was running the
> hosted-engine --deploy and I found the following in the ovirt hosted engine
> setup logs:
>
> lvm requires configuration
> libvirt is not configured for vdsm yet
> FAILED: conflicting vdsm and libvirt-qemu tls configuration.
> vdsm.conf with ssl=True requires the following changes:
> libvirtd.conf: listen_tcp=0, auth_tcp="sasl", listen_tls=1
> qemu.conf: spice_tls=1.
>
>
hosted-engine setup is already running vdsm-tool configure --force so it
should configure libvirt and qemu for you, not sure why it failed.
Could you please attach the logs from the failed hosted-engine-setup run?


> When I saw this I stopped the setup and edited this two files (vdsm.conf
> and qemu.conf) set the stated configurations and run the deploy again. All
> was fine and I dont have any trouble the installation finished
> successfully. This was using ovirt-release41-pre.rpm repo.
>
> I will be trying the same installation with ovirt-release41.rpm (when I
> have time) and I will report what happened.
>
> Thanks for all
> Manuel Luis Aznar
>
>
>
> 2017-03-06 1:31 GMT+00:00 Manuel Luis Aznar :
>
>> Hey there,
>>
>> I have been loking around, of course as of now the following I am going
>> to say I suppose is not anything new to you:
>>
>> This is the status of libvirtd:
>>
>> â libvirtd.service - Virtualization daemon
>>Loaded: loaded (/usr/lib/systemd/system/libvirtd.service; enabled;
>> vendor preset: enabled)
>>   Drop-In: /etc/systemd/system/libvirtd.service.d
>>ââunlimited-core.conf
>>Active: active (running) since lun 2017-03-06 01:25:05 WET; 1min 37s
>> ago
>>  Docs: man:libvirtd(8)
>>http://libvirt.org
>>  Main PID: 24350 (libvirtd)
>>CGroup: /system.slice/libvirtd.service
>>ââ24350 /usr/sbin/libvirtd --listen
>>
>> mar 06 01:25:05 host1.bajada.es systemd[1]: Starting Virtualization
>> daemon...
>> mar 06 01:25:05 host1.bajada.es systemd[1]: Started Virtualization
>> daemon.
>>
>>
>> After looking at the state I fire up the VM engine with the command
>> "hosted-engine --vm-start" and I got the following:
>>
>>
>> VM exists and is down, destroying it
>> Machine destroyed
>>
>> ed786811-0321-431e-be4b-2d03764c1b02
>> Status = WaitForLaunch
>> nicModel = rtl8139,pv
>> statusTime = 4374100040 <(437)%20410-0040>
>> emulatedMachine = pc
>> pid = 0
>> vmName = HostedEngine
>> devices = [{'index': '2', 'iface': 'ide', 'specParams': {},
>> 'readonly': 'true', 'deviceId': '506df4eb-e783-4451-a8a6-993fa4dbb381',
>> 'address': {'bus': '1', 'controller': '0', 'type': 'drive', 'target': '0',
>> 'unit': '0'}, 'device': 'cdrom', 'shared': 'false', 'path': '', 'type':
>> 'disk'}, {'index': '0', 'iface': 'virtio', 'format': 'raw', 'bootOrder':
>> '1', 'poolID': '----', 'volumeID':
>> '2bc39472-1a4b-4c7d-8ef9-1212182ad802', 'imageID':
>> '08288fcf-6b12-4bd1-84d3-259992e7aa6d', 'specParams': {}, 'readonly':
>> 'false', 'domainID': 'f44afe8d-56f9-4e1e-beee-4daa548dbad8', 'optional':
>> 'false', 'deviceId': '08288fcf-6b12-4bd1-84d3-259992e7aa6d', 'address':
>> {'slot': '0x06', 'bus': '0x00', 'domain': '0x', 'type': 'pci',
>> 'function': '0x0'}, 'device': 'disk', 'shared': 'exclusive',
>> 'propagateErrors': 'off', 'type': 'disk'}, {'device': 'scsi', 'model':
>> 'virtio-scsi', 'type': 'controller'}, {'nicModel': 'pv', 'macAddr':
>> '00:16:3e:65:a6:4e', 'linkActive': 'true', 'network': 'ovirtmgmt',
>> 'specParams': {}, 'deviceId': '84b82c6c-bcca-4983-82d5-8d1e3ab3811a',
>> 'address': {'slot': '0x03', 'bus': '0x00', 'domain': '0x', 'type':
>> 'pci', 'function': '0x0'}, 'device': 'bridge', 'type': 'interface'},
>> {'device': 'console', 'specParams': {}, 'type': 'console', 'deviceId':
>> '6236af73-8dab-4d14-b950-fb4ad01d4420', 'alias': 'console0'}, {'device':
>> 'vga', 'alias': 'video0', 'type': 'video'}, {'device': 'virtio',
>> 'specParams': {'source': 'random'}, 'model': 'virtio', 'type': 'rng'}]
>> guestDiskMapping = {}
>> vmType = kvm
>> clientIp =
>> displaySecurePort = -1
>> memSize = 4096
>> displayPort = -1
>> cpuType = Broadwell
>> spiceSecureChannels = smain,sdisplay,sinputs,scursor
>> ,splayback,srecord,ssmartcard,susbredir
>> smp = 2
>> displayIp = 0
>> display = vnc
>> maxVCpus = 6
>>
>>
>> After that if I look again at the status of libvirtd I obtain:
>>
>>
>> â libvirtd.service - Virtualization daemon
>>Loaded: loaded (/usr/lib/systemd/system/libvirtd.service; enabled;
>> vendor preset: enabled)
>>   Drop-In: /etc/systemd/system/libvirtd.service.d
>>ââunlimited-core.conf
>>Active: active 

Re: [ovirt-users] iscsi data domain when engine is down

2017-03-13 Thread Chris Adams
It's easy enough to verify; just SSH in to the physical machine running
the hosted engine and look.  You can see the qemu command line, follow
the links to the block device, then look at the LVM physical volume and
see that it is a multipath device.

Once upon a time, Marcin Kruk  said:
> Are you 1000% sure? Because during startup vmsd the comman iscsiadm
>   is executed, In my opinion vmsd should rely on
> /var/lib/iscsi settings.
> 
> 2017-03-12 15:02 GMT+01:00 Chris Adams :
> 
> > Once upon a time, Marcin Kruk  said:
> > > OK, but what your script do, only add paths by the iscsiadm command, but
> > > the question is if hosted-engine can see it.
> > > I do not know how to add an extra path, for example, when I congirured
> > > hosted-engine during installation there was only one path in the target,
> > > but now there are four. So how can I verify how many paths are now, and
> > how
> > > eventually change it.
> >
> > oVirt access iSCSI storage through multipath devices, so adding a path
> > to the multipath device will work.  Adding an additional path with
> > iscsiadm causes multipathd to recognize it; you can verify that with
> > "multipath -ll".
> > --
> > Chris Adams 
> > ___
> > 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


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


Re: [ovirt-users] oVirt Hosted Engine Setup fails

2017-03-13 Thread Manuel Luis Aznar
Hello to all there again,

I was having some troubles while installing ovirt Hosted Engine, I took
some look at the hosted engine setup logs while I was running the
hosted-engine --deploy and I found the following in the ovirt hosted engine
setup logs:

lvm requires configuration
libvirt is not configured for vdsm yet
FAILED: conflicting vdsm and libvirt-qemu tls configuration.
vdsm.conf with ssl=True requires the following changes:
libvirtd.conf: listen_tcp=0, auth_tcp="sasl", listen_tls=1
qemu.conf: spice_tls=1.

When I saw this I stopped the setup and edited this two files (vdsm.conf
and qemu.conf) set the stated configurations and run the deploy again. All
was fine and I dont have any trouble the installation finished
successfully. This was using ovirt-release41-pre.rpm repo.

I will be trying the same installation with ovirt-release41.rpm (when I
have time) and I will report what happened.

Thanks for all
Manuel Luis Aznar



2017-03-06 1:31 GMT+00:00 Manuel Luis Aznar :

> Hey there,
>
> I have been loking around, of course as of now the following I am going to
> say I suppose is not anything new to you:
>
> This is the status of libvirtd:
>
> â libvirtd.service - Virtualization daemon
>Loaded: loaded (/usr/lib/systemd/system/libvirtd.service; enabled;
> vendor preset: enabled)
>   Drop-In: /etc/systemd/system/libvirtd.service.d
>ââunlimited-core.conf
>Active: active (running) since lun 2017-03-06 01:25:05 WET; 1min 37s ago
>  Docs: man:libvirtd(8)
>http://libvirt.org
>  Main PID: 24350 (libvirtd)
>CGroup: /system.slice/libvirtd.service
>ââ24350 /usr/sbin/libvirtd --listen
>
> mar 06 01:25:05 host1.bajada.es systemd[1]: Starting Virtualization
> daemon...
> mar 06 01:25:05 host1.bajada.es systemd[1]: Started Virtualization daemon.
>
>
> After looking at the state I fire up the VM engine with the command
> "hosted-engine --vm-start" and I got the following:
>
>
> VM exists and is down, destroying it
> Machine destroyed
>
> ed786811-0321-431e-be4b-2d03764c1b02
> Status = WaitForLaunch
> nicModel = rtl8139,pv
> statusTime = 4374100040 <(437)%20410-0040>
> emulatedMachine = pc
> pid = 0
> vmName = HostedEngine
> devices = [{'index': '2', 'iface': 'ide', 'specParams': {},
> 'readonly': 'true', 'deviceId': '506df4eb-e783-4451-a8a6-993fa4dbb381',
> 'address': {'bus': '1', 'controller': '0', 'type': 'drive', 'target': '0',
> 'unit': '0'}, 'device': 'cdrom', 'shared': 'false', 'path': '', 'type':
> 'disk'}, {'index': '0', 'iface': 'virtio', 'format': 'raw', 'bootOrder':
> '1', 'poolID': '----', 'volumeID':
> '2bc39472-1a4b-4c7d-8ef9-1212182ad802', 'imageID':
> '08288fcf-6b12-4bd1-84d3-259992e7aa6d', 'specParams': {}, 'readonly':
> 'false', 'domainID': 'f44afe8d-56f9-4e1e-beee-4daa548dbad8', 'optional':
> 'false', 'deviceId': '08288fcf-6b12-4bd1-84d3-259992e7aa6d', 'address':
> {'slot': '0x06', 'bus': '0x00', 'domain': '0x', 'type': 'pci',
> 'function': '0x0'}, 'device': 'disk', 'shared': 'exclusive',
> 'propagateErrors': 'off', 'type': 'disk'}, {'device': 'scsi', 'model':
> 'virtio-scsi', 'type': 'controller'}, {'nicModel': 'pv', 'macAddr':
> '00:16:3e:65:a6:4e', 'linkActive': 'true', 'network': 'ovirtmgmt',
> 'specParams': {}, 'deviceId': '84b82c6c-bcca-4983-82d5-8d1e3ab3811a',
> 'address': {'slot': '0x03', 'bus': '0x00', 'domain': '0x', 'type':
> 'pci', 'function': '0x0'}, 'device': 'bridge', 'type': 'interface'},
> {'device': 'console', 'specParams': {}, 'type': 'console', 'deviceId':
> '6236af73-8dab-4d14-b950-fb4ad01d4420', 'alias': 'console0'}, {'device':
> 'vga', 'alias': 'video0', 'type': 'video'}, {'device': 'virtio',
> 'specParams': {'source': 'random'}, 'model': 'virtio', 'type': 'rng'}]
> guestDiskMapping = {}
> vmType = kvm
> clientIp =
> displaySecurePort = -1
> memSize = 4096
> displayPort = -1
> cpuType = Broadwell
> spiceSecureChannels = smain,sdisplay,sinputs,
> scursor,splayback,srecord,ssmartcard,susbredir
> smp = 2
> displayIp = 0
> display = vnc
> maxVCpus = 6
>
>
> After that if I look again at the status of libvirtd I obtain:
>
>
> â libvirtd.service - Virtualization daemon
>Loaded: loaded (/usr/lib/systemd/system/libvirtd.service; enabled;
> vendor preset: enabled)
>   Drop-In: /etc/systemd/system/libvirtd.service.d
>ââunlimited-core.conf
>Active: active (running) since lun 2017-03-06 01:25:05 WET; 5min ago
>  Docs: man:libvirtd(8)
>http://libvirt.org
>  Main PID: 24350 (libvirtd)
>CGroup: /system.slice/libvirtd.service
>ââ24350 /usr/sbin/libvirtd --listen
>
> mar 06 01:25:05 host1.bajada.es systemd[1]: Starting Virtualization
> daemon...
> mar 06 01:25:05 host1.bajada.es systemd[1]: Started Virtualization daemon.
> mar 06 01:29:39 host1.bajada.es libvirtd[24350]: 

Re: [ovirt-users] oVirt and Openstack Neutron: network not working

2017-03-13 Thread Marcin Mirecki
PROVIDER_FAILURE indicates a problem with the external network provider.
The detailed cause of the error should be present in the vdsm logs.


On Mon, Mar 13, 2017 at 11:37 AM, Luca 'remix_tj' Lorenzetto <
lorenzetto.l...@gmail.com> wrote:

> About VM failing i can add this from engine.log:
>
> 2017-03-13 11:12:35,662+01 INFO
> [org.ovirt.engine.core.vdsbroker.UpdateVmDynamicDataVDSCommand]
> (org.ovirt.thread.pool-6-thread-5)
> [462b7528-dce7-4b9e-98e4-f44ab9a551a5] START,
> UpdateVmDynamicDataVDSCommand(
> UpdateVmDynamicDataVDSCommandParameters:{runAsync='true', hostI
> d='null', vmId='23ea52a8-e499-41bb-8be4-8621b67869fd',
> vmDynamic='org.ovirt.engine.core.common.businessentities.
> VmDynamic@da9f8b26'}),
> log id: 4d5a0bbe
> 2017-03-13 11:12:35,665+01 INFO
> [org.ovirt.engine.core.vdsbroker.UpdateVmDynamicDataVDSCommand]
> (org.ovirt.thread.pool-6-thread-5)
> [462b7528-dce7-4b9e-98e4-f44ab9a551a5] FINISH,
> UpdateVmDynamicDataVDSCommand, log id: 4d5a0bbe
> 2017-03-13 11:14:35,698+01 ERROR
> [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
> (org.ovirt.thread.pool-6-thread-5)
> [462b7528-dce7-4b9e-98e4-f44ab9a551a5] EVENT_ID:
> USER_FAILED_RUN_VM(54), Correlation ID:
> 462b7528-dce7-4b9e-98e4-f44ab9a551a5, Job ID
> : 86497f63-6bd0-46e5-b667-320f4ef30f30, Call Stack: null, Custom Event
> ID: -1, Message: Failed to run VM ovirt-node-test (User:
> admin@internal-authz).
> 2017-03-13 11:14:35,703+01 INFO
> [org.ovirt.engine.core.bll.RunVmCommand]
> (org.ovirt.thread.pool-6-thread-5)
> [462b7528-dce7-4b9e-98e4-f44ab9a551a5] Lock freed to object
> 'EngineLock:{exclusiveLocks='[23ea52a8-e499-41bb-8be4-8621b67869fd= ACTION_TYPE_FAILED_OBJECT_LOCKE
> D>]', sharedLocks='null'}'
> 2017-03-13 11:14:35,703+01 ERROR
> [org.ovirt.engine.core.bll.RunVmCommand]
> (org.ovirt.thread.pool-6-thread-5)
> [462b7528-dce7-4b9e-98e4-f44ab9a551a5] Command
> 'org.ovirt.engine.core.bll.RunVmCommand' failed: EngineException:
> (Failed with error PROVIDER_FAILURE and code 5050)
> 2017-03-13 11:14:35,713+01 INFO
> [org.ovirt.engine.core.bll.ProcessDownVmCommand]
> (org.ovirt.thread.pool-6-thread-36) [48f00a21] Running command:
> ProcessDownVmCommand internal: true.
>
> I see in particular a PROVIDER_FAILURE error, that's maybe related.
>
> 2017-03-13 11:17 GMT+01:00 Luca 'remix_tj' Lorenzetto
> :
> > Hello,
> >
> > now, didn't understand why, the VM isn't starting. This is the VDSM
> > log when i try to poweron while attached to an external network. If i
> > attach to ovirtmgmt or other standard network, vm boots.
> >
> > Luca
> >
> > --
> > "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 , <
> lorenzetto.l...@gmail.com>
>
>
>
> --
> "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 , <
> lorenzetto.l...@gmail.com>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Lab enviroment with vmware workstation---- Host rhev01 installation failed. Command returned failure code 1 during SSH session 'root@192.168.2.191'.

2017-03-13 Thread Yedidyah Bar David
On Mon, Mar 13, 2017 at 4:47 AM, 单延明  wrote:
> Hi everyone,
>
>
>
> I made two virtual machine with vmware workstation.
>
> The virtual machine as flollows.
>
>
>
> oVirt Engine is rhevm.example.com.
>
> oVirt Node is rhev01.example.com.
>
> Host rhev01 installation failed. Command returned failure code 1 during SSH
> session 'root@192.168.2.191'.

Did you verify that you can ssh manually from the engine to the host?

Best,

>
>
>
>
>
> shan yanming
>
> 单延明
>
>
>
> ###
>
> 中国 黑龙江,大庆市
>
> 大庆油田有限责任公司勘探开发研究院
>
> 应用软件研究室
>
>
>
> 邮编:163712
>
> 手机:13945919499
>
> 办公:04595093871
>
> ###
>
>
>
>
>
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>



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


[ovirt-users] Lab enviroment with vmware workstation---- Host rhev01 installation failed. Command returned failure code 1 during SSH session 'root@192.168.2.191'.

2017-03-13 Thread 单延明
Hi everyone,

 

I made two virtual machine with vmware workstation.

The virtual machine as flollows.

 

oVirt Engine is rhevm.example.com.

oVirt Node is rhev01.example.com.

Host rhev01 installation failed. Command returned failure code 1 during SSH
session 'root@192.168.2.191'.

 

 

shan yanming

单延明

 

###

中国 黑龙江,大庆市

大庆油田有限责任公司勘探开发研究院

应用软件研究室

 

邮编:163712

手机:13945919499

办公:04595093871

###

 

 

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


Re: [ovirt-users] Info on network interface threshold alert

2017-03-13 Thread Alona Kaplan
Hi,

The calculation of the tx rate in percentage is -

txDiff = currentCumulativeTx - previousCumulativeTx
timeSlot = currentTime - previousTime

txRate = txDiff / timeSlot

ratePercentage = 100 *  txRate / speed

The message is displayed in case 'ratePercentage' is bigger than 95%.

If you have 'dwh' installed you can see the history.

Alona.
tx

On Wed, Mar 8, 2017 at 11:30 AM, Gianluca Cecchi 
wrote:

> Hello,
> this morning I get these two messages regarding bond1 and its active
> interface on one host (ovmsrv07):
>
> Host ovmsrv07 has network interface which exceeded the defined threshold
> [95%] (bond1: transmit rate[96%], receive rate [0%])
>
> Host ovmsrv07 has network interface which exceeded the defined threshold
> [95%] (enp7s4f0: transmit rate[96%], receive rate [0%])
>
> Actually there is no particular network activity during this latest
> night...
> There have been some different resore jobs during past days...
> How is determined this message? Is it perhaps cumulative?
>
> On the host there are 3 VMs and only one of them actively using the
> network.
> In its "Network Interfaces subtab I see
> Total RX (bytes)
> 542,696,952,529
>
> Inside VM OS:
> $ uptime
>  10:26:50 up 14 days,  1:35,  3 users,  load average: 0.00, 0.04, 0.05
>
> $ ifconfig eth0
> eth0  Link encap:Ethernet  HWaddr 00:1A:4A:17:01:5B
>   inet addr:10.4.4.66  Bcast:10.4.4.255  Mask:255.255.255.0
>   UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>   RX packets:40280066 errors:0 dropped:612718 overruns:0 frame:0
>   TX packets:21110417 errors:0 dropped:0 overruns:0 carrier:0
>   collisions:0 txqueuelen:1000
>   RX bytes:193066319488 (179.8 GiB)  TX bytes:20983189756 (19.5
> GiB)
>
> Almost confirmaed on host where I have these counter indeed, but I think
> they are cumulative for the VM, and not an alert in se
>
> ON ovmsrv07:
> $ ifconfig bond1
> bond1: flags=5187  mtu 9000
> ether 00:1c:c4:ab:3a:dd  txqueuelen 1000  (Ethernet)
> RX packets 140610596  bytes 200368822262 (186.6 GiB)
> RX errors 0  dropped 126874  overruns 0  frame 0
> TX packets 33886066  bytes 21972025081 (20.4 GiB)
> TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
>
> $ cat /proc/net/bonding/bond1
> Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)
>
> Bonding Mode: fault-tolerance (active-backup)
> Primary Slave: None
> Currently Active Slave: enp7s4f0
> MII Status: up
> MII Polling Interval (ms): 100
> Up Delay (ms): 0
> Down Delay (ms): 0
>
> Slave Interface: enp7s4f0
> MII Status: up
> Speed: 1000 Mbps
> Duplex: full
> Link Failure Count: 0
> Permanent HW addr: 00:1c:c4:ab:3a:dd
> Slave queue ID: 0
>
> Slave Interface: enp7s4f1
> MII Status: up
> Speed: 1000 Mbps
> Duplex: full
> Link Failure Count: 0
> Permanent HW addr: 00:1c:c4:ab:3a:de
> Slave queue ID: 0
>
> Could anyone clarify?
>
> Thanks,
> Gianluca
>
> ___
> 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] Extend disk in engine appliance in ovirt 4.1.0?

2017-03-13 Thread Simone Tiraboschi
On Mon, Mar 13, 2017 at 11:55 AM, gflwqs gflwqs  wrote:

> [root@engine ~]# rpm -q cloud-utils-growpart
> package cloud-utils-growpart is not installed
>

I opened a bug to track it:
https://bugzilla.redhat.com/show_bug.cgi?id=1431624
thanks for pointing it out.

now in your case the quick option to get if fixed is:
- choose the host where the engine VM is running
- set global maintenance mode with
  hosted-engine --set-maintenance --mode=global
- connect to the engine VM and run
  fdisk /dev/vda
- press d to and delete the root partition
- press n to add a new one, ensure it starts on the same sector where the
original partition was starting (2048)
- press w to write it
- shut down the engine VM
- come back to the host and restart the engine VM with
  hosted-engine --vm-start
- connect again to the engine VM and run
  resize2fs /dev/vda1
  to resize the FS
- come back to the host and exit the global maintenance mode with
  hosted-engine --set-maintenance --mode=none

Before this, please use engine-backup on the engine VM to create a backup
of your engine.


> From the engine-setup log:
> 2017-02-14 17:08:17 INFO otopi.plugins.gr_he_common.vm.boot_disk
> boot_disk._setup:509 Detecting available oVirt engine appliances
> 2017-02-14 17:08:17 DEBUG otopi.plugins.gr_he_common.vm.boot_disk
> boot_disk._detect_appliances:253 parsing: /etc/ovirt-hosted-engine/10-
> appliance.conf
> 2017-02-14 17:08:17 DEBUG otopi.plugins.gr_he_common.vm.boot_disk
> boot_disk._detect_appliances:269 available appliances: [{'path':
> u'/usr/share/ovirt-engine-appliance/ovirt-engine-
> appliance-4.1-20170201.1.el7.centos.ova', 'version':
> u'4.1-20170201.1.el7.centos', 'index': '1', 'description': u'The oVirt
> Engine Appliance image (OVA)', 'sha1sum': u'87aef3093c93896ab1c40adf112286
> af385247df'}]
>
>
> 2017-03-13 11:43 GMT+01:00 Simone Tiraboschi :
>
>>
>>
>> On Mon, Mar 13, 2017 at 11:31 AM, gflwqs gflwqs  wrote:
>>
>>> Hi Simone,
>>> Since there is a lot of stuff in the setup log that i don't want to send
>>> to the internet, are there anything specific that i could pick out from the
>>> log?
>>>
>>> Here is the lsbl and fdisk output from the engine:
>>>
>>> [root@engine ~]# lsblk
>>> NAME   MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
>>> sr0 11:01 1024M  0 rom
>>> vda253:00   90G  0 disk
>>> └─vda1 253:10   10G  0 part /
>>>
>>>
>> OK, so the disk is 90 GB but the partition is just 10 GB.
>>
>> Could you please check if you have cloud-utils-growpart package inside
>> your engine VM?
>> If not, could you please report the version of ovirt-engine-appliance you
>> used at setup time?
>>
>>
>>> [root@engine ~]# fdisk -l /dev/vda
>>>
>>> Disk /dev/vda: 96.6 GB, 96636764160 bytes, 188743680 sectors
>>> Units = sectors of 1 * 512 = 512 bytes
>>> Sector size (logical/physical): 512 bytes / 512 bytes
>>> I/O size (minimum/optimal): 512 bytes / 512 bytes
>>> Disk label type: dos
>>> Disk identifier: 0x0009e1bc
>>>
>>>Device Boot  Start End  Blocks   Id  System
>>> /dev/vda1   *20482097151910484736   83  Linux
>>>
>>> 2017-03-13 10:44 GMT+01:00 Simone Tiraboschi :
>>>


 On Mon, Mar 13, 2017 at 8:26 AM, gflwqs gflwqs 
 wrote:

> Hi, I have recently installed a new ovirt environment from scratch.
> The version is 4.1.0.
> I made a 90GB disk for the hosted engine.
> When i had installed it and log into the engine i see that it has only
> configured 10GB of those 90GB.
> So there is 80GB of unconfigured disk unused.
>

 Can you please attach your hosted-engine-setup log file?

 Could you please check if the disk is 90GB but the main disk partition
 is just 10 GB?

 cloud-utils-growpart should grow the partition on the first boot, if
 the issue is there we need to understand why it didn't triggered in your
 case.


> That is fine as long as it had used lvm but it has not meaning i have
> to take the engine down to extend the disk?
>
> My questions is:
> 1. Why does it not configure all disk?
> 2. Why is it not using lvm?
> 3. What should i do to extend the disk?
>

 It depends on where the issue is (is on the disk size or just on the
 partition size?).


>
> Regards
> Christian
>
> ___
> 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] Error on Node upgrade 2

2017-03-13 Thread Yedidyah Bar David
On Mon, Mar 13, 2017 at 2:42 PM, FERNANDO FREDIANI
 wrote:
> Hi Yedidyah.
>
> Running oVirt-Node 4.1.0--0.20170201.0+1 on the nodes and tried a normal
> upgrade. It detected it has to upgrade to
> 4.1.1-0.3.rc1.20170303133657.git20d3594.el7.centos from the ovirt-4.1-pre
> repository.

I think 4.1-pre should include a later version. Did you try again recently?

>
> The upgrade finished with the following problems:
>
> ...
> Running transaction
>   Updating   :
> ovirt-node-ng-image-4.1.1-0.3.rc1.20170303133657.git20d3594.el7.centos.noarch
> 1/4
>   Updating   :
> ovirt-node-ng-image-update-4.1.1-0.3.rc1.20170303133657.git20d3594.el7.centos.noarch
> 2/4
> mount: special device /dev/onn_kvm01/ovirt-node-ng-4.1.1-0.20170303.0+1 does
> not exist
> cp: target ‘/tmp/tmp.N6JgSdFcu6/usr/share/imgbased/’ is not a directory
> rm: cannot remove
> ‘/tmp/tmp.N6JgSdFcu6/usr/share/imgbased/*image-update*.rpm’: No such file or
> directory
> umount: /tmp/tmp.N6JgSdFcu6: not mounted
> ...

Looks to me like [1], which should be fixed in 4.1.1 (and in current 4.1-pre).

[1] https://bugzilla.redhat.com/show_bug.cgi?id=1427082

Best,

>
> So it seems it was not able to do it correctly.
> This is the second time it happens and I had to remove manually these
> packages containing 4.1.1 version.
>
> Tried also:
>
> # lvdisplay | grep ovirt-node-ng-4.1.1-0.20170303.0+1
>   LV Path/dev/onn_kvm01/ovirt-node-ng-4.1.1-0.20170303.0+1
>   LV Nameovirt-node-ng-4.1.1-0.20170303.0+1
> # fdisk -l /dev/onn_kvm01/ovirt-node-ng-4.1.1-0.20170303.0+1
> fdisk: cannot open /dev/onn_kvm01/ovirt-node-ng-4.1.1-0.20170303.0+1: No
> such file or directory
> # vgchange -ay
> # fdisk -l /dev/onn_kvm01/ovirt-node-ng-4.1.1-0.20170303.0+1 (then worked)
>
> But the upon reboot it came back to 4.1.0 as if 4.1.1 never existed
>
> Fernando
>
> On 12/03/2017 03:30, Yedidyah Bar David wrote:
>
> On Fri, Mar 10, 2017 at 2:37 PM, FERNANDO FREDIANI
>  wrote:
>
> I am not sure if another email I sent went through but has anyone got
> problems when upgrading a running oVirt-node-ng from 4.1.0 to 4.1.1.
>
> What kind of problems?
>
> Is the only solution a complete reinstall of the node ?
>
> No, this should work.
>
> Best,
>
> Thanks
>
> Fernando
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
>



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


Re: [ovirt-users] Error on Node upgrade 2

2017-03-13 Thread FERNANDO FREDIANI

Hi Yedidyah.

Running oVirt-Node *4.1.0--0.20170201.0+1* on the nodes and tried a 
normal upgrade. It detected it has to upgrade to 
*4.1.1-0.3.rc1.20170303133657.git20d3594.el7.centos* from the 
ovirt-4.1-pre repository.


The upgrade finished with the following problems:

...
Running transaction
  Updating   : 
ovirt-node-ng-image-4.1.1-0.3.rc1.20170303133657.git20d3594.el7.centos.noarch 
1/4
  Updating   : 
ovirt-node-ng-image-update-4.1.1-0.3.rc1.20170303133657.git20d3594.el7.centos.noarch 
2/4
mount: special device /dev/onn_kvm01/ovirt-node-ng-4.1.1-0.20170303.0+1 
does not exist

cp: target ‘/tmp/tmp.N6JgSdFcu6/usr/share/imgbased/’ is not a directory
rm: cannot remove 
‘/tmp/tmp.N6JgSdFcu6/usr/share/imgbased/*image-update*.rpm’: No such 
file or directory

umount: /tmp/tmp.N6JgSdFcu6: not mounted
...

So it seems it was not able to do it correctly.
This is the second time it happens and I had to remove manually these 
packages containing 4.1.1 version.


Tried also:

# lvdisplay | grep ovirt-node-ng-4.1.1-0.20170303.0+1
  LV Path /dev/onn_kvm01/ovirt-node-ng-4.1.1-0.20170303.0+1
  LV Nameovirt-node-ng-4.1.1-0.20170303.0+1
# fdisk -l /dev/onn_kvm01/ovirt-node-ng-4.1.1-0.20170303.0+1
fdisk: cannot open /dev/onn_kvm01/ovirt-node-ng-4.1.1-0.20170303.0+1: No 
such file or directory

# vgchange -ay
# fdisk -l /dev/onn_kvm01/ovirt-node-ng-4.1.1-0.20170303.0+1 (then worked)

But the upon reboot it came back to 4.1.0 as if 4.1.1 never existed

Fernando

On 12/03/2017 03:30, Yedidyah Bar David wrote:

On Fri, Mar 10, 2017 at 2:37 PM, FERNANDO FREDIANI
 wrote:

I am not sure if another email I sent went through but has anyone got
problems when upgrading a running oVirt-node-ng from 4.1.0 to 4.1.1.

What kind of problems?


Is the only solution a complete reinstall of the node ?

No, this should work.

Best,


Thanks

Fernando

___
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] Removing all the Users Permission on Data Center

2017-03-13 Thread Manuel Luis Aznar
Hello there again,

I was fighting with the permissions yesterday night and in the end I find
out all was fine. There was an Everyone permission that confused me...

The main thing here is that we have an application that use the ovirt sdk
version 3 and we want to migrate it to the ovirt sdk version 4.

This is the function in the ovirt sdk 3 literally is (userid and dc is
string type):

def ovirt_remove_dc_permissions(userid, dc):
kvm = ovirt_connect()

u = kvm.users.get(id=userid)
for perm in u.permissions.list():
udc = perm.get_data_center()
if udc:
globaldc = kvm.datacenters.get(id=udc.get_id())
if globaldc.get_name() == dc:
perm.delete()

kvm.disconnect()

The function on the ovirt sdk 4 is:

def ovirt_remove_dc_permissions(self, userid, dc):
connection = self.ovirt_connect()

system_service = connection.system_service()
permissions_service = system_service.permissions_service()
users_service = system_service.users_service()
data_centers_service = system_service.data_centers_service()

data_center=None
for data_center_aux in data_centers_service.list():
if data_center_aux.name == dc:
data_center = data_center_aux
break

user_service = users_service.user_service(id=userid)
user_permission_service = user_service.permissions_service()

for permission in user_permission_service.list():
udc = permission.data_center
if udc:
if udc.id == data_center.id:
permission_service =
permissions_service.permission_service(id=permission.id)
permission_service.remove()

connection.close()

In the end I manage to translate from ovirt SDK v3 to ovirt SDK 4

Thanks again and sorry for this late response once more time.
Manuel


2017-02-22 16:23 GMT+00:00 Manuel Luis Aznar :

> Hello there,
>
> Thanks for yours answer.
>
> I will try your note.
>
> We have an oVirt test installation (very litle users and few permissions,
> so you can count permissions) and if I try to get the permissions with the
> users entry point, I got a wrong number of them.
>
> user_service = users_service.user_service(id=user.id)
>
> user_permissions_service = user_service.permissions_service()
>
> list = user_permissions_service.list()
>
> The list "list" have wrong number of permissions...Do not know if this is
> a bug or what, I will double check later on. In case I am wrong I will be
> writing to you again.
>
> Thanks again
> Manuel
>
>
>
> 2017-02-22 12:01 GMT+00:00 Ondra Machacek :
>
>> On Wed, Feb 22, 2017 at 10:16 AM, Manuel Luis Aznar
>>  wrote:
>> > Hello there,
>> >
>> > I need to remove the specific Users Permission a user have in a
>> DataCenter.
>> >
>> > I manage to do it in this way:
>> >
>> > username = "..."
>> > dc = "..."
>> >
>> > system_service = connection.system_service()
>> > users_service = system_service.users_service()
>> > data_centers_service = system_service.data_centers_service()
>> >
>> > # Getting the User object
>> > for user in users_service.list():
>> > if username in user.user_name:
>> > break
>> >
>> > # Getting the DataCenter object
>> > for data_center in data_centers_service.list():
>> > if dc in data_center.name:
>> > break
>>
>> Just a note that you can use:
>>
>>data_center = data_centers_service.list(search='name=dc')[0]
>>
>>
>> >
>> > # Getting DataCenter service and its Permission Service
>> > data_center_service =
>> > data_centers_service.data_center_service(id=data_center.id)
>> > data_center_permissions_service = data_center_service.permission
>> s_service()
>> >
>> > # Getting the Permission for the User in the DataCenter
>> > for data_center_permission in data_center_permissions_service.list():
>> > data_center_permission_user = data_center_permission.user
>> > if data_center_permission_user:
>> > if data_center_permission_user.id == user.id:
>> > data_center_permission_user.remove()
>> >
>> > As you can see I can do it, but, I am using the permissions of the
>> > DataCenter and this list could be very long.
>> >
>> > In the old ovirtsdk (version 3) this was done by the following:
>> >
>> > u = kvm.users.get(id=userid)
>> > for perm in u.permissions.list():
>> >udc = perm.get_data_center()
>> >   if udc:
>> >  globaldc = kvm.datacenters.get(id=udc.get_id())
>> >  if globaldc.get_name() == dc:
>> > perm.delete()
>> >
>> > that last piece of code iterate by the user permission list and delete
>> the
>> > specific Data Center permission. I have been trying this doing the
>> > following:
>> >
>> > user_service = users_service.user_service(id=user.id)
>> >
>> > user_permissions_service = user_service.permissions_service()
>> >
>> > list = 

Re: [ovirt-users] oVirt 4.1 Dashboard

2017-03-13 Thread Arsène Gschwind

Hi,

I'm wondering if you could identify something. I've investigate on my 
side but couldn't find any problem but for some reason it seams DWH is 
not collecting data.


Thanks a lot for any hint/help

Rgds,
Arsène


On 03/07/2017 11:04 AM, Arsène Gschwind wrote:


Please find files attached


On 03/07/2017 10:48 AM, Shirly Radco wrote:

Hi,

Please attach ovirt-engine-dwh logs and a screenshot.

Best regards,
Shirly Radco
BI Software Engineer Red Hat Israel Ltd. 34 Jerusalem Road Building 
A, 4th floor Ra'anana, Israel 4350109


On Tue, Mar 7, 2017 at 11:41 AM, Arsène Gschwind 
> wrote:


Please find engine.log attached


On 03/07/2017 10:06 AM, Oved Ourfali wrote:



On Tue, Mar 7, 2017 at 10:57 AM, Arsène Gschwind
>
wrote:

Hi,

I've update our oVirt installation 3.6 --> 4.0 --> 4.1,
everything went smooth except update some of the hosts which
i could update after several hour playing around.

We greatly appreciate the dashboard in 4.1 but we see the
information missing:

 1. On the cluster block in the upper part we see the amount
of clusters but no Status (N/A)


The reason there is no status there is that in oVirt there is no
cluster status (look at the cluster main-tab, for example).
We only have statuses for objects like DCs, Hosts, VMs, SDs
(well, maybe we have for some more, but not clusters...).
We decided to include clusters in the inventory part anyway, for
user visibility, and provide access to the clusters main tab by
pressing the link.

 1. On the lower part at "Cluster Utilization" and "Storage
Utilization" we don't have any information at all.

Where does this information come from? DWH service is up and
running

The inventory part is taken from the engine.
All the rest is taken from DWH.
You can start with sharing the engine logs here.
Shirly - any other logs or information you think is required?

Where do I have have to investigate further to find out what
is missing/not working?

Let me know if you need further information.

Rgds,
Arsène


___
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] Contributing on ovirt

2017-03-13 Thread shubham dubey
Hello,
I hope you got my irc message that I got my exams earlier(which are now
over) because of which I was not able to spent much time on project related
things.
since I am free now,I have read about ovirt architecture and documentation
to get more familiar with ovirt.
Now the purpose of the mail is that I am having some issue while installing
ovirt from source.(
http://www.ovirt.org/develop/developer-guide/engine/engine-development-environment/
)
when I am trying to do

 $ make install-dev PREFIX="$HOME/ovirt-engine"
..
..
..
[ERROR] Failed to execute goal
org.codehaus.mojo:gwt-maven-plugin:2.6.1:compile (gwtcompile) on
project webadmin: Command [[
[ERROR] /bin/sh -c
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.121-8.b14.fc25.x86_64/jre/bin/java
-javaagent:/home/0day/.m2/repository/org/aspectj/aspectjweaver/1.8.2/aspectjweaver-1.8.2.jar
-Dgwt.jjs.permutationWorkerFactory=com.google.gwt.dev.ThreadedPermutationWorkerFactory
\
[ERROR] -Dgwt.jjs.maxThreads=4 \
[ERROR] 
-Djava.io.tmpdir="/home/0day/git/ovirt-engine/frontend/webadmin/modules/webadmin/target/tmp"
\
[ERROR] 
-Djava.util.prefs.systemRoot="/home/0day/git/ovirt-engine/frontend/webadmin/modules/webadmin/target/tmp"
\
[ERROR] 
-Djava.util.prefs.userRoot="/home/0day/git/ovirt-engine/frontend/webadmin/modules/webadmin/target/tmp"
\
[ERROR] 
-Djava.util.logging.config.class=org.ovirt.engine.ui.gwtextension.JavaLoggingConfig
\
[ERROR] -Xms1024M -Xmx8192M
'-Dgwt.dontPrune=org\.ovirt\.engine\.core\.(common|compat)\..*'
-classpath 

Re: [ovirt-users] migrate to hosted engine

2017-03-13 Thread Simone Tiraboschi
On Sun, Mar 12, 2017 at 7:57 AM, Yedidyah Bar David  wrote:

> On Fri, Mar 10, 2017 at 3:43 PM, Devin A. Bougie
>  wrote:
> > Hi, All.  We have an ovirt 4.1 cluster setup using multiple paths to a
> single iSCSI LUN for the data storage domain.  I would now like to migrate
> to a hosted engine.
> >
> > I setup the new engine VM, shutdown and backed-up the old VM, and
> restored to the new VM using engine-backup.  After updating DNS to change
> our engine's FQDN to point to the hosted engine, everything seems to work
> properly.  However, when rebooting the entire cluster, the engine VM
> doesn't come up automatically.
>
> I am aware that the above flow is technically possible - nothing stops
> you from doing it - but it's not the standard/supported/expected way
> to deploy a hosted-engine. You must use 'hosted-engine --deploy' for
> that.
> Nice try, though :-) Will be an interesting exercise to try and
> convert this to a fully-functioning hosted-engine, but I'd personally
> not try that on a production system.
>

On the hosted-engine storage domain we have also the lockspace, metadata
and configuration volumes.
They are created at setup time by ovirt-hosted-engine-setup


>
> >
> > Is there anything that now needs to be done to tell the cluster that
> it's now using a hosted engine?
>
> Yes, but it's currently not possible to do this after the fact.
>
> >
> > I started with a  standard engine setup, as I didn't see a way to
> specify multiple paths to a single iSCSI LUN when using "hosted-engine
> --deploy."
>
> I think it's indeed not fully-supported yet [1], but can be done
> manually [2][3].
>
> Simone - are there updates for this? Perhaps we should add this to the
> hosted-engine howto page.
>
> [1] https://bugzilla.redhat.com/show_bug.cgi?id=1193961
> [2] http://lists.ovirt.org/pipermail/users/2015-March/032034.html
> [3] https://bugzilla.redhat.com/show_bug.cgi?id=1193961#c2
>
>
Here we have two distinct things:
- use multiple iSCSI initiators on the host; the best way to achieve this
is configuring an iSCSI bond from the engine once it's running. See
'Configuring iSCSI Multipathing' section on
http://www.ovirt.org/documentation/admin-guide/chap-Storage/
- get multipath connecting to multiple targets on the same SAN: this is
currently not supported by hosted-engine-setup and ovirt-ha-agent


> >
> > Any tips would be greatly appreciated.
> >
> > Many thanks,
> > Devin
> > ___
> > Users mailing list
> > Users@ovirt.org
> > http://lists.ovirt.org/mailman/listinfo/users
>
>
>
> --
> Didi
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Extend disk in engine appliance in ovirt 4.1.0?

2017-03-13 Thread Simone Tiraboschi
On Mon, Mar 13, 2017 at 11:31 AM, gflwqs gflwqs  wrote:

> Hi Simone,
> Since there is a lot of stuff in the setup log that i don't want to send
> to the internet, are there anything specific that i could pick out from the
> log?
>
> Here is the lsbl and fdisk output from the engine:
>
> [root@engine ~]# lsblk
> NAME   MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
> sr0 11:01 1024M  0 rom
> vda253:00   90G  0 disk
> └─vda1 253:10   10G  0 part /
>
>
OK, so the disk is 90 GB but the partition is just 10 GB.

Could you please check if you have cloud-utils-growpart package inside your
engine VM?
If not, could you please report the version of ovirt-engine-appliance you
used at setup time?


> [root@engine ~]# fdisk -l /dev/vda
>
> Disk /dev/vda: 96.6 GB, 96636764160 bytes, 188743680 sectors
> Units = sectors of 1 * 512 = 512 bytes
> Sector size (logical/physical): 512 bytes / 512 bytes
> I/O size (minimum/optimal): 512 bytes / 512 bytes
> Disk label type: dos
> Disk identifier: 0x0009e1bc
>
>Device Boot  Start End  Blocks   Id  System
> /dev/vda1   *20482097151910484736   83  Linux
>
> 2017-03-13 10:44 GMT+01:00 Simone Tiraboschi :
>
>>
>>
>> On Mon, Mar 13, 2017 at 8:26 AM, gflwqs gflwqs  wrote:
>>
>>> Hi, I have recently installed a new ovirt environment from scratch.
>>> The version is 4.1.0.
>>> I made a 90GB disk for the hosted engine.
>>> When i had installed it and log into the engine i see that it has only
>>> configured 10GB of those 90GB.
>>> So there is 80GB of unconfigured disk unused.
>>>
>>
>> Can you please attach your hosted-engine-setup log file?
>>
>> Could you please check if the disk is 90GB but the main disk partition is
>> just 10 GB?
>>
>> cloud-utils-growpart should grow the partition on the first boot, if the
>> issue is there we need to understand why it didn't triggered in your case.
>>
>>
>>> That is fine as long as it had used lvm but it has not meaning i have to
>>> take the engine down to extend the disk?
>>>
>>> My questions is:
>>> 1. Why does it not configure all disk?
>>> 2. Why is it not using lvm?
>>> 3. What should i do to extend the disk?
>>>
>>
>> It depends on where the issue is (is on the disk size or just on the
>> partition size?).
>>
>>
>>>
>>> Regards
>>> Christian
>>>
>>> ___
>>> 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 and Openstack Neutron: network not working

2017-03-13 Thread Luca 'remix_tj' Lorenzetto
About VM failing i can add this from engine.log:

2017-03-13 11:12:35,662+01 INFO
[org.ovirt.engine.core.vdsbroker.UpdateVmDynamicDataVDSCommand]
(org.ovirt.thread.pool-6-thread-5)
[462b7528-dce7-4b9e-98e4-f44ab9a551a5] START,
UpdateVmDynamicDataVDSCommand(
UpdateVmDynamicDataVDSCommandParameters:{runAsync='true', hostI
d='null', vmId='23ea52a8-e499-41bb-8be4-8621b67869fd',
vmDynamic='org.ovirt.engine.core.common.businessentities.VmDynamic@da9f8b26'}),
log id: 4d5a0bbe
2017-03-13 11:12:35,665+01 INFO
[org.ovirt.engine.core.vdsbroker.UpdateVmDynamicDataVDSCommand]
(org.ovirt.thread.pool-6-thread-5)
[462b7528-dce7-4b9e-98e4-f44ab9a551a5] FINISH,
UpdateVmDynamicDataVDSCommand, log id: 4d5a0bbe
2017-03-13 11:14:35,698+01 ERROR
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
(org.ovirt.thread.pool-6-thread-5)
[462b7528-dce7-4b9e-98e4-f44ab9a551a5] EVENT_ID:
USER_FAILED_RUN_VM(54), Correlation ID:
462b7528-dce7-4b9e-98e4-f44ab9a551a5, Job ID
: 86497f63-6bd0-46e5-b667-320f4ef30f30, Call Stack: null, Custom Event
ID: -1, Message: Failed to run VM ovirt-node-test (User:
admin@internal-authz).
2017-03-13 11:14:35,703+01 INFO
[org.ovirt.engine.core.bll.RunVmCommand]
(org.ovirt.thread.pool-6-thread-5)
[462b7528-dce7-4b9e-98e4-f44ab9a551a5] Lock freed to object
'EngineLock:{exclusiveLocks='[23ea52a8-e499-41bb-8be4-8621b67869fd=]', sharedLocks='null'}'
2017-03-13 11:14:35,703+01 ERROR
[org.ovirt.engine.core.bll.RunVmCommand]
(org.ovirt.thread.pool-6-thread-5)
[462b7528-dce7-4b9e-98e4-f44ab9a551a5] Command
'org.ovirt.engine.core.bll.RunVmCommand' failed: EngineException:
(Failed with error PROVIDER_FAILURE and code 5050)
2017-03-13 11:14:35,713+01 INFO
[org.ovirt.engine.core.bll.ProcessDownVmCommand]
(org.ovirt.thread.pool-6-thread-36) [48f00a21] Running command:
ProcessDownVmCommand internal: true.

I see in particular a PROVIDER_FAILURE error, that's maybe related.

2017-03-13 11:17 GMT+01:00 Luca 'remix_tj' Lorenzetto
:
> Hello,
>
> now, didn't understand why, the VM isn't starting. This is the VDSM
> log when i try to poweron while attached to an external network. If i
> attach to ovirtmgmt or other standard network, vm boots.
>
> Luca
>
> --
> "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 , 
> 



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


Re: [ovirt-users] Can I post email with screen shots as attachment ?

2017-03-13 Thread Yedidyah Bar David
On Mon, Mar 13, 2017 at 7:44 AM, John Joseph  wrote:
> Hi,
> Like to introduce myself, I am Joseph John some years back I had tried
> oVirt, now after very long time I am trying to setup oVirt and trying to
> prepare for demo.
> Was not active in the mailing list for very long time, now I am facing
> issues with ovirt, like to post the experience, eg I would like to show that
> my connect to CD drive option drop down is not working, so Can I send a
> screen shot attached along with the email

I think that's ok. You can instead post a link to some image-sharing
site - I guess some people might prefer that.

Re "Connect to CD drive option not working", unless you want to ask about
something in the UI, I do not think the screenshot will be very useful.
It's better if you copy/paste the messages that you get and relevant parts
of engine.log at the time of error/problem.

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


Re: [ovirt-users] VDSM hang

2017-03-13 Thread p...@email.cz

Hi,

the volume is not fully optimized for failover ( quorum / quorum weight 
), but it's not so important from my view for this test ( data could be 
lost everytime )


Volume Name: slow1
Type: Replicate
Volume ID: e76da710-7ea3-46ba-b991-5e9e865f50ca
Status: Started
Snapshot Count: 0
Number of Bricks: 1 x 2 = 2
Transport-type: tcp
Bricks:
Brick1: 16.0.0.163:/gluster-bricks/slow1/slow1
Brick2: 16.0.0.164:/gluster-bricks/slow1/slow1
Options Reconfigured:
network.ping-timeout: 30
server.allow-insecure: on
storage.owner-gid: 36
storage.owner-uid: 36
cluster.data-self-heal-algorithm: full
features.shard: on
cluster.server-quorum-type: server
cluster.quorum-type: auto
network.remote-dio: enable
cluster.eager-lock: enable
performance.stat-prefetch: off
performance.io-cache: off
performance.read-ahead: off
performance.quick-read: off
transport.address-family: inet
performance.readdir-ahead: on
nfs.disable: on


Some more info about performance test:
  The gluster storage is build on raid5 ( 9 disks ) with Megaraid 
controller SSD mirrored cache (256GB ) on each node.


Tests results:
  - during heavy load test ( written in previous notes / or on the end 
current)  SSD cache will suck primary huge stream of data - OK
  - then other data are cached to filesystem buffers ( probabbly ) 
until then before memory is full  ( and swap too - if not paused ( 
swapiness=1))
  - in next steps the system is R/W oveloaded and kernel crashed some 
processes/threads - it can happened
  - in cycle, SSD cache forward data to R5 spin disks, but during this 
time are all R/W gluster volume requests blocked . It can takes several 
seconds, but some req. have more than one minute delay !! ??
  - according this delay, VDS and other sub tasks will fail with 
timeout error and VMs are in "uknown" status ("?" mark ) and  ovirt 
domains  collaps - lost connectivity
  - in late time , when load is done, some structures are revitalized, 
but the import from "export domain" is  inconsistent = lost and block 
unreachable space on gluster volume ( in volume sharded  version eg. )



Has anybody similar experiences with ??

If system is overloaded I'm expecting slow down  this, not total colaps.


example how it is work:

Device: rrqm/s   wrqm/s r/s w/srkB/s wkB/s avgrq-sz 
avgqu-sz   await r_await w_await  svctm  %util
sda   0,00 0,000,000,00 0,00 0,00 
0,00 0,000,000,000,00   0,00 0,00
sdb  63,00   156,00   87,00 1387,00  9684,00 334016,00   
466,35   152,55  128,97  237,91  122,14   0,68 100,00
sdc   0,00 0,000,000,00 0,00 0,00 
0,00 0,000,000,000,00   0,00 0,00
sdd   0,00 0,000,000,00 0,00 0,00 
0,00 0,000,000,000,00   0,00 0,00
sde   0,00 0,000,000,00 0,00 0,00 
0,00 0,000,000,000,00   0,00 0,00
dm-0  0,00 0,000,000,00 0,00 0,00 
0,00 0,000,000,000,00   0,00 0,00
dm-1  0,00 0,000,000,00 0,00 0,00 
0,00 0,000,000,000,00   0,00 0,00
dm-2  0,00 0,000,000,00 0,00 0,00 
0,00 0,000,000,000,00   0,00 0,00
dm-3  0,00 0,000,000,00 0,00 0,00 
0,00 0,000,000,000,00   0,00 0,00
dm-4  0,00 0,000,000,00 0,00 0,00 
0,00 0,000,000,000,00   0,00 0,00
md126 0,00 0,000,000,00 0,00 0,00 
0,00 0,000,000,000,00   0,00 0,00
dm-5  0,00 0,00   53,00   49,00   212,00 188,00 
7,8413,15  128,90  146,15  110,24   1,75  17,90
dm-6  0,00 0,00   80,00 1393,00  5120,00 301504,00   
416,33   175,19  153,10  672,70  123,26   0,68 100,00
dm-7  0,00 0,000,000,00 0,00 0,00 
0,00 0,000,000,000,00   0,00 0,00
dm-8  0,00 0,000,000,00 0,00 0,00 
0,00 0,000,000,000,00   0,00 0,00
dm-9  0,00 0,000,000,00 0,00 0,00 
0,00 0,000,000,000,00   0,00 0,00
dm-10 0,00 0,00   80,00 1393,00  5120,00 301504,00   
416,33   175,19  153,10  672,70  123,26   0,68 100,00
dm-11 0,00 0,000,000,00 0,00 0,00 
0,00 0,000,000,000,00   0,00 0,00
dm-12 0,00 0,000,009,00 0,00 256,00
56,89  8654,07 432304,560,00 432304,56 111,11 100,00
dm-13 0,00 0,000,000,00 0,00 0,00 
0,00 0,000,000,000,00   0,00 0,00
dm-14 0,00 0,000,000,00 0,00 0,00 
0,00 0,000,000,000,00   0,00 0,00
dm-15 0,00 0,000,000,00 0,00 0,00 
0,00 0,000,000,000,00   0,00 0,00
dm-16 0,00 0,000,000,00 

Re: [ovirt-users] Extend disk in engine appliance in ovirt 4.1.0?

2017-03-13 Thread Simone Tiraboschi
On Mon, Mar 13, 2017 at 8:26 AM, gflwqs gflwqs  wrote:

> Hi, I have recently installed a new ovirt environment from scratch.
> The version is 4.1.0.
> I made a 90GB disk for the hosted engine.
> When i had installed it and log into the engine i see that it has only
> configured 10GB of those 90GB.
> So there is 80GB of unconfigured disk unused.
>

Can you please attach your hosted-engine-setup log file?

Could you please check if the disk is 90GB but the main disk partition is
just 10 GB?

cloud-utils-growpart should grow the partition on the first boot, if the
issue is there we need to understand why it didn't triggered in your case.


> That is fine as long as it had used lvm but it has not meaning i have to
> take the engine down to extend the disk?
>
> My questions is:
> 1. Why does it not configure all disk?
> 2. Why is it not using lvm?
> 3. What should i do to extend the disk?
>

It depends on where the issue is (is on the disk size or just on the
partition size?).


>
> Regards
> Christian
>
> ___
> 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 and Openstack Neutron: network not working

2017-03-13 Thread Marcin Mirecki
Yes,
or when you attach an external network vnic to a VM

2017-03-10 16:02 GMT+01:00 Luca 'remix_tj' Lorenzetto <
lorenzetto.l...@gmail.com>:

> On Fri, Mar 10, 2017 at 2:41 PM, Marcin Mirecki 
> wrote:
> > Luca,
> >
> > Can you please send me the vdsm log of plugging a vnic to an external
> > network?
> > The relevant log file is: /var/log/vdsm/vdsm.log
>
> You mean when i power on a VM that is using that external network?
>
>
> --
> "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 , <
> lorenzetto.l...@gmail.com>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Extend disk in engine appliance in ovirt 4.1.0?

2017-03-13 Thread gflwqs gflwqs
Hi, I have recently installed a new ovirt environment from scratch.
The version is 4.1.0.
I made a 90GB disk for the hosted engine.
When i had installed it and log into the engine i see that it has only
configured 10GB of those 90GB.
So there is 80GB of unconfigured disk unused.
That is fine as long as it had used lvm but it has not meaning i have to
take the engine down to extend the disk?

My questions is:
1. Why does it not configure all disk?
2. Why is it not using lvm?
3. What should i do to extend the disk?

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