Re: [ovirt-users] Hosted-Engine --Deploy option in Web

2017-06-09 Thread knarra

On 06/10/2017 02:32 AM, Langley, Robert wrote:
There is no Hosted Engine option within the Edit window of my 
additional host. How do I deploy Hosted-Engine to an existing host, if 
I’ve forgotten to do so when adding it as a new host? And, this host 
is one of the three storage servers hosting the engine gluster volume.

Thanks,
Robert Langley


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


Hi Robert,

   If hosted_storage and HostedEngine vm are not imported into the 
cluster, you will not be able to find HostedEngine tab in the edit / Add 
new host dialog . For this you will have to create first a storage 
domain which will automatically import hosted_storage and HostedEngine vm.


 Once you have the other two entities  you can simply move the host 
to maintenance and click reinstall. While re installing you should see a 
tab called Hosted Engine and choose 'Deploy' in that tab.


 Hope this helps !!

Thanks

kasturi

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


Re: [ovirt-users] Building oVirt engine on Debian

2017-06-09 Thread Leni Kadali Mutungi
> On Thu, Jun 8, 2017 at 6:28 AM, Leni Kadali Mutungi
>  wrote:
>> I assigned the CentOS VM 3GB of RAM, so that could very well be the
>> problem. So the next step will be to increase the RAM of the VM to 4GB
>> and report back with my findings.
Results of the build. It managed to move on from the point where it freezed.
Here's the output:

