Re: [ovirt-users] VDSM network persistence through re-install

2015-06-22 Thread Trey Dockendorf
Dan,

Thanks for the information. I'll follow that RFE.  Being able to
re-provision a host and not have to remember the correct network interface
mapping for 10 interfaces would be a huge help...too much can go wrong if I
have to re-setup a config that I thought was saved in the engine.

Thanks,
- Trey

On Mon, Jun 22, 2015 at 3:35 AM, Dan Kenigsberg dan...@redhat.com wrote:

 On Sat, Jun 20, 2015 at 12:28:10PM -0500, Trey Dockendorf wrote:
  I recently found that when I reinstall a VDSM host via the engine
  interface, if that host was actually re-provisioned via kickstart, the
  network settings defined in the engine are lost.  Before the re-install I
  had defined 4 bonds and attached 5 logical networks to the host.  After a
  re-install only ovirtmgmt was attached to the node.  Is it intended
  behavior that a host's network configuration in the ovirt-engine be lost
  when a host is re-provisioned ?  If I have to re-deploy a node, is there
 a
  way to make the ovirt-engine define networks for that host get applied to
  the re-deployed system?

 Yes, this is the inteded behavior, though some consider this a design
 bug. Network config is persisted on each host, and Engine do not
 automatically applies its own definitions ona re-provisioned host,
 however, we have

 1194297 [RFE] Allow to synchronize all networks on an
 out-of-sync host

 in the works, which would make life easier in such conditions.

 Dan.

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


Re: [ovirt-users] Upgrade to 3.5.3 fails on ovirt-engine-notifier service

2015-06-22 Thread Martin Perina
Hi,

it's mentioned in [2] in section Detailed description [3], but I agree
it could be made more visible :-(

Also in RHEV 3.5 doc it's mentioned in [4], but again I agree it could be
more visible.

Martin

[3] 
http://www.ovirt.org/Features/configuration-event-subscribers#Detailed_Description
[4] 
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Virtualization/3.5/html/Administration_Guide/Configuring_the_Red_Hat_Enterprise_Virtualization_Manager_to_Send_SNMP_Traps.html


- Original Message -
 From: Trey Dockendorf treyd...@gmail.com
 To: Martin Perina mper...@redhat.com
 Cc: users users@ovirt.org
 Sent: Monday, June 22, 2015 9:42:25 PM
 Subject: Re: [ovirt-users] Upgrade to 3.5.3 fails on ovirt-engine-notifier 
 service
 
 I thought using /usr/share/ovirt-engine was wrong, but I was going off of
 RedHat docs [1].  I didn't realize an alternative location existed.
 
 Having just searched some more I found the oVirt docs [2] which I don't
 recall existing or mentioning the conf.d at the time I setup the notifier
 service.
 
 Thanks,
 - Trey
 
 [1]:
 https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Virtualization/3.4/html/Administration_Guide/Parameters_for_event_notifications_in_notifier.conf1.html
 [2]: http://www.ovirt.org/Features/configuration-event-subscribers
 
 On Mon, Jun 22, 2015 at 2:38 PM, Martin Perina mper...@redhat.com wrote:
 
  Hi,
 
  please never change anything in /usr/share/ovirt-engine, because these file
  will always be overwritten on RPM upgrades.
 
  To change MAIL_SERVER for ovirt-engine-notifier please create config file
  (for example 99-user.conf) under /etc/ovirt-engine/notifier/notifier.conf.d
  and put you customizations here, for example:
 
MAIL_SERVER=my-mail-server.com
 
  This way your changes survive upgrades.
 
  Let me know if you have any other issues with it.
 
  Thanks
 
  Martin Perina
 
  - Original Message -
   From: Trey Dockendorf treyd...@gmail.com
   To: users users@ovirt.org
   Sent: Monday, June 22, 2015 7:09:57 PM
   Subject: [ovirt-users] Upgrade to 3.5.3 fails on ovirt-engine-notifier
service
  
   I just upgraded from 3.5.1 to 3.5.3 and found the end of engine-setup
  failed
   because of the ovirt-engine-notifier service. The logs indicate that the
   MAIL_SERVER option was not set. I had set this before via Puppet and
  know it
   was working because right before I started the upgrade I was receiving
  event
   notifications. It appears as though the RPM (or some other mechanism) set
   the config file at
  
  /usr/share/ovirt-engine/services/ovirt-engine-notifier/ovirt-engine-notifier.conf
   back to its original state with my changes removed.
  
   Attached is the log from engine-setup.
  
   Is this a bug? I was able to work around this by manually setting
  MAIL_SERVER
   back to the value I had already set previously and then re-running
   engine-setup. Even after re-running engine-setup I noticed I had to
  manually
   start ovirt-engine-notifier service.
  
   Thanks,
   - Trey
  
   ___
   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] disaster recovery

