[ovirt-users] Migration path: All-In-One to self-hosted engine?

2015-12-28 Thread Alan Murrell

Hi All,

I am just wondering if there is any sort of migration path for those  
running All-In-One setups to a self-hosted engine setup?


Regards,

Alan

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


[ovirt-users] Self-hosted engine: Host cannot activate

2015-12-28 Thread Alan Murrell
I am attempting to install oVirt 3.6 on a CentOS7 host.  it is a  
single server, so I am trying to install a self-hosted engine.  I am  
able to install oVirt 3.5 self-hosted engine, but am having some  
problems doing it with 3.6.


Everything appears to go fine; the engine-setup completes  
successfully.  On the host, I pressed"1" to indicate engine-setup was  
complete, and it can connect to the webadmin but the host never  
becomes operational.


I am able to log in to the webadmin, and indeed the host is in a  
non-operational state.  When I click on the host then click on the  
"Virtual networks" tab, all my interfaces are showing a red arrow.


When I click on "Setup Host Networks", my "ovirtmgmt" network is  
unassigned.  Believing this to be why my host is not operational  
(since it is under "Required"), I assigned it to my management  
interface, but the interfaces still remain red.  In addition, the  
"ovirtmgmt" network does have a green arrow, but also the icon  
indicating "Out of sync".  If I click on "Sync All Networks", I get  
the following error:


"Error while executing action SyncAllHostNetworks: Network is  
currently being used"


which makes sense, since "ovirtmgmt" is assigned/in use.  I am unable  
to unassign ovirtmgmt.


Current status is this:

  - All network interfaces are showing the red "down" arrow
  - "ovirtmgmt" is assigned to my management NIC, but indicating that  
it is out of sync
  - I am unable to unassign the "ovirtmgmt" network (or at least, if  
I do, the "OK" button is greyed out)


I could destroy the engine VM and go through the setup again, with the  
idea of once it is installed and waiting for the host to become  
operational, I could do a "Sync All Networks" and see if the networks  
turn green and go from there.


I wanted to see what sort of insight I could get from here first.  I  
am not sure what logs would be useful to you, so let me know what you  
want to see and I and make them available (I will likely zip them up  
and post a link)


Something else I could try if this becomes a "puzzler" is to do a  
3.5.x self-hosted engine then perform an in-place upgrade to 3.6 and  
see if that works?  I would rather try to help make a direct 3.6  
install work, though...


Thanks, in advance! :-)

Regards,

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


Re: [ovirt-users] Change "ovirt-engine" virtual directory

2015-12-28 Thread Alon Bar-Lev


- Original Message -
> From: "Hamid Mazrae Mollaie" 
> To: users@ovirt.org
> Sent: Monday, December 28, 2015 12:42:18 PM
> Subject: [ovirt-users] Change "ovirt-engine" virtual directory
> 
> hi all
> i want to change "ovirt-engine" in url's web admin portal for branding.
> how can i do?
> tanx
> 

You can probably add a reverse proxy or teak apache ajp proxy, however, this 
configuration will probably not be supported.

Supported branding modifications are outlined here[1].

[1] 
https://gerrit.ovirt.org/gitweb?p=ovirt-engine.git;a=blob;f=README.branding;hb=HEAD
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] host xxx did no satisfy internal filter Memory because its swap value was illegal.

2015-12-28 Thread pc
host xxx did no satisfy internal filter Memory because its swap value was 
illegal.### Description ###1. problem1) migrate vm {name:xyz001, mem(min, max) 
= (2G,4G)} from ovirt host n33 to n34, failed.2) shutting down vm {name: 
test001, mem(min, max) = (1G,1G)} on n34, update test001's config: Host->Start 
Running On: Specific(n34), then start test001, while, it's running on n33.2. 
err message Error while executing action: migrate [engine gui]xyz001:Cannot 
migrate VM. There is no host that satisfies current scheduling constraints. See 
below for details:The host n33.ovirt did not satisfy internal filter Memory 
because has availabe 1863 MB memory. Insufficient free memory to run the VM.The 
host n34.ovirt did not satisfy internal filter Memory because its swap value 
was illegal.[engine.log]INFO  [org.ovirt.engine.core.bll.MigrateVmCommand] 
(default task-23) [5916aa3b] Lock Acquired to object 
'EngineLock:{exclusiveLocks='[73351885-9a92-4317-baaf-e4f2bed1171a=]', 
sharedLocks='null'}'INFO  
[org.ovirt.engine.core.bll.scheduling.SchedulingManager] (default task-23) 
[5916aa3b] Candidate host 'n34' ('2ae3a219-ae9a-4347-b1e2-0e100360231e') was 
filtered out by 'VAR__FILTERTYPE__INTERNAL' filter 'Memory' (correlation id: 
null)INFO  [org.ovirt.engine.core.bll.scheduling.SchedulingManager] (default 
task-23) [5916aa3b] Candidate host 'n33' 
('688aec34-5630-478e-ae5e-9d57990804e5') was filtered out by 
'VAR__FILTERTYPE__INTERNAL' filter 'Memory' (correlation id: null)WARN  
[org.ovirt.engine.core.bll.MigrateVmCommand] (default task-23) [5916aa3b] 
CanDoAction of action 'MigrateVm' failed for user admin@internal. Reasons: 
VAR__ACTION__MIGRATE,VAR__TYPE__VM,SCHEDULING_ALL_HOSTS_FILTERED_OUT,VAR__FILTERTYPE__INTERNAL,$hostName
 n33,$filterName Memory,$availableMem 
1863,VAR__DETAIL__NOT_ENOUGH_MEMORY,SCHEDULING_HOST_FILTERED_REASON_WITH_DETAIL,VAR__FILTERTYPE__INTERNAL,$hostName
 n34,$filterName 
Memory,VAR__DETAIL__SWAP_VALUE_ILLEGAL,SCHEDULING_HOST_FILTERED_REASON_WITH_DETAILINFO
  [org.ovirt.engine.core.bll.MigrateVmCommand] (default task-23) [5916aa3b] 
Lock freed to object 
'EngineLock:{exclusiveLocks='[73351885-9a92-4317-baaf-e4f2bed1171a=]', 
sharedLocks='null'}'3. DCCompatibility Version: 3.54. ClusterMemory 
Optimization: For Server Load - Allow scheduling of 150% of physical 
memoryMemory Balloon: Enable Memory Balloon OptimizationEnable KSM: Share 
memory pages across all available memory (best KSM effectivness)5. HOSTname: 
n33, n34mem: 32G6. VM[n33] 11 vms(min, max) = (2G,4G) = 8(min, max) = (2G,8G) = 
1(min, max) = (2G,2G) = 2total: 22G/44G[n34] 7 vms(min, max) = (0.5G,1G) = 
1(min, max) = (1G,2G) = 1(min, max) = (2G,2G) = 1(min, max) = (2G,4G) = 3(min, 
max) = (8G,8G) = 1total: 
17.5G/25G(min, max) = (2G,4G) 
stands for: Memory Size: 4GPhysical Memory Guaranteed: 2GMemory Balloon Device 
Enabled: checked7. rpm 
version[root@n33 ~]# rpm -qa |grep 
vdsmvdsm-yajsonrpc-4.16.27-0.el6.noarchvdsm-jsonrpc-4.16.27-0.el6.noarchvdsm-cli-4.16.27-0.el6.noarchvdsm-python-zombiereaper-4.16.27-0.el6.noarchvdsm-xmlrpc-4.16.27-0.el6.noarchvdsm-python-4.16.27-0.el6.noarchvdsm-4.16.27-0.el6.x86_64[root@engine
 ~]# rpm -qa |grep 