[INFO] weaveinfo Join point 'constructor-execution(void
com.google.gwt.dev.jjs.impl.ControlFlowAnalyzer.(com.google.gwt.dev.jjs.ast.JProgram))'
in Type 'com.google.gwt.dev.jjs.impl.ControlFlowAnalyzer'
(ControlFlowAnalyzer.java:905) advised by after advice from
'org.ovirt.engine.ui.gwtaop.DontPrune' (DontPrune.java)
[INFO]Compile of permutations succeeded
[INFO]Compilation succeeded -- 357.776s
[INFO] Linking into
/home/centos/git/ovirt-engine/frontend/webadmin/modules/userportal-gwtp/target/generated-gwt/userportal
[INFO]Link succeeded
[INFO]Linking succeeded -- 1.889s
[INFO]
[INFO] --- maven-war-plugin:2.2:war (default-war) @ userportal ---
[INFO] Packaging webapp
[INFO] Assembling webapp [userportal] in
[/home/centos/git/ovirt-engine/frontend/webadmin/modules/userportal-gwtp/target/userportal-4.2.0-SNAPSHOT]
[INFO] Processing war project
[INFO] Copying webapp webResources
[/home/centos/git/ovirt-engine/frontend/webadmin/modules/userportal-gwtp/target/generated-gwt/userportal]
to 
[/home/centos/git/ovirt-engine/frontend/webadmin/modules/userportal-gwtp/target/userportal-4.2.0-SNAPSHOT]
[INFO] Copying webapp resources
[/home/centos/git/ovirt-engine/frontend/webadmin/modules/userportal-gwtp/src/main/webapp]
[INFO] Webapp assembled in [213 msecs]
[INFO] Building war:
/home/centos/git/ovirt-engine/frontend/webadmin/modules/userportal-gwtp/target/userportal-4.2.0-SNAPSHOT.war
[INFO] WEB-INF/web.xml already added, skipping
[INFO]
[INFO] --- ovirt-jboss-modules-maven-plugin:2.0.1:attach-modules
(default) @ userportal ---
[INFO] The modules source directory
"/home/centos/git/ovirt-engine/frontend/webadmin/modules/userportal-gwtp/src/main/modules"
doesn't exist, no modules artifacts will be attached.
[INFO]
[INFO] --- maven-install-plugin:2.3.1:install (default-install) @ userportal ---
[INFO] Installing
/home/centos/git/ovirt-engine/frontend/webadmin/modules/userportal-gwtp/target/userportal-4.2.0-SNAPSHOT.war
to 
/home/centos/.m2/repository/org/ovirt/engine/ui/userportal/4.2.0-SNAPSHOT/userportal-4.2.0-SNAPSHOT.war
[INFO] Installing
/home/centos/git/ovirt-engine/frontend/webadmin/modules/userportal-gwtp/pom.xml
to 
/home/centos/.m2/repository/org/ovirt/engine/ui/userportal/4.2.0-SNAPSHOT/userportal-4.2.0-SNAPSHOT.pom
[INFO]
[INFO] 
[INFO] Building frontend-symbols 4.2.0-SNAPSHOT
[INFO] 
[INFO]
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @
frontend-symbols ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO] Copying 1 resource
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @
frontend-symbols ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-checkstyle-plugin:2.17:check (checkstyle) @
frontend-symbols ---
[INFO] Starting audit...
Audit done.
[INFO]
[INFO] --- maven-resources-plugin:2.5:testResources
(default-testResources) @ frontend-symbols ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory
/home/centos/git/ovirt-engine/frontend/webadmin/modules/frontend-symbols/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:testCompile
(default-testCompile) @ frontend-symbols ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-surefire-plugin:2.12.3:test (default-test) @
frontend-symbols ---
[INFO] No tests to run.
[INFO]
[INFO] --- maven-jar-plugin:2.2:jar (default-jar) @ frontend-symbols ---
[INFO] Building jar:
/home/centos/git/ovirt-engine/frontend/webadmin/modules/frontend-symbols/target/frontend-symbols-4.2.0-SNAPSHOT.jar
[INFO]
[INFO] --- ovirt-jboss-modules-maven-plugin:2.0.1:attach-modules
(default) @ frontend-symbols ---
[INFO] The modules source directory
"/home/centos/git/ovirt-engine/frontend/webadmin/modules/frontend-symbols/src/main/modules"
doesn't exist, no modules artifacts will be attached.
[INFO]
[INFO] --- maven-jar-plugin:2.2:test-jar (test-jar) @ frontend-symbols ---
[WARNING] JAR will be empty - no content was marked for inclusion!
[INFO] Building jar:
/home/centos/git/ovirt-engine/frontend/webadmin/modules/frontend-symbols/target/frontend-symbols-4.2.0-SNAPSHOT-tests.jar
[INFO]
[INFO] --- maven-install-plugin:2.3.1:install (default-install) @
frontend-symbols ---
[INFO] Installing
/home/centos/git/ovirt-engine/frontend/webadmin/modules/frontend-symbols/target/frontend-symbols-4.2.0-SNAPSHOT.jar
to 

Re: [ovirt-users] trouble when creating VM snapshots including memory