2015-06-22 Thread Nathanaël Blanchet
Sure that ovirt is not directly concerned but this has been done 
following the foreman integration feature. So a warning doing this in a 
fc environnement could be very preventive.
My question was rather : now is there a possibility to recover this 
disk? After all, it is only a LVM disk with one VG per LUN and as much 
LV as much as existing VMs. Recovering LVM metadata might be enough?


Le 21/06/2015 20:23, Dan Yasny a écrit :


Anaconda and Kickstart are dangerous in FC environments and have been 
known to wipe all kinds of data if zoning wasn't properly done prior 
to os deployment to new hosts.


Nothing to do with oVirt, it's a common mistake people make at least 
once before they step on this specific rake.


On Jun 21, 2015 2:09 PM, Nathanaël Blanchet blanc...@abes.fr 
mailto:blanc...@abes.fr wrote:


In a traditional installation of an ovirt host, it seems that
provisionning the OS is the first step before talking about vdsm.
I didn't go further, the problem is that this host saw the
production LUN and the kickstart took all the lun into the same VG
with a XFS format.
Yes it is an error from myself for not having dissociated the lun.
Yes it is an error from myself for not having taken care of having
snapshot lun level backup.
But now what should I do?
My idea was to use pvreduce to unlabel the LUN, and then using the
/etc/lvm/backup/lun for recovering physical volume metadata on
that lun (http://www.tldp.org/HOWTO/LVM-HOWTO/recovermetadata.html)

Le 21/06/2015 12:02, mots a écrit :

Let me get this straight:

You added a new host and instead of letting VDSM manage the VM
storage you added it manually, completely independent from
oVirt, during an unattended installation of the host OS? In a
production environment?

Why?
  -Ursprüngliche Nachricht-

Von:Nathanaël Blanchet blanc...@abes.fr
mailto:blanc...@abes.fr
Gesendet: Fre 19 Juni 2015 14:09
An: users@ovirt.org mailto:users@ovirt.org
Betreff: [ovirt-users] disaster recovery

Hello all,

Here is what can happen as a nightmare for a sysadmin:

I installed a new host to my pool of pre existing ovirt
hosts with a
kickstart file and a default partitionning. I used to do
this with vms
that usually get one local disk.
But..
This time this host was attached to several existing ovirt
(production)
lun and anaconda gathered all existing disk (local and
lun) into the
same VG (lv_home) et formatted them with XFS
In the webadmin, the domain storage became unvailaible,
vms were still
up (thankgoodness), but it was impossible to interact with
them. If I
stopped them, it was impossible to reboot them. If I
launch lvs command,
some hosts can still see the ovirt LV, but other see only
the lv_home
while /dev/[idofvms] are still present.
So it was my chance that vms were still present, and I
began to export
them with a tar at file system level so as to import them
in a new
domain storage.

It seems that data are still present because the vms are
still running.
So my question is really : instead of this difficult
export step, is
there a way to recover the initial format of the ovirt lun
so as to make
the lvm index come back on the disk?

Any help or disaster experience would be much appreciated.

-- 
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 mailto:blanc...@abes.fr

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


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



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


[ovirt-users] VM Bandwidth Consumption

2015-06-22 Thread Punit Dambiwal
Hi,

I want to measure the bandwidth consumption of every guest VM on the
monthly basis...but i didn't find any way in the ovirt to check the
bandwidth consumption of the guest VM..

Also is there any way to set the quota on the bandwidth consumption of the
guest VM...such as every VM can use upto 100Gb bandwidth in one
month...once the VM cross this limit,either admin got notify or there
should be an alert...

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


Re: [ovirt-users] VM Bandwidth Consumption

2015-06-22 Thread Genadi Chereshnya

RFE link: https://bugzilla.redhat.com/show_bug.cgi?id=1234302
You are welcome to update it if needed

Genadi

- Original Message -
From: Punit Dambiwal hypu...@gmail.com
To: Genadi Chereshnya gcher...@redhat.com
Cc: users@ovirt.org, Dan Kenigsberg dan...@redhat.com, Omer Frenkel 
ofren...@redhat.com, Itamar Heim ih...@redhat.com
Sent: Monday, June 22, 2015 12:32:58 PM
Subject: Re: [ovirt-users] VM Bandwidth Consumption


OK...Please help me to open the REF and give the REF number for followup.. 


On Mon, Jun 22, 2015 at 5:15 PM, Genadi Chereshnya  gcher...@redhat.com  
wrote: 


Hi Punit, 

I understand what you want and I think we don't have such a feature. 
That's why I asked you to open RFE for it. 
If it is problem for you, please let me know and I'll open RFE and will send 
you the number of RFE to follow 
Thanks, 
Genadi 

- Original Message - 
From: Punit Dambiwal  hypu...@gmail.com  
To: Genadi Chereshnya  gcher...@redhat.com  
Cc: users@ovirt.org , Dan Kenigsberg  dan...@redhat.com , Omer Frenkel  
ofren...@redhat.com , Itamar Heim  ih...@redhat.com  
Sent: Monday, June 22, 2015 11:57:41 AM 
Subject: Re: [ovirt-users] VM Bandwidth Consumption 


Hi Genadi, 


Thanks for the updates..for my second question the use case is if i want 
that some specific guest VM just allowed to use only 100GB bandwidth per 
month,when they cross the allowed size..engine will alert them or send 
notification 


On Mon, Jun 22, 2015 at 3:23 PM, Genadi Chereshnya  gcher...@redhat.com  
wrote: 


Hi Punit. 

About your first question: There is a new feature in 3.6 called cumulative 
rx/tx statistics 
I think this is what you need. Please take a look at the feature page: 
http://www.ovirt.org/Features/Cumulative_RX_TX_Statistics 

About you second question: I am not aware of such a feature, so please open RFE 
for it 

Thanks, 
Genadi 



- Original Message - 
From: Punit Dambiwal  hypu...@gmail.com  


To: users@ovirt.org , Dan Kenigsberg  dan...@redhat.com , Omer Frenkel  
ofren...@redhat.com , Itamar Heim  ih...@redhat.com  
Sent: Monday, June 22, 2015 10:16:50 AM 
Subject: [ovirt-users] VM Bandwidth Consumption 



Hi, 


I want to measure the bandwidth consumption of every guest VM on the monthly 
basis...but i didn't find any way in the ovirt to check the bandwidth 
consumption of the guest VM.. 


Also is there any way to set the quota on the bandwidth consumption of the 
guest VM...such as every VM can use upto 100Gb bandwidth in one month...once 
the VM cross this limit,either admin got notify or there should be an alert... 


Thanks, 
Punit 
___ 
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] Get involved in oVirt project! Summer edition