ovirtovirt-release36-001-2.noarchovirt-engine-setup-base-3.6.0.3-1.el6.noarchovirt-engine-setup-3.6.0.3-1.el6.noarchovirt-image-uploader-3.6.0-1.el6.noarchovirt-engine-wildfly-8.2.0-1.el6.x86_64ovirt-engine-setup-plugin-vmconsole-proxy-helper-3.6.0.3-1.el6.noarchovirt-host-deploy-1.4.0-1.el6.noarchovirt-engine-backend-3.6.0.3-1.el6.noarchovirt-engine-webadmin-portal-3.6.0.3-1.el6.noarchovirt-engine-jboss-as-7.1.1-1.el6.x86_64ovirt-engine-lib-3.6.0.3-1.el6.noarchovirt-engine-setup-plugin-ovirt-engine-common-3.6.0.3-1.el6.noarchovirt-engine-setup-plugin-ovirt-engine-3.6.0.3-1.el6.noarchovirt-engine-setup-plugin-websocket-proxy-3.6.0.3-1.el6.noarchovirt-engine-sdk-python-3.6.0.3-1.el6.noarchovirt-iso-uploader-3.6.0-1.el6.noarchovirt-vmconsole-proxy-1.0.0-1.el6.noarchovirt-engine-extensions-api-impl-3.6.0.3-1.el6.noarchovirt-engine-websocket-proxy-3.6.0.3-1.el6.noarchovirt-engine-vmconsole-proxy-helper-3.6.0.3-1.el6.noarchebay-cors-filter-1.0.1-0.1.ovirt.el6.noarchovirt-host-deploy-java-1.4.0-1.el6.noarchovirt-engine-tools-3.6.0.3-1.el6.noarchovirt-engine-restapi-3.6.0.3-1.el6.noarchovirt-engine-3.6.0.3-1.el6.noarchovirt-engine-extension-aaa-jdbc-1.0.1-1.el6.noarchovirt-engine-cli-3.6.0.1-1.el6.noarchovirt-vmconsole-1.0.0-1.el6.noarchovirt-engine-wildfly-overlay-001-2.el6.noarchovirt-engine-dbscripts-3.6.0.3-1.el6.noarchovirt-engine-userportal-3.6.0.3-1.el6.noarchovirt-guest-tools-iso-3.6.0-0.2_master.fc22.noarch###
 DB ###[root@engine ~]# su postgresbash-4.1$ cd ~bash-4.1$ psql engineengine=# 
select vds_id, physical_mem_mb, mem_commited, vm_active, vm_count, 
reserved_mem, 

[ovirt-users] Change "ovirt-engine" virtual directory

2015-12-28 Thread Hamid Mazrae Mollaie
hi all
i want to change "ovirt-engine" in url's web admin portal for branding.
how can i do?
tanx
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Hosted engine vs. hypervisor hosts naming on hyperconverged setup

2015-12-28 Thread Roy Golan
On Mon, Dec 28, 2015 at 5:31 AM, Will Dennis  wrote:

> Think I found the issue… Something caused the glusterd service on
> ovirt-host-03 to segfault… Restarted it, and then went ahead and configured
> a GlusterFS storage domain for Data, which worked, and now the DC status is
> “Up"… Funny thing is, I do not see the “hosted_storage” domain anywhere
> now, just the Data SD that I created (name = vm_storage_1)
>
> There is still nothing showing up in the “VMs” node…
>
>
Please share the /var/log/ovirt-engine/engine.log from the engine machine

If you are running 3.6.1 you should see the domain imported automatically.



>
> On Dec 27, 2015, at 9:28 PM, Will Dennis > wrote:
>
> Did a bit of RTFM this evening, and read in the Admin Guide that:
> "The new data center is added to the virtualization environment. It will
> remain Uninitialized until a cluster, host, and storage domain are
> configured for it; use Guide Me to configure these entities."
>
> So, in webadmin I clicked on the Data Centers node, and then clicked on
> the “Guide Me” link; sure enough, in the “There are still unconfigured
> entities:” section, there was a link for “Attach Storage”. When I clicked
> on it, I saw that there was an option to attach the “hosted_storage”
> storage domain; when I tried to do so, it failed, and I got the following
> events at the bottom of the webadmin UI:
>
> Dec 27, 2015 8:58:18 PM  VDSM ovirt-node-03 command failed: Cannot acquire
> host id: (u'e89b6e64-bd7d-4846-b970-9af32a3295ee', SanlockException(22,
> 'Sanlock lockspace add failure', 'Invalid argument'))
>
> Dec 27, 2015 8:58:18 PM  Failed to attach Storage Domains to Data Center
> Default. (User: admin@internal)
>
> Dec 27, 2015 8:58:18 PM  Failed to attach Storage Domain hosted_storage to
> Data Center Default. (User: admin@internal)
>
> So, how to fix this latest issue?
>
>
> On Dec 27, 2015, at 3:11 PM, Will Dennis > wrote:
>
> I clicked on the “Data Centers” node on the left nav of webadmin, and I
> see that the “Default” DC (the only one I have) has a status of
> “Uninitialized”… Not sure how to initialize it (there’s no menu option for
> that on the node…)
>
>
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Wrong nvidia drivers dependency for ovirt-hosted-engine-setup on CentOS 7.2

2015-12-28 Thread Aleksey Chudov
Hi,

I have installed package
ovirt-hosted-engine-setup-1.3.1.4-1.el7.centos.noarch on CentOS 7.2 and
nvidia drivers installed as dependencies. If I manually try to remove
nvidia drivers yum proposes to remove ovirt packages as well. I don't have
any nvidia devices in my servers so I consider this a dependency bug.
Please check the output below.


# rpm -qa '*nvidia*' '*ovirt*'
nvidia-x11-drv-352.63-1.el7.elrepo.x86_64
ovirt-host-deploy-1.4.1-1.el7.centos.noarch
yum-plugin-nvidia-1.0.2-1.el7.elrepo.noarch
libgovirt-0.3.3-1.el7.x86_64
kmod-nvidia-352.63-1.el7.elrepo.x86_64
ovirt-release36-002-2.noarch
ovirt-engine-sdk-python-3.6.0.3-1.el7.centos.noarch
ovirt-hosted-engine-ha-1.3.3.6-1.el7.centos.noarch
ovirt-vmconsole-1.0.0-1.el7.centos.noarch
ovirt-vmconsole-host-1.0.0-1.el7.centos.noarch
ovirt-setup-lib-1.0.0-1.el7.centos.noarch
ovirt-hosted-engine-setup-1.3.1.4-1.el7.centos.noarch