2017-06-09 Thread Karli Sjöberg
Den 9 juni 2017 21:40 skrev Matthias Leopold :hi,i'm having trouble creating VM snapshots that include memory in my oVirt 4.1 test environment. when i do this the VM gets paused and shortly (20-30s) afterwards i'm seeing messages in engine.log about both iSCSI storage domains (master storage domain and data storage where VM resides) experiencing high latency. this quickly worsens from the engines view: VM is unresponsive, Host is unresponsive, engine wants to fence the host (impossible because it's the only host in the test cluster). in the end there is an EngineExceptionEngineException: org.ovirt.engine.core.vdsbroker.vdsbroker.VDSNetworkException: VDSGenericException: VDSNetworkException: Message timeout which can be caused by communication issues (Failed with error VDS_NETWORK_ERROR and code 5022)the snapshot fails and is left in an inconsistent state. the situation has to be resolved manually with unlock_entity.sh and maybe lvm commands. this happened twice in exactly the same manner. VM snapshots without memory for this VM are not a problem.VM guest OS is CentOS7 installed from one of the ovirt-image-repository images. it has the oVirt guest agent running.what could be wrong?Seems to me that the snapshot operation, where the host needs to save all of the VM memory chokes the storage pipe, the host becomes "unresponsive" from engine's point of view and all goes up shit creek. How is the hypervisor connected to the storage, in more detail?/Kthis is a test environment where lots of parameters aren't optimal but i never had problems like this before, nothing concerning network latency. iSCSI is on a FreeNAS box. CPU, RAM, ethernet (10GBit for storage) on all hosts involved (engine hosted externally, oVirt Node, storage) should be OK by far.it looks like some obvious configuration botch or performance bottleneck to me. can it be linked to the network roles (management and migration network are on a 1 GBit link)?i'm still new to this, not a lot of KVM experience, too. maybe someone recognizes the culprit...thxmatthias___Users mailing listUsers@ovirt.orghttp://lists.ovirt.org/mailman/listinfo/users___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] trouble when creating VM snapshots including memory

2017-06-09 Thread Matthias Leopold

hi,

i'm having trouble creating VM snapshots that include memory in my oVirt 
4.1 test environment. when i do this the VM gets paused and shortly 
(20-30s) afterwards i'm seeing messages in engine.log about both iSCSI 
storage domains (master storage domain and data storage where VM 
resides) experiencing high latency. this quickly worsens from the 
engines view: VM is unresponsive, Host is unresponsive, engine wants to 
fence the host (impossible because it's the only host in the test 
cluster). in the end there is an EngineException


EngineException: 
org.ovirt.engine.core.vdsbroker.vdsbroker.VDSNetworkException: 
VDSGenericException: VDSNetworkException: Message timeout which can be 
caused by communication issues (Failed with error VDS_NETWORK_ERROR and 
code 5022)


the snapshot fails and is left in an inconsistent state. the situation 
has to be resolved manually with unlock_entity.sh and maybe lvm 
commands. this happened twice in exactly the same manner. VM snapshots 
without memory for this VM are not a problem.


VM guest OS is CentOS7 installed from one of the ovirt-image-repository 
images. it has the oVirt guest agent running.


what could be wrong?

this is a test environment where lots of parameters aren't optimal but i 
never had problems like this before, nothing concerning network latency. 
iSCSI is on a FreeNAS box. CPU, RAM, ethernet (10GBit for storage) on 
all hosts involved (engine hosted externally, oVirt Node, storage) 
should be OK by far.


it looks like some obvious configuration botch or performance bottleneck 
to me. can it be linked to the network roles (management and migration 
network are on a 1 GBit link)?


i'm still new to this, not a lot of KVM experience, too. maybe someone 
recognizes the culprit...


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


Re: [ovirt-users] ovirt client developpement

2017-06-09 Thread Fabrice Bacchella

> Le 9 juin 2017 à 16:25, Luca 'remix_tj' Lorenzetto 
>  a écrit :
> 
> On Fri, Jun 9, 2017 at 4:19 PM, Fabrice Bacchella
>  wrote:
>> For my ovirt cli, I would like to have unit tests. But there is nothing to 
>> test in standalone mode, I need a running ovirt with a database in a known 
>> state.
>> 
>> Is there some where a docker images with a toy setup, or a mock ovirt engine 
>> that can be downloaded and used for that ?
> 
> Maybe you can run lago
> http://lago.readthedocs.io/en/stable/README.html and setup an ovirt
> env on the fly?

That's not a answer to my question. I can always build one manually. I know how 
to build a VM/contenaire from that, but I will still need to fill it with fake 
data, and needs to update it for every release of ovirt.

With a prebuild system, provided by oVirt people, I could also run it on 
release candidate and help them find bugs.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] ovirt client developpement

2017-06-09 Thread Luca 'remix_tj' Lorenzetto
On Fri, Jun 9, 2017 at 4:19 PM, Fabrice Bacchella
 wrote:
> For my ovirt cli, I would like to have unit tests. But there is nothing to 
> test in standalone mode, I need a running ovirt with a database in a known 
> state.
>
> Is there some where a docker images with a toy setup, or a mock ovirt engine 
> that can be downloaded and used for that ?