2015-06-22 Thread Sandro Bonazzola
Hi,
Summer is here and vacations are near! Have you got some free time and do 
you want to get involved in oVirt project?

Do you like the idea of having fresh disk images of recent distribution in 
oVirt Gluster repository?
You can help us by testing existing online images (like 
https://getfedora.org/en/cloud/download/) ensuring they works with cloud-init
or creating one yourself and report your success to de...@ovirt.org.
We'll be happy to upload the images once these are ready.


Do you like Debian and do you have some programming skill?
Help us getting VDSM running on it! Debian Jessie has been released a couple of 
weeks ago and it's a good time for giving it a try.
You can follow the progress here: http://www.ovirt.org/VDSM_on_Debian

Here are some bugs you can hopefully fix in less that one day or you can just 
try to reproduce providing info:

Bug ID  Status  Whiteboard  Summary
1065350 POSTintegration hosted-engine should prompt a question 
at the user when the host was already a host in the engine
1059952 NEW integration hosted-engine --deploy (additional 
host) will fail if the engine is not using the default self-signed CA
1083104 ASSIGNEDintegration engine-setup --offline does not update 
versionlock
1221176 NEW integration hosted-engine accepts FQDNs with 
underscore while the engine correctly fails on that
1200948 NEW integration hosted-engine-setup should validate the 
network interface name

Do you want something easier?

Bug ID  Whiteboard  Status  Summary
1174285 i18nNEW [de-DE] Live Snapshot Support reads Live 
Snapsnot Support
772931  infra   NEW [RFE] Reports should include the name of the 
oVirt engine
1143817 integration NEW [TEXT ONLY] - Hosted Engine - Instructions for 
FQDN are not clear enough
1156060 integration NEW [text] engine admin password prompt consistency
1115059 network NEW Incomplete error message when adding VNIC 
profile to running VM
734120  storage NEW [RFE] VDSM: use virt-sparsify/zerofree to 
reduce image size


Do you love DevOps?, you count stable builds in jenkins ci while trying to 
fall a sleep?
Then oVirt infra team is looking for you!, join the infra team and dive in to 
do the newest and coolest devops tools today!
Here are some of our open tasks you can help with: 
https://ovirt-jira.atlassian.net/secure/RapidBoard.jspa?rapidView=1projectKey=OVIRT


You don't have programming skills, not enough time for DevOps but you want 
still to contribute?
Here are some bugs you can take care of, also without writing a line of code:
https://bugzilla.redhat.com/buglist.cgi?quicksearch=product%3Aovirt%20whiteboard%3Adocs

Do you prefer to test things? We have some test cases[5] you can try using 
nightly snapshots[6].
You may also help testing: Bug 1234257 - Test upgrade path from EL6 with oVirt 
3.5.z to EL7


Do you want to contribute test cases? Most of the features[7] included in oVirt 
are missing a test case, you're welcome to contribute one!

Is this the first time you try to contribute to oVirt project?
You can start from here [1][2]!

You don't know gerrit very well? You can find some more docs here [3].

Any other question about development? Feel free to ask on de...@ovirt.org or on 
irc channel[4].

You don't really have time / skills for any development / documentation / 
testing related task?
Spread the word[8]!

Let us know you're getting involved, present yourself and tell us what you're 
going to do, you'll be welcome!

[1] http://www.ovirt.org/Develop
[2] http://www.ovirt.org/Working_with_oVirt_Gerrit
[3] https://gerrit-review.googlesource.com/Documentation
[4] http://www.ovirt.org/Community
[5] http://www.ovirt.org/Category:TestCase
[6] http://www.ovirt.org/Install_nightly_snapshot
[7] http://www.ovirt.org/Category:Feature
[8] 
http://www.zdnet.com/article/how-much-longer-can-red-hats-ovirt-remain-covert/

-- 
Sandro Bonazzola
Better technology. Faster innovation. Powered by community collaboration.
See how it works at redhat.com
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Unexpected protocol mismatch with SPICE HTML5

2015-06-22 Thread Jakub Niedermertl
Hi,

SPICE in browser works for me with python-websockify-0.5.1 and either 
spice-html5-0.1.6 or -0.1.5.

Jakub

- Original Message -
 From: Michal Skrivanek michal.skriva...@redhat.com
 To: nico...@devels.es, Jakub Niedermertl jnied...@redhat.com
 Cc: users@ovirt.org (users@ovirt.org) users@ovirt.org
 Sent: Wednesday, June 17, 2015 1:35:04 PM
 Subject: Re: [ovirt-users] Unexpected protocol mismatch with SPICE HTML5
 
 
 On Jun 17, 2015, at 09:17 , nico...@devels.es wrote:
 
  Hi Michal,
  
  El 2015-06-17 07:24, Michal Skrivanek escribió:
  On Jun 17, 2015, at 08:21 , Michal Skrivanek
  michal.skriva...@redhat.com wrote:
  On Jun 16, 2015, at 12:02 , nico...@devels.es wrote:
  Hi,
  I just made a fresh install of ovirt-engine (v. 3.5.3.1-1) on a CentOS-7
  x86_64 box. My previous installation had issues with the TLS
  certificate time of issue, which was successfully fixed in this version
  (https://bugzilla.redhat.com/show_bug.cgi?id=1210486). However, when
  trying to start the SPICE HTML5 client, all I can see is the grey
  square and no activity, and when clicking on Toggle messages output,
  the error message Unexpected protocol mismatch is shown.
  Things done:
  * ovirt-guest-agent installed on the VM
  * On client side, updated browser (Firefox) to latest version (38.0) and
  /ca.crt has been imported into Firefox certs
  Regarding logs on the server side, I can see the following:
  ovirt-engine
  
  2015-06-16 10:49:29,862 INFO
  [org.ovirt.engine.core.bll.SetVmTicketCommand]
  (ajp--127.0.0.1-8702-11) [39c79276] Running command: SetVmTicketCommand
  internal: false. Entities affected :  ID:
  c2e32d4f-4c54-4e38-bf66-2627dc6dd4bc Type: VMAction group CONNECT_TO_VM
  with role type USER
  2015-06-16 10:49:29,917 INFO
  [org.ovirt.engine.core.vdsbroker.vdsbroker.SetVmTicketVDSCommand]
  (ajp--127.0.0.1-8702-11) [39c79276] START,
  SetVmTicketVDSCommand(HostName = ovirtengine.myorg.es, HostId =
  82fb3c43-3a4b-464e-9077-8e86dea2016b,
  vmId=c2e32d4f-4c54-4e38-bf66-2627dc6dd4bc, ticket=TgrRVYoRhC8T,
  validTime=120,m userName=user,
  userId=5d502bbb-97d6-40b5-abbf-90121cea94d5), log id: 1881c90f
  2015-06-16 10:49:29,937 INFO
  [org.ovirt.engine.core.vdsbroker.vdsbroker.SetVmTicketVDSCommand]
  (ajp--127.0.0.1-8702-11) [39c79276] FINISH, SetVmTicketVDSCommand, log
  id: 1881c90f
  2015-06-16 10:49:29,957 INFO
  [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
  (ajp--127.0.0.1-8702-11) [39c79276] Correlation ID: 39c79276, Call
  Stack: null, Custom Event ID: -1, Message: user user@domain initiated
  console session for VM testVM
  2015-06-16 10:49:29,987 WARN
  [org.ovirt.engine.core.dal.job.ExecutionMessageDirector]
  (ajp--127.0.0.1-8702-11) [7a71a9e4] The message key VmLogon is missing
  from bundles/ExecutionMessages
  2015-06-16 10:49:30,064 INFO  [org.ovirt.engine.core.bll.VmLogonCommand]
  (ajp--127.0.0.1-8702-11) [7a71a9e4] Running command: VmLogonCommand
  internal: false. Entities affected :  ID:
  c2e32d4f-4c54-4e38-bf66-2627dc6dd4bc Type: VMAction group CONNECT_TO_VM
  with role type USER
  2015-06-16 10:49:30,114 INFO
  [org.ovirt.engine.core.vdsbroker.vdsbroker.VmLogonVDSCommand]
  (ajp--127.0.0.1-8702-11) [7a71a9e4] START, VmLogonVDSCommand(HostName =
  ovirtengine.myorg.es, HostId = 82fb3c43-3a4b-464e-9077-8e86dea2016b,
  vmId=c2e32d4f-4c54-4e38-bf66-2627dc6dd4bc, domain=domain-authz,
  password=**, userName=user@domain), log id: 68632b24
  2015-06-16 10:49:30,120 INFO
  [org.ovirt.engine.core.vdsbroker.vdsbroker.VmLogonVDSCommand]
  (ajp--127.0.0.1-8702-11) [7a71a9e4] FINISH, VmLogonVDSCommand, log id:
  68632b24
  2015-06-16 10:49:30,351 INFO
  [org.ovirt.engine.core.vdsbroker.gluster.GlusterVolumesListVDSCommand]
  (DefaultQuartzScheduler_Worker-2) START,
  GlusterVolumesListVDSCommand(HostName = kvmhost.myorg.es, HostId =
  82fb3c43-3a4b-464e-9077-8e86dea2016b), log id: 2a2a439a
  2015-06-16 10:49:30,368 INFO
  [org.ovirt.engine.core.vdsbroker.gluster.GlusterVolumesListVDSCommand]
  (DefaultQuartzScheduler_Worker-2) FINISH, GlusterVolumesListVDSCommand,
  return: {}, log id: 2a2a439a
  ovirt-websocket-proxy
  =
  jun 16 09:56:39 ovirtengine.myorg.es ovirt-websocket-proxy.py[30728]:
  10.X.X.X - - [16/Jun/2015 09:56:39] 10.X.X.X: SSL/TLS (wss://)
  WebSocket connection
  jun 16 09:56:39 ovirtengine.myorg.es ovirt-websocket-proxy.py[30728]:
  10.X.X.X - - [16/Jun/2015 09:56:39] 10.X.X.X: Version hybi-13, base64:
  'False'
  jun 16 09:56:39 ovirtengine.myorg.es ovirt-websocket-proxy.py[30728]:
  10.X.X.X - - [16/Jun/2015 09:56:39] 10.X.X.X: Path:
  

Re: [ovirt-users] VM Bandwidth Consumption

2015-06-22 Thread Genadi Chereshnya
Hi Punit.

About your first question: There is a new feature in 3.6 called cumulative 
rx/tx statistics
I think this is what you need. Please take a look at the feature page: 
http://www.ovirt.org/Features/Cumulative_RX_TX_Statistics

About you second question: I am not aware of such a feature, so please open RFE 
for it

Thanks,
   Genadi

- Original Message -
From: Punit Dambiwal hypu...@gmail.com
To: users@ovirt.org, Dan Kenigsberg dan...@redhat.com, Omer Frenkel 
ofren...@redhat.com, Itamar Heim ih...@redhat.com
Sent: Monday, June 22, 2015 10:16:50 AM
Subject: [ovirt-users] VM Bandwidth Consumption



Hi, 


I want to measure the bandwidth consumption of every guest VM on the monthly 
basis...but i didn't find any way in the ovirt to check the bandwidth 
consumption of the guest VM.. 


Also is there any way to set the quota on the bandwidth consumption of the 
guest VM...such as every VM can use upto 100Gb bandwidth in one month...once 
the VM cross this limit,either admin got notify or there should be an alert... 


Thanks, 
Punit 
___
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] hosted-engine : how to shutdown hosts?

2015-06-22 Thread Frank Wall
On Mon, Mar 02, 2015 at 11:25:38AM +0100, Frank Wall wrote:
 On Sun, Mar 01, 2015 at 02:26:12AM -0500, Yedidyah Bar David wrote:
  You wrote 'shutdown -h now on the hosts'. What happens if you shutdown
  just one of them and then wait a bit? Does it get started too?
  
  Are you certain that 'shutdown -h now' worked on these hosts before the
  setup - that it's not some kernel/bios/etc issue?
 
 I've seen similar issues on some CentOS 7 hosts running on desktop-class
 hardware. I haven't got time for extensive debugging, but I'd bet it's a
 kernel or hardware-related issue (or a combination of both). There's
 nothing indicating that this is related to oVirt, at least in my case.

FWIW, after upgrading to CentOS 7.1.1503 (and oVirt 3.5.3) this issue is gone, 
at least for me.


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


Re: [ovirt-users] VM Bandwidth Consumption

2015-06-22 Thread Genadi Chereshnya
Hi Punit,

I understand what you want and I think we don't have such a feature.
That's why I asked you to open RFE for it.
If it is problem for you, please let me know and I'll open RFE and will send 
you the number of RFE to follow
Thanks,
   Genadi

- Original Message -
From: Punit Dambiwal hypu...@gmail.com
To: Genadi Chereshnya gcher...@redhat.com
Cc: users@ovirt.org, Dan Kenigsberg dan...@redhat.com, Omer Frenkel 
ofren...@redhat.com, Itamar Heim ih...@redhat.com
Sent: Monday, June 22, 2015 11:57:41 AM
Subject: Re: [ovirt-users] VM Bandwidth Consumption


Hi Genadi, 


Thanks for the updates..for my second question the use case is if i want 
that some specific guest VM just allowed to use only 100GB bandwidth per 
month,when they cross the allowed size..engine will alert them or send 
notification 


On Mon, Jun 22, 2015 at 3:23 PM, Genadi Chereshnya  gcher...@redhat.com  
wrote: 


Hi Punit. 

About your first question: There is a new feature in 3.6 called cumulative 
rx/tx statistics 
I think this is what you need. Please take a look at the feature page: 
http://www.ovirt.org/Features/Cumulative_RX_TX_Statistics 

About you second question: I am not aware of such a feature, so please open RFE 
for it 

Thanks, 
Genadi 



- Original Message - 
From: Punit Dambiwal  hypu...@gmail.com  
To: users@ovirt.org , Dan Kenigsberg  dan...@redhat.com , Omer Frenkel  
ofren...@redhat.com , Itamar Heim  ih...@redhat.com  
Sent: Monday, June 22, 2015 10:16:50 AM 
Subject: [ovirt-users] VM Bandwidth Consumption 



Hi, 


I want to measure the bandwidth consumption of every guest VM on the monthly 
basis...but i didn't find any way in the ovirt to check the bandwidth 
consumption of the guest VM.. 


Also is there any way to set the quota on the bandwidth consumption of the 
guest VM...such as every VM can use upto 100Gb bandwidth in one month...once 
the VM cross this limit,either admin got notify or there should be an alert... 


Thanks, 
Punit 
___ 
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] engine tries to allocate 11GB and aborts (was: hosted engine does not start correctly (CentOS 7.1, overt-engine 3.5.2))

2015-06-22 Thread Yedidyah Bar David
- Original Message -
 From: H. Haven Liu haven@ucla.edu
 To: Yedidyah Bar David d...@redhat.com
 Cc: oVirt Mailing List users@ovirt.org
 Sent: Tuesday, May 26, 2015 10:26:07 PM
 Subject: Re: engine tries to allocate 11GB and aborts (was: hosted engine 
 does not start correctly (CentOS 7.1,
 overt-engine 3.5.2))
 
 Didi,
 
 Both source and destination machines (assuming you are referring to the
 physical host source and virtual host destination of the migration) are
 running ovirt-engine 3.5.2.1-1. However, the source is on CentOS 6.6,
 whereas the destination is on CentOS 7.1. The source is running
 postgresql(/-server) 8.4.20, Java 1.7.0_79, httpd 2.2.15. Destination is
 running postgresql(/-server) 9.2.10, Java 1.7.0.79, jboss-httpd 2.4.6. I'm
 not sure which over package version is relevant.

Sorry for not replying earlier.

Now opened [1] to track such upgrades. Didn't try that myself.

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

 
 The failure occurs after engine-setup, and the web UI doesn't load, and the
 host reports the engine is not up (I'm not in front of the host, so I don't
 have the exact language).
 
 Our current setup has 2 physical hosts, ~15 active VMs. Each host has 64GB
 RAM. Even with all the VM on one host, the utilization is less than 50%. We
 have another physical storage server, that provides the NFS storage backend
 to the hosts and VMs. Prior to attempting the hosted-engine migration, I
 migrated all the VMs to host #1, where the engine was originally installed.
 I then removed host #2 from the host list via the UI, and performed
 hosted-engine --deploy on host #2. A few other quirks I encountered:
 
 1. I originally wanted to do hosted-engine --deploy on host #1, but that
 it was unsuccessful due to it complaining the storage connection was busy
 (or something).
 2. I then tried to do hosted-engine --deploy on host #2, using the same
 storage connection path as what I used for host #1 originally. The setup
 process asked if it was an additional host, I said no, but later it
 cannot activate the storage connection.
 3. Lastly I did hosted-engine --deploy on host #2, but pointing to a
 different storage connection path, still on the same storage server. This
 was successful until the I encountered the failure in question.

Not sure about the exact causes for these issues.

If still not resolved, please retry on a clean OS reinstalled.

Best,

 
 Thanks,
 
 Haven
 
 
 
 On Tue, May 26, 2015 at 2:20 AM, Yedidyah Bar David d...@redhat.com wrote:
 
  - Original Message -
   From: Haoyang Haven Liu haven@ucla.edu
   To: users@ovirt.org
   Sent: Tuesday, May 26, 2015 8:34:00 AM
   Subject: [ovirt-users] hosted engine does not start correctly (CentOS
  7.1,overt-engine 3.5.2)
  
   Hello,
  
   I tried to follow  http://www.ovirt.org/Migrate_to_Hosted_Engine  to
   migrate an existing ovirt environment. I managed to complete the
   “engine-backup —mode=restore…” step, and the following “engine-setup”
  step
   appear to have completed. However, the ovirt-engine service was not
  started
   successfully has errors:
  
   [root@ovirt ~]# systemctl status ovirt-engine
   ovirt-engine.service - oVirt Engine
   Loaded: loaded (/usr/lib/systemd/system/ovirt-engine.service; enabled)
   Active: failed (Result: exit-code) since Mon 2015-05-25 22:26:12 PDT;
  43s ago
   Main PID: 15931 (code=exited, status=1/FAILURE)
  
   May 25 22:26:11 ovirt.polysep.ucla.edu systemd[1]: Started oVirt Engine.
   May 25 22:26:12 ovirt.polysep.ucla.edu ovirt-engine.py[15931]:
  2015-05-25
   22:26:12,269 ovirt-engine: ERROR run:532 Error: process termina...code 1
   May 25 22:26:12 ovirt.polysep.ucla.edu systemd[1]:
  ovirt-engine.service: main
   process exited, code=exited, status=1/FAILURE
   May 25 22:26:12 ovirt.polysep.ucla.edu systemd[1]: Unit
  ovirt-engine.service
   entered failed state.
   Hint: Some lines were ellipsized, use -l to show in full.
  
   Additionally, /var/log/ovirt-engine/console.log complains “cannot
  allocate
   memory”. The VM engine has 4GB of memory, but ovirt-engine engine seems
  to
   want ~11GB of memory, is that right?
  
   [root@ovirt ~]# cat /var/log/ovirt-engine/console.log
   OpenJDK 64-Bit Server VM warning: INFO:
  os::commit_memory(0x00041218,
   11250696192, 0) failed; error='Cannot allocate memory' (errno=12)
   #
   # There is insufficient memory for the Java Runtime Environment to
  continue.
   # Native memory allocation (malloc) failed to allocate 11250696192 bytes
  for
   committing reserved memory.
   # An error report file with more information is saved as:
   # /tmp/jvm-15974/hs_error.log
   [root@ovirt ~]# free -m
   total used free shared buff/cache available
   Mem: 3791 123 3175 28 492 3428
   Swap: 2559 0 2559
   [root@ovirt ~]#
  
   The hs_error.log is attached.
  
   Any help is appreciated.
 
  Can you please compare versions of all installed packages between the
  source
  and destination machines?

Re: [ovirt-users] VM Bandwidth Consumption

2015-06-22 Thread Punit Dambiwal
OK...Please help me to open the REF and give the REF number for followup..

On Mon, Jun 22, 2015 at 5:15 PM, Genadi Chereshnya gcher...@redhat.com
wrote:

 Hi Punit,

 I understand what you want and I think we don't have such a feature.
 That's why I asked you to open RFE for it.
 If it is problem for you, please let me know and I'll open RFE and will
 send you the number of RFE to follow
 Thanks,
Genadi

 - Original Message -
 From: Punit Dambiwal hypu...@gmail.com
 To: Genadi Chereshnya gcher...@redhat.com
 Cc: users@ovirt.org, Dan Kenigsberg dan...@redhat.com, Omer Frenkel
 ofren...@redhat.com, Itamar Heim ih...@redhat.com
 Sent: Monday, June 22, 2015 11:57:41 AM
 Subject: Re: [ovirt-users] VM Bandwidth Consumption


 Hi Genadi,


 Thanks for the updates..for my second question the use case is if i
 want that some specific guest VM just allowed to use only 100GB bandwidth
 per month,when they cross the allowed size..engine will alert them or send
 notification


 On Mon, Jun 22, 2015 at 3:23 PM, Genadi Chereshnya  gcher...@redhat.com
  wrote:


 Hi Punit.

 About your first question: There is a new feature in 3.6 called cumulative
 rx/tx statistics
 I think this is what you need. Please take a look at the feature page:
 http://www.ovirt.org/Features/Cumulative_RX_TX_Statistics

 About you second question: I am not aware of such a feature, so please
 open RFE for it

 Thanks,
 Genadi



 - Original Message -
 From: Punit Dambiwal  hypu...@gmail.com 
 To: users@ovirt.org , Dan Kenigsberg  dan...@redhat.com , Omer
 Frenkel  ofren...@redhat.com , Itamar Heim  ih...@redhat.com 
 Sent: Monday, June 22, 2015 10:16:50 AM
 Subject: [ovirt-users] VM Bandwidth Consumption



 Hi,


 I want to measure the bandwidth consumption of every guest VM on the
 monthly basis...but i didn't find any way in the ovirt to check the
 bandwidth consumption of the guest VM..


 Also is there any way to set the quota on the bandwidth consumption of the
 guest VM...such as every VM can use upto 100Gb bandwidth in one
 month...once the VM cross this limit,either admin got notify or there
 should be an alert...


 Thanks,
 Punit
 ___
 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] VDSM network persistence through re-install

2015-06-22 Thread Dan Kenigsberg
On Sat, Jun 20, 2015 at 12:28:10PM -0500, Trey Dockendorf wrote:
 I recently found that when I reinstall a VDSM host via the engine
 interface, if that host was actually re-provisioned via kickstart, the
 network settings defined in the engine are lost.  Before the re-install I
 had defined 4 bonds and attached 5 logical networks to the host.  After a
 re-install only ovirtmgmt was attached to the node.  Is it intended
 behavior that a host's network configuration in the ovirt-engine be lost
 when a host is re-provisioned ?  If I have to re-deploy a node, is there a
 way to make the ovirt-engine define networks for that host get applied to
 the re-deployed system?

Yes, this is the inteded behavior, though some consider this a design
bug. Network config is persisted on each host, and Engine do not
automatically applies its own definitions ona re-provisioned host,
however, we have

1194297 [RFE] Allow to synchronize all networks on an
out-of-sync host

in the works, which would make life easier in such conditions.

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


Re: [ovirt-users] Upgrade to 3.5.3 fails on ovirt-engine-notifier service

2015-06-22 Thread Trey Dockendorf
I thought using /usr/share/ovirt-engine was wrong, but I was going off of
RedHat docs [1].  I didn't realize an alternative location existed.

Having just searched some more I found the oVirt docs [2] which I don't
recall existing or mentioning the conf.d at the time I setup the notifier
service.

Thanks,
- Trey

[1]:
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Virtualization/3.4/html/Administration_Guide/Parameters_for_event_notifications_in_notifier.conf1.html
[2]: http://www.ovirt.org/Features/configuration-event-subscribers

On Mon, Jun 22, 2015 at 2:38 PM, Martin Perina mper...@redhat.com wrote:

 Hi,

 please never change anything in /usr/share/ovirt-engine, because these file
 will always be overwritten on RPM upgrades.

 To change MAIL_SERVER for ovirt-engine-notifier please create config file
 (for example 99-user.conf) under /etc/ovirt-engine/notifier/notifier.conf.d
 and put you customizations here, for example:

   MAIL_SERVER=my-mail-server.com

 This way your changes survive upgrades.

 Let me know if you have any other issues with it.

 Thanks

 Martin Perina

 - Original Message -
  From: Trey Dockendorf treyd...@gmail.com
  To: users users@ovirt.org
  Sent: Monday, June 22, 2015 7:09:57 PM
  Subject: [ovirt-users] Upgrade to 3.5.3 fails on ovirt-engine-notifier
   service
 
  I just upgraded from 3.5.1 to 3.5.3 and found the end of engine-setup
 failed
  because of the ovirt-engine-notifier service. The logs indicate that the
  MAIL_SERVER option was not set. I had set this before via Puppet and
 know it
  was working because right before I started the upgrade I was receiving
 event
  notifications. It appears as though the RPM (or some other mechanism) set
  the config file at
 
 /usr/share/ovirt-engine/services/ovirt-engine-notifier/ovirt-engine-notifier.conf
  back to its original state with my changes removed.
 
  Attached is the log from engine-setup.
 
  Is this a bug? I was able to work around this by manually setting
 MAIL_SERVER
  back to the value I had already set previously and then re-running
  engine-setup. Even after re-running engine-setup I noticed I had to
 manually
  start ovirt-engine-notifier service.
 
  Thanks,
  - Trey
 
  ___
  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] Upgrade to 3.5.3 fails on ovirt-engine-notifier service