# rpm -qa | grep nvidia | xargs yum history info
Loaded plugins: fastestmirror, nvidia
[nvidia]: No NVIDIA display devices found
Transaction ID : 18
Begin time : Thu Dec 24 14:14:14 2015
Begin rpmdb: 429:07df3601154cf590c9c5c0435c6dd92b88beb824
End time   :14:18:53 2015 (279 seconds)
End rpmdb  : 697:c3c9771baf9f1abe81798d792470334cf2eb8ba6
User   : root 
Return-Code: Success
Command Line   : -d 2 -y install ovirt-hosted-engine-setup
Transaction performed with:
Installed rpm-4.11.3-17.el7.x86_64  @anaconda
Installed yum-3.4.3-132.el7.centos.0.1.noarch   @anaconda
Installed yum-plugin-fastestmirror-1.1.31-34.el7.noarch @anaconda
Packages Altered:
...
Dep-Install
kmod-nvidia-352.63-1.el7.elrepo.x86_64   @elrepo
...
Dep-Install
nvidia-x11-drv-352.63-1.el7.elrepo.x86_64@elrepo
...
Install
ovirt-hosted-engine-setup-1.3.1.4-1.el7.centos.noarch@ovirt-3.6
...
Dep-Install
yum-plugin-nvidia-1.0.2-1.el7.elrepo.noarch  @elrepo
Scriptlet output:
   1 depmod: WARNING: could not open
/lib/modules/3.10.0-229.el7.x86_64/modules.order: No such file or directory
   2 depmod: WARNING: could not open
/lib/modules/3.10.0-229.el7.x86_64/modules.builtin: No such file or
directory
   3 gtk-query-immodules-2.0-64: error while loading shared libraries:
libpangocairo-1.0.so.0: cannot open shared object file: No such file or
directory
   4 warning: %post(gtk2-2.24.28-8.el7.x86_64) scriptlet failed, exit
status 127
   5 gtk-query-immodules-3.0-64: error while loading shared libraries:
libEGL.so.1: cannot open shared object file: No such file or directory
   6 Working. This may take some time ...
   7 Done.
history info



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


Re: [ovirt-users] Hosted engine vs. hypervisor hosts naming on hyperconverged setup

2015-12-28 Thread Will Dennis
The uncompressed engine log for the period in question is 12M... Too large for 
a pastebin...

However, I grepped for ‘domain’ and that culls it down to 18 lines; the results 
are at: http://ur1.ca/od26u


From: Roy Golan [mailto:rgo...@redhat.com]
Sent: Monday, December 28, 2015 3:04 AM
To: Will Dennis
Cc: users
Subject: Re: [ovirt-users] Hosted engine vs. hypervisor hosts naming on 
hyperconverged setup



On Mon, Dec 28, 2015 at 5:31 AM, Will Dennis 
> wrote:
Think I found the issue… Something caused the glusterd service on ovirt-host-03 
to segfault… Restarted it, and then went ahead and configured a GlusterFS 
storage domain for Data, which worked, and now the DC status is “Up"… Funny 
thing is, I do not see the “hosted_storage” domain anywhere now, just the Data 
SD that I created (name = vm_storage_1)

There is still nothing showing up in the “VMs” node…


Please share the /var/log/ovirt-engine/engine.log from the engine machine
If you are running 3.6.1 you should see the domain imported automatically.



On Dec 27, 2015, at 9:28 PM, Will Dennis 
>>
 wrote:

Did a bit of RTFM this evening, and read in the Admin Guide that:
"The new data center is added to the virtualization environment. It will remain 
Uninitialized until a cluster, host, and storage domain are configured for it; 
use Guide Me to configure these entities."

So, in webadmin I clicked on the Data Centers node, and then clicked on the 
“Guide Me” link; sure enough, in the “There are still unconfigured entities:” 
section, there was a link for “Attach Storage”. When I clicked on it, I saw 
that there was an option to attach the “hosted_storage” storage domain; when I 
tried to do so, it failed, and I got the following events at the bottom of the 
webadmin UI:

Dec 27, 2015 8:58:18 PM  VDSM ovirt-node-03 command failed: Cannot acquire host 
id: (u'e89b6e64-bd7d-4846-b970-9af32a3295ee', SanlockException(22, 'Sanlock 
lockspace add failure', 'Invalid argument'))

Dec 27, 2015 8:58:18 PM  Failed to attach Storage Domains to Data Center 
Default. (User: admin@internal)

Dec 27, 2015 8:58:18 PM  Failed to attach Storage Domain hosted_storage to Data 
Center Default. (User: admin@internal)

So, how to fix this latest issue?


On Dec 27, 2015, at 3:11 PM, Will Dennis 
>>
 wrote:

I clicked on the “Data Centers” node on the left nav of webadmin, and I see 
that the “Default” DC (the only one I have) has a status of “Uninitialized”… 
Not sure how to initialize it (there’s no menu option for that on the node…)



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


Re: [ovirt-users] Wrong nvidia drivers dependency for ovirt-hosted-engine-setup on CentOS 7.2

2015-12-28 Thread Yedidyah Bar David
On Mon, Dec 28, 2015 at 1:52 PM, Aleksey Chudov
 wrote:
> Hi,
>
> I have installed package
> ovirt-hosted-engine-setup-1.3.1.4-1.el7.centos.noarch on CentOS 7.2 and
> nvidia drivers installed as dependencies. If I manually try to remove nvidia
> drivers yum proposes to remove ovirt packages as well. I don't have any
> nvidia devices in my servers so I consider this a dependency bug. Please
> check the output below.
>
>
> # rpm -qa '*nvidia*' '*ovirt*'
> nvidia-x11-drv-352.63-1.el7.elrepo.x86_64
> ovirt-host-deploy-1.4.1-1.el7.centos.noarch
> yum-plugin-nvidia-1.0.2-1.el7.elrepo.noarch
> libgovirt-0.3.3-1.el7.x86_64
> kmod-nvidia-352.63-1.el7.elrepo.x86_64
> ovirt-release36-002-2.noarch
> ovirt-engine-sdk-python-3.6.0.3-1.el7.centos.noarch
> ovirt-hosted-engine-ha-1.3.3.6-1.el7.centos.noarch
> ovirt-vmconsole-1.0.0-1.el7.centos.noarch
> ovirt-vmconsole-host-1.0.0-1.el7.centos.noarch
> ovirt-setup-lib-1.0.0-1.el7.centos.noarch
> ovirt-hosted-engine-setup-1.3.1.4-1.el7.centos.noarch
>
>
> # rpm -qa | grep nvidia | xargs yum history info
> Loaded plugins: fastestmirror, nvidia
> [nvidia]: No NVIDIA display devices found
> Transaction ID : 18
> Begin time : Thu Dec 24 14:14:14 2015
> Begin rpmdb: 429:07df3601154cf590c9c5c0435c6dd92b88beb824
> End time   :14:18:53 2015 (279 seconds)
> End rpmdb  : 697:c3c9771baf9f1abe81798d792470334cf2eb8ba6
> User   : root 
> Return-Code: Success
> Command Line   : -d 2 -y install ovirt-hosted-engine-setup
> Transaction performed with:
> Installed rpm-4.11.3-17.el7.x86_64  @anaconda
> Installed yum-3.4.3-132.el7.centos.0.1.noarch   @anaconda
> Installed yum-plugin-fastestmirror-1.1.31-34.el7.noarch @anaconda
> Packages Altered:
> ...
> Dep-Install kmod-nvidia-352.63-1.el7.elrepo.x86_64
> @elrepo
> ...
> Dep-Install nvidia-x11-drv-352.63-1.el7.elrepo.x86_64
> @elrepo
> ...
> Install ovirt-hosted-engine-setup-1.3.1.4-1.el7.centos.noarch
> @ovirt-3.6
> ...
> Dep-Install yum-plugin-nvidia-1.0.2-1.el7.elrepo.noarch
> @elrepo
> Scriptlet output:
>1 depmod: WARNING: could not open
> /lib/modules/3.10.0-229.el7.x86_64/modules.order: No such file or directory
>2 depmod: WARNING: could not open
> /lib/modules/3.10.0-229.el7.x86_64/modules.builtin: No such file or
> directory
>3 gtk-query-immodules-2.0-64: error while loading shared libraries:
> libpangocairo-1.0.so.0: cannot open shared object file: No such file or
> directory
>4 warning: %post(gtk2-2.24.28-8.el7.x86_64) scriptlet failed, exit status
> 127
>5 gtk-query-immodules-3.0-64: error while loading shared libraries:
> libEGL.so.1: cannot open shared object file: No such file or directory
>6 Working. This may take some time ...
>7 Done.
> history info

Not sure where you got elrepo repos, but I do not think they are from
ovirt. Please try a clean setup without them. Do you need them?

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


Re: [ovirt-users] R: Re: Network instability after upgrade 3.6.0 -> 3.6.1

2015-12-28 Thread Yedidyah Bar David
On Mon, Dec 28, 2015 at 3:48 PM, Stefano Danzi  wrote:
> Problem solved!!!
>
> The file hosted-engine.conf had a wrong fqdn.
> I don't think that this happened during upgrade... mybe thay my colleague
> did something of wrong...

Thanks for the report :-)

>
>
> Il 20/12/2015 14.52, Stefano Danzi ha scritto:
>
> Network problems was solved after changing Bond mode  (and it's strange. I
> have to investigate around qemu-kvm, cento 7.2 and switch firmware ), but
> broker problem still exist.  If I turn on the host, ha agent start engine
> vm. When engine VM is up, broker strats to send email.  Now I haven't here
> detailed logs.
>
>
>  Messaggio originale 
> Da: Yedidyah Bar David 
> Data: 20/12/2015 11:20 (GMT+01:00)
> A: Stefano Danzi , Dan Kenigsberg 
> Cc: users 
> Oggetto: Re: [ovirt-users] Network instability after upgrade 3.6.0 -> 3.6.1
>
> On Fri, Dec 18, 2015 at 5:31 PM, Stefano Danzi  wrote:
>> I found this in vdsm.log and I think that could be the problem:
>>
>> Thread-3771::ERROR::2015-12-18
>>
>> 16:18:58,597::brokerlink::279::ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink::(_communicate)
>> Connection closed: Connection closed
>> Thread-3771::ERROR::2015-12-18 16:18:58,597::API::1847::vds::(_getHaInfo)
>> failed to retrieve Hosted Engine HA info
>> Traceback (most recent call last):
>>   File "/usr/share/vdsm/API.py", line 1827, in _getHaInfo
>> stats = instance.get_all_stats()
>>   File
>>
>> "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/client/client.py",
>> line 103, in get_all_stats
>> self._configure_broker_conn(broker)
>>   File
>>
>> "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/client/client.py",
>> line 180, in _configure_broker_conn
>> dom_type=dom_type)
>>   File
>>
>> "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/lib/brokerlink.py",
>> line 176, in set_storage_domain
>> .format(sd_type, options, e))
>> RequestError: Failed to set storage domain FilesystemBackend, options
>> {'dom_type': 'nfs3', 'sd_uuid': '46f55a31-f35f-465c-b3e2-df45c05e06a7'}:
>> Connection closed
>
> My guess is that this is a consequence of your networking problems.
>
> Adding Dan.
>
>>
>>
>> Il 17/12/2015 18.51, Stefano Danzi ha scritto:
>>>
>>> I partially solve the problem.
>>>
>>> My host machine has 2 network interfaces with a bond. The bond was
>>> configured with  mode=4 (802.3ad) and switch was configured in the same
>>> way.
>>> If I remove one network cable the network become stable. With both cables
>>> attached the network is instable.
>>>
>>> I removed the link aggregation configuration from switch and change the
>>> bond in mode=2 (balance-xor). Now the network are stable.
>>> The strange thing is that previous configuration worked fine for one
>>> year... since the last upgrade.
>>>
>>> Now ha-agent don't reboot the hosted-engine anymore, but I receive two
>>> emails from brocker evere 2/5 minutes.
>>> First a mail with "ovirt-hosted-engine state transition
>>> StartState-ReinitializeFSM" and after "ovirt-hosted-engine state
>>> transition
>>> ReinitializeFSM-EngineStarting"
>>>
>>>
>>> Il 17/12/2015 10.51, Stefano Danzi ha scritto:

 Hello,
 I have one testing host (only one host) with self hosted engine and 2 VM
 (one linux and one windows).

 After upgrade ovirt from 3.6.0 to 3.6.1 the network connection works
 discontinuously.
 Every 10 minutes HA agent restart hosted engine VM because result down.
 But the machine is UP,
 only the network stop to work for some minutes.
 I activate global maintenace mode to prevent engine reboot. If I ssh to
 the hosted engine sometimes
 the connection work and sometimes no.  Using VNC connection to engine I
 see that sometime VM reach external network
 and sometimes no.
 If I do a tcpdump on phisical ethernet interface I don't see any packet
 when network on vm don't work.

 Same thing happens fo others two VM.

 Before the upgrade I never had network problems.
 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users

>>>
>>> ___
>>> Users mailing list
>>> Users@ovirt.org
>>> http://lists.ovirt.org/mailman/listinfo/users
>>
>> ___
>> Users mailing list
>> Users@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>
>
>
> --
> Didi
>
>
> ___
> 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] R: Re: Network instability after upgrade 3.6.0 -> 3.6.1

2015-12-28 Thread Stefano Danzi

Problem solved!!!

The file hosted-engine.conf had a wrong fqdn.
I don't think that this happened during upgrade... mybe thay my 
colleague did something of wrong...


Il 20/12/2015 14.52, Stefano Danzi ha scritto:
Network problems was solved after changing Bond mode  (and it's 
strange. I have to investigate around qemu-kvm, cento 7.2 and switch 
firmware ), but broker problem still exist.  If I turn on the host, ha 
agent start engine vm. When engine VM is up, broker strats to send 
email.  Now I haven't here detailed logs.



 Messaggio originale 