Maybe you can run lago
http://lago.readthedocs.io/en/stable/README.html and setup an ovirt
env on the fly?

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

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

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


[ovirt-users] ovirt client developpement

2017-06-09 Thread Fabrice Bacchella
For my ovirt cli, I would like to have unit tests. But there is nothing to test 
in standalone mode, I need a running ovirt with a database in a known state.

Is there some where a docker images with a toy setup, or a mock ovirt engine 
that can be downloaded and used for that ?
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] chrony or ntp ?

2017-06-09 Thread Fabrice Bacchella

People might be suprised. I'm currently trying to understand what chrony did to 
my ntpd setup, it look like it killed it and puppet has hard time to 
reconfigure it.

And as it's not a 'ovirt update' but instead vdsm update seems to happen more 
frequently, some people might forget to read release notes and be disappointed.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Cannnot change display resolution using spice

2017-06-09 Thread Alexander Wels
On Thursday, June 8, 2017 11:50:31 PM EDT Станислав Ефремов wrote:
> I`m using CentOS Linux release 7.3.1611 and oVirt 4.1.2
> 
> 
> 
> I`m testing oVirt to use it like vdi solution. I cannot change resolution
> everywhere, except Fedora 25 with Gnome3 and GDM.
> 
> In others distro display resolution setting 1024x768 and might be set to
> 800x600.
> 
> Xrandr shows all available modes but when I set resolution its failed and I
> cannot interact with desktop except ctrl-alt-f1.
> 
> Can it related to vgamem?

If you are trying windows, you will need to install the appropriate drivers to 
make it work. Any linux (well except ubuntu) works out of the box, at least 
ones I have tried.

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


Re: [ovirt-users] chrony or ntp ?

2017-06-09 Thread Sandro Bonazzola
On Fri, Jun 9, 2017 at 11:46 AM, Fabrice Bacchella <
fabrice.bacche...@orange.fr> wrote:

> Other strange dependencies:
> rpm -q --requires vdsm
>
> returns:
> sos
> tree
> NetworkManager-config-server
>
> I don't use NetworkManager-config-server and never used it. There is just
> this lonely components.
> I'm running Centos, not Redhat, what 'sos' is good for in this case ?
>

vdsm ships a sos plugin for collecting logs useful for debug issues. Here
the dependency on sos is needed for ensuring the directory tree owned by
sos is in place for installing the plugin.
Also, ovirt-log-collector assumes sos is installed on the hosts.
Yes, sos is still useful, I often ask users to provide a sos report in
order to understand what's going wrong.




> tree is for interactive shell, who can a python application needs it ?
>

tree is needed by vdsm sos plugin, see https://gerrit.ovirt.org/#/c/555/


>
> There is a lot of other tools like openvswitch's and iscsi's that are not
> used in my setup. But I can understand that they are always installed. A
> modular approach would have been better but much more complicated to
> implement.
>
> which, every one use it , even if it's not the best solution instead of
> the bash builtin 'type -p' (bash is part of the requires) or more portable
> 'command -v', it's all explained at: https://unix.stackexchange.
> com/a/85250. But I must live with this.
>
> > Le 9 juin 2017 à 11:05, Fabrice Bacchella 
> a écrit :
> >
> > I haven't switched from ntp to chrony. So I have configured my puppet to
> remove it as it's now part of default installation of rhel.
> >
> > I works well with everything except on vdsm, since last upgrade:
> >
> > # yum erase chrony
> > ..
> > Removing for dependencies:
> > vdsm  x86_64
>4.19.15-1.el7.centos
>  @ovirt-4.1   2.6 M
> > vdsm-hook-vmfex-dev   noarch
>4.19.15-1.el7.centos
>  @ovirt-4.121 k
> >
> >
> > Why vdsm depends on chrony ? Any time synchronisation solution is good.
> Is that the role of ovirt to chose for me ?
> >
> > ___
> > Users mailing list
> > Users@ovirt.org
> > http://lists.ovirt.org/mailman/listinfo/users
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>