2015-06-22 Thread Martin Perina
Hi,

please never change anything in /usr/share/ovirt-engine, because these file
will always be overwritten on RPM upgrades.

To change MAIL_SERVER for ovirt-engine-notifier please create config file
(for example 99-user.conf) under /etc/ovirt-engine/notifier/notifier.conf.d
and put you customizations here, for example:

  MAIL_SERVER=my-mail-server.com

This way your changes survive upgrades.

Let me know if you have any other issues with it.

Thanks

Martin Perina

- Original Message -
 From: Trey Dockendorf treyd...@gmail.com
 To: users users@ovirt.org
 Sent: Monday, June 22, 2015 7:09:57 PM
 Subject: [ovirt-users] Upgrade to 3.5.3 fails on ovirt-engine-notifier
 service
 
 I just upgraded from 3.5.1 to 3.5.3 and found the end of engine-setup failed
 because of the ovirt-engine-notifier service. The logs indicate that the
 MAIL_SERVER option was not set. I had set this before via Puppet and know it
 was working because right before I started the upgrade I was receiving event
 notifications. It appears as though the RPM (or some other mechanism) set
 the config file at
 /usr/share/ovirt-engine/services/ovirt-engine-notifier/ovirt-engine-notifier.conf
 back to its original state with my changes removed.
 
 Attached is the log from engine-setup.
 
 Is this a bug? I was able to work around this by manually setting MAIL_SERVER
 back to the value I had already set previously and then re-running
 engine-setup. Even after re-running engine-setup I noticed I had to manually
 start ovirt-engine-notifier service.
 
 Thanks,
 - Trey
 
 ___
 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