Da: Yedidyah Bar David 
Data: 20/12/2015 11:20 (GMT+01:00)
A: Stefano Danzi , Dan Kenigsberg 
Cc: users 
Oggetto: Re: [ovirt-users] Network instability after upgrade 3.6.0 -> 
3.6.1


On Fri, Dec 18, 2015 at 5:31 PM, Stefano Danzi  wrote:
> I found this in vdsm.log and I think that could be the problem:
>
> Thread-3771::ERROR::2015-12-18
> 
16:18:58,597::brokerlink::279::ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink::(_communicate)

> Connection closed: Connection closed
> Thread-3771::ERROR::2015-12-18 
16:18:58,597::API::1847::vds::(_getHaInfo)

> failed to retrieve Hosted Engine HA info
> Traceback (most recent call last):
>   File "/usr/share/vdsm/API.py", line 1827, in _getHaInfo
> stats = instance.get_all_stats()
>   File
> 
"/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/client/client.py",

> line 103, in get_all_stats
> self._configure_broker_conn(broker)
>   File
> 
"/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/client/client.py",

> line 180, in _configure_broker_conn
> dom_type=dom_type)
>   File
> 
"/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/lib/brokerlink.py",

> line 176, in set_storage_domain
> .format(sd_type, options, e))
> RequestError: Failed to set storage domain FilesystemBackend, options
> {'dom_type': 'nfs3', 'sd_uuid': '46f55a31-f35f-465c-b3e2-df45c05e06a7'}:
> Connection closed

My guess is that this is a consequence of your networking problems.

Adding Dan.

>
>
> Il 17/12/2015 18.51, Stefano Danzi ha scritto:
>>
>> I partially solve the problem.
>>
>> My host machine has 2 network interfaces with a bond. The bond was
>> configured with  mode=4 (802.3ad) and switch was configured in the 
same way.
>> If I remove one network cable the network become stable. With both 
cables

>> attached the network is instable.
>>
>> I removed the link aggregation configuration from switch and change the
>> bond in mode=2 (balance-xor). Now the network are stable.
>> The strange thing is that previous configuration worked fine for one
>> year... since the last upgrade.
>>
>> Now ha-agent don't reboot the hosted-engine anymore, but I receive two
>> emails from brocker evere 2/5 minutes.
>> First a mail with "ovirt-hosted-engine state transition
>> StartState-ReinitializeFSM" and after "ovirt-hosted-engine state 
transition

>> ReinitializeFSM-EngineStarting"
>>
>>
>> Il 17/12/2015 10.51, Stefano Danzi ha scritto:
>>>
>>> Hello,
>>> I have one testing host (only one host) with self hosted engine 
and 2 VM

>>> (one linux and one windows).
>>>
>>> After upgrade ovirt from 3.6.0 to 3.6.1 the network connection works
>>> discontinuously.
>>> Every 10 minutes HA agent restart hosted engine VM because result 
down.

>>> But the machine is UP,
>>> only the network stop to work for some minutes.
>>> I activate global maintenace mode to prevent engine reboot. If I 
ssh to

>>> the hosted engine sometimes
>>> the connection work and sometimes no.  Using VNC connection to 
engine I

>>> see that sometime VM reach external network
>>> and sometimes no.
>>> If I do a tcpdump on phisical ethernet interface I don't see any 
packet

>>> when network on vm don't work.
>>>
>>> Same thing happens fo others two VM.
>>>
>>> Before the upgrade I never had network problems.
>>> ___
>>> Users mailing list
>>> Users@ovirt.org
>>> http://lists.ovirt.org/mailman/listinfo/users
>>>
>>
>> ___
>> Users mailing list
>> Users@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users



--
Didi


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


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


Re: [ovirt-users] R: Re: Network instability after upgrade 3.6.0 -> 3.6.1 [SOLVED]

2015-12-28 Thread Roy Golan
On Mon, Dec 28, 2015 at 4:06 PM, Yedidyah Bar David  wrote:

> On Mon, Dec 28, 2015 at 3:48 PM, Stefano Danzi  wrote:
> > Problem solved!!!
> >
> > The file hosted-engine.conf had a wrong fqdn.
> > I don't think that this happened during upgrade... mybe thay my colleague
> > did something of wrong...
>
> Thanks for the report :-)
>
> >
> >
> > Il 20/12/2015 14.52, Stefano Danzi ha scritto:
> >
> > Network problems was solved after changing Bond mode  (and it's strange.
> I
> > have to investigate around qemu-kvm, cento 7.2 and switch firmware ), but
> > broker problem still exist.  If I turn on the host, ha agent start engine
> > vm. When engine VM is up, broker strats to send email.  Now I haven't
> here
> > detailed logs.
> >
> >
> >  Messaggio originale 
> > Da: Yedidyah Bar David 
> > Data: 20/12/2015 11:20 (GMT+01:00)
> > A: Stefano Danzi , Dan Kenigsberg 
> > Cc: users 
> > Oggetto: Re: [ovirt-users] Network instability after upgrade 3.6.0 ->
> 3.6.1
> >
> > On Fri, Dec 18, 2015 at 5:31 PM, Stefano Danzi  wrote:
> >> I found this in vdsm.log and I think that could be the problem:
> >>
> >> Thread-3771::ERROR::2015-12-18
> >>
> >>
> 16:18:58,597::brokerlink::279::ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink::(_communicate)
> >> Connection closed: Connection closed
> >> Thread-3771::ERROR::2015-12-18
> 16:18:58,597::API::1847::vds::(_getHaInfo)
> >> failed to retrieve Hosted Engine HA info
> >> Traceback (most recent call last):
> >>   File "/usr/share/vdsm/API.py", line 1827, in _getHaInfo
> >> stats = instance.get_all_stats()
> >>   File
> >>
> >>
> "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/client/client.py",
> >> line 103, in get_all_stats
> >> self._configure_broker_conn(broker)
> >>   File
> >>
> >>
> "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/client/client.py",
> >> line 180, in _configure_broker_conn
> >> dom_type=dom_type)
> >>   File
> >>
> >>
> "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/lib/brokerlink.py",
> >> line 176, in set_storage_domain
> >> .format(sd_type, options, e))
> >> RequestError: Failed to set storage domain FilesystemBackend, options
> >> {'dom_type': 'nfs3', 'sd_uuid': '46f55a31-f35f-465c-b3e2-df45c05e06a7'}:
> >> Connection closed
> >
> > My guess is that this is a consequence of your networking problems.
> >
> > Adding Dan.
> >
> >>
> >>
> >> Il 17/12/2015 18.51, Stefano Danzi ha scritto:
> >>>
> >>> I partially solve the problem.
> >>>
> >>> My host machine has 2 network interfaces with a bond. The bond was
> >>> configured with  mode=4 (802.3ad) and switch was configured in the same
> >>> way.
> >>> If I remove one network cable the network become stable. With both
> cables
> >>> attached the network is instable.
> >>>
> >>> I removed the link aggregation configuration from switch and change the
> >>> bond in mode=2 (balance-xor). Now the network are stable.
> >>> The strange thing is that previous configuration worked fine for one
> >>> year... since the last upgrade.
> >>>
> >>> Now ha-agent don't reboot the hosted-engine anymore, but I receive two
> >>> emails from brocker evere 2/5 minutes.
> >>> First a mail with "ovirt-hosted-engine state transition
> >>> StartState-ReinitializeFSM" and after "ovirt-hosted-engine state
> >>> transition
> >>> ReinitializeFSM-EngineStarting"
> >>>
> >>>
> >>> Il 17/12/2015 10.51, Stefano Danzi ha scritto:
> 
>  Hello,
>  I have one testing host (only one host) with self hosted engine and 2
> VM
>  (one linux and one windows).
> 
>  After upgrade ovirt from 3.6.0 to 3.6.1 the network connection works
>  discontinuously.
>  Every 10 minutes HA agent restart hosted engine VM because result
> down.
>  But the machine is UP,
>  only the network stop to work for some minutes.
>  I activate global maintenace mode to prevent engine reboot. If I ssh
> to
>  the hosted engine sometimes
>  the connection work and sometimes no.  Using VNC connection to engine
> I
>  see that sometime VM reach external network
>  and sometimes no.
>  If I do a tcpdump on phisical ethernet interface I don't see any
> packet
>  when network on vm don't work.
> 
>  Same thing happens fo others two VM.
> 
>  Before the upgrade I never had network problems.
>  ___
>  Users mailing list
>  Users@ovirt.org
>  http://lists.ovirt.org/mailman/listinfo/users
> 
> >>>
> >>> ___
> >>> Users mailing list
> >>> Users@ovirt.org
> >>> http://lists.ovirt.org/mailman/listinfo/users
> >>
> >> ___
> >> Users mailing list
> >> Users@ovirt.org
> >> http://lists.ovirt.org/mailman/listinfo/users
> >
> >
> >
> > --
> > Didi
> >
> >
> > 