-- 

SANDRO BONAZZOLA

ASSOCIATE MANAGER, SOFTWARE ENGINEERING, EMEA ENG VIRTUALIZATION R

Red Hat EMEA 

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


Re: [ovirt-users] chrony or ntp ?

2017-06-09 Thread Michal Skrivanek

> On 9 Jun 2017, at 11:46, Sandro Bonazzola  wrote:
> 
> 
> 
> On Fri, Jun 9, 2017 at 11:05 AM, Fabrice Bacchella 
> > wrote:
> I haven't switched from ntp to chrony. So I have configured my puppet to 
> remove it as it's now part of default installation of rhel.
> 
> I works well with everything except on vdsm, since last upgrade:
> 
>  # yum erase chrony
> ..
> Removing for dependencies:
>  vdsm  x86_64 
>   4.19.15-1.el7.centos   @ovirt-4.1   
> 2.6 M
>  vdsm-hook-vmfex-dev   noarch 
>   4.19.15-1.el7.centos   @ovirt-4.1   
>  21 k
> 
> 
> Why vdsm depends on chrony ? Any time synchronisation solution is good. Is 
> that the role of ovirt to chose for me ?
> 
> Adding people involved in this change.
> Please note the change has been reviewed and discussed on 
> https://gerrit.ovirt.org/#/c/73822/  for 
> addressing https://bugzilla.redhat.com/show_bug.cgi?id=1428419 
> 
> and it moves from requiring ntp to requiring chrony.
> So it was already deciding for you, you just both were in agreement :-)
> 
> Sadly:
> # rpm -q --provides ntp
> config(ntp) = 4.2.8p10-1.fc26
> ntp = 4.2.8p10-1.fc26
> ntp(x86-64) = 4.2.8p10-1.fc26
> 
> rpm -q --provides chrony
> chrony = 3.1-4.fc26
> chrony(x86-64) = 3.1-4.fc26
> config(chrony) = 3.1-4.fc26
> 
> there's no way to require just the time synchronization capability like in 
> httpd providing the webserver capability:
> 
> # rpm -q --provides httpd
> config(httpd) = 2.4.25-8.fc26
> httpd = 2.4.25-8.fc26
> httpd(x86-64) = 2.4.25-8.fc26
> httpd-mmn = 20120211
> httpd-mmn = 20120211x8664
> httpd-suexec = 2.4.25-8.fc26
> mod_dav = 2.4.25-8.fc26
> webserver
> 
> # dnf provides webserver
> Ultima verifica della scadenza dei metadati: 0:02:59 fa il Fri Jun 09 
> 11:36:58 2017 CEST.
> httpd-2.4.25-8.fc26.x86_64 : Apache HTTP Server
> Repo : @System
> 
> nginx-1:1.10.3-1.fc26.x86_64 : A high performance web server and reverse 
> proxy server
> Repo : @System
> 
> httpd-2.4.25-8.fc26.x86_64 : Apache HTTP Server
> Repo : updates-testing
> 
> cherokee-1.2.104-1.fc25.i686 : Flexible and Fast Webserver
> Repo : fedora
> 
> cherokee-1.2.104-1.fc25.x86_64 : Flexible and Fast Webserver
> Repo : fedora
> 
> httpd-2.4.25-5.fc26.x86_64 : Apache HTTP Server
> Repo : fedora
> 
> lighttpd-1.4.45-3.fc26.x86_64 : Lightning fast webserver with light system 
> requirements
> Repo : fedora
> 
> nginx-1:1.10.3-1.fc26.x86_64 : A high performance web server and reverse 
> proxy server
> Repo : fedora
> 
> In Fedora we may use boolean dependencies and install chrony only if ntp is 
> not already installed: http://rpm.org/user_doc/boolean_dependencies.html 
> 
> but this feature is not available in RHEL / CentOS.
> 
> I let others explain why we are enforcing the dependency on the package 
> itself instead of moving vdsm to an error state if time synchronization is 
> disabled at runtime:

because it’s much more problematic to troubleshoot and fix then.
The main reason is by enforcing NTP service on the host we get a good time sync 
even for people who do not care/do not know anything about it and get the right 
setup from DHCP
As Sandro says there is no easy way to identify the capability in general, and 
chrony is the default in el7

You can just disable the chrony service(we rely on the fact it’s enabled by 
default) and install any other NTP service as you prefer

Thanks,
micahl

> 
> # timedatectl status
>   Local time: ven 2017-06-09 11:45:18 CEST
>   Universal time: ven 2017-06-09 09:45:18 UTC
> RTC time: ven 2017-06-09 09:45:18
>Time zone: Europe/Rome (CEST, +0200)
>  Network time on: yes
> NTP synchronized: yes
>  RTC in local TZ: no
> 
> # rpm -qf `which timedatectl`
> systemd-233-3.fc26.x86_64
> 
> 
>  
> 
> ___
> Users mailing list
> Users@ovirt.org 
> http://lists.ovirt.org/mailman/listinfo/users 
> 
> 
> 
> 
> -- 
> SANDRO BONAZZOLA
> ASSOCIATE MANAGER, SOFTWARE ENGINEERING, EMEA ENG VIRTUALIZATION R
> Red Hat EMEA 
>   
> TRIED. TESTED. TRUSTED. 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] chrony or ntp ?

2017-06-09 Thread Fabrice Bacchella
Other strange dependencies:
rpm -q --requires vdsm

returns:
sos
tree
NetworkManager-config-server

I don't use NetworkManager-config-server and never used it. There is just this 
lonely components.
I'm running Centos, not Redhat, what 'sos' is good for in this case ?
tree is for interactive shell, who can a python application needs it ?

There is a lot of other tools like openvswitch's and iscsi's that are not used 
in my setup. But I can understand that they are always installed. A modular 
approach would have been better but much more complicated to implement.

which, every one use it , even if it's not the best solution instead of the 
bash builtin 'type -p' (bash is part of the requires) or more portable 'command 
-v', it's all explained at: https://unix.stackexchange.com/a/85250. But I must 
live with this.

> Le 9 juin 2017 à 11:05, Fabrice Bacchella  a 
> écrit :
> 
> I haven't switched from ntp to chrony. So I have configured my puppet to 
> remove it as it's now part of default installation of rhel.
> 
> I works well with everything except on vdsm, since last upgrade:
> 
> # yum erase chrony
> ..
> Removing for dependencies:
> vdsm  x86_64  
>  4.19.15-1.el7.centos   @ovirt-4.1
>2.6 M
> vdsm-hook-vmfex-dev   noarch  
>  4.19.15-1.el7.centos   @ovirt-4.1
> 21 k
> 
> 
> Why vdsm depends on chrony ? Any time synchronisation solution is good. Is 
> that the role of ovirt to chose for me ?
> 
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users

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


Re: [ovirt-users] chrony or ntp ?

2017-06-09 Thread Sandro Bonazzola
On Fri, Jun 9, 2017 at 11:05 AM, Fabrice Bacchella <
fabrice.bacche...@orange.fr> wrote:

> I haven't switched from ntp to chrony. So I have configured my puppet to
> remove it as it's now part of default installation of rhel.
>
> I works well with everything except on vdsm, since last upgrade:
>
>  # yum erase chrony
> ..
> Removing for dependencies:
>  vdsm  x86_64
>  4.19.15-1.el7.centos   @ovirt-4.1
>  2.6 M
>  vdsm-hook-vmfex-dev   noarch
>  4.19.15-1.el7.centos   @ovirt-4.1
>   21 k
>
>
> Why vdsm depends on chrony ? Any time synchronisation solution is good. Is
> that the role of ovirt to chose for me ?
>