[ovirt-users] ovirt 3.6 centos7.2 all-in-one install: The VDSM host was found in a failed state.

2015-12-28 Thread Matthew Bohnsack
Hello,

I am attempting to build a fairly basic proof of concept ovirt 3.6 machine
with the engine, host and guests all on a single physical CentOS 7.2 box
with local storage (to start), but am running into issues where
engine-install produces the following error:

[ ERROR ] The VDSM host was found in a failed state. Please check engine
and bootstrap installation logs.


The engine webconsole seems to be working fine after this - I can login and
click around - but there's no host CPU/storage resources available, as
expected.  From the logs shown below, there seems to be an issue with the
vdsm installation process being unable to contact the engine host during
installation.  Any ideas what's going wrong and/or what I can do to debug
things further so I can move beyond this issue?

Thanks,

-Matthew


Steps I took to install and diagnose the problem:

1. Installed system with our configuration management system.

2. Deleted users using UID=36 (needed by vdsm user) and UID=108 (needed by
ovirt user).

3. Ensured that /etc/sudoers contained the line "#includedir
/etc/sudoers.d" so that /etc/sudoers.d/50_vdsm will take effect.

4. Made directories for isos and images:

# mkdir /state/partition1/images/; chmod 777 /state/partition1/images/
# mkdir /state/partition1/iso/; chmod 777 /state/partition1/iso/


5. Ensured selinux was disabled and no firewall rules were installed.

6. Installed RPMs:

# yum -y install http://resources.ovirt.org/pub/yum-repo/ovirt-release36.rpm

# yum -y install ovirt-engine ovirt-engine-setup-plugin-allinone
# rpm -qa | grep ovirt-release36
ovirt-release36-002-2.noarch


7. Installed engine with an all-in-one configuration (Configure VDSM on
this host? Yes):

# cat /root/ovirt-engine.ans
# action=setup
[environment:default]
OVESETUP_DIALOG/confirmSettings=bool:True
OVESETUP_CONFIG/applicationMode=str:virt
OVESETUP_CONFIG/remoteEngineSetupStyle=none:None
OVESETUP_CONFIG/sanWipeAfterDelete=bool:False
OVESETUP_CONFIG/storageIsLocal=bool:False
OVESETUP_CONFIG/firewallManager=none:None
OVESETUP_CONFIG/remoteEngineHostRootPassword=none:None
OVESETUP_CONFIG/firewallChangesReview=none:None
OVESETUP_CONFIG/updateFirewall=bool:False
OVESETUP_CONFIG/remoteEngineHostSshPort=none:None
OVESETUP_CONFIG/fqdn=<...host.fqdn...>
OVESETUP_CONFIG/storageType=none:None
OSETUP_RPMDISTRO/requireRollback=none:None
OSETUP_RPMDISTRO/enableUpgrade=none:None
OVESETUP_DB/secured=bool:False
OVESETUP_DB/host=str:localhost
OVESETUP_DB/user=str:engine
OVESETUP_DB/dumper=str:pg_custom
OVESETUP_DB/database=str:engine
OVESETUP_DB/fixDbViolations=none:None
OVESETUP_DB/port=int:5432
OVESETUP_DB/filter=none:None
OVESETUP_DB/restoreJobs=int:2
OVESETUP_DB/securedHostValidation=bool:False
OVESETUP_ENGINE_CORE/enable=bool:True
OVESETUP_CORE/engineStop=none:None
OVESETUP_SYSTEM/memCheckEnabled=bool:True
OVESETUP_SYSTEM/nfsConfigEnabled=bool:True
OVESETUP_PKI/organization=str:<...dn...>
OVESETUP_PKI/renew=none:None
OVESETUP_CONFIG/isoDomainName=str:ISO_DOMAIN
OVESETUP_CONFIG/engineHeapMax=str:7975M
OVESETUP_CONFIG/adminPassword=str:<...password...>
OVESETUP_CONFIG/isoDomainACL=str:*(rw)
OVESETUP_CONFIG/isoDomainMountPoint=str:/state/partition1/iso
OVESETUP_CONFIG/engineDbBackupDir=str:/var/lib/ovirt-engine/backups
OVESETUP_CONFIG/engineHeapMin=str:7975M
OVESETUP_AIO/configure=bool:True
OVESETUP_AIO/storageDomainName=str:local_storage
OVESETUP_AIO/storageDomainDir=str:/state/partition1/images/
OVESETUP_PROVISIONING/postgresProvisioningEnabled=bool:True
OVESETUP_APACHE/configureRootRedirection=bool:True
OVESETUP_APACHE/configureSsl=bool:True
OVESETUP_VMCONSOLE_PROXY_CONFIG/vmconsoleProxyConfig=bool:True
OVESETUP_ENGINE_CONFIG/fqdn=str:<...fqdn...>
OVESETUP_CONFIG/websocketProxyConfig=bool:True

# engine-setup --config-append=/root/ovirt-engine.ans

...
[ INFO  ] Starting engine service
[ INFO  ] Restarting httpd
[ INFO  ] Waiting for VDSM host to become operational. This may take
several minutes...
[ ERROR ] The VDSM host was found in a failed state. Please check engine
and bootstrap installation logs.
[WARNING] Local storage domain not added because the VDSM host was not up.
Please add it manually.
[ INFO  ] Restarting ovirt-vmconsole proxy service
[ INFO  ] Stage: Clean up
  Log file is located at
/var/log/ovirt-engine/setup/ovirt-engine-setup-20151228112813-iksxhe.log
[ INFO  ] Generating answer file
'/var/lib/ovirt-engine/setup/answers/20151228113003-setup.conf'
[ INFO  ] Stage: Pre-termination
[ INFO  ] Stage: Termination
[ INFO  ] Execution of setup completed successfully

8. Examined 
/var/log/ovirt-engine/setup/ovirt-engine-setup-20151228112813-iksxhe.log
and found this error message which seems to indicate that the vdsm
installation process was unable to contact the engine:

2015-12-28 11:29:29 DEBUG otopi.plugins.otopi.services.systemd
plugin.execute:941 execute-output: ('/bin/systemctl', 'start',
'httpd.service') stderr:


2015-12-28 11:29:29 DEBUG otopi.context context._executeMethod:142 Stage
closeup METHOD

[ovirt-users] Can I reduce the Java heap size of engine-backup???

2015-12-28 Thread John Florian
I'm trying to run the engine-backup script via a Bacula job using the
RunScript option so that the engine-backup dumps its output someplace
where Bacula will collect it once engine-backup finishes.  However the
job is failing and with enough digging I eventually learned the script
was writing the following in /tmp/hs_err_pid5789.log:

#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (mmap) failed to map 2555904 bytes for
committing reserved memory.
# Possible reasons:
#   The system is out of physical RAM or swap space
#   In 32 bit mode, the process size limit was hit
# Possible solutions:
#   Reduce memory load on the system
#   Increase physical memory or swap space
#   Check if swap backing store is full
#   Use 64 bit Java on a 64 bit OS
#   Decrease Java heap size (-Xmx/-Xms)
#   Decrease number of Java threads
#   Decrease Java thread stack sizes (-Xss)
#   Set larger code cache with -XX:ReservedCodeCacheSize=
# This output file may be truncated or incomplete.
#
#  Out of Memory Error (os_linux.cpp:2627), pid=5789, tid=140709998221056
#
# JRE version:  (8.0_65-b17) (build )
# Java VM: OpenJDK 64-Bit Server VM (25.65-b01 mixed mode linux-amd64
compressed oops)
# Failed to write core dump. Core dumps have been disabled. To enable
core dumping, try "ulimit -c unlimited" before starting Java again
#


So is there any good way to reduce the Java heap size?  I mean I know
what -Xmx does, but where might I try setting it, ideally so that it
affects the engine-backup only?  Any idea of good setting for a very
small environment with a dozen VMs?

-- 
John Florian

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


Re: [ovirt-users] oVirt 3.6: Dummy interfaces

2015-12-28 Thread Alan Murrell

Hi Frank,

Thanks for info!  Does your script automatically load the dummy module  
as well, or do you create a separate file in '/etc/modprobe.d' to load  
it (that's how I currently do my dummy NICs)


Thanks! :-)

Quoting "Frank Wall" :


Hi Alan,

On Thu, Dec 24, 2015 at 10:37:17AM -0800, Alan Murrell wrote:

Are dummy interfaces still supported in 3.6?


I'm running ovirt 3.6 AiO and dummy interfaces are working just fine.
Instead of modifying oVirt's python source files, I'd recommend you
rename the dummy interface(s) to match the required pattern.

I've setup a service for this by creating  
/etc/systemd/system/dummynics.service

with the following content:

[Unit]
Description=Rename dummy network interfaces for oVirt

[Service]
Type=oneshot
ExecStart=/usr/sbin/ip l set dev dummy0 name dummy_0
ExecStart=/usr/sbin/ip l set dev dummy1 name dummy_1
ExecStart=/usr/sbin/ip l set dev dummy2 name dummy_2
ExecStart=/usr/sbin/ip l set dev dummy3 name dummy_3
RemainAfterExit=yes

[Install]
WantedBy=multi-user.target


Then enable this service as follows:

systemctl daemon-reload
systemctl enable dummynics
systemctl status dummynics

Of course, you need to use the new dummy_* names when configuring the
network interfaces. I'd recommend to reboot the host after making these
changes.


Regards
- Frank



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


Re: [ovirt-users] Self-hosted engine: Host cannot activate

2015-12-28 Thread Kristof VAN DEN EYNDEN
I have similar issues with all the hosts I add to oVirt. Ovirtmgmt is 
unassigned after setup while every server has a static address. 

What I can do is assign ovirtmgmt to an interface, set the static IP again, 
save it and then press the activate button on the host tab. After that all is 
fine

-Oorspronkelijk bericht-
Van: users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] Namens Alan 
Murrell
Verzonden: dinsdag 29 december 2015 3:16
Aan: users@ovirt.org
Onderwerp: [ovirt-users] Self-hosted engine: Host cannot activate

I am attempting to install oVirt 3.6 on a CentOS7 host.  it is a single server, 
so I am trying to install a self-hosted engine.  I am able to install oVirt 3.5 
self-hosted engine, but am having some problems doing it with 3.6.

Everything appears to go fine; the engine-setup completes successfully.  On the 
host, I pressed"1" to indicate engine-setup was complete, and it can connect to 
the webadmin but the host never becomes operational.

I am able to log in to the webadmin, and indeed the host is in a 
non-operational state.  When I click on the host then click on the "Virtual 
networks" tab, all my interfaces are showing a red arrow.

When I click on "Setup Host Networks", my "ovirtmgmt" network is unassigned.  
Believing this to be why my host is not operational (since it is under 
"Required"), I assigned it to my management interface, but the interfaces still 
remain red.  In addition, the "ovirtmgmt" network does have a green arrow, but 
also the icon indicating "Out of sync".  If I click on "Sync All Networks", I 
get the following error:

"Error while executing action SyncAllHostNetworks: Network is currently being 
used"

which makes sense, since "ovirtmgmt" is assigned/in use.  I am unable to 
unassign ovirtmgmt.

Current status is this:

   - All network interfaces are showing the red "down" arrow
   - "ovirtmgmt" is assigned to my management NIC, but indicating that it is 
out of sync
   - I am unable to unassign the "ovirtmgmt" network (or at least, if I do, the 
"OK" button is greyed out)

I could destroy the engine VM and go through the setup again, with the idea of 
once it is installed and waiting for the host to become operational, I could do 
a "Sync All Networks" and see if the networks turn green and go from there.

I wanted to see what sort of insight I could get from here first.  I am not 
sure what logs would be useful to you, so let me know what you want to see and 
I and make them available (I will likely zip them up and post a link)

Something else I could try if this becomes a "puzzler" is to do a 3.5.x 
self-hosted engine then perform an in-place upgrade to 3.6 and see if that 
works?  I would rather try to help make a direct 3.6 install work, though...

Thanks, in advance! :-)

Regards,

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


Re: [ovirt-users] Can I reduce the Java heap size of engine-backup???