Adding people involved in this change.
Please note the change has been reviewed and discussed on
https://gerrit.ovirt.org/#/c/73822/ for addressing
https://bugzilla.redhat.com/show_bug.cgi?id=1428419
and it moves from requiring ntp to requiring chrony.
So it was already deciding for you, you just both were in agreement :-)

Sadly:
# rpm -q --provides ntp
config(ntp) = 4.2.8p10-1.fc26
ntp = 4.2.8p10-1.fc26
ntp(x86-64) = 4.2.8p10-1.fc26

rpm -q --provides chrony
chrony = 3.1-4.fc26
chrony(x86-64) = 3.1-4.fc26
config(chrony) = 3.1-4.fc26

there's no way to require just the time synchronization capability like in
httpd providing the webserver capability:

# rpm -q --provides httpd
config(httpd) = 2.4.25-8.fc26
httpd = 2.4.25-8.fc26
httpd(x86-64) = 2.4.25-8.fc26
httpd-mmn = 20120211
httpd-mmn = 20120211x8664
httpd-suexec = 2.4.25-8.fc26
mod_dav = 2.4.25-8.fc26
webserver

# dnf provides webserver
Ultima verifica della scadenza dei metadati: 0:02:59 fa il Fri Jun 09
11:36:58 2017 CEST.
httpd-2.4.25-8.fc26.x86_64 : Apache HTTP Server
Repo : @System

nginx-1:1.10.3-1.fc26.x86_64 : A high performance web server and reverse
proxy server
Repo : @System

httpd-2.4.25-8.fc26.x86_64 : Apache HTTP Server
Repo : updates-testing

cherokee-1.2.104-1.fc25.i686 : Flexible and Fast Webserver
Repo : fedora

cherokee-1.2.104-1.fc25.x86_64 : Flexible and Fast Webserver
Repo : fedora

httpd-2.4.25-5.fc26.x86_64 : Apache HTTP Server
Repo : fedora

lighttpd-1.4.45-3.fc26.x86_64 : Lightning fast webserver with light system
requirements
Repo : fedora

nginx-1:1.10.3-1.fc26.x86_64 : A high performance web server and reverse
proxy server
Repo : fedora

In Fedora we may use boolean dependencies and install chrony only if ntp is
not already installed: http://rpm.org/user_doc/boolean_dependencies.html
but this feature is not available in RHEL / CentOS.

I let others explain why we are enforcing the dependency on the package
itself instead of moving vdsm to an error state if time synchronization is
disabled at runtime:

# timedatectl status
  Local time: ven 2017-06-09 11:45:18 CEST
  Universal time: ven 2017-06-09 09:45:18 UTC
RTC time: ven 2017-06-09 09:45:18
   Time zone: Europe/Rome (CEST, +0200)
 Network time on: yes
NTP synchronized: yes
 RTC in local TZ: no

# rpm -qf `which timedatectl`
systemd-233-3.fc26.x86_64




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



-- 

SANDRO BONAZZOLA

ASSOCIATE MANAGER, SOFTWARE ENGINEERING, EMEA ENG VIRTUALIZATION R

Red Hat EMEA 

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


[ovirt-users] chrony or ntp ?

2017-06-09 Thread Fabrice Bacchella
I haven't switched from ntp to chrony. So I have configured my puppet to remove 
it as it's now part of default installation of rhel.

I works well with everything except on vdsm, since last upgrade:

 # yum erase chrony
..
Removing for dependencies:
 vdsm  x86_64   
4.19.15-1.el7.centos   @ovirt-4.1   
2.6 M
 vdsm-hook-vmfex-dev   noarch   
4.19.15-1.el7.centos   @ovirt-4.1   
 21 k


Why vdsm depends on chrony ? Any time synchronisation solution is good. Is that 
the role of ovirt to chose for me ?

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