2015-12-28 Thread Yedidyah Bar David
On Tue, Dec 29, 2015 at 12:51 AM, John Florian  wrote:
> I'm trying to run the engine-backup script via a Bacula job using the
> RunScript option so that the engine-backup dumps its output someplace
> where Bacula will collect it once engine-backup finishes.  However the
> job is failing and with enough digging I eventually learned the script
> was writing the following in /tmp/hs_err_pid5789.log:
>
> #
> # There is insufficient memory for the Java Runtime Environment to continue.
> # Native memory allocation (mmap) failed to map 2555904 bytes for
> committing reserved memory.
> # Possible reasons:
> #   The system is out of physical RAM or swap space
> #   In 32 bit mode, the process size limit was hit
> # Possible solutions:
> #   Reduce memory load on the system
> #   Increase physical memory or swap space
> #   Check if swap backing store is full
> #   Use 64 bit Java on a 64 bit OS
> #   Decrease Java heap size (-Xmx/-Xms)
> #   Decrease number of Java threads
> #   Decrease Java thread stack sizes (-Xss)
> #   Set larger code cache with -XX:ReservedCodeCacheSize=
> # This output file may be truncated or incomplete.
> #
> #  Out of Memory Error (os_linux.cpp:2627), pid=5789, tid=140709998221056
> #
> # JRE version:  (8.0_65-b17) (build )
> # Java VM: OpenJDK 64-Bit Server VM (25.65-b01 mixed mode linux-amd64
> compressed oops)
> # Failed to write core dump. Core dumps have been disabled. To enable
> core dumping, try "ulimit -c unlimited" before starting Java again
> #
>
>
> So is there any good way to reduce the Java heap size?  I mean I know
> what -Xmx does, but where might I try setting it, ideally so that it
> affects the engine-backup only?  Any idea of good setting for a very
> small environment with a dozen VMs?

engine-backup does not directly call nor need java.

AFAICS it only calls it indirectly as part of some other initialization
by running java-home [1], which is a script that decides what JAVA_HOME
to use for the engine. This script only runs 'java -version', which imo
should not need that much memory. Perhaps there is something else I do
not fully understand, such as bacula severely limiting available resources
for the process it runs, or something like that.

If you only want to debug it, and not as a recommended final solution,
you can create a script [2] which only outputs the needed java home.
Simply run [1] and make [2] echo the same thing. If [2] exists, [1] will
only run it and nothing else, as you can see inside it.

I do not think this will work - quite likely engine-backup will fail
shortly later, if indeed it gets access to so little memory. Please
report back. Thanks and good luck,

[1] /usr/share/ovirt-engine/bin/java-home
[2] /usr/share/ovirt-engine/bin/java-home.local
-- 
Didi
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Migration path: All-In-One to self-hosted engine?

2015-12-28 Thread Yedidyah Bar David
On Tue, Dec 29, 2015 at 3:54 AM, Alan Murrell  wrote:
> Hi All,
>
> I am just wondering if there is any sort of migration path for those running
> All-In-One setups to a self-hosted engine setup?

I am not aware of anyone trying that.

You can start with [1]. Note that it does not deal with db creation - this is
discussed in [2], but also note that if you use 3.6, you can use the new
'--provision-*' options during restore.

Please carefully read both of them and understand what's to be expected.

Is this a semi-critical system? Or can you easily suffer a few days of downtime?

Do you intend/hope to use the existing storage domain? Note that hosted-engine
does not (currently?) support local storage - it requires some shared storage,
nfs/iscsi/fc. And also that people ran into locking issues with a loopback nfs
mount. So it seems like the best bet is currently loopback iscsi, which means
you'll have to copy your existing data over there somehow.

A rough plan can thus be something like, assuming you have plenty of disk space:
1. shutdown all VMs
2. create a loopback iscsi export domain and export your VMs there
3. Continue with [1] (and [2])
4. During hosted-engine deploy use a different iscsi data domain for the engine
5. After finishing, attach to that export domain and import your VMs from it

I might be missing some parts, didn't fully think this over.

It will be greatly simplified if you have a separate storage server.

[1] http://www.ovirt.org/Migrate_to_Hosted_Engine
[2] http://www.ovirt.org/Ovirt-engine-backup
-- 
Didi
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] virt-viewer error

2015-12-28 Thread 靳占冰

virt-viewer-x64-3.0.msi version can not connect a virtual machine.
Error: Can not find the specified file



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


Re: [ovirt-users] Self-hosted engine: Host cannot activate - network issues

2015-12-28 Thread Yedidyah Bar David
On Tue, Dec 29, 2015 at 4:15 AM, Alan Murrell  wrote:
> I am attempting to install oVirt 3.6 on a CentOS7 host.  it is a single
> server, so I am trying to install a self-hosted engine.  I am able to
> install oVirt 3.5 self-hosted engine, but am having some problems doing it
> with 3.6.
>
> Everything appears to go fine; the engine-setup completes successfully.  On
> the host, I pressed"1" to indicate engine-setup was complete, and it can
> connect to the webadmin but the host never becomes operational.
>
> I am able to log in to the webadmin, and indeed the host is in a
> non-operational state.  When I click on the host then click on the "Virtual
> networks" tab, all my interfaces are showing a red arrow.
>
> When I click on "Setup Host Networks", my "ovirtmgmt" network is unassigned.
> Believing this to be why my host is not operational (since it is under
> "Required"), I assigned it to my management interface, but the interfaces
> still remain red.  In addition, the "ovirtmgmt" network does have a green
> arrow, but also the icon indicating "Out of sync".  If I click on "Sync All
> Networks", I get the following error:
>
> "Error while executing action SyncAllHostNetworks: Network is currently
> being used"
>
> which makes sense, since "ovirtmgmt" is assigned/in use.  I am unable to
> unassign ovirtmgmt.
>
> Current status is this:
>
>   - All network interfaces are showing the red "down" arrow
>   - "ovirtmgmt" is assigned to my management NIC, but indicating that it is
> out of sync
>   - I am unable to unassign the "ovirtmgmt" network (or at least, if I do,
> the "OK" button is greyed out)
>
> I could destroy the engine VM and go through the setup again, with the idea
> of once it is installed and waiting for the host to become operational, I
> could do a "Sync All Networks" and see if the networks turn green and go
> from there.
>
> I wanted to see what sort of insight I could get from here first.  I am not
> sure what logs would be useful to you, so let me know what you want to see
> and I and make them available (I will likely zip them up and post a link)

from host:
/var/log/ovirt-hosted-engine-*/* (-setup and -ha)
/var/log/vdsm/*

from engine:
/var/log/ovirt-engine/*
/var/log/ovirt-engine/host-deploy/*

If last one is empty, it means the engine did not manage to get
host-deploy logs. Please check and try to copy what you find from /tmp
of the host while waiting for host-deploy ("Waiting for the host to
become operational").

>
> Something else I could try if this becomes a "puzzler" is to do a 3.5.x
> self-hosted engine then perform an in-place upgrade to 3.6 and see if that
> works?  I would rather try to help make a direct 3.6 install work, though...

Did you principally do exactly the same thing in 3.5 and 3.6?
In both cases just had a simple network interface (no vlan/bonding/whatever)
and input it when asked?

What exact versions (OS and ovirt)?

I also changed the subject.

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