Re: [ovirt-users] uncaught exception with engine vm in 3.6.1 selecting hosted_storage

2015-12-22 Thread Gianluca Cecchi
In the mean time as I can go ahead ad back
with ovirt-engine-extension-aaa-jdbc package downgrade and upgrade, see
these screenshots taken with firefox console and also firebug extension
(after installing debuginfo package and restarting ovirt-engine service).
But I don't know correct way to get the stack trace sot guide me
because I don't understand what are the obfuscated symbols expected to
be

https://drive.google.com/file/d/0BwoPbcrMv8mvTkNGWTNyT0RjYVU/view?usp=sharing

https://drive.google.com/file/d/0BwoPbcrMv8mvQXpUekdXYnZtOUk/view?usp=sharing

https://drive.google.com/file/d/0BwoPbcrMv8mvVE1GOFhla1VJSlk/view?usp=sharing

https://drive.google.com/file/d/0BwoPbcrMv8mvclA3dmdMaG5QMjg/view?usp=sharing

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


[ovirt-users] FOSDEM16 Virt & IaaS devroom schedule published

2015-12-22 Thread Mikey Ariel
I am happy to announce that the schedule for the Virtualization & 
Infrastructure-as-a-Service devroom at FOSDEM 2016 is finalized and 
published.


Link to the detailed announcement and call for volunteers:

http://community.redhat.com/blog/2015/12/fosdem16-virt-iaas-devroom-schedule-published/

Cheers,
Mikey

--
Mikey Ariel
Community Lead, oVirt
www.ovirt.org

"To be is to do" (Socrates)
"To do is to be" (Jean-Paul Sartre)
"Do be do be do" (Frank Sinatra)

Mobile: +420-702-131-141
IRC: mariel / thatdocslady
Twitter: @ThatDocsLady
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Hosted Engine crash - state = EngineUp-EngineUpBadHealth

2015-12-22 Thread Simone Tiraboschi
On Tue, Dec 22, 2015 at 4:03 PM, Will Dennis  wrote:

> I believe IPtables may be the culprit...
>
>
>
> Host 1:
>
> ---
>
> [root@ovirt-node-01 ~]# iptables -L
>
> Chain INPUT (policy ACCEPT)
>
> target prot opt source   destination
>
> ACCEPT all  --  anywhere anywhere state
> RELATED,ESTABLISHED
>
> ACCEPT icmp --  anywhere anywhere
>
> ACCEPT all  --  anywhere anywhere
>
> ACCEPT tcp  --  anywhere anywhere tcp dpt:54321
>
> ACCEPT tcp  --  anywhere anywhere tcp
> dpt:sunrpc
>
> ACCEPT udp  --  anywhere anywhere udp
> dpt:sunrpc
>
> ACCEPT tcp  --  anywhere anywhere tcp dpt:ssh
>
> ACCEPT udp  --  anywhere anywhere udp dpt:snmp
>
> ACCEPT tcp  --  anywhere anywhere tcp dpt:16514
>
> ACCEPT tcp  --  anywhere anywhere multiport
> dports rockwell-csp2
>
> ACCEPT tcp  --  anywhere anywhere multiport
> dports rfb:6923
>
> ACCEPT tcp  --  anywhere anywhere multiport
> dports 49152:49216
>
> REJECT all  --  anywhere anywhere reject-with
> icmp-host-prohibited
>
>
>
> Chain FORWARD (policy ACCEPT)
>
> target prot opt source   destination
>
> REJECT all  --  anywhere anywhere PHYSDEV
> match ! --physdev-is-bridged reject-with icmp-host-prohibited
>
>
>
> Chain OUTPUT (policy ACCEPT)
>
> target prot opt source   destination
>
>
>
> Host 2:
>
> ---
>
> [root@ovirt-node-02 ~]# iptables -L
>
> Chain INPUT (policy ACCEPT)
>
> target prot opt source   destination
>
> ACCEPT all  --  anywhere anywhere state
> RELATED,ESTABLISHED
>
> ACCEPT icmp --  anywhere anywhere
>
> ACCEPT all  --  anywhere anywhere
>
> ACCEPT tcp  --  anywhere anywhere tcp dpt:54321
>
> ACCEPT tcp  --  anywhere anywhere tcp
> dpt:sunrpc
>
> ACCEPT udp  --  anywhere anywhere udp
> dpt:sunrpc
>
> ACCEPT tcp  --  anywhere anywhere tcp dpt:ssh
>
> ACCEPT udp  --  anywhere anywhere udp dpt:snmp
>
> ACCEPT tcp  --  anywhere anywhere tcp dpt:16514
>
> ACCEPT tcp  --  anywhere anywhere multiport
> dports rockwell-csp2
>
> ACCEPT tcp  --  anywhere anywhere multiport
> dports rfb:6923
>
> ACCEPT tcp  --  anywhere anywhere multiport
> dports 49152:49216
>
> REJECT all  --  anywhere anywhere reject-with
> icmp-host-prohibited
>
>
>
> Chain FORWARD (policy ACCEPT)
>
> target prot opt source   destination
>
> REJECT all  --  anywhere anywhere PHYSDEV
> match ! --physdev-is-bridged reject-with icmp-host-prohibited
>
>
>
> Chain OUTPUT (policy ACCEPT)
>
> target prot opt source   destination
>
>
>
> Host 3:
>
> ---
>
> [root@ovirt-node-03 ~]# iptables -L
>
> Chain INPUT (policy ACCEPT)
>
> target prot opt source   destination
>
>
>
> Chain FORWARD (policy ACCEPT)
>
> target prot opt source   destination
>
>
>
> Chain OUTPUT (policy ACCEPT)
>
> target prot opt source   destination
>
>
>
>
>
> An example of my Gluster engine volume status (off host #2):
>
>
>
> [root@ovirt-node-02 ~]# gluster volume status
>
> Status of volume: engine
>
> Gluster process TCP Port  RDMA Port  Online
> Pid
>
>
> --
>
> Brick ovirt-node-02:/gluster_brick2/engine_
>
> brick   49217 0  Y
> 2973
>
> Brick ovirt-node-03:/gluster_brick3/engine_
>
> brick   N/A   N/AN
> N/A
>
> Brick ovirt-node-02:/gluster_brick4/engine_
>
> brick   49218 0  Y
> 2988
>
> Brick ovirt-node-03:/gluster_brick5/engine_
>
> brick   N/A   N/AN
> N/A
>
> NFS Server on localhost 2049  0  Y
> 3007
>
> Self-heal Daemon on localhost   N/A   N/AY
> 3012
>
> NFS Server on ovirt-node-03 2049  0  Y
> 1671
>
> Self-heal Daemon on ovirt-node-03   N/A   N/AY
> 1707
>
>
>
> I had changed the base port # per instructions found at
> http://www.ovirt.org/Features/Self_Hosted_Engine_Hyper_Converged_Gluster_Support
> :
>
> “By default gluster uses a port that vdsm also wants, so we need to change
> base-port setting avoiding the clash between 

[ovirt-users] Calculating Requirements

2015-12-22 Thread Taste-Of-IT

Hello,

i have a testsystem with 16GB RAM and ovirt as sef-hosted-engine on 
centos7. i have no vm started and the host consume 2,5GB RAM. In 
documents it is written that the engine needs aprox 3GB RAM and the 
system self 1GB RAM. At all nearly 4GB RAM. So i can use aprox 12GB RAM 
for virtual machines if i use the ram 1:1. is that a good point of 
calculation, or are there any other points to calculate?


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


[ovirt-users] Ovirt 3.5 host gluster storage connection failure

2015-12-22 Thread Steve Dainard
I have two hosts, only one of them was running VM's at the time of
this crash so I can't tell if this is a node specific problem.

rpm -qa | egrep -i 'gluster|vdsm|libvirt' |sort
glusterfs-3.6.7-1.el7.x86_64
glusterfs-api-3.6.7-1.el7.x86_64
glusterfs-cli-3.6.7-1.el7.x86_64
glusterfs-fuse-3.6.7-1.el7.x86_64
glusterfs-libs-3.6.7-1.el7.x86_64
glusterfs-rdma-3.6.7-1.el7.x86_64
libvirt-client-1.2.8-16.el7_1.5.x86_64
libvirt-daemon-1.2.8-16.el7_1.5.x86_64
libvirt-daemon-config-nwfilter-1.2.8-16.el7_1.5.x86_64
libvirt-daemon-driver-interface-1.2.8-16.el7_1.5.x86_64
libvirt-daemon-driver-network-1.2.8-16.el7_1.5.x86_64
libvirt-daemon-driver-nodedev-1.2.8-16.el7_1.5.x86_64
libvirt-daemon-driver-nwfilter-1.2.8-16.el7_1.5.x86_64
libvirt-daemon-driver-qemu-1.2.8-16.el7_1.5.x86_64
libvirt-daemon-driver-secret-1.2.8-16.el7_1.5.x86_64
libvirt-daemon-driver-storage-1.2.8-16.el7_1.5.x86_64
libvirt-daemon-kvm-1.2.8-16.el7_1.5.x86_64
libvirt-lock-sanlock-1.2.8-16.el7_1.5.x86_64
libvirt-python-1.2.8-7.el7_1.1.x86_64
vdsm-4.16.30-0.el7.centos.x86_64
vdsm-cli-4.16.30-0.el7.centos.noarch
vdsm-jsonrpc-4.16.30-0.el7.centos.noarch
vdsm-python-4.16.30-0.el7.centos.noarch
vdsm-python-zombiereaper-4.16.30-0.el7.centos.noarch
vdsm-xmlrpc-4.16.30-0.el7.centos.noarch
vdsm-yajsonrpc-4.16.30-0.el7.centos.noarch

VM's were in a paused state, with errors in UI:

2015-Dec-22, 15:06
VM pcic-apps has paused due to unknown storage error.
2015-Dec-22, 15:06
Host compute2 is not responding. It will stay in Connecting state for
a grace period of 82 seconds and after that an attempt to fence the
host will be issued.
2015-Dec-22, 15:03
Invalid status on Data Center EDC2. Setting Data Center status to Non
Responsive (On host compute2, Error: General Exception).
2015-Dec-22, 15:03
VM pcic-storage has paused due to unknown storage error.
2015-Dec-22, 15:03
VM docker1 has paused due to unknown storage error.

VDSM logs look normal until:
Dummy-99::DEBUG::2015-12-22
23:03:58,949::storage_mailbox::731::Storage.Misc.excCmd::(_checkForMail)
dd 
if=/rhev/data-center/f72ec125-69a1-4c1b-a5e1-313fcb70b6ff/mastersd/dom_md/inbox
iflag=direct,fullblock count=1 bs=1024000 (cwd None)
Dummy-99::DEBUG::2015-12-22
23:03:58,963::storage_mailbox::731::Storage.Misc.excCmd::(_checkForMail)
SUCCESS:  = '1+0 records in\n1+0 records out\n1024000 bytes (1.0
MB) copied, 0.00350501 s, 292 MB/s\n';  = 0
VM Channels Listener::INFO::2015-12-22
23:03:59,527::guestagent::180::vm.Vm::(_handleAPIVersion)
vmId=`7067679e-43aa-43c0-b263-b0a711ade2e2`::Guest API version changed
from 2 to 1
Thread-245428::DEBUG::2015-12-22
23:03:59,718::libvirtconnection::151::root::(wrapper) Unknown
libvirterror: ecode: 80 edom: 20 level: 2 message: metadata not found:
Requested metadata element is not present
libvirtEventLoop::INFO::2015-12-22
23:04:00,447::vm::4982::vm.Vm::(_onIOError)
vmId=`376e98b7-7798-46e8-be03-5dddf6cfb54f`::abnormal vm stop device
virtio-disk0 error eother
libvirtEventLoop::DEBUG::2015-12-22
23:04:00,447::vm::5666::vm.Vm::(_onLibvirtLifecycleEvent)
vmId=`376e98b7-7798-46e8-be03-5dddf6cfb54f`::event Suspended detail 2
opaque None
libvirtEventLoop::INFO::2015-12-22
23:04:00,447::vm::4982::vm.Vm::(_onIOError)
vmId=`376e98b7-7798-46e8-be03-5dddf6cfb54f`::abnormal vm stop device
virtio-disk0 error eother
...
libvirtEventLoop::INFO::2015-12-22
23:04:00,843::vm::4982::vm.Vm::(_onIOError)
vmId=`97fbbf97-944b-4b77-b0bf-6a831f9090d8`::abnormal vm stop device
virtio-disk1 error eother
libvirtEventLoop::DEBUG::2015-12-22
23:04:00,844::vm::5666::vm.Vm::(_onLibvirtLifecycleEvent)
vmId=`97fbbf97-944b-4b77-b0bf-6a831f9090d8`::event Suspended detail 2
opaque None
Dummy-99::DEBUG::2015-12-22
23:04:00,973::storage_mailbox::731::Storage.Misc.excCmd::(_checkForMail)
dd 
if=/rhev/data-center/f72ec125-69a1-4c1b-a5e1-313fcb70b6ff/mastersd/dom_md/inbox
iflag=direct,fullblock count=1 bs=1024000 (cwd None)
Dummy-99::DEBUG::2015-12-22
23:04:00,983::storage_mailbox::731::Storage.Misc.excCmd::(_checkForMail)
FAILED:  = "dd: failed to open
'/rhev/data-center/f72ec125-69a1-4c1b-a5e1-313fcb70b6ff/mastersd/dom_md/inbox':
Transport endpoint is not connected\n";  = 1
Dummy-99::ERROR::2015-12-22
23:04:00,983::storage_mailbox::787::Storage.MailBox.SpmMailMonitor::(run)
Error checking for mail
Traceback (most recent call last):
  File "/usr/share/vdsm/storage/storage_mailbox.py", line 785, in run
self._checkForMail()
  File "/usr/share/vdsm/storage/storage_mailbox.py", line 734, in _checkForMail
"Could not read mailbox: %s" % self._inbox)
IOError: [Errno 5] _handleRequests._checkForMail - Could not read
mailbox: 
/rhev/data-center/f72ec125-69a1-4c1b-a5e1-313fcb70b6ff/mastersd/dom_md/inbox
Dummy-99::DEBUG::2015-12-22
23:04:02,987::storage_mailbox::731::Storage.Misc.excCmd::(_checkForMail)
dd 
if=/rhev/data-center/f72ec125-69a1-4c1b-a5e1-313fcb70b6ff/mastersd/dom_md/inbox
iflag=direct,fullblock count=1 bs=1024000 (cwd None)
Dummy-99::DEBUG::2015-12-22

Re: [ovirt-users] How to run "engine-backup"?

2015-12-22 Thread Will Dennis
n/m, found this URL cleverly concealed in the output of “—help” ;)

http://www.ovirt.org/Ovirt-engine-backup

Still would be good to know how I could get a console...

From: Will Dennis
Sent: Tuesday, December 22, 2015 1:37 PM
To: 'Simone Tiraboschi'
Cc: users
Subject: RE: [ovirt-users] How to run "engine-backup"?

Are there any docs on using this (other than the ‘—help” option text)?

Also, I do not have a GUI environment on my oVirt hosts; how to I display the 
console of the hosted engine VM if I need it?

From: Simone Tiraboschi [mailto:stira...@redhat.com]
Sent: Tuesday, December 22, 2015 11:44 AM
To: Will Dennis
Cc: users
Subject: Re: [ovirt-users] How to run "engine-backup"?

yes, engine-backup is on the engine VM :-)

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


Re: [ovirt-users] uncaught exception with engine vm in 3.6.1 selecting hosted_storage

2015-12-22 Thread Alexander Wels
On Tuesday, December 22, 2015 03:17:40 PM Gianluca Cecchi wrote:
> On Tue, Dec 22, 2015 at 2:54 PM, Alexander Wels  wrote:
> > If you can provide us with the obfuscated stack trace, we can point to you
> > what to look for in the mapping file.
> 
> Hello,
> I'm going to try.
> In the mean time, do you think it could be related somehow with what below?
> 

I don't think so, I think something went wrong on the backend which caused 
some empty object or null object to be returned, which caused the UI to blow 
up. Using the stack trace we can figure out what part of the UI blew up and 
maybe from that figure out what went wrong on the backend.

> After engine upgrade to 3.6.1 from 3.6.0 I updated via yum the package
> ovirt-engine-extension-aaa-jdbc, without running its own update phase (in
> practice another engine-setup as I only have internal profile)
> And this caused problems with the internal profile.
> See also
> https://bugzilla.redhat.com/show_bug.cgi?id=1293338
> 
> So I reverted the package to its previous version.
> I'm now testing upgrade internal profile passing from
> ---> Package ovirt-engine-extension-aaa-jdbc.noarch 0:1.0.1-1.el7 will be
> updated
> 
> to
> ---> Package ovirt-engine-extension-aaa-jdbc.noarch 0:1.0.4-1.el7 will be
> an update
> 
> and following
> /usr/share/doc/ovirt-engine-extension-aaa-jdbc-1.0.4/README.admin
> 
> So I put env in global maintenance, stopped engine and then run engine-setup
> 
> But it seems it remains stuck at
>  ...
>   Please confirm installation settings (OK, Cancel) [OK]:
> [ INFO  ] Cleaning async tasks and compensations
>   The following system tasks have been found running in the system:
>   The following commands have been found running in the system:
>   The following compensations have been found running in the system:
> 
> org.ovirt.engine.core.bll.storage.AddExistingFileStorageDomainCommand
> org.ovirt.engine.core.common.businessentities.StorageDomainStatic
> 
> org.ovirt.engine.core.bll.storage.AddExistingFileStorageDomainCommand
> org.ovirt.engine.core.common.businessentities.StorageDomainDynamic
> 
> org.ovirt.engine.core.bll.storage.AddExistingFileStorageDomainCommand
> org.ovirt.engine.core.common.businessentities.StorageDomainDynamic
>   Would you like to try to wait for that?
>   (Answering "no" will stop the upgrade (Yes, No) Yes
>   Waiting for the completion of 3 running tasks during the next 20
> seconds.
>   Press Ctrl+C to interrupt.
>   Waiting for the completion of 3 running tasks during the next 20
> seconds.
>   Press Ctrl+C to interrupt.
>   Waiting for the completion of 3 running tasks during the next 20
> seconds.
>   Press Ctrl+C to interrupt.
>   Waiting for the completion of 3 running tasks during the next 20
> seconds.
>   Press Ctrl+C to interrupt.
> 
> With "Ctrl+C" I interrupt engine-setup:
> ^C[ ERROR ] Failed to execute stage 'Setup validation': SIG2
> [ INFO  ] Stage: Clean up
>   Log file is located at
> /var/log/ovirt-engine/setup/ovirt-engine-setup-20151222145043-phm0eh.log
> [ INFO  ] Generating answer file
> '/var/lib/ovirt-engine/setup/answers/20151222145643-setup.conf'
> [ INFO  ] Stage: Pre-termination
> [ INFO  ] Stage: Termination
> [ ERROR ] Execution of setup failed
> 
> If I see the log and compare with the output and execute the query
> indicated inside the log I can effectively see inside the database:
> engine=# select command_type, entity_type
> engine-# from business_entity_snapshot
> engine-# ;
>  command_type  |
> 
> entity_type
> ---+
>  
>  org.ovirt.engine.core.bll.storage.AddExistingFileStorageDomainCommand |
> org.ovirt.engine.core.commo
> n.businessentities.StorageDomainStatic
>  org.ovirt.engine.core.bll.storage.AddExistingFileStorageDomainCommand |
> org.ovirt.engine.core.commo
> n.businessentities.StorageDomainDynamic
>  org.ovirt.engine.core.bll.storage.AddExistingFileStorageDomainCommand |
> org.ovirt.engine.core.commo
> n.businessentities.StorageDomainDynamic
> (3 rows)
> 
> Can this in some way influence the exception I'm getting? O that perhaps it
> is better to first solve this problem?
> 
> Let me know. I can downgrade again the ovirt-engine-extension-aaa-jdbc
> package and try your suggestions instead and let see after the problem with
> the extension.
> 
> Gianluca

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


Re: [ovirt-users] uncaught exception with engine vm in 3.6.1 selecting hosted_storage

2015-12-22 Thread Simone Tiraboschi
On Tue, Dec 22, 2015 at 8:23 PM, Alexander Wels  wrote:

> On Tuesday, December 22, 2015 03:17:40 PM Gianluca Cecchi wrote:
> > On Tue, Dec 22, 2015 at 2:54 PM, Alexander Wels 
> wrote:
> > > If you can provide us with the obfuscated stack trace, we can point to
> you
> > > what to look for in the mapping file.
> >
> > Hello,
> > I'm going to try.
> > In the mean time, do you think it could be related somehow with what
> below?
> >
>
> I don't think so, I think something went wrong on the backend which caused
> some empty object or null object to be returned, which caused the UI to
> blow
> up. Using the stack trace we can figure out what part of the UI blew up and
> maybe from that figure out what went wrong on the backend.
>


It happens also here:

Tue Dec 22 23:25:46 GMT+100 2015
SEVERE: Uncaught exception: com.google.gwt.core.client.JavaScriptException:
(TypeError)
 __gwt$exception: : Cannot read property 'k' of null
at Unknown.twq(
https://192.168.1.207/ovirt-engine/webadmin/407923C7C0980987EE42F541B756E846.cache.html@688
)
at Unknown.lNn(
https://192.168.1.207/ovirt-engine/webadmin/407923C7C0980987EE42F541B756E846.cache.html@49
)
at Unknown.oNn(
https://192.168.1.207/ovirt-engine/webadmin/407923C7C0980987EE42F541B756E846.cache.html@438
)
at Unknown.fRn(
https://192.168.1.207/ovirt-engine/webadmin/407923C7C0980987EE42F541B756E846.cache.html@40
)
at Unknown.iRn(
https://192.168.1.207/ovirt-engine/webadmin/407923C7C0980987EE42F541B756E846.cache.html@25647
)
at Unknown.NPn(
https://192.168.1.207/ovirt-engine/webadmin/407923C7C0980987EE42F541B756E846.cache.html@25
)
at Unknown.QPn(
https://192.168.1.207/ovirt-engine/webadmin/407923C7C0980987EE42F541B756E846.cache.html@23872
)
at Unknown.cIe(
https://192.168.1.207/ovirt-engine/webadmin/407923C7C0980987EE42F541B756E846.cache.html@18964
)
at Unknown.nwk(
https://192.168.1.207/ovirt-engine/webadmin/407923C7C0980987EE42F541B756E846.cache.html@8016
)
at Unknown.L3(
https://192.168.1.207/ovirt-engine/webadmin/407923C7C0980987EE42F541B756E846.cache.html@137
)
at Unknown.c4(
https://192.168.1.207/ovirt-engine/webadmin/407923C7C0980987EE42F541B756E846.cache.html@6679
)
at Unknown.(
https://192.168.1.207/ovirt-engine/webadmin/407923C7C0980987EE42F541B756E846.cache.html@65
)
at Unknown._t(
https://192.168.1.207/ovirt-engine/webadmin/407923C7C0980987EE42F541B756E846.cache.html@29
)
at Unknown.du(
https://192.168.1.207/ovirt-engine/webadmin/407923C7C0980987EE42F541B756E846.cache.html@57
)
at Unknown.(
https://192.168.1.207/ovirt-engine/webadmin/407923C7C0980987EE42F541B756E846.cache.html@54
)



>
> > After engine upgrade to 3.6.1 from 3.6.0 I updated via yum the package
> > ovirt-engine-extension-aaa-jdbc, without running its own update phase (in
> > practice another engine-setup as I only have internal profile)
> > And this caused problems with the internal profile.
> > See also
> > https://bugzilla.redhat.com/show_bug.cgi?id=1293338
> >
> > So I reverted the package to its previous version.
> > I'm now testing upgrade internal profile passing from
> > ---> Package ovirt-engine-extension-aaa-jdbc.noarch 0:1.0.1-1.el7 will be
> > updated
> >
> > to
> > ---> Package ovirt-engine-extension-aaa-jdbc.noarch 0:1.0.4-1.el7 will be
> > an update
> >
> > and following
> > /usr/share/doc/ovirt-engine-extension-aaa-jdbc-1.0.4/README.admin
> >
> > So I put env in global maintenance, stopped engine and then run
> engine-setup
> >
> > But it seems it remains stuck at
> >  ...
> >   Please confirm installation settings (OK, Cancel) [OK]:
> > [ INFO  ] Cleaning async tasks and compensations
> >   The following system tasks have been found running in the
> system:
> >   The following commands have been found running in the system:
> >   The following compensations have been found running in the
> system:
> >
> > org.ovirt.engine.core.bll.storage.AddExistingFileStorageDomainCommand
> > org.ovirt.engine.core.common.businessentities.StorageDomainStatic
> >
> > org.ovirt.engine.core.bll.storage.AddExistingFileStorageDomainCommand
> > org.ovirt.engine.core.common.businessentities.StorageDomainDynamic
> >
> > org.ovirt.engine.core.bll.storage.AddExistingFileStorageDomainCommand
> > org.ovirt.engine.core.common.businessentities.StorageDomainDynamic
> >   Would you like to try to wait for that?
> >   (Answering "no" will stop the upgrade (Yes, No) Yes
> >   Waiting for the completion of 3 running tasks during the next
> 20
> > seconds.
> >   Press Ctrl+C to interrupt.
> >   Waiting for the completion of 3 running tasks during the next
> 20
> > seconds.
> >   Press Ctrl+C to interrupt.
> >   Waiting for the completion of 3 running tasks during the next
> 20
> > seconds.
> >   Press Ctrl+C to interrupt.
> >   Waiting for the completion of 3 running tasks during the next
> 20
> > seconds.
> >   Press Ctrl+C to interrupt.
> >
> > With 

Re: [ovirt-users] Refresh Host Devices

2015-12-22 Thread ovirt

Hi list,

any idea how to refresh the list?
I guest a reboot of the host will solve that but I can't reboot the host 
for every change of the USB devices. ;)


Best regards and merry Christmas
Christoph

Am 21.12.2015 um 12:09 schrieb ov...@timmi.org:

Hi list,

how can I refresh the host devices (usb) in the frontend?
"Refresh Capabilities" does not work for me.

I want to attach a usb device to a VM but I can't see the device in 
the frontend.


# lsub is showing the device.

Best regards
Christoph
___
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] virtual Disk

2015-12-22 Thread Taste-Of-IT

Hello Ala,

yes i refere to vm disk size. I tried both and the result is the same 
like you described. So only extend size field is working. Yes i think 
the field should grayed out or disabled.


Thx for your replay - question is answered - happy holiday

Maik

Am 2015-12-22 14:33, schrieb Ala Hino:

Typo:
I am referring to the UI ...

- Original Message -

From: "Ala Hino" 
To: "Taste-Of-IT" 
Cc: users@ovirt.org
Sent: Tuesday, December 22, 2015 3:28:38 PM
Subject: Re: [ovirt-users] virtual Disk

Hello,

Are referring to vm disk size?
If so and I am referring here to the I:
I just tried both options and found that even though it is possible to 
change
the size field, the size isn't changed. Probably this field should be 
graded

out and only display the current size.
However, the "Extend size by(GB)" field does extend the disk size.

- Original Message -
> From: "Taste-Of-IT" 
> To: users@ovirt.org
> Sent: Monday, December 21, 2015 11:06:49 PM
> Subject: [ovirt-users] virtual Disk
>
> Hello,
> i testing oVirt 3.6 as Self-Hosted-Engine and create a virtual machine.
> Now i want to change the size of the disk and found the possibilities to
> change the size of the disk and a field to grow the disk. In ovirt
> manual it is descripted to change the value of the grow field. My
> question is what is the difference and what are the results of that. E.g
> what happend if i only change the disk size from 8 to 10? is it the same
> like i change the grow size from 0 to 2?
>
> thx for technical explanation.
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


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


[ovirt-users] mount a usb

2015-12-22 Thread alireza sadeh seighalan
hi everyone

i want to mount a usb to a windows vm  in ovirt3.6.1. how can i  run
it?thanks in advance
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Ovirt 3.5 host gluster storage connection failure

2015-12-22 Thread Sahina Bose

[+ Ravi, Pranith]

On 12/23/2015 06:00 AM, Steve Dainard wrote:

I have two hosts, only one of them was running VM's at the time of
this crash so I can't tell if this is a node specific problem.

rpm -qa | egrep -i 'gluster|vdsm|libvirt' |sort
glusterfs-3.6.7-1.el7.x86_64
glusterfs-api-3.6.7-1.el7.x86_64
glusterfs-cli-3.6.7-1.el7.x86_64
glusterfs-fuse-3.6.7-1.el7.x86_64
glusterfs-libs-3.6.7-1.el7.x86_64
glusterfs-rdma-3.6.7-1.el7.x86_64
libvirt-client-1.2.8-16.el7_1.5.x86_64
libvirt-daemon-1.2.8-16.el7_1.5.x86_64
libvirt-daemon-config-nwfilter-1.2.8-16.el7_1.5.x86_64
libvirt-daemon-driver-interface-1.2.8-16.el7_1.5.x86_64
libvirt-daemon-driver-network-1.2.8-16.el7_1.5.x86_64
libvirt-daemon-driver-nodedev-1.2.8-16.el7_1.5.x86_64
libvirt-daemon-driver-nwfilter-1.2.8-16.el7_1.5.x86_64
libvirt-daemon-driver-qemu-1.2.8-16.el7_1.5.x86_64
libvirt-daemon-driver-secret-1.2.8-16.el7_1.5.x86_64
libvirt-daemon-driver-storage-1.2.8-16.el7_1.5.x86_64
libvirt-daemon-kvm-1.2.8-16.el7_1.5.x86_64
libvirt-lock-sanlock-1.2.8-16.el7_1.5.x86_64
libvirt-python-1.2.8-7.el7_1.1.x86_64
vdsm-4.16.30-0.el7.centos.x86_64
vdsm-cli-4.16.30-0.el7.centos.noarch
vdsm-jsonrpc-4.16.30-0.el7.centos.noarch
vdsm-python-4.16.30-0.el7.centos.noarch
vdsm-python-zombiereaper-4.16.30-0.el7.centos.noarch
vdsm-xmlrpc-4.16.30-0.el7.centos.noarch
vdsm-yajsonrpc-4.16.30-0.el7.centos.noarch

VM's were in a paused state, with errors in UI:

2015-Dec-22, 15:06
VM pcic-apps has paused due to unknown storage error.
2015-Dec-22, 15:06
Host compute2 is not responding. It will stay in Connecting state for
a grace period of 82 seconds and after that an attempt to fence the
host will be issued.
2015-Dec-22, 15:03
Invalid status on Data Center EDC2. Setting Data Center status to Non
Responsive (On host compute2, Error: General Exception).
2015-Dec-22, 15:03
VM pcic-storage has paused due to unknown storage error.
2015-Dec-22, 15:03
VM docker1 has paused due to unknown storage error.

VDSM logs look normal until:
Dummy-99::DEBUG::2015-12-22
23:03:58,949::storage_mailbox::731::Storage.Misc.excCmd::(_checkForMail)
dd 
if=/rhev/data-center/f72ec125-69a1-4c1b-a5e1-313fcb70b6ff/mastersd/dom_md/inbox
iflag=direct,fullblock count=1 bs=1024000 (cwd None)
Dummy-99::DEBUG::2015-12-22
23:03:58,963::storage_mailbox::731::Storage.Misc.excCmd::(_checkForMail)
SUCCESS:  = '1+0 records in\n1+0 records out\n1024000 bytes (1.0
MB) copied, 0.00350501 s, 292 MB/s\n';  = 0
VM Channels Listener::INFO::2015-12-22
23:03:59,527::guestagent::180::vm.Vm::(_handleAPIVersion)
vmId=`7067679e-43aa-43c0-b263-b0a711ade2e2`::Guest API version changed
from 2 to 1
Thread-245428::DEBUG::2015-12-22
23:03:59,718::libvirtconnection::151::root::(wrapper) Unknown
libvirterror: ecode: 80 edom: 20 level: 2 message: metadata not found:
Requested metadata element is not present
libvirtEventLoop::INFO::2015-12-22
23:04:00,447::vm::4982::vm.Vm::(_onIOError)
vmId=`376e98b7-7798-46e8-be03-5dddf6cfb54f`::abnormal vm stop device
virtio-disk0 error eother
libvirtEventLoop::DEBUG::2015-12-22
23:04:00,447::vm::5666::vm.Vm::(_onLibvirtLifecycleEvent)
vmId=`376e98b7-7798-46e8-be03-5dddf6cfb54f`::event Suspended detail 2
opaque None
libvirtEventLoop::INFO::2015-12-22
23:04:00,447::vm::4982::vm.Vm::(_onIOError)
vmId=`376e98b7-7798-46e8-be03-5dddf6cfb54f`::abnormal vm stop device
virtio-disk0 error eother
...
libvirtEventLoop::INFO::2015-12-22
23:04:00,843::vm::4982::vm.Vm::(_onIOError)
vmId=`97fbbf97-944b-4b77-b0bf-6a831f9090d8`::abnormal vm stop device
virtio-disk1 error eother
libvirtEventLoop::DEBUG::2015-12-22
23:04:00,844::vm::5666::vm.Vm::(_onLibvirtLifecycleEvent)
vmId=`97fbbf97-944b-4b77-b0bf-6a831f9090d8`::event Suspended detail 2
opaque None
Dummy-99::DEBUG::2015-12-22
23:04:00,973::storage_mailbox::731::Storage.Misc.excCmd::(_checkForMail)
dd 
if=/rhev/data-center/f72ec125-69a1-4c1b-a5e1-313fcb70b6ff/mastersd/dom_md/inbox
iflag=direct,fullblock count=1 bs=1024000 (cwd None)
Dummy-99::DEBUG::2015-12-22
23:04:00,983::storage_mailbox::731::Storage.Misc.excCmd::(_checkForMail)
FAILED:  = "dd: failed to open
'/rhev/data-center/f72ec125-69a1-4c1b-a5e1-313fcb70b6ff/mastersd/dom_md/inbox':
Transport endpoint is not connected\n";  = 1
Dummy-99::ERROR::2015-12-22
23:04:00,983::storage_mailbox::787::Storage.MailBox.SpmMailMonitor::(run)
Error checking for mail
Traceback (most recent call last):
   File "/usr/share/vdsm/storage/storage_mailbox.py", line 785, in run
 self._checkForMail()
   File "/usr/share/vdsm/storage/storage_mailbox.py", line 734, in _checkForMail
 "Could not read mailbox: %s" % self._inbox)
IOError: [Errno 5] _handleRequests._checkForMail - Could not read
mailbox: 
/rhev/data-center/f72ec125-69a1-4c1b-a5e1-313fcb70b6ff/mastersd/dom_md/inbox
Dummy-99::DEBUG::2015-12-22
23:04:02,987::storage_mailbox::731::Storage.Misc.excCmd::(_checkForMail)
dd 
if=/rhev/data-center/f72ec125-69a1-4c1b-a5e1-313fcb70b6ff/mastersd/dom_md/inbox
iflag=direct,fullblock count=1 bs=1024000 (cwd None)

Re: [ovirt-users] uncaught exception with engine vm in 3.6.1 selecting hosted_storage

2015-12-22 Thread Einav Cohen
Hi Simon/Gianluca[/all], 

Many thanks for reporting the issues that you have encountered. 

In order to better track them, please file a BZ for each scenario 
in which you encounter such an alert in the UI. 

For each such BZ, please include:

- Exact oVirt version in which the alert has appeared. 

- Steps to reproduce (that lead to the displayed alert). 

- The full exception stack-trace from the client side (javascript) 
log [like the one that Simone has provided in his last response 
[1] / like the one that appears in the screen-shot provided by 
Gianluca [2]] - please provide the actual text though, rather 
than a screen-shot of the text, as it will ease the problem-
tracing process for us. 

- If relevant: server side engine.log. 


Regards,
Einav

[1] ...
Tue Dec 22 23:25:46 GMT+100 2015 
SEVERE: Uncaught exception: com.google.gwt.core.client.JavaScriptException: 
(TypeError) 
 __gwt$exception: : Cannot read property 'k' of null
at 
Unknown.twq(https://192.168.1.207/ovirt-engine/webadmin/407923C7C0980987EE42F541B756E846.cache.html@688)
at 
Unknown.lNn(https://192.168.1.207/ovirt-engine/webadmin/407923C7C0980987EE42F541B756E846.cache.html@49)
at 
Unknown.oNn(https://192.168.1.207/ovirt-engine/webadmin/407923C7C0980987EE42F541B756E846.cache.html@438)
at 
Unknown.fRn(https://192.168.1.207/ovirt-engine/webadmin/407923C7C0980987EE42F541B756E846.cache.html@40)
at 
Unknown.iRn(https://192.168.1.207/ovirt-engine/webadmin/407923C7C0980987EE42F541B756E846.cache.html@25647)
at 
Unknown.NPn(https://192.168.1.207/ovirt-engine/webadmin/407923C7C0980987EE42F541B756E846.cache.html@25)
at 
Unknown.QPn(https://192.168.1.207/ovirt-engine/webadmin/407923C7C0980987EE42F541B756E846.cache.html@23872)
at 
Unknown.cIe(https://192.168.1.207/ovirt-engine/webadmin/407923C7C0980987EE42F541B756E846.cache.html@18964)
at 
Unknown.nwk(https://192.168.1.207/ovirt-engine/webadmin/407923C7C0980987EE42F541B756E846.cache.html@8016)
at 
Unknown.L3(https://192.168.1.207/ovirt-engine/webadmin/407923C7C0980987EE42F541B756E846.cache.html@137)
at 
Unknown.c4(https://192.168.1.207/ovirt-engine/webadmin/407923C7C0980987EE42F541B756E846.cache.html@6679)
at 
Unknown.(https://192.168.1.207/ovirt-engine/webadmin/407923C7C0980987EE42F541B756E846.cache.html@65)
at 
Unknown._t(https://192.168.1.207/ovirt-engine/webadmin/407923C7C0980987EE42F541B756E846.cache.html@29)
at 
Unknown.du(https://192.168.1.207/ovirt-engine/webadmin/407923C7C0980987EE42F541B756E846.cache.html@57)
at 
Unknown.(https://192.168.1.207/ovirt-engine/webadmin/407923C7C0980987EE42F541B756E846.cache.html@54)
...

[2] 
https://drive.google.com/file/d/0BwoPbcrMv8mvclA3dmdMaG5QMjg/view?usp=sharing

- Original Message -
> From: "Simone Tiraboschi" 
> To: "Alexander Wels" 
> Cc: "users" 
> Sent: Tuesday, December 22, 2015 5:27:31 PM
> Subject: Re: [ovirt-users] uncaught exception with engine vm in 3.6.1 
> selecting hosted_storage
> 
> 
> 
> On Tue, Dec 22, 2015 at 8:23 PM, Alexander Wels < aw...@redhat.com > wrote:
> 
> 
> On Tuesday, December 22, 2015 03:17:40 PM Gianluca Cecchi wrote:
> > On Tue, Dec 22, 2015 at 2:54 PM, Alexander Wels < aw...@redhat.com > wrote:
> > > If you can provide us with the obfuscated stack trace, we can point to
> > > you
> > > what to look for in the mapping file.
> > 
> > Hello,
> > I'm going to try.
> > In the mean time, do you think it could be related somehow with what below?
> > 
> 
> I don't think so, I think something went wrong on the backend which caused
> some empty object or null object to be returned, which caused the UI to blow
> up. Using the stack trace we can figure out what part of the UI blew up and
> maybe from that figure out what went wrong on the backend.
> 
> 
> It happens also here:
> 
> Tue Dec 22 23:25:46 GMT+100 2015
> SEVERE: Uncaught exception: com.google.gwt.core.client.JavaScriptException:
> (TypeError)
> __gwt$exception: : Cannot read property 'k' of null
> at Unknown.twq(
> https://192.168.1.207/ovirt-engine/webadmin/407923C7C0980987EE42F541B756E846.cache.html@688
> )
> at Unknown.lNn(
> https://192.168.1.207/ovirt-engine/webadmin/407923C7C0980987EE42F541B756E846.cache.html@49
> )
> at Unknown.oNn(
> https://192.168.1.207/ovirt-engine/webadmin/407923C7C0980987EE42F541B756E846.cache.html@438
> )
> at Unknown.fRn(
> https://192.168.1.207/ovirt-engine/webadmin/407923C7C0980987EE42F541B756E846.cache.html@40
> )
> at Unknown.iRn(
> https://192.168.1.207/ovirt-engine/webadmin/407923C7C0980987EE42F541B756E846.cache.html@25647
> )
> at Unknown.NPn(
> https://192.168.1.207/ovirt-engine/webadmin/407923C7C0980987EE42F541B756E846.cache.html@25
> )
> at Unknown.QPn(
> https://192.168.1.207/ovirt-engine/webadmin/407923C7C0980987EE42F541B756E846.cache.html@23872
> )
> at Unknown.cIe(
> 

Re: [ovirt-users] network configuration oVirt 3.5

2015-12-22 Thread Kristof VAN DEN EYNDEN
Before installing the oVirt Node I set the ifcfg-enp3s0 to a static address (no 
dhcp server availaible on this network).

After installing the Node through the oVirt interface I was still able to 
connect to the server using that address.
After reboot the IP was still active. After connecting the ovirtmgmt to that 
interface I saw that is was set to DHCP (but the static IP was filled in the 
grayed out boxes)  so probably something has gone wrong during the install of 
the VDSM package?


Van: Ido Barkan [mailto:ibar...@redhat.com]
Verzonden: dinsdag 22 december 2015 10:32
Aan: Kristof VAN DEN EYNDEN
CC: users@ovirt.org
Onderwerp: Re: [ovirt-users] network configuration oVirt 3.5

Hi Kristof.
By inspecting the logs (supervdsm.log) I see the following:
Adding the management network on the host started here:

MainProcess|jsonrpc.Executor/4::DEBUG::2015-12-21 
15:40:04,620::supervdsmServer::114::SuperVdsm.ServerCallback::(wrapper) call 
setupNetworks with ({u'ovirtmgmt': {u'nic': u'enp3s0', u'mtu': u'1500', 
u'bootproto': u'dhcp', u'STP': u'no', u'bridged': u'true', u'defaultRoute': 
True}}, {}, {u'connectivityCheck': u'true', u'connectivityTimeout': 120}) {}
as part of the network configuration vdsm tries to call `ifup` on the bridge 
named ovirtmgmt:

ifup-waiting-on-dhcp::DEBUG::2015-12-21 
15:40:04,854::utils::669::root::(execCmd) /usr/bin/systemd-run --scope 
--unit=8bcdacee-4849-453d-a68f-2251e168d466 --slice=vdsm-dhclient 
/usr/sbin/ifup ovirtmgmt (cwd None)
This fails after ~1 minute:

ifup-waiting-on-dhcp::DEBUG::2015-12-21 
15:41:08,184::utils::687::root::(execCmd) FAILED:  = 'Running as unit 
8bcdacee-4849-453d-a68f-2251e168d466.scope.\n';  = 1
and then the vdsm gives up after 2 minuets (see the parameter: 
u'connectivityTimeout': 120) when it no longer hears the keepalive ping from 
the engine.
I guess that somehow the DHCP process on your network is not operating properly.
To work around this (until you sort out the DHCP issues)- configure ovirtmgmt 
management to have a static IP.
Ido


On Mon, Dec 21, 2015 at 4:04 PM, Kristof VAN DEN EYNDEN 
>
 wrote:
Hey Dan,

I reïnstalled the 3.6 on CentOS 7 (this was the issue as vdsm is no longre 
build for 6.7).
It's a fresh install of CentOs, only configured the adapter for a static IP and 
then the install of the oVirt Node.
 Installation goes well until following errors popup:


Dec 21, 2015 3:42:45 PM
Host KVM1 installation failed. Failed to configure management network on the 
host.

Dec 21, 2015 3:42:45 PM
Failed to configure management network on host KVM1 due to setup networks 
failure.

Dec 21, 2015 3:42:45 PM
VDSM KVM1 command failed: connectivity check failed

I included both vdsm.log  & supervdsm.log

---

I did a reboot, the ovirtmgmt was not linked to the adapter (enp3s0). Tried to 
link it manually which worked without hassle...

So now everything seems OK. I'll test further with the 3.6 now and hope it all 
goes like this now

-Oorspronkelijk bericht-
Van: users-boun...@ovirt.org 
[mailto:users-boun...@ovirt.org] Namens Kristof 
VAN DEN EYNDEN
Verzonden: maandag 21 december 2015 11:41
Aan: 'users@ovirt.org'
Onderwerp: Re: [ovirt-users] network configuration oVirt 3.5

Hey Dan,

Thanks for your response.

VDSM was the first problem when installing oVirt 3.6 on CentOS, it couldn't 
find the package and while browsing through the repos I couldn't find it 
either. So that was the first issue.. I tried compiling vdsm myself which 
didn't work either and I ended up using the VDSM package under the 3.5 release. 
Any idea how to tackle this?

If I have the time I'll try to reinstall 3.6 and note all the issues I find on 
the way. Can't recover those files as the server is complete messed up after my 
previous efforts

Kind regards !
Kristof




-Oorspronkelijk bericht-
Van: Dan Kenigsberg [mailto:dan...@redhat.com]
Verzonden: maandag 21 december 2015 11:19
Aan: Kristof VAN DEN EYNDEN; edwa...@redhat.com
CC: 'users@ovirt.org'
Onderwerp: Re: [ovirt-users] network configuration oVirt 3.5

On Thu, Dec 17, 2015 at 03:33:28PM +, Kristof VAN DEN EYNDEN wrote:
> Hello everyone,
>
> After trying to install oVirt 3.6 on CentOs which was a lot of pain, I ended 
> up installing 3.5 without hassle.

Would you provide more information (logs, screenshots) about the pains of 
installing ovirt-3.6? These days, most of the development effort is focused on 
stabilizing 3.6. No further releases of ovirt-3.5.z are expected (up to 
horrible security bugs, etc), so we advise using 3.6 in new instllations.

>
> BUT Now I'm trying to configure the network for my first cluster host but I'm 
> having troubles doing so.
>
> The server has 4 network ports,
> Eth0 = Virtual management network, 172.16 range, 

Re: [ovirt-users] ERROR: update or delete on table "luns" violates foreign key constraint...

2015-12-22 Thread Aleksey Chudov
First time I've seen the problem version was
ovirt-engine-3.6.0.3-1.el7.centos.noarch. Current version is
ovirt-engine-3.6.1.3-1.el7.centos.noarch and error persists.

On Tue, Dec 22, 2015 at 10:15 AM, Roy Golan  wrote:

>
>
> On Sun, Dec 20, 2015 at 12:28 PM, Eli Mesika  wrote:
>
>>
>>
>> - Original Message -
>> > From: "Aleksey Chudov" 
>> > To: users@ovirt.org
>> > Sent: Friday, December 18, 2015 11:38:21 AM
>> > Subject: [ovirt-users] ERROR: update or delete on table "luns"
>> violates   foreign key constraint...
>> >
>> > Hi,
>> >
>> > I have two-node self hosted engine cluster with iscsi shared storage.
>> Every
>> > ovirt-engine restart produces the following error in
>> > /var/log/ovirt-engine/engine.log. After that engine works without any
>> > problems.
>> >
>> > How to fix it?
>>
>>
> Aleksey what's the engine version?
>
>
>> CCing Allon M
>>
>> This seems as a bug
>>
>> disk_lun_map FK is created without ON DELETE/UPDATE CASCADE
>> This makes the FK failing in deleting from the luns table (by calling
>> DeleteLun) while the deleted lun in the parent table has references in
>> disk_lun_map
>>
>> Allon, please advice
>>
>> >
>> > 2015-12-18 11:33:00,053 ERROR
>> >
>> [org.ovirt.engine.core.bll.storage.SyncLunsInfoForBlockStorageDomainCommand]
>> > (org.ovirt.thread.pool-8-thread-11) [674068d8] Command
>> >
>> 'org.ovirt.engine.core.bll.storage.SyncLunsInfoForBlockStorageDomainCommand'
>> > failed: CallableStatementCallback; SQL [{call deletelun(?)}]; ERROR:
>> update
>> > or delete on table "luns" violates foreign key constraint
>> > "disk_lun_to_lun_fk" on table "disk_lun_map"
>> > Detail: Key (lun_id)=(36001405821da830526f48d0a961767c8) is still
>> referenced
>> > from table "disk_lun_map".
>> > Where: SQL statement "DELETE FROM LUNs
>> > WHERE LUN_id = v_LUN_id"
>> > PL/pgSQL function deletelun(character varying) line 10 at SQL statement;
>> > nested exception is org.postgresql.util.PSQLException: ERROR: update or
>> > delete on table "luns" violates foreign key constraint
>> "disk_lun_to_lun_fk"
>> > on table "disk_lun_map"
>> > Detail: Key (lun_id)=(36001405821da830526f48d0a961767c8) is still
>> referenced
>> > from table "disk_lun_map".
>> > Where: SQL statement "DELETE FROM LUNs
>> > WHERE LUN_id = v_LUN_id"
>> > PL/pgSQL function deletelun(character varying) line 10 at SQL statement
>> > 2015-12-18 11:33:00,053 ERROR
>> >
>> [org.ovirt.engine.core.bll.storage.SyncLunsInfoForBlockStorageDomainCommand]
>> > (org.ovirt.thread.pool-8-thread-11) [674068d8] Exception:
>> > org.springframework.dao.DataIntegrityViolationException:
>> > CallableStatementCallback; SQL [{call deletelun(?)}]; ERROR: update or
>> > delete on table "luns" violates foreign key constraint
>> "disk_lun_to_lun_fk"
>> > on table "disk_lun_map"
>> > Detail: Key (lun_id)=(36001405821da830526f48d0a961767c8) is still
>> referenced
>> > from table "disk_lun_map".
>> > Where: SQL statement "DELETE FROM LUNs
>> > WHERE LUN_id = v_LUN_id"
>> > PL/pgSQL function deletelun(character varying) line 10 at SQL statement;
>> > nested exception is org.postgresql.util.PSQLException: ERROR: update or
>> > delete on table "luns" violates foreign key constraint
>> "disk_lun_to_lun_fk"
>> > on table "disk_lun_map"
>> > Detail: Key (lun_id)=(36001405821da830526f48d0a961767c8) is still
>> referenced
>> > from table "disk_lun_map".
>> > Where: SQL statement "DELETE FROM LUNs
>> > WHERE LUN_id = v_LUN_id"
>> > PL/pgSQL function deletelun(character varying) line 10 at SQL statement
>> > at
>> >
>> org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:245)
>> > [spring-jdbc.jar:3.1.1.RELEASE]
>> > at
>> >
>> org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:72)
>> > [spring-jdbc.jar:3.1.1.RELEASE]
>> > at
>> org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:1030)
>> > [spring-jdbc.jar:3.1.1.RELEASE]
>> > at
>> org.springframework.jdbc.core.JdbcTemplate.call(JdbcTemplate.java:1064)
>> > [spring-jdbc.jar:3.1.1.RELEASE]
>> > at
>> >
>> org.springframework.jdbc.core.simple.AbstractJdbcCall.executeCallInternal(AbstractJdbcCall.java:388)
>> > [spring-jdbc.jar:3.1.1.RELEASE]
>> > at
>> >
>> org.springframework.jdbc.core.simple.AbstractJdbcCall.doExecute(AbstractJdbcCall.java:351)
>> > [spring-jdbc.jar:3.1.1.RELEASE]
>> > at
>> >
>> org.springframework.jdbc.core.simple.SimpleJdbcCall.execute(SimpleJdbcCall.java:181)
>> > [spring-jdbc.jar:3.1.1.RELEASE]
>> > at
>> >
>> org.ovirt.engine.core.dal.dbbroker.SimpleJdbcCallsHandler.executeImpl(SimpleJdbcCallsHandler.java:147)
>> > [dal.jar:]
>> > at
>> >
>> org.ovirt.engine.core.dal.dbbroker.SimpleJdbcCallsHandler.executeImpl(SimpleJdbcCallsHandler.java:142)
>> > [dal.jar:]
>> > at
>> >
>> 

Re: [ovirt-users] oVirt nodes

2015-12-22 Thread Dominique Taffin
Hello,

 official numbers would also be interesting to me.
I can tell you that we do have some larger infrastructures running
on several engine hosts, one of them for example has 3 datacenters,
7 cluster, 200 hosts. We do have noticeable performance issues on
the engine host. The engine is already running on rather performant
hardware including 12 cores and SSDs - but nevertheless we have load
averages >20 on it and very slow response time from the engine
itself.

best,
 Dominique Taffin

Systemadministrator
IT Operations Platform Core Services

1&1 Internet SE | Brauerstraße 48 | 76135 Karlsruhe | Germany
Phone: +49 721 91374-3912
E-Mail: dominique.taf...@1und1.de | Web: www.1und1.de

Hauptsitz Montabaur, Amtsgericht Montabaur, HRB 24498

Vorstand: Christian Bigatà Joseph, Robert Hoffmann, Hans-Henning
Kettler, Uwe Lamnek
Aufsichtsratsvorsitzender: Michael Scheeren


Member of United Internet

Diese E-Mail kann vertrauliche und/oder gesetzlich geschützte
Informationen enthalten. Wenn Sie nicht der bestimmungsgemäße
Adressat sind oder diese E-Mail irrtümlich erhalten haben,
unterrichten Sie bitte den Absender und vernichten Sie diese E-Mail. 
Anderen als dem bestimmungsgemäßen Adressaten ist untersagt, diese
E-Mail zu speichern, weiterzuleiten oder ihren Inhalt auf welche
Weise auch immer zu verwenden.

This e-mail may contain confidential and/or privileged information.
If you are not the intended recipient of this e-mail, you are hereby
notified that saving, distribution or use of the content of this e-
mail in any way is prohibited. If you have received this e-mail in
error, please notify the sender and delete the e-mail.

-Original Message-
From: Budur Nagaraju 
To: users 
Subject: [ovirt-users] oVirt nodes
Date: Mon, 21 Dec 2015 13:33:21 +0530

HI 


Need info on how many nodes and vms are supported in one single
oVirt engine ?

Thanks,
Nagaraju

___
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] iLO2

2015-12-22 Thread Dominique Taffin
Hello,

we also had a lot of issues using ILOs of older DL360 hosts. We
ended up using "ipmilan" with options "lanplus=1,power_wait=4".
Assuming of course you are able to access the management module/port
from the network your ovirt nodes are running in.

regards,
 
-- 
Dominique Taffin

Systemadministrator
IT Operations Platform Core Services

1&1 Internet SE | Brauerstraße 48 | 76135 Karlsruhe | Germany
Phone: +49 721 91374-3912
E-Mail: dominique.taf...@1und1.de | Web: www.1und1.de

Hauptsitz Montabaur, Amtsgericht Montabaur, HRB 24498

Vorstand: Christian Bigatà Joseph, Robert Hoffmann, Hans-Henning Kettler, Uwe 
Lamnek
Aufsichtsratsvorsitzender: Michael Scheeren


Member of United Internet

Diese E-Mail kann vertrauliche und/oder gesetzlich geschützte Informationen 
enthalten. Wenn Sie nicht der bestimmungsgemäße Adressat sind oder diese E-Mail 
irrtümlich erhalten haben, unterrichten Sie bitte den Absender und vernichten 
Sie diese E-Mail. Anderen als dem bestimmungsgemäßen Adressaten ist untersagt, 
diese E-Mail zu speichern, weiterzuleiten oder ihren Inhalt auf welche Weise 
auch immer zu verwenden.

This e-mail may contain confidential and/or privileged information. If you are 
not the intended recipient of this e-mail, you are hereby notified that saving, 
distribution or use of the content of this e-mail in any way is prohibited. If 
you have received this e-mail in error, please notify the sender and delete the 
e-mail.

-Original Message-
From: Eriks Goodwin 
To: users 
Subject: [ovirt-users] iLO2
Date: Tue, 22 Dec 2015 04:08:15 -0500

I have been tinkering with various settings and configurations
trying to get power management working properly--but it keeps giving
me "Fail:" (without any details) every time I test the settings. 
The servers I am using are HP Proliant DL380 G6 with integrated
iLO2.  Any tips?

I can use the same credentials to log into the system via the web
interface--so I'm sure I have the address, username, and passwd
right.  :-)
___
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 crash - state = EngineUp-EngineUpBadHealth

2015-12-22 Thread Sahina Bose



On 12/22/2015 02:38 PM, Simone Tiraboschi wrote:



On Tue, Dec 22, 2015 at 2:31 AM, Will Dennis > wrote:


OK, another problem :(

I was having the same problem with my second oVirt host that I had
with my first one, where when I ran “hosted-engine —deploy” on it,
after it completed successfully, then I was experiencing a ~50sec
lag when SSH’ing into the node…

vpnp71:~ will$ time ssh root@ovirt-node-02 uptime
 19:36:06 up 4 days,  8:31,  0 users,  load average: 0.68, 0.70, 0.67

real  0m50.540s
user  0m0.025s
sys 0m0.008s


So, in the oVirt web admin console, I put the "ovirt-node-02” node
into Maintenance mode, then SSH’d to the server and rebooted it.
Sure enough, after the server came back up, SSH was fine (no
delay), which again was the same experience I had had with the
first oVirt host. So, I went back to the web console, and choose
the “Confirm host has been rebooted” option, which I thought would
be the right action to take after a reboot. The system opened a
dialog box with a spinner, which never stopped spinning… So
finally, I closed the dialog box with the upper right (X) symbol,
and then for this same host choose “Activate” from the menu. It
was then I noticed I had recieved a state transition email
notifying me that "EngineUp-EngineUpBadHealth” and sure enough,
the web UI was then unresponsive. I checked on the first oVirt
host, the VM with the name “HostedEngine” is still running, but
obviously isn’t working…

So, looks like I need to restart the HostedEngine VM or take
whatever action is needed to return oVirt to operation… Hate to
keep asking this question, but what’s the correct action at this
point?


ovirt-ha-agent should always restart it for you after a few minutes 
but the point is that the network configuration seams to be not that 
stable.


I know from another thread that you are trying to deploy hosted-engine 
over GlusterFS in an hyperconverged way and this, as I said, is 
currently not supported.
I think that it can also requires some specific configuration on 
network side.


For hyperconverged gluster+engine , it should work without any specific 
configuration on network side. However if the network is flaky, it is 
possible that there are errors with gluster volume access. Could you 
provide the ovirt-ha-agent logs as well as gluster mount logs?




Adding Sahina and Dan here.

Thanks, again,
Will

___
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] network configuration oVirt 3.5

2015-12-22 Thread Ido Barkan
This is part of the ovirtmgmt logical network configuration in oVirt Engine.
It looks something like this:

​
Ido

On Tue, Dec 22, 2015 at 11:59 AM, Kristof VAN DEN EYNDEN <
kristof.vandeneyn...@politiewestkust.be> wrote:

> Hey Ido,
>
> But I didn’t set anything to DHCP ? So where does that come from
>
>
>
>
>
>
>
> *Van:* Ido Barkan [mailto:ibar...@redhat.com]
> *Verzonden:* dinsdag 22 december 2015 10:54
>
> *Aan:* Kristof VAN DEN EYNDEN
> *CC:* users@ovirt.org
> *Onderwerp:* Re: [ovirt-users] network configuration oVirt 3.5
>
>
>
> Configuring the management network with DHCP causes VDSM to try and
> configure
>
> the NIC that with a bridge on top of it with DHCP.
> This has failed and VDSM automatically reverted the NIC configuration to
> its original
> static IP configuration.
>
> The installation of VDSM went OK, but the configuration of the management
> network
>
> have failed because the assignment of a DHCP address failed.
>
> Ido
>
>
>
> On Tue, Dec 22, 2015 at 11:46 AM, Kristof VAN DEN EYNDEN <
> kristof.vandeneyn...@politiewestkust.be> wrote:
>
> Before installing the oVirt Node I set the ifcfg-enp3s0 to a static
> address (no dhcp server availaible on this network).
>
>
>
> After installing the Node through the oVirt interface I was still able to
> connect to the server using that address.
>
> After reboot the IP was still active. After connecting the ovirtmgmt to
> that interface I saw that is was set to DHCP (but the static IP was filled
> in the grayed out boxes)  so probably something has gone wrong during the
> install of the VDSM package?
>
>
>
>
>
> *Van:* Ido Barkan [mailto:ibar...@redhat.com]
> *Verzonden:* dinsdag 22 december 2015 10:32
> *Aan:* Kristof VAN DEN EYNDEN
>
> *CC:* users@ovirt.org
> *Onderwerp:* Re: [ovirt-users] network configuration oVirt 3.5
>
>
>
> Hi Kristof.
>
> By inspecting the logs (supervdsm.log) I see the following:
> Adding the management network on the host started here:
>
> MainProcess|jsonrpc.Executor/4::DEBUG::2015-12-21
> 15:40:04,620::supervdsmServer::114::SuperVdsm.ServerCallback::(wrapper)
> call setupNetworks with ({u'ovirtmgmt': {u'nic': u'enp3s0', u'mtu':
> u'1500', u'bootproto': u'dhcp', u'STP': u'no', u'bridged': u'true',
> u'defaultRoute': True}}, {}, {u'connectivityCheck': u'true',
> u'connectivityTimeout': 120}) {}
>
> as part of the network configuration vdsm tries to call `ifup` on the
> bridge named ovirtmgmt:
>
> ifup-waiting-on-dhcp::DEBUG::2015-12-21
> 15:40:04,854::utils::669::root::(execCmd) /usr/bin/systemd-run --scope
> --unit=8bcdacee-4849-453d-a68f-2251e168d466 --slice=vdsm-dhclient
> /usr/sbin/ifup ovirtmgmt (cwd None)
>
> This fails after ~1 minute:
>
> ifup-waiting-on-dhcp::DEBUG::2015-12-21
> 15:41:08,184::utils::687::root::(execCmd) FAILED:  = 'Running as unit
> 8bcdacee-4849-453d-a68f-2251e168d466.scope.\n';  = 1
>
> and then the vdsm gives up after 2 minuets (see the parameter:
> u'connectivityTimeout': 120) when it no longer hears the keepalive ping
> from the engine.
>
> I guess that somehow the DHCP process on your network is not operating
> properly.
>
> To work around this (until you sort out the DHCP issues)- configure
> ovirtmgmt management to have a static IP.
>
> Ido
>
>
>
>
>
> On Mon, Dec 21, 2015 at 4:04 PM, Kristof VAN DEN EYNDEN <
> kristof.vandeneyn...@politiewestkust.be> wrote:
>
> Hey Dan,
>
> I reïnstalled the 3.6 on CentOS 7 (this was the issue as vdsm is no longre
> build for 6.7).
> It's a fresh install of CentOs, only configured the adapter for a static
> IP and then the install of the oVirt Node.
>  Installation goes well until following errors popup:
>
>
> Dec 21, 2015 3:42:45 PM
> Host KVM1 installation failed. Failed to configure management network on
> the host.
>
> Dec 21, 2015 3:42:45 PM
> Failed to configure management network on host KVM1 due to setup networks
> failure.
>
> Dec 21, 2015 3:42:45 PM
> VDSM KVM1 command failed: connectivity check failed
>
> I included both vdsm.log  & supervdsm.log
>
> ---
>
> I did a reboot, the ovirtmgmt was not linked to the adapter (enp3s0).
> Tried to link it manually which worked without hassle...
>
> So now everything seems OK. I'll test further with the 3.6 now and hope it
> all goes like this now
>
> -Oorspronkelijk bericht-
> Van: users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] Namens
> Kristof VAN DEN EYNDEN
> Verzonden: maandag 21 december 2015 11:41
> Aan: 'users@ovirt.org'
>
> Onderwerp: Re: [ovirt-users] network configuration oVirt 3.5
>
> Hey Dan,
>
> Thanks for your response.
>
> VDSM was the first problem when installing oVirt 3.6 on CentOS, it
> couldn't find the package and while browsing through the repos I couldn't
> find it either. So that was the first issue.. I tried compiling vdsm myself
> which didn't work either and I ended up using the VDSM package under the
> 3.5 release. Any idea how to tackle this?
>
> If I have the time I'll try to reinstall 3.6 and note all the issues I
> find on the way. Can't recover those 

[ovirt-users] [ANN] oVirt Bugzilla Now Supports Votes.

2015-12-22 Thread Yaniv Dary
Hi all,
I'm happy to announce that voting has been enabled for all the oVirt
projects.
Let us know what RFEs and bugs you hold dear and help us in prioritizing
what to fix first and what will have most impact.

To vote please login, enter any oVirt bug and press on vote button (see
attached image).


Thanks!

Yaniv Dary
Technical Product Manager
Red Hat Israel Ltd.
34 Jerusalem Road
Building A, 4th floor
Ra'anana, Israel 4350109

Tel : +972 (9) 7692306
8272306
Email: yd...@redhat.com
IRC : ydary
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] uncaught exception with engine vm in 3.6.1 selecting hosted_storage

2015-12-22 Thread Simone Tiraboschi
On Tue, Dec 22, 2015 at 10:32 AM, Gianluca Cecchi  wrote:

> Hello after updating from 3.6.0 to 3.6.1 my HE environment, I'm not able
> to import/activate the hosted_storage domain because it results anattached
>


Thanks for your report Gianluca,
adding Roy here.


> Moreover I get the popup message
>
> Uncaught exception occurred. Please try reloading the page. Details:
> (TypeError) __gwt$exception: : c is null
>
> when I select the line of hosted_storage domain in storage tab. See:
>
> https://drive.google.com/file/d/0BwoPbcrMv8mvVlc1XzNUZ18yWWs/view?usp=sharing
>
> I don't find apparently ERROR messages wen I do this, so I don't know
> where to watch.
>
> On engine, where the db lives, I have under /var/lib/pgsql/data/pg_log
>
> [root@ractorshe pg_log]# ls -lrt
> total 12
> -rw---. 1 postgres postgres0 Dec 16 01:00 postgresql-Wed.log
> -rw---. 1 postgres postgres0 Dec 17 01:00 postgresql-Thu.log
> -rw---. 1 postgres postgres0 Dec 18 01:00 postgresql-Fri.log
> -rw---. 1 postgres postgres 7480 Dec 20 00:39 postgresql-Sat.log
> -rw---. 1 postgres postgres 3488 Dec 20 01:29 postgresql-Sun.log
> -rw---. 1 postgres postgres0 Dec 21 01:00 postgresql-Mon.log
> -rw---. 1 postgres postgres0 Dec 22 01:00 postgresql-Tue.log
>
> On Sunday logs, when the engine was started I see
>
> LOG:  database system was not properly shut down; automatic recovery in
> progress
> LOG:  redo starts at 1/254C6710
> LOG:  record with zero length at 1/254EB6B8
> LOG:  redo done at 1/254EB688
> LOG:  last completed transaction was at log time 2015-12-19
> 23:49:47.920147+00
> LOG:  database system is ready to accept connections
> LOG:  autovacuum launcher started
> ERROR:  insert or update on table "storage_domain_dynamic" violates
> foreign key constraint "fk_stora
> ge_domain_dynamic_storage_domain_static"
> DETAIL:  Key (id)=(----) is not present in
> table "storage_domain_static".
> CONTEXT:  SQL statement "INSERT INTO
> storage_domain_dynamic(available_disk_size, id, used_disk_size)
> VALUES(v_available_disk_size, v_id, v_used_disk_size)"
> PL/pgSQL function
> insertstorage_domain_dynamic(integer,uuid,integer) line 3 at SQL statement
> STATEMENT:  select * from insertstorage_domain_dynamic($1, $2, $3) as
> result
>
> and then many lines of kind
>
> LOG:  autovacuum: found orphan temp table "pg_temp_8"."tt_temp22" in
> database "engine"
>
> so messages related to domains and could be the reason of the exception
> and of the inability of importing/attaching my HE storage domain.
>
> Let me know if I can provide more logs or output of queries from the
> database.
>
> Gianluca
>
>
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] network configuration oVirt 3.5

2015-12-22 Thread Ido Barkan
Configuring the management network with DHCP causes VDSM to try and
configure
the NIC that with a bridge on top of it with DHCP.
This has failed and VDSM automatically reverted the NIC configuration to
its original
static IP configuration.
The installation of VDSM went OK, but the configuration of the management
network
have failed because the assignment of a DHCP address failed.

Ido

On Tue, Dec 22, 2015 at 11:46 AM, Kristof VAN DEN EYNDEN <
kristof.vandeneyn...@politiewestkust.be> wrote:

> Before installing the oVirt Node I set the ifcfg-enp3s0 to a static
> address (no dhcp server availaible on this network).
>
>
>
> After installing the Node through the oVirt interface I was still able to
> connect to the server using that address.
>
> After reboot the IP was still active. After connecting the ovirtmgmt to
> that interface I saw that is was set to DHCP (but the static IP was filled
> in the grayed out boxes)  so probably something has gone wrong during the
> install of the VDSM package?
>
>
>
>
>
> *Van:* Ido Barkan [mailto:ibar...@redhat.com]
> *Verzonden:* dinsdag 22 december 2015 10:32
> *Aan:* Kristof VAN DEN EYNDEN
> *CC:* users@ovirt.org
> *Onderwerp:* Re: [ovirt-users] network configuration oVirt 3.5
>
>
>
> Hi Kristof.
>
> By inspecting the logs (supervdsm.log) I see the following:
> Adding the management network on the host started here:
>
> MainProcess|jsonrpc.Executor/4::DEBUG::2015-12-21
> 15:40:04,620::supervdsmServer::114::SuperVdsm.ServerCallback::(wrapper)
> call setupNetworks with ({u'ovirtmgmt': {u'nic': u'enp3s0', u'mtu':
> u'1500', u'bootproto': u'dhcp', u'STP': u'no', u'bridged': u'true',
> u'defaultRoute': True}}, {}, {u'connectivityCheck': u'true',
> u'connectivityTimeout': 120}) {}
>
> as part of the network configuration vdsm tries to call `ifup` on the
> bridge named ovirtmgmt:
>
> ifup-waiting-on-dhcp::DEBUG::2015-12-21
> 15:40:04,854::utils::669::root::(execCmd) /usr/bin/systemd-run --scope
> --unit=8bcdacee-4849-453d-a68f-2251e168d466 --slice=vdsm-dhclient
> /usr/sbin/ifup ovirtmgmt (cwd None)
>
> This fails after ~1 minute:
>
> ifup-waiting-on-dhcp::DEBUG::2015-12-21
> 15:41:08,184::utils::687::root::(execCmd) FAILED:  = 'Running as unit
> 8bcdacee-4849-453d-a68f-2251e168d466.scope.\n';  = 1
>
> and then the vdsm gives up after 2 minuets (see the parameter:
> u'connectivityTimeout': 120) when it no longer hears the keepalive ping
> from the engine.
>
> I guess that somehow the DHCP process on your network is not operating
> properly.
>
> To work around this (until you sort out the DHCP issues)- configure
> ovirtmgmt management to have a static IP.
>
> Ido
>
>
>
>
>
> On Mon, Dec 21, 2015 at 4:04 PM, Kristof VAN DEN EYNDEN <
> kristof.vandeneyn...@politiewestkust.be> wrote:
>
> Hey Dan,
>
> I reïnstalled the 3.6 on CentOS 7 (this was the issue as vdsm is no longre
> build for 6.7).
> It's a fresh install of CentOs, only configured the adapter for a static
> IP and then the install of the oVirt Node.
>  Installation goes well until following errors popup:
>
>
> Dec 21, 2015 3:42:45 PM
> Host KVM1 installation failed. Failed to configure management network on
> the host.
>
> Dec 21, 2015 3:42:45 PM
> Failed to configure management network on host KVM1 due to setup networks
> failure.
>
> Dec 21, 2015 3:42:45 PM
> VDSM KVM1 command failed: connectivity check failed
>
> I included both vdsm.log  & supervdsm.log
>
> ---
>
> I did a reboot, the ovirtmgmt was not linked to the adapter (enp3s0).
> Tried to link it manually which worked without hassle...
>
> So now everything seems OK. I'll test further with the 3.6 now and hope it
> all goes like this now
>
> -Oorspronkelijk bericht-
> Van: users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] Namens
> Kristof VAN DEN EYNDEN
> Verzonden: maandag 21 december 2015 11:41
> Aan: 'users@ovirt.org'
>
> Onderwerp: Re: [ovirt-users] network configuration oVirt 3.5
>
> Hey Dan,
>
> Thanks for your response.
>
> VDSM was the first problem when installing oVirt 3.6 on CentOS, it
> couldn't find the package and while browsing through the repos I couldn't
> find it either. So that was the first issue.. I tried compiling vdsm myself
> which didn't work either and I ended up using the VDSM package under the
> 3.5 release. Any idea how to tackle this?
>
> If I have the time I'll try to reinstall 3.6 and note all the issues I
> find on the way. Can't recover those files as the server is complete messed
> up after my previous efforts
>
> Kind regards !
> Kristof
>
>
>
>
> -Oorspronkelijk bericht-
> Van: Dan Kenigsberg [mailto:dan...@redhat.com]
> Verzonden: maandag 21 december 2015 11:19
> Aan: Kristof VAN DEN EYNDEN; edwa...@redhat.com
> CC: 'users@ovirt.org'
> Onderwerp: Re: [ovirt-users] network configuration oVirt 3.5
>
> On Thu, Dec 17, 2015 at 03:33:28PM +, Kristof VAN DEN EYNDEN wrote:
> > Hello everyone,
> >
> > After trying to install oVirt 3.6 on CentOs which was a lot of pain, I
> ended up installing 3.5 without 

Re: [ovirt-users] network configuration oVirt 3.5

2015-12-22 Thread Kristof VAN DEN EYNDEN
Hey Ido,
But I didn’t set anything to DHCP ? So where does that come from



Van: Ido Barkan [mailto:ibar...@redhat.com]
Verzonden: dinsdag 22 december 2015 10:54
Aan: Kristof VAN DEN EYNDEN
CC: users@ovirt.org
Onderwerp: Re: [ovirt-users] network configuration oVirt 3.5

Configuring the management network with DHCP causes VDSM to try and configure
the NIC that with a bridge on top of it with DHCP.
This has failed and VDSM automatically reverted the NIC configuration to its 
original
static IP configuration.
The installation of VDSM went OK, but the configuration of the management 
network
have failed because the assignment of a DHCP address failed.
Ido

On Tue, Dec 22, 2015 at 11:46 AM, Kristof VAN DEN EYNDEN 
>
 wrote:
Before installing the oVirt Node I set the ifcfg-enp3s0 to a static address (no 
dhcp server availaible on this network).

After installing the Node through the oVirt interface I was still able to 
connect to the server using that address.
After reboot the IP was still active. After connecting the ovirtmgmt to that 
interface I saw that is was set to DHCP (but the static IP was filled in the 
grayed out boxes)  so probably something has gone wrong during the install of 
the VDSM package?


Van: Ido Barkan [mailto:ibar...@redhat.com]
Verzonden: dinsdag 22 december 2015 10:32
Aan: Kristof VAN DEN EYNDEN
CC: users@ovirt.org
Onderwerp: Re: [ovirt-users] network configuration oVirt 3.5

Hi Kristof.
By inspecting the logs (supervdsm.log) I see the following:
Adding the management network on the host started here:

MainProcess|jsonrpc.Executor/4::DEBUG::2015-12-21 
15:40:04,620::supervdsmServer::114::SuperVdsm.ServerCallback::(wrapper) call 
setupNetworks with ({u'ovirtmgmt': {u'nic': u'enp3s0', u'mtu': u'1500', 
u'bootproto': u'dhcp', u'STP': u'no', u'bridged': u'true', u'defaultRoute': 
True}}, {}, {u'connectivityCheck': u'true', u'connectivityTimeout': 120}) {}
as part of the network configuration vdsm tries to call `ifup` on the bridge 
named ovirtmgmt:

ifup-waiting-on-dhcp::DEBUG::2015-12-21 
15:40:04,854::utils::669::root::(execCmd) /usr/bin/systemd-run --scope 
--unit=8bcdacee-4849-453d-a68f-2251e168d466 --slice=vdsm-dhclient 
/usr/sbin/ifup ovirtmgmt (cwd None)
This fails after ~1 minute:

ifup-waiting-on-dhcp::DEBUG::2015-12-21 
15:41:08,184::utils::687::root::(execCmd) FAILED:  = 'Running as unit 
8bcdacee-4849-453d-a68f-2251e168d466.scope.\n';  = 1
and then the vdsm gives up after 2 minuets (see the parameter: 
u'connectivityTimeout': 120) when it no longer hears the keepalive ping from 
the engine.
I guess that somehow the DHCP process on your network is not operating properly.
To work around this (until you sort out the DHCP issues)- configure ovirtmgmt 
management to have a static IP.
Ido


On Mon, Dec 21, 2015 at 4:04 PM, Kristof VAN DEN EYNDEN 
>
 wrote:
Hey Dan,

I reïnstalled the 3.6 on CentOS 7 (this was the issue as vdsm is no longre 
build for 6.7).
It's a fresh install of CentOs, only configured the adapter for a static IP and 
then the install of the oVirt Node.
 Installation goes well until following errors popup:


Dec 21, 2015 3:42:45 PM
Host KVM1 installation failed. Failed to configure management network on the 
host.

Dec 21, 2015 3:42:45 PM
Failed to configure management network on host KVM1 due to setup networks 
failure.

Dec 21, 2015 3:42:45 PM
VDSM KVM1 command failed: connectivity check failed

I included both vdsm.log  & supervdsm.log

---

I did a reboot, the ovirtmgmt was not linked to the adapter (enp3s0). Tried to 
link it manually which worked without hassle...

So now everything seems OK. I'll test further with the 3.6 now and hope it all 
goes like this now

-Oorspronkelijk bericht-
Van: users-boun...@ovirt.org 
[mailto:users-boun...@ovirt.org] Namens Kristof 
VAN DEN EYNDEN
Verzonden: maandag 21 december 2015 11:41
Aan: 'users@ovirt.org'
Onderwerp: Re: [ovirt-users] network configuration oVirt 3.5

Hey Dan,

Thanks for your response.

VDSM was the first problem when installing oVirt 3.6 on CentOS, it couldn't 
find the package and while browsing through the repos I couldn't find it 
either. So that was the first issue.. I tried compiling vdsm myself which 
didn't work either and I ended up using the VDSM package under the 3.5 release. 
Any idea how to tackle this?

If I have the time I'll try to reinstall 3.6 and note all the issues I find on 
the way. Can't recover those files as the server is complete messed up after my 
previous efforts

Kind regards !
Kristof




-Oorspronkelijk bericht-
Van: Dan Kenigsberg [mailto:dan...@redhat.com]
Verzonden: maandag 21 december 2015 11:19
Aan: Kristof VAN DEN 

Re: [ovirt-users] Changing migration_max_bandwidth?

2015-12-22 Thread Yaniv Dary
Yaniv Dary
Technical Product Manager
Red Hat Israel Ltd.
34 Jerusalem Road
Building A, 4th floor
Ra'anana, Israel 4350109

Tel : +972 (9) 7692306
8272306
Email: yd...@redhat.com
IRC : ydary


On Tue, Dec 22, 2015 at 9:41 AM, gflwqs gflwqs  wrote:

> Hi list,
> Since i have a dedicated live migration network is there a problem to
> change migration_max_bandwidth to 128 MiBps for a 1Gb network?
>
> I don't see any problem with the network getting saturated?
>
>
Should not be a issue if you have a dedicated host NIC for this network.
If you have several networks you can still get saturated.


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


Re: [ovirt-users] Cannot retrieve answer file from 1st HE host when setting up 2nd host

2015-12-22 Thread Simone Tiraboschi
On Tue, Dec 22, 2015 at 2:09 AM, Will Dennis  wrote:

> http://ur1.ca/ocstf
>
>

2015-12-21 11:28:39 DEBUG otopi.plugins.otopi.dialog.human
dialog.__logString:219 DIALOG:SEND Please specify the full
shared storage connection path to use (example: host:/path):
2015-12-21 11:28:55 DEBUG otopi.plugins.otopi.dialog.human
dialog.__logString:219 DIALOG:RECEIVElocalhost:/engine

OK, so you are trying to deploy hosted-engine on GlusterFS in a
hyper-converged way (using the same hosts for virtualization and for
serving GlusterFS). Unfortunately I've to advise you that this is not a
supported configuration on oVirt 3.6 due to different open bugs.
So I'm glad you can help us testing it but I prefer to advise that today
that schema is not production ready.

In your case it seams that VDSM correctly connects the GlusterFS volume
seeing all the bricks

2015-12-21 11:28:55 DEBUG
otopi.plugins.ovirt_hosted_engine_setup.storage.nfs plugin.execute:936
execute-output: ('/sbin/gluster', '--mode=script', '--xml', 'volume',
'info', 'engine', '--remote-host=localhost') stdout:


  0
  0
  
  

  
engine
974c9da4-b236-4fc1-b26a-645f14601db8
1
Started
6
3

but then VDSM doesn't find any storage domain there:

otopi.plugins.ovirt_hosted_engine_setup.storage.storage.Plugin._late_customization
2015-12-21 11:29:58 DEBUG
otopi.plugins.ovirt_hosted_engine_setup.storage.storage
storage._getExistingDomain:476 _getExistingDomain
2015-12-21 11:29:58 DEBUG
otopi.plugins.ovirt_hosted_engine_setup.storage.storage
storage._storageServerConnection:638 connectStorageServer
2015-12-21 11:29:58 DEBUG
otopi.plugins.ovirt_hosted_engine_setup.storage.storage
storage._storageServerConnection:701 {'status': {'message': 'OK', 'code':
0}, 'statuslist': [{'status': 0, 'id':
'67ece152-dd66-444c-8d18-4249d1b8f488'}]}
2015-12-21 11:29:58 DEBUG
otopi.plugins.ovirt_hosted_engine_setup.storage.storage
storage._getStorageDomainsList:595 getStorageDomainsList
2015-12-21 11:29:59 DEBUG
otopi.plugins.ovirt_hosted_engine_setup.storage.storage
storage._getStorageDomainsList:598 {'status': {'message': 'OK', 'code': 0},
'domlist': []}

Can you please attach also the correspondent VDSM logs?

Adding Sahina here.



> On Dec 21, 2015, at 11:58 AM, Simone Tiraboschi  > wrote:
>
> On Mon, Dec 21, 2015 at 5:52 PM, Will Dennis > wrote:
>
> However, when I went to the 3rd host and did the setup, I selected
> 'glusterfs' and gave the path of the engine volume, it came back and
> incorrectly identified it as the first host, instead of an additional
> host... How does setup determine that? I confirmed that on this 3rd host
> that the engine volume is available and has the GUID subfolder of the
> hosted engine...
>
>
> Can you please attach a log of hosted-engine-setup also from there?
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] HE on Gluster?

2015-12-22 Thread Simone Tiraboschi
On Tue, Dec 22, 2015 at 4:58 AM, Eriks Goodwin 
wrote:

> I see conflicting advice regarding hosted engine storage...  what is the
> current state of the art on this?
>
> 1) Should an HE use gluster-ed storage--or not?
>
> 2) During HE setup, the memory question used to list the minimum as
> default--now it shows maximum possible as default.  What is the appropriate
> setting?
>
>
It really depends from the size of your deployment site: the default value
in the engine appliance is 16G, now the setup proposes the minimum value
between the available memory and the appliance default.
For small deployments 4G should be enough.



>
>
> ___
> 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] New oVirt Node releases?

2015-12-22 Thread Fabian Deutsch
On Mon, Dec 21, 2015 at 6:18 PM, Kevin Hung  wrote:
> Hello,
>
> I have noticed that there have not been any official releases of oVirt Node
> since 3.5.2 [1]. I have tried looking through the Users and the Announce
> mailing lists for any information regarding the lack of releases, but I was
> not able to find anything from the past few months. The official
> documentation for oVirt seems to indicate that oVirt Node is still
> supported.
>
> Are there just build problems preventing oVirt Node from being released? Or
> are we supposed to use either the latest Jenkins build or our own build [2]
> if we wish to deploy oVirt Node?

Hey Kevin.

In the last months we went over to only release oVirt Node through Jenkins [3].

The main reasons is that the Node team was focused on stabilizing
Node, instead of improving the release process.

For the old isos in [1] - We should probably remove them and point to
the continous builds.

I've also updated the links on the main Node landing page:
http://www.ovirt.org/Category:Node

Greetings
- fabian

[3] http://jenkins.ovirt.org/job/ovirt-node_ovirt-3.6_create-iso-el7_merged/

> [1] http://resources.ovirt.org/pub/ovirt-3.5/iso/ovirt-node/el7-3.5.2/
> [2] http://www.ovirt.org/Node_Building
> ___
> 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] network configuration oVirt 3.5

2015-12-22 Thread Ido Barkan
Hi Kristof.

By inspecting the logs (supervdsm.log) I see the following:
Adding the management network on the host started here:

MainProcess|jsonrpc.Executor/4::DEBUG::2015-12-21
15:40:04,620::supervdsmServer::114::SuperVdsm.ServerCallback::(wrapper)
call setupNetworks with ({u'ovirtmgmt': {u'nic': u'enp3s0', u'mtu':
u'1500', u'bootproto': u'dhcp', u'STP': u'no', u'bridged': u'true',
u'defaultRoute': True}}, {}, {u'connectivityCheck': u'true',
u'connectivityTimeout': 120}) {}

as part of the network configuration vdsm tries to call `ifup` on the
bridge named ovirtmgmt:

ifup-waiting-on-dhcp::DEBUG::2015-12-21
15:40:04,854::utils::669::root::(execCmd) /usr/bin/systemd-run --scope
--unit=8bcdacee-4849-453d-a68f-2251e168d466 --slice=vdsm-dhclient
/usr/sbin/ifup ovirtmgmt (cwd None)

This fails after ~1 minute:

ifup-waiting-on-dhcp::DEBUG::2015-12-21
15:41:08,184::utils::687::root::(execCmd) FAILED:  = 'Running as unit
8bcdacee-4849-453d-a68f-2251e168d466.scope.\n';  = 1

and then the vdsm gives up after 2 minuets (see the parameter:
u'connectivityTimeout': 120) when it no longer hears the keepalive ping
from the engine.

I guess that somehow the DHCP process on your network is not operating
properly.

To work around this (until you sort out the DHCP issues)- configure
ovirtmgmt management to have a static IP.

Ido


On Mon, Dec 21, 2015 at 4:04 PM, Kristof VAN DEN EYNDEN <
kristof.vandeneyn...@politiewestkust.be> wrote:

> Hey Dan,
>
> I reïnstalled the 3.6 on CentOS 7 (this was the issue as vdsm is no longre
> build for 6.7).
> It's a fresh install of CentOs, only configured the adapter for a static
> IP and then the install of the oVirt Node.
>  Installation goes well until following errors popup:
>
>
> Dec 21, 2015 3:42:45 PM
> Host KVM1 installation failed. Failed to configure management network on
> the host.
>
> Dec 21, 2015 3:42:45 PM
> Failed to configure management network on host KVM1 due to setup networks
> failure.
>
> Dec 21, 2015 3:42:45 PM
> VDSM KVM1 command failed: connectivity check failed
>
> I included both vdsm.log  & supervdsm.log
>
> ---
>
> I did a reboot, the ovirtmgmt was not linked to the adapter (enp3s0).
> Tried to link it manually which worked without hassle...
>
> So now everything seems OK. I'll test further with the 3.6 now and hope it
> all goes like this now
>
> -Oorspronkelijk bericht-
> Van: users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] Namens
> Kristof VAN DEN EYNDEN
> Verzonden: maandag 21 december 2015 11:41
> Aan: 'users@ovirt.org'
> Onderwerp: Re: [ovirt-users] network configuration oVirt 3.5
>
> Hey Dan,
>
> Thanks for your response.
>
> VDSM was the first problem when installing oVirt 3.6 on CentOS, it
> couldn't find the package and while browsing through the repos I couldn't
> find it either. So that was the first issue.. I tried compiling vdsm myself
> which didn't work either and I ended up using the VDSM package under the
> 3.5 release. Any idea how to tackle this?
>
> If I have the time I'll try to reinstall 3.6 and note all the issues I
> find on the way. Can't recover those files as the server is complete messed
> up after my previous efforts
>
> Kind regards !
> Kristof
>
>
>
>
> -Oorspronkelijk bericht-
> Van: Dan Kenigsberg [mailto:dan...@redhat.com]
> Verzonden: maandag 21 december 2015 11:19
> Aan: Kristof VAN DEN EYNDEN; edwa...@redhat.com
> CC: 'users@ovirt.org'
> Onderwerp: Re: [ovirt-users] network configuration oVirt 3.5
>
> On Thu, Dec 17, 2015 at 03:33:28PM +, Kristof VAN DEN EYNDEN wrote:
> > Hello everyone,
> >
> > After trying to install oVirt 3.6 on CentOs which was a lot of pain, I
> ended up installing 3.5 without hassle.
>
> Would you provide more information (logs, screenshots) about the pains of
> installing ovirt-3.6? These days, most of the development effort is focused
> on stabilizing 3.6. No further releases of ovirt-3.5.z are expected (up to
> horrible security bugs, etc), so we advise using 3.6 in new instllations.
>
> >
> > BUT Now I'm trying to configure the network for my first cluster host
> but I'm having troubles doing so.
> >
> > The server has 4 network ports,
> > Eth0 = Virtual management network, 172.16 range, only used for oVirt /
> > KVM
> > Eth1 = Local network where the Guest should be accessible range 11.x
> > Eth2/3 unused..
> >
> > Initially, no network is assigned, but I feel eth0 should be linked to
> ovirtmgmt I automatically using it's IP that is assigned?
> >
> > When I assign ovirtmgmt to eth0 and set the IP to the corresponding IP
> > it already has for that host and the local network to eth1 the host
> > loses connection (until it resets it's connections...)
> > ->not assigning an IP is no option as I can only select static /dhcp
> > ->for ovirtmgmt
>
>
> ovirtmgmt should have been automatically added on top of the interface
> that has the IP used to add the host to Engine.
>
> Could you share your engine.log and {super,}vdsm.log from that time to
> understand why did it 

[ovirt-users] uncaught exception with engine vm in 3.6.1 selecting hosted_storage

2015-12-22 Thread Gianluca Cecchi
Hello after updating from 3.6.0 to 3.6.1 my HE environment, I'm not able to
import/activate the hosted_storage domain because it results anattached
Moreover I get the popup message

Uncaught exception occurred. Please try reloading the page. Details:
(TypeError) __gwt$exception: : c is null

when I select the line of hosted_storage domain in storage tab. See:
https://drive.google.com/file/d/0BwoPbcrMv8mvVlc1XzNUZ18yWWs/view?usp=sharing

I don't find apparently ERROR messages wen I do this, so I don't know where
to watch.

On engine, where the db lives, I have under /var/lib/pgsql/data/pg_log

[root@ractorshe pg_log]# ls -lrt
total 12
-rw---. 1 postgres postgres0 Dec 16 01:00 postgresql-Wed.log
-rw---. 1 postgres postgres0 Dec 17 01:00 postgresql-Thu.log
-rw---. 1 postgres postgres0 Dec 18 01:00 postgresql-Fri.log
-rw---. 1 postgres postgres 7480 Dec 20 00:39 postgresql-Sat.log
-rw---. 1 postgres postgres 3488 Dec 20 01:29 postgresql-Sun.log
-rw---. 1 postgres postgres0 Dec 21 01:00 postgresql-Mon.log
-rw---. 1 postgres postgres0 Dec 22 01:00 postgresql-Tue.log

On Sunday logs, when the engine was started I see

LOG:  database system was not properly shut down; automatic recovery in
progress
LOG:  redo starts at 1/254C6710
LOG:  record with zero length at 1/254EB6B8
LOG:  redo done at 1/254EB688
LOG:  last completed transaction was at log time 2015-12-19
23:49:47.920147+00
LOG:  database system is ready to accept connections
LOG:  autovacuum launcher started
ERROR:  insert or update on table "storage_domain_dynamic" violates foreign
key constraint "fk_stora
ge_domain_dynamic_storage_domain_static"
DETAIL:  Key (id)=(----) is not present in
table "storage_domain_static".
CONTEXT:  SQL statement "INSERT INTO
storage_domain_dynamic(available_disk_size, id, used_disk_size)
VALUES(v_available_disk_size, v_id, v_used_disk_size)"
PL/pgSQL function
insertstorage_domain_dynamic(integer,uuid,integer) line 3 at SQL statement
STATEMENT:  select * from insertstorage_domain_dynamic($1, $2, $3) as result

and then many lines of kind

LOG:  autovacuum: found orphan temp table "pg_temp_8"."tt_temp22" in
database "engine"

so messages related to domains and could be the reason of the exception and
of the inability of importing/attaching my HE storage domain.

Let me know if I can provide more logs or output of queries from the
database.

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


Re: [ovirt-users] Migrating (or Deploying) Hosted Engine to second host from AMD -> Intel

2015-12-22 Thread Roy Golan
On Mon, Dec 21, 2015 at 9:50 AM, Josh  wrote:

> Hi,
>
> I am currently running a Ovirt 3.6 host + Hosted Engine (both Centos 7) on
> an AMD based computer (AMD_HOST). I recently purchased a second server
> which is running an Intel processor and want to move all the VM's + Hosted
> Engine to this second server (INTEL_HOST). I was wondering what the proper
> procedure to do this would be. I have attempted a few things but nothing is
> successfully working. I have added and activated the INTEL_HOST through the
> Hosted Engine UI but since the AMD_HOST is AMD based and the second is
> Intel based I had to create a separate cluster (INTEL_CLUSTER). I can move
> all VM's to this new cluster but have not figured out how to get a Hosted
> Engine working on INTEL_HOST.
>
> Attempting to force migration of the Hosted Engine to INTEL_CLUSTER fails
> with the following:
> Cannot migrate VM. There is no host that satisfies current scheduling
> constraints. See below for details:
> The host INTEL_HOST did not satisfy internal filter HA because it is not a
> Hosted Engine host..
>
> Attempting to deploy a second hosted engine also runs into errors
> (hosted-engine --deploy). After downloading the answers.conf file from
> AMD_HOST, setup fails because of a different process type/family. I
> manually downloaded the answers.conf file and changed the processor type
> but setup validation fails because the path to the hosted engine metadata
> does not exist.
>
> hosted-engine --deploy --config-append=answers.conf
> ...
>  [ ERROR ] Failed to execute stage 'Setup validation': failed to read
> metadata: [Errno 2] No such file or directory:
> '/rhev/data-center/mnt///ha_agent/hosted-engine.metadata'
> [ INFO  ] Stage: Clean up
>
> This metadata file points to /var/run/vdsm/storage// uuids...> but the he_uuid folder does not exist. I suspect this path
> doesn't exist because the storage domain is mapped for AMD_CLUSTER's hosted
> engine and cannot be referenced by another cluster. vdsClient does list the
> storage domain info though on the INTEL_HOST.
>

There shouldn't be any difference in paths between amd and intel. Please
share the vdsm log from that intel host during the setup failure

>
> vdsClient -s 0 getStorageDomainInfo 
> uuid = 
> version = 3
> role = Regular
> remotePath = 
> type = NFS
> class = Data
> pool = []
> name = hosted_storage
>
> The next steps I was going to take was to backup the hosted engine,
> setting up INTEL_HOST, and restoring the backed up hosted engine but I'm
> not sure if this will work since it will be restored on a different host.
> The next option was to just export all VM's, setup INTEL_HOST and a new
> hosted engine from scratch, and import all VM's, though I would prefer not
> to have to do this.
>
> Does anyone have any recommendations on how to make this move? I would
> simply like to move my Ovirt installation onto the INTEL_HOST. I thought I
> would be able to add the second host, migrate all data over, and remove the
> first host, but this procedure is getting hung up on dealing with the
> hosted engine.
>
> Thanks,
> Josh
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] ERROR: update or delete on table "luns" violates foreign key constraint...

2015-12-22 Thread Roy Golan
On Sun, Dec 20, 2015 at 12:28 PM, Eli Mesika  wrote:

>
>
> - Original Message -
> > From: "Aleksey Chudov" 
> > To: users@ovirt.org
> > Sent: Friday, December 18, 2015 11:38:21 AM
> > Subject: [ovirt-users] ERROR: update or delete on table "luns" violates
>  foreign key constraint...
> >
> > Hi,
> >
> > I have two-node self hosted engine cluster with iscsi shared storage.
> Every
> > ovirt-engine restart produces the following error in
> > /var/log/ovirt-engine/engine.log. After that engine works without any
> > problems.
> >
> > How to fix it?
>
>
Aleksey what's the engine version?


> CCing Allon M
>
> This seems as a bug
>
> disk_lun_map FK is created without ON DELETE/UPDATE CASCADE
> This makes the FK failing in deleting from the luns table (by calling
> DeleteLun) while the deleted lun in the parent table has references in
> disk_lun_map
>
> Allon, please advice
>
> >
> > 2015-12-18 11:33:00,053 ERROR
> >
> [org.ovirt.engine.core.bll.storage.SyncLunsInfoForBlockStorageDomainCommand]
> > (org.ovirt.thread.pool-8-thread-11) [674068d8] Command
> >
> 'org.ovirt.engine.core.bll.storage.SyncLunsInfoForBlockStorageDomainCommand'
> > failed: CallableStatementCallback; SQL [{call deletelun(?)}]; ERROR:
> update
> > or delete on table "luns" violates foreign key constraint
> > "disk_lun_to_lun_fk" on table "disk_lun_map"
> > Detail: Key (lun_id)=(36001405821da830526f48d0a961767c8) is still
> referenced
> > from table "disk_lun_map".
> > Where: SQL statement "DELETE FROM LUNs
> > WHERE LUN_id = v_LUN_id"
> > PL/pgSQL function deletelun(character varying) line 10 at SQL statement;
> > nested exception is org.postgresql.util.PSQLException: ERROR: update or
> > delete on table "luns" violates foreign key constraint
> "disk_lun_to_lun_fk"
> > on table "disk_lun_map"
> > Detail: Key (lun_id)=(36001405821da830526f48d0a961767c8) is still
> referenced
> > from table "disk_lun_map".
> > Where: SQL statement "DELETE FROM LUNs
> > WHERE LUN_id = v_LUN_id"
> > PL/pgSQL function deletelun(character varying) line 10 at SQL statement
> > 2015-12-18 11:33:00,053 ERROR
> >
> [org.ovirt.engine.core.bll.storage.SyncLunsInfoForBlockStorageDomainCommand]
> > (org.ovirt.thread.pool-8-thread-11) [674068d8] Exception:
> > org.springframework.dao.DataIntegrityViolationException:
> > CallableStatementCallback; SQL [{call deletelun(?)}]; ERROR: update or
> > delete on table "luns" violates foreign key constraint
> "disk_lun_to_lun_fk"
> > on table "disk_lun_map"
> > Detail: Key (lun_id)=(36001405821da830526f48d0a961767c8) is still
> referenced
> > from table "disk_lun_map".
> > Where: SQL statement "DELETE FROM LUNs
> > WHERE LUN_id = v_LUN_id"
> > PL/pgSQL function deletelun(character varying) line 10 at SQL statement;
> > nested exception is org.postgresql.util.PSQLException: ERROR: update or
> > delete on table "luns" violates foreign key constraint
> "disk_lun_to_lun_fk"
> > on table "disk_lun_map"
> > Detail: Key (lun_id)=(36001405821da830526f48d0a961767c8) is still
> referenced
> > from table "disk_lun_map".
> > Where: SQL statement "DELETE FROM LUNs
> > WHERE LUN_id = v_LUN_id"
> > PL/pgSQL function deletelun(character varying) line 10 at SQL statement
> > at
> >
> org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:245)
> > [spring-jdbc.jar:3.1.1.RELEASE]
> > at
> >
> org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:72)
> > [spring-jdbc.jar:3.1.1.RELEASE]
> > at
> org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:1030)
> > [spring-jdbc.jar:3.1.1.RELEASE]
> > at
> org.springframework.jdbc.core.JdbcTemplate.call(JdbcTemplate.java:1064)
> > [spring-jdbc.jar:3.1.1.RELEASE]
> > at
> >
> org.springframework.jdbc.core.simple.AbstractJdbcCall.executeCallInternal(AbstractJdbcCall.java:388)
> > [spring-jdbc.jar:3.1.1.RELEASE]
> > at
> >
> org.springframework.jdbc.core.simple.AbstractJdbcCall.doExecute(AbstractJdbcCall.java:351)
> > [spring-jdbc.jar:3.1.1.RELEASE]
> > at
> >
> org.springframework.jdbc.core.simple.SimpleJdbcCall.execute(SimpleJdbcCall.java:181)
> > [spring-jdbc.jar:3.1.1.RELEASE]
> > at
> >
> org.ovirt.engine.core.dal.dbbroker.SimpleJdbcCallsHandler.executeImpl(SimpleJdbcCallsHandler.java:147)
> > [dal.jar:]
> > at
> >
> org.ovirt.engine.core.dal.dbbroker.SimpleJdbcCallsHandler.executeImpl(SimpleJdbcCallsHandler.java:142)
> > [dal.jar:]
> > at
> >
> org.ovirt.engine.core.dal.dbbroker.SimpleJdbcCallsHandler.executeModification(SimpleJdbcCallsHandler.java:80)
> > [dal.jar:]
> > at org.ovirt.engine.core.dao.LunDaoImpl.remove(LunDaoImpl.java:127)
> > [dal.jar:]
> > at org.ovirt.engine.core.dao.LunDaoImpl.remove(LunDaoImpl.java:18)
> [dal.jar:]
> > at
> >
> org.ovirt.engine.core.bll.storage.SyncLunsInfoForBlockStorageDomainCommand.refreshLunsInfo(SyncLunsInfoForBlockStorageDomainCommand.java:94)
> > [bll.jar:]

[ovirt-users] iLO2

2015-12-22 Thread Eriks Goodwin
I have been tinkering with various settings and configurations trying to get 
power management working properly--but it keeps giving me "Fail:" (without any 
details) every time I test the settings. The servers I am using are HP Proliant 
DL380 G6 with integrated iLO2. Any tips? 

I can use the same credentials to log into the system via the web interface--so 
I'm sure I have the address, username, and passwd right. :-) 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Hosted Engine crash - state = EngineUp-EngineUpBadHealth

2015-12-22 Thread Simone Tiraboschi
On Tue, Dec 22, 2015 at 2:31 AM, Will Dennis  wrote:

> OK, another problem :(
>
> I was having the same problem with my second oVirt host that I had with my
> first one, where when I ran “hosted-engine —deploy” on it, after it
> completed successfully, then I was experiencing a ~50sec lag when SSH’ing
> into the node…
>
> vpnp71:~ will$ time ssh root@ovirt-node-02 uptime
>  19:36:06 up 4 days,  8:31,  0 users,  load average: 0.68, 0.70, 0.67
>
> real  0m50.540s
> user  0m0.025s
> sys 0m0.008s
>
>
> So, in the oVirt web admin console, I put the "ovirt-node-02” node into
> Maintenance mode, then SSH’d to the server and rebooted it. Sure enough,
> after the server came back up, SSH was fine (no delay), which again was the
> same experience I had had with the first oVirt host. So, I went back to the
> web console, and choose the “Confirm host has been rebooted” option, which
> I thought would be the right action to take after a reboot. The system
> opened a dialog box with a spinner, which never stopped spinning… So
> finally, I closed the dialog box with the upper right (X) symbol, and then
> for this same host choose “Activate” from the menu. It was then I noticed I
> had recieved a state transition email notifying me that
> "EngineUp-EngineUpBadHealth” and sure enough, the web UI was then
> unresponsive. I checked on the first oVirt host, the VM with the name
> “HostedEngine” is still running, but obviously isn’t working…
>
> So, looks like I need to restart the HostedEngine VM or take whatever
> action is needed to return oVirt to operation… Hate to keep asking this
> question, but what’s the correct action at this point?
>
>
ovirt-ha-agent should always restart it for you after a few minutes but the
point is that the network configuration seams to be not that stable.

I know from another thread that you are trying to deploy hosted-engine over
GlusterFS in an hyperconverged way and this, as I said, is currently not
supported.
I think that it can also requires some specific configuration on network
side.
Adding Sahina and Dan here.


> Thanks, again,
> Will
>
> ___
> 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] virtual Disk

2015-12-22 Thread Ala Hino
Hello,

Are referring to vm disk size?
If so and I am referring here to the I:
I just tried both options and found that even though it is possible to change 
the size field, the size isn't changed. Probably this field should be graded 
out and only display the current size.
However, the "Extend size by(GB)" field does extend the disk size.

- Original Message -
> From: "Taste-Of-IT" 
> To: users@ovirt.org
> Sent: Monday, December 21, 2015 11:06:49 PM
> Subject: [ovirt-users] virtual Disk
> 
> Hello,
> i testing oVirt 3.6 as Self-Hosted-Engine and create a virtual machine.
> Now i want to change the size of the disk and found the possibilities to
> change the size of the disk and a field to grow the disk. In ovirt
> manual it is descripted to change the value of the grow field. My
> question is what is the difference and what are the results of that. E.g
> what happend if i only change the disk size from 8 to 10? is it the same
> like i change the grow size from 0 to 2?
> 
> thx for technical explanation.
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] [ovirt-devel] [ANN] oVirt Bugzilla Now Supports Votes.

2015-12-22 Thread Yaniv Dary
I'm not sure I understand the question.
Votes can affect severity and priority. It a aspect to check when setting
these.

Yaniv Dary
Technical Product Manager
Red Hat Israel Ltd.
34 Jerusalem Road
Building A, 4th floor
Ra'anana, Israel 4350109

Tel : +972 (9) 7692306
8272306
Email: yd...@redhat.com
IRC : ydary


On Tue, Dec 22, 2015 at 1:39 PM, Amit Aviram  wrote:

> Does voting includes only the severity option? or anything else?
>
> On Tue, Dec 22, 2015 at 12:29 PM, Yaniv Dary  wrote:
>
>> Hi all,
>> I'm happy to announce that voting has been enabled for all the oVirt
>> projects.
>> Let us know what RFEs and bugs you hold dear and help us in prioritizing
>> what to fix first and what will have most impact.
>>
>> To vote please login, enter any oVirt bug and press on vote button (see
>> attached image).
>>
>>
>> Thanks!
>>
>> Yaniv Dary
>> Technical Product Manager
>> Red Hat Israel Ltd.
>> 34 Jerusalem Road
>> Building A, 4th floor
>> Ra'anana, Israel 4350109
>>
>> Tel : +972 (9) 7692306
>> 8272306
>> Email: yd...@redhat.com
>> IRC : ydary
>>
>>
>> ___
>> Devel mailing list
>> de...@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/devel
>>
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Hosted Engine crash - state = EngineUp-EngineUpBadHealth

2015-12-22 Thread Will Dennis
The network should *not* be flakey - all hosts are plugged into a Cisco 
Catalyst 4500 switch. I can take a look at the port counters when I have a 
chance, but would not expect intermittent network disruptions.

Will post logs soon and provide URLs.

W.



Sent with Good (www.good.com)


-Original Message-
From: Sahina Bose [sab...@redhat.com]
Sent: Tuesday, December 22, 2015 04:58 AM Eastern Standard Time
To: Simone Tiraboschi; Will Dennis; Dan Kenigsberg
Cc: users
Subject: Re: [ovirt-users] Hosted Engine crash - state = 
EngineUp-EngineUpBadHealth



On 12/22/2015 02:38 PM, Simone Tiraboschi wrote:


On Tue, Dec 22, 2015 at 2:31 AM, Will Dennis 
> wrote:
OK, another problem :(

I was having the same problem with my second oVirt host that I had with my 
first one, where when I ran “hosted-engine —deploy” on it, after it completed 
successfully, then I was experiencing a ~50sec lag when SSH’ing into the node…

vpnp71:~ will$ time ssh root@ovirt-node-02 uptime
 19:36:06 up 4 days,  8:31,  0 users,  load average: 0.68, 0.70, 0.67

real  0m50.540s
user  0m0.025s
sys 0m0.008s


So, in the oVirt web admin console, I put the "ovirt-node-02” node into 
Maintenance mode, then SSH’d to the server and rebooted it. Sure enough, after 
the server came back up, SSH was fine (no delay), which again was the same 
experience I had had with the first oVirt host. So, I went back to the web 
console, and choose the “Confirm host has been rebooted” option, which I 
thought would be the right action to take after a reboot. The system opened a 
dialog box with a spinner, which never stopped spinning… So finally, I closed 
the dialog box with the upper right (X) symbol, and then for this same host 
choose “Activate” from the menu. It was then I noticed I had recieved a state 
transition email notifying me that "EngineUp-EngineUpBadHealth” and sure 
enough, the web UI was then unresponsive. I checked on the first oVirt host, 
the VM with the name “HostedEngine” is still running, but obviously isn’t 
working…

So, looks like I need to restart the HostedEngine VM or take whatever action is 
needed to return oVirt to operation… Hate to keep asking this question, but 
what’s the correct action at this point?


ovirt-ha-agent should always restart it for you after a few minutes but the 
point is that the network configuration seams to be not that stable.

I know from another thread that you are trying to deploy hosted-engine over 
GlusterFS in an hyperconverged way and this, as I said, is currently not 
supported.
I think that it can also requires some specific configuration on network side.

For hyperconverged gluster+engine , it should work without any specific 
configuration on network side. However if the network is flaky, it is possible 
that there are errors with gluster volume access. Could you provide the 
ovirt-ha-agent logs as well as gluster mount logs?


Adding Sahina and Dan here.

Thanks, again,
Will

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


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


Re: [ovirt-users] [ovirt-devel] [ANN] oVirt Bugzilla Now Supports Votes.

2015-12-22 Thread Amit Aviram
Does voting includes only the severity option? or anything else?

On Tue, Dec 22, 2015 at 12:29 PM, Yaniv Dary  wrote:

> Hi all,
> I'm happy to announce that voting has been enabled for all the oVirt
> projects.
> Let us know what RFEs and bugs you hold dear and help us in prioritizing
> what to fix first and what will have most impact.
>
> To vote please login, enter any oVirt bug and press on vote button (see
> attached image).
>
>
> Thanks!
>
> Yaniv Dary
> Technical Product Manager
> Red Hat Israel Ltd.
> 34 Jerusalem Road
> Building A, 4th floor
> Ra'anana, Israel 4350109
>
> Tel : +972 (9) 7692306
> 8272306
> Email: yd...@redhat.com
> IRC : ydary
>
>
> ___
> Devel mailing list
> de...@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/devel
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Cannot retrieve answer file from 1st HE host when setting up 2nd host

2015-12-22 Thread Will Dennis
Hi Simone,

It's actually OK that it's not fully supported yet, this is a PoC deployment to 
evaluate oVirt for our needs...

I will provide the VDSM logs shortly & post the URLs.

W.



Sent with Good (www.good.com)


-Original Message-
From: Simone Tiraboschi [stira...@redhat.com]
Sent: Tuesday, December 22, 2015 03:58 AM Eastern Standard Time
To: Will Dennis; Sahina Bose
Cc: Yedidyah Bar David; users
Subject: Re: [ovirt-users] Cannot retrieve answer file from 1st HE host when 
setting up 2nd host



On Tue, Dec 22, 2015 at 2:09 AM, Will Dennis 
> wrote:
http://ur1.ca/ocstf



2015-12-21 11:28:39 DEBUG otopi.plugins.otopi.dialog.human 
dialog.__logString:219 DIALOG:SEND Please specify the full 
shared storage connection path to use (example: host:/path):
2015-12-21 11:28:55 DEBUG otopi.plugins.otopi.dialog.human 
dialog.__logString:219 DIALOG:RECEIVElocalhost:/engine

OK, so you are trying to deploy hosted-engine on GlusterFS in a hyper-converged 
way (using the same hosts for virtualization and for serving GlusterFS). 
Unfortunately I've to advise you that this is not a supported configuration on 
oVirt 3.6 due to different open bugs.
So I'm glad you can help us testing it but I prefer to advise that today that 
schema is not production ready.

In your case it seams that VDSM correctly connects the GlusterFS volume seeing 
all the bricks

2015-12-21 11:28:55 DEBUG otopi.plugins.ovirt_hosted_engine_setup.storage.nfs 
plugin.execute:936 execute-output: ('/sbin/gluster', '--mode=script', '--xml', 
'volume', 'info', 'engine', '--remote-host=localhost') stdout:


  0
  0
  
  

  
engine
974c9da4-b236-4fc1-b26a-645f14601db8
1
Started
6
3

but then VDSM doesn't find any storage domain there:

otopi.plugins.ovirt_hosted_engine_setup.storage.storage.Plugin._late_customization
2015-12-21 11:29:58 DEBUG 
otopi.plugins.ovirt_hosted_engine_setup.storage.storage 
storage._getExistingDomain:476 _getExistingDomain
2015-12-21 11:29:58 DEBUG 
otopi.plugins.ovirt_hosted_engine_setup.storage.storage 
storage._storageServerConnection:638 connectStorageServer
2015-12-21 11:29:58 DEBUG 
otopi.plugins.ovirt_hosted_engine_setup.storage.storage 
storage._storageServerConnection:701 {'status': {'message': 'OK', 'code': 0}, 
'statuslist': [{'status': 0, 'id': '67ece152-dd66-444c-8d18-4249d1b8f488'}]}
2015-12-21 11:29:58 DEBUG 
otopi.plugins.ovirt_hosted_engine_setup.storage.storage 
storage._getStorageDomainsList:595 getStorageDomainsList
2015-12-21 11:29:59 DEBUG 
otopi.plugins.ovirt_hosted_engine_setup.storage.storage 
storage._getStorageDomainsList:598 {'status': {'message': 'OK', 'code': 0}, 
'domlist': []}

Can you please attach also the correspondent VDSM logs?

Adding Sahina here.


On Dec 21, 2015, at 11:58 AM, Simone Tiraboschi 
>>
 wrote:

On Mon, Dec 21, 2015 at 5:52 PM, Will Dennis 
>>
 wrote:

However, when I went to the 3rd host and did the setup, I selected 'glusterfs' 
and gave the path of the engine volume, it came back and incorrectly identified 
it as the first host, instead of an additional host... How does setup determine 
that? I confirmed that on this 3rd host that the engine volume is available and 
has the GUID subfolder of the hosted engine...


Can you please attach a log of hosted-engine-setup also from there?


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


Re: [ovirt-users] How to run "engine-backup"?

2015-12-22 Thread Simone Tiraboschi
On Tue, Dec 22, 2015 at 5:32 PM, Will Dennis  wrote:

> Yay, I **finally** have my 3-host hyper-converged oVirt datacenter stood
> up :)
>
>
>
> [root@ovirt-node-01 ~]# hosted-engine --vm-status
>
>
>
>
>
> --== Host 1 status ==--
>
>
>
> Status up-to-date  : True
>
> Hostname   : ovirt-node-01
>
> Host ID: 1
>
> Engine status  : {"health": "good", "vm": "up",
> "detail": "up"}
>
> Score  : 3400
>
> stopped: False
>
> Local maintenance  : False
>
> crc32  : 65c41ca5
>
> Host timestamp : 217522
>
>
>
>
>
> --== Host 2 status ==--
>
>
>
> Status up-to-date  : True
>
> Hostname   : ovirt-node-02
>
> Host ID: 2
>
> Engine status  : {"reason": "vm not running on this
> host", "health": "bad", "vm": "down", "detail": "unknown"}
>
> Score  : 3400
>
> stopped: False
>
> Local maintenance  : False
>
> crc32  : a7a599d8
>
> Host timestamp : 56101
>
>
>
>
>
> --== Host 3 status ==--
>
>
>
> Status up-to-date  : True
>
> Hostname   : ovirt-node-03
>
> Host ID: 3
>
> Engine status  : {"reason": "vm not running on this
> host", "health": "bad", "vm": "down", "detail": "unknown"}
>
> Score  : 3400
>
> stopped: False
>
> Local maintenance  : False
>
> crc32  : 6e138d0b
>
> Host timestamp : 432658
>
>
>
>
>
>
>
> Now in the oVirt webadmin UI down in the “Alerts” section, I am seeing
> this message:
>
>
>
> “There is no full backup available, please run engine-backup to prevent
> data loss in case of corruption.”
>
>
>
> I do not see a “engine-backup” CLI command on my hosts;
>

yes, engine-backup is on the engine VM :-)


> how does one do this? (I have searched ovirt.org to no avail...)
>
>
>
> Thanks,
>
> Will
>
> ___
> 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] Cannot retrieve answer file from 1st HE host when setting up 2nd host

2015-12-22 Thread Simone Tiraboschi
On Tue, Dec 22, 2015 at 3:31 PM, Will Dennis  wrote:

> Yes, OK to attached needed logs to bug report...
>
>
>

Done, thanks.

https://bugzilla.redhat.com/show_bug.cgi?id=1293666


>
>
> *From:* Simone Tiraboschi [mailto:stira...@redhat.com]
> *Sent:* Tuesday, December 22, 2015 9:27 AM
> *To:* Will Dennis; users
> *Cc:* Sahina Bose; Yedidyah Bar David; Nir Soffer
>
> *Subject:* Re: [ovirt-users] Cannot retrieve answer file from 1st HE host
> when setting up 2nd host
>
>
>
>
>
>
>
> On Tue, Dec 22, 2015 at 3:06 PM, Will Dennis  wrote:
>
> See attached for requested logs
>
>
>
>
>
> Thanks, the issue is here:
>
> Dec 21 19:40:53 ovirt-node-03 etc-glusterfs-glusterd.vol[1079]:
> [2015-12-22 00:40:53.496109] C [MSGID: 106002]
> [glusterd-server-quorum.c:351:glusterd_do_volume_quorum_action]
> 0-management: Server quorum lost for volume engine. Stopping local bricks.
>
> Dec 21 19:40:53 ovirt-node-03 etc-glusterfs-glusterd.vol[1079]:
> [2015-12-22 00:40:53.496410] C [MSGID: 106002]
> [glusterd-server-quorum.c:351:glusterd_do_volume_quorum_action]
> 0-management: Server quorum lost for volume vmdata. Stopping local bricks.
>
>
>
> So at that point gluster lost its quorum and the fail system got read-only.
>
>
>
> On the getStorageDomainsList VDSM internally raises cause the file-system
> is read only:
>
>
>
> Thread-141::DEBUG::2015-12-21
> 11:29:59,666::fileSD::157::Storage.StorageDomainManifest::(__init__)
> Reading domain in path
> /rhev/data-center/mnt/glusterSD/localhost:_engine/e89b6e64-bd7d-4846-b970-9af32a3295ee
>
> Thread-141::DEBUG::2015-12-21
> 11:29:59,666::__init__::320::IOProcessClient::(_run) Starting IOProcess...
>
> Thread-141::DEBUG::2015-12-21
> 11:29:59,680::persistentDict::192::Storage.PersistentDict::(__init__)
> Created a persistent dict with FileMetadataRW backend
>
> Thread-141::ERROR::2015-12-21
> 11:29:59,686::hsm::2898::Storage.HSM::(getStorageDomainsList) Unexpected
> error
>
> Traceback (most recent call last):
>
>   File "/usr/share/vdsm/storage/hsm.py", line 2882, in
> getStorageDomainsList
>
> dom = sdCache.produce(sdUUID=sdUUID)
>
>   File "/usr/share/vdsm/storage/sdc.py", line 100, in produce
>
> domain.getRealDomain()
>
>   File "/usr/share/vdsm/storage/sdc.py", line 52, in getRealDomain
>
> return self._cache._realProduce(self._sdUUID)
>
>   File "/usr/share/vdsm/storage/sdc.py", line 124, in _realProduce
>
> domain = self._findDomain(sdUUID)
>
>   File "/usr/share/vdsm/storage/sdc.py", line 143, in _findDomain
>
> dom = findMethod(sdUUID)
>
>   File "/usr/share/vdsm/storage/glusterSD.py", line 32, in findDomain
>
> return
> GlusterStorageDomain(GlusterStorageDomain.findDomainPath(sdUUID))
>
>   File "/usr/share/vdsm/storage/fileSD.py", line 198, in __init__
>
> validateFileSystemFeatures(manifest.sdUUID, manifest.mountpoint)
>
>   File "/usr/share/vdsm/storage/fileSD.py", line 93, in
> validateFileSystemFeatures
>
> oop.getProcessPool(sdUUID).directTouch(testFilePath)
>
>   File "/usr/share/vdsm/storage/outOfProcess.py", line 350, in directTouch
>
> ioproc.touch(path, flags, mode)
>
>   File "/usr/lib/python2.7/site-packages/ioprocess/__init__.py", line 543,
> in touch
>
> self.timeout)
>
>   File "/usr/lib/python2.7/site-packages/ioprocess/__init__.py", line 427,
> in _sendCommand
>
> raise OSError(errcode, errstr)
>
> OSError: [Errno 30] Read-only file system
>
>
>
> But instead of reporting a failure to hosted-engine-setup, it reported a
> successfully execution where it wasn't able to find any storage domain
> there ( this one is a real bug, I'm going to open a bug on that, can I
> attach your logs there? ):
>
>
>
> Thread-141::INFO::2015-12-21
> 11:29:59,702::logUtils::51::dispatcher::(wrapper) Run and protect:
> getStorageDomainsList, Return response: {'domlist': []}
>
> Thread-141::DEBUG::2015-12-21
> 11:29:59,702::task::1191::Storage.TaskManager.Task::(prepare)
> Task=`96a9ea03-dc13-483e-9b17-b55a759c9b44`::finished: {'domlist': []}
>
> Thread-141::DEBUG::2015-12-21
> 11:29:59,702::task::595::Storage.TaskManager.Task::(_updateState)
> Task=`96a9ea03-dc13-483e-9b17-b55a759c9b44`::moving from state preparing ->
> state finished
>
> Thread-141::DEBUG::2015-12-21
> 11:29:59,703::resourceManager::940::Storage.ResourceManager.Owner::(releaseAll)
> Owner.releaseAll requests {} resources {}
>
> Thread-141::DEBUG::2015-12-21
> 11:29:59,703::resourceManager::977::Storage.ResourceManager.Owner::(cancelAll)
> Owner.cancelAll requests {}
>
> Thread-141::DEBUG::2015-12-21
> 11:29:59,703::task::993::Storage.TaskManager.Task::(_decref)
> Task=`96a9ea03-dc13-483e-9b17-b55a759c9b44`::ref 0 aborting False
>
> Thread-141::INFO::2015-12-21
> 11:29:59,704::xmlrpc::92::vds.XMLRPCServer::(_process_requests) Request
> handler for 127.0.0.1:39718 stopped
>
>
>
> And so, cause VDSM doesn't report any existing storage domain,
> hosted-engine-setup assumes that you are going to deploy the first host and
> so 

[ovirt-users] Restart of vdsmd

2015-12-22 Thread gflwqs gflwqs
Hi list,
Do i need to put host into maintenance before i restart vdsmd if i need to
change a parameter in /etc/vdsm/vdsm.conf?

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


Re: [ovirt-users] Restart of vdsmd

2015-12-22 Thread Nir Soffer
On Tue, Dec 22, 2015 at 4:34 PM, gflwqs gflwqs  wrote:

> Hi list,
> Do i need to put host into maintenance before i restart vdsmd if i need to
> change a parameter in /etc/vdsm/vdsm.conf?
>

No, you can just restart it.

If you can put the host to maintenance, it is better, as restarting vdsm
will abort ongoing operations.

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


Re: [ovirt-users] Cannot retrieve answer file from 1st HE host when setting up 2nd host

2015-12-22 Thread Simone Tiraboschi
On Tue, Dec 22, 2015 at 3:06 PM, Will Dennis  wrote:

> See attached for requested logs
>


Thanks, the issue is here:
Dec 21 19:40:53 ovirt-node-03 etc-glusterfs-glusterd.vol[1079]: [2015-12-22
00:40:53.496109] C [MSGID: 106002]
[glusterd-server-quorum.c:351:glusterd_do_volume_quorum_action]
0-management: Server quorum lost for volume engine. Stopping local bricks.
Dec 21 19:40:53 ovirt-node-03 etc-glusterfs-glusterd.vol[1079]: [2015-12-22
00:40:53.496410] C [MSGID: 106002]
[glusterd-server-quorum.c:351:glusterd_do_volume_quorum_action]
0-management: Server quorum lost for volume vmdata. Stopping local bricks.

So at that point gluster lost its quorum and the fail system got read-only.

On the getStorageDomainsList VDSM internally raises cause the file-system
is read only:

Thread-141::DEBUG::2015-12-21
11:29:59,666::fileSD::157::Storage.StorageDomainManifest::(__init__)
Reading domain in path
/rhev/data-center/mnt/glusterSD/localhost:_engine/e89b6e64-bd7d-4846-b970-9af32a3295ee
Thread-141::DEBUG::2015-12-21
11:29:59,666::__init__::320::IOProcessClient::(_run) Starting IOProcess...
Thread-141::DEBUG::2015-12-21
11:29:59,680::persistentDict::192::Storage.PersistentDict::(__init__)
Created a persistent dict with FileMetadataRW backend
Thread-141::ERROR::2015-12-21
11:29:59,686::hsm::2898::Storage.HSM::(getStorageDomainsList) Unexpected
error
Traceback (most recent call last):
  File "/usr/share/vdsm/storage/hsm.py", line 2882, in getStorageDomainsList
dom = sdCache.produce(sdUUID=sdUUID)
  File "/usr/share/vdsm/storage/sdc.py", line 100, in produce
domain.getRealDomain()
  File "/usr/share/vdsm/storage/sdc.py", line 52, in getRealDomain
return self._cache._realProduce(self._sdUUID)
  File "/usr/share/vdsm/storage/sdc.py", line 124, in _realProduce
domain = self._findDomain(sdUUID)
  File "/usr/share/vdsm/storage/sdc.py", line 143, in _findDomain
dom = findMethod(sdUUID)
  File "/usr/share/vdsm/storage/glusterSD.py", line 32, in findDomain
return GlusterStorageDomain(GlusterStorageDomain.findDomainPath(sdUUID))
  File "/usr/share/vdsm/storage/fileSD.py", line 198, in __init__
validateFileSystemFeatures(manifest.sdUUID, manifest.mountpoint)
  File "/usr/share/vdsm/storage/fileSD.py", line 93, in
validateFileSystemFeatures
oop.getProcessPool(sdUUID).directTouch(testFilePath)
  File "/usr/share/vdsm/storage/outOfProcess.py", line 350, in directTouch
ioproc.touch(path, flags, mode)
  File "/usr/lib/python2.7/site-packages/ioprocess/__init__.py", line 543,
in touch
self.timeout)
  File "/usr/lib/python2.7/site-packages/ioprocess/__init__.py", line 427,
in _sendCommand
raise OSError(errcode, errstr)
OSError: [Errno 30] Read-only file system

But instead of reporting a failure to hosted-engine-setup, it reported a
successfully execution where it wasn't able to find any storage domain
there ( this one is a real bug, I'm going to open a bug on that, can I
attach your logs there? ):

Thread-141::INFO::2015-12-21
11:29:59,702::logUtils::51::dispatcher::(wrapper) Run and protect:
getStorageDomainsList, Return response: {'domlist': []}
Thread-141::DEBUG::2015-12-21
11:29:59,702::task::1191::Storage.TaskManager.Task::(prepare)
Task=`96a9ea03-dc13-483e-9b17-b55a759c9b44`::finished: {'domlist': []}
Thread-141::DEBUG::2015-12-21
11:29:59,702::task::595::Storage.TaskManager.Task::(_updateState)
Task=`96a9ea03-dc13-483e-9b17-b55a759c9b44`::moving from state preparing ->
state finished
Thread-141::DEBUG::2015-12-21
11:29:59,703::resourceManager::940::Storage.ResourceManager.Owner::(releaseAll)
Owner.releaseAll requests {} resources {}
Thread-141::DEBUG::2015-12-21
11:29:59,703::resourceManager::977::Storage.ResourceManager.Owner::(cancelAll)
Owner.cancelAll requests {}
Thread-141::DEBUG::2015-12-21
11:29:59,703::task::993::Storage.TaskManager.Task::(_decref)
Task=`96a9ea03-dc13-483e-9b17-b55a759c9b44`::ref 0 aborting False
Thread-141::INFO::2015-12-21
11:29:59,704::xmlrpc::92::vds.XMLRPCServer::(_process_requests) Request
handler for 127.0.0.1:39718 stopped

And so, cause VDSM doesn't report any existing storage domain,
hosted-engine-setup assumes that you are going to deploy the first host and
so your original issue.



>
>
> *From:* Simone Tiraboschi [mailto:stira...@redhat.com]
> *Sent:* Tuesday, December 22, 2015 8:56 AM
> *To:* Will Dennis
> *Cc:* Sahina Bose; Yedidyah Bar David
>
> *Subject:* Re: [ovirt-users] Cannot retrieve answer file from 1st HE host
> when setting up 2nd host
>
>
>
>
>
> On Tue, Dec 22, 2015 at 2:44 PM, Will Dennis  wrote:
>
> Which logs are needed?
>
>
> Let's start with vdsm.log and /var/log/messages
> Then it's quite strange that you have that amount of data in mom.log so
> also that one could be interesting.
>
>
>
>
>
> /var/log/vdsm
>
> total 24M
>
> drwxr-xr-x   3 vdsm kvm  4.0K Dec 18 20:10 .
>
> drwxr-xr-x. 13 root root 4.0K Dec 20 03:15 ..
>
> drwxr-xr-x   2 vdsm kvm 6 Dec  9 03:24 backup
>
> 

Re: [ovirt-users] Cannot retrieve answer file from 1st HE host when setting up 2nd host

2015-12-22 Thread Will Dennis
Yes, OK to attached needed logs to bug report...


From: Simone Tiraboschi [mailto:stira...@redhat.com]
Sent: Tuesday, December 22, 2015 9:27 AM
To: Will Dennis; users
Cc: Sahina Bose; Yedidyah Bar David; Nir Soffer
Subject: Re: [ovirt-users] Cannot retrieve answer file from 1st HE host when 
setting up 2nd host



On Tue, Dec 22, 2015 at 3:06 PM, Will Dennis 
> wrote:
See attached for requested logs


Thanks, the issue is here:
Dec 21 19:40:53 ovirt-node-03 etc-glusterfs-glusterd.vol[1079]: [2015-12-22 
00:40:53.496109] C [MSGID: 106002] 
[glusterd-server-quorum.c:351:glusterd_do_volume_quorum_action] 0-management: 
Server quorum lost for volume engine. Stopping local bricks.
Dec 21 19:40:53 ovirt-node-03 etc-glusterfs-glusterd.vol[1079]: [2015-12-22 
00:40:53.496410] C [MSGID: 106002] 
[glusterd-server-quorum.c:351:glusterd_do_volume_quorum_action] 0-management: 
Server quorum lost for volume vmdata. Stopping local bricks.

So at that point gluster lost its quorum and the fail system got read-only.

On the getStorageDomainsList VDSM internally raises cause the file-system is 
read only:

Thread-141::DEBUG::2015-12-21 
11:29:59,666::fileSD::157::Storage.StorageDomainManifest::(__init__) Reading 
domain in path 
/rhev/data-center/mnt/glusterSD/localhost:_engine/e89b6e64-bd7d-4846-b970-9af32a3295ee
Thread-141::DEBUG::2015-12-21 
11:29:59,666::__init__::320::IOProcessClient::(_run) Starting IOProcess...
Thread-141::DEBUG::2015-12-21 
11:29:59,680::persistentDict::192::Storage.PersistentDict::(__init__) Created a 
persistent dict with FileMetadataRW backend
Thread-141::ERROR::2015-12-21 
11:29:59,686::hsm::2898::Storage.HSM::(getStorageDomainsList) Unexpected error
Traceback (most recent call last):
  File "/usr/share/vdsm/storage/hsm.py", line 2882, in getStorageDomainsList
dom = sdCache.produce(sdUUID=sdUUID)
  File "/usr/share/vdsm/storage/sdc.py", line 100, in produce
domain.getRealDomain()
  File "/usr/share/vdsm/storage/sdc.py", line 52, in getRealDomain
return self._cache._realProduce(self._sdUUID)
  File "/usr/share/vdsm/storage/sdc.py", line 124, in _realProduce
domain = self._findDomain(sdUUID)
  File "/usr/share/vdsm/storage/sdc.py", line 143, in _findDomain
dom = findMethod(sdUUID)
  File "/usr/share/vdsm/storage/glusterSD.py", line 32, in findDomain
return GlusterStorageDomain(GlusterStorageDomain.findDomainPath(sdUUID))
  File "/usr/share/vdsm/storage/fileSD.py", line 198, in __init__
validateFileSystemFeatures(manifest.sdUUID, manifest.mountpoint)
  File "/usr/share/vdsm/storage/fileSD.py", line 93, in 
validateFileSystemFeatures
oop.getProcessPool(sdUUID).directTouch(testFilePath)
  File "/usr/share/vdsm/storage/outOfProcess.py", line 350, in directTouch
ioproc.touch(path, flags, mode)
  File "/usr/lib/python2.7/site-packages/ioprocess/__init__.py", line 543, in 
touch
self.timeout)
  File "/usr/lib/python2.7/site-packages/ioprocess/__init__.py", line 427, in 
_sendCommand
raise OSError(errcode, errstr)
OSError: [Errno 30] Read-only file system

But instead of reporting a failure to hosted-engine-setup, it reported a 
successfully execution where it wasn't able to find any storage domain there ( 
this one is a real bug, I'm going to open a bug on that, can I attach your logs 
there? ):

Thread-141::INFO::2015-12-21 11:29:59,702::logUtils::51::dispatcher::(wrapper) 
Run and protect: getStorageDomainsList, Return response: {'domlist': []}
Thread-141::DEBUG::2015-12-21 
11:29:59,702::task::1191::Storage.TaskManager.Task::(prepare) 
Task=`96a9ea03-dc13-483e-9b17-b55a759c9b44`::finished: {'domlist': []}
Thread-141::DEBUG::2015-12-21 
11:29:59,702::task::595::Storage.TaskManager.Task::(_updateState) 
Task=`96a9ea03-dc13-483e-9b17-b55a759c9b44`::moving from state preparing -> 
state finished
Thread-141::DEBUG::2015-12-21 
11:29:59,703::resourceManager::940::Storage.ResourceManager.Owner::(releaseAll) 
Owner.releaseAll requests {} resources {}
Thread-141::DEBUG::2015-12-21 
11:29:59,703::resourceManager::977::Storage.ResourceManager.Owner::(cancelAll) 
Owner.cancelAll requests {}
Thread-141::DEBUG::2015-12-21 
11:29:59,703::task::993::Storage.TaskManager.Task::(_decref) 
Task=`96a9ea03-dc13-483e-9b17-b55a759c9b44`::ref 0 aborting False
Thread-141::INFO::2015-12-21 
11:29:59,704::xmlrpc::92::vds.XMLRPCServer::(_process_requests) Request handler 
for 127.0.0.1:39718 stopped

And so, cause VDSM doesn't report any existing storage domain, 
hosted-engine-setup assumes that you are going to deploy the first host and so 
your original issue.



From: Simone Tiraboschi [mailto:stira...@redhat.com]
Sent: Tuesday, December 22, 2015 8:56 AM
To: Will Dennis
Cc: Sahina Bose; Yedidyah Bar David

Subject: Re: [ovirt-users] Cannot retrieve answer file from 1st HE host when 
setting up 2nd host


On Tue, Dec 22, 2015 at 2:44 PM, Will Dennis 

Re: [ovirt-users] iLO2

2015-12-22 Thread Eli Mesika


- Original Message -
> From: "Eriks Goodwin" 
> To: "users" 
> Sent: Tuesday, December 22, 2015 11:08:15 AM
> Subject: [ovirt-users] iLO2
> 
> I have been tinkering with various settings and configurations trying to get
> power management working properly--but it keeps giving me "Fail:" (without
> any details) every time I test the settings. The servers I am using are HP
> Proliant DL380 G6 with integrated iLO2. Any tips?
> 
> I can use the same credentials to log into the system via the web
> interface--so I'm sure I have the address, username, and passwd right. :-)

can you please try to reach the PM agent via the /usr/sbin/fence_ipmilan script 
using "lanplus=1,power_wait=4" and see if it is working for you?
If not , please paste the result you got 

Thanks 
Eli Mesika

> 
> ___
> 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] uncaught exception with engine vm in 3.6.1 selecting hosted_storage

2015-12-22 Thread Alexander Wels
On Tuesday, December 22, 2015 10:32:22 AM Gianluca Cecchi wrote:
> Hello after updating from 3.6.0 to 3.6.1 my HE environment, I'm not able to
> import/activate the hosted_storage domain because it results anattached
> Moreover I get the popup message
> 
> Uncaught exception occurred. Please try reloading the page. Details:
> (TypeError) __gwt$exception: : c is null
> 

Hi, this is a browser side exception so you won't find anything about it in the 
logs on the server. However all is not lost. If you hover your mouse over the 
popup it should show you a tooltip with the entire stack trace (alternatively 
you can open up the browsers development tools (usually ctrl-shift-i) and look 
at the console, the stack trace will be there too).

The stack trace will most likely look completely useless as well since all the 
Javascript is obfuscated. However if you install the following package:

ovirt-engine-webadmin-portal-debuginfo

That will contain a symbolMap file. This file has a mapping from the obfuscated 
symbols to the original code. Once you have the mapping file you can use the 
obfuscated string in the stack trace to look up the original code. That will 
help us determine exactly where the problem is.

I am guessing something went wrong on the backend causing the unattached 
storage domain, which resulted in some unexpected state on the frontend that 
caused the null pointer exception.

If you can provide us with the obfuscated stack trace, we can point to you 
what to look for in the mapping file.

> when I select the line of hosted_storage domain in storage tab. See:
> https://drive.google.com/file/d/0BwoPbcrMv8mvVlc1XzNUZ18yWWs/view?usp=sharin
> g
> 
> I don't find apparently ERROR messages wen I do this, so I don't know where
> to watch.
> 
> On engine, where the db lives, I have under /var/lib/pgsql/data/pg_log
> 
> [root@ractorshe pg_log]# ls -lrt
> total 12
> -rw---. 1 postgres postgres0 Dec 16 01:00 postgresql-Wed.log
> -rw---. 1 postgres postgres0 Dec 17 01:00 postgresql-Thu.log
> -rw---. 1 postgres postgres0 Dec 18 01:00 postgresql-Fri.log
> -rw---. 1 postgres postgres 7480 Dec 20 00:39 postgresql-Sat.log
> -rw---. 1 postgres postgres 3488 Dec 20 01:29 postgresql-Sun.log
> -rw---. 1 postgres postgres0 Dec 21 01:00 postgresql-Mon.log
> -rw---. 1 postgres postgres0 Dec 22 01:00 postgresql-Tue.log
> 
> On Sunday logs, when the engine was started I see
> 
> LOG:  database system was not properly shut down; automatic recovery in
> progress
> LOG:  redo starts at 1/254C6710
> LOG:  record with zero length at 1/254EB6B8
> LOG:  redo done at 1/254EB688
> LOG:  last completed transaction was at log time 2015-12-19
> 23:49:47.920147+00
> LOG:  database system is ready to accept connections
> LOG:  autovacuum launcher started
> ERROR:  insert or update on table "storage_domain_dynamic" violates foreign
> key constraint "fk_stora
> ge_domain_dynamic_storage_domain_static"
> DETAIL:  Key (id)=(----) is not present in
> table "storage_domain_static".
> CONTEXT:  SQL statement "INSERT INTO
> storage_domain_dynamic(available_disk_size, id, used_disk_size)
> VALUES(v_available_disk_size, v_id, v_used_disk_size)"
> PL/pgSQL function
> insertstorage_domain_dynamic(integer,uuid,integer) line 3 at SQL statement
> STATEMENT:  select * from insertstorage_domain_dynamic($1, $2, $3) as result
> 
> and then many lines of kind
> 
> LOG:  autovacuum: found orphan temp table "pg_temp_8"."tt_temp22" in
> database "engine"
> 
> so messages related to domains and could be the reason of the exception and
> of the inability of importing/attaching my HE storage domain.
> 
> Let me know if I can provide more logs or output of queries from the
> database.
> 
> Gianluca

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


Re: [ovirt-users] uncaught exception with engine vm in 3.6.1 selecting hosted_storage

2015-12-22 Thread Gianluca Cecchi
On Tue, Dec 22, 2015 at 2:54 PM, Alexander Wels  wrote:

>
>
> If you can provide us with the obfuscated stack trace, we can point to you
> what to look for in the mapping file.
>
>
Hello,
I'm going to try.
In the mean time, do you think it could be related somehow with what below?

After engine upgrade to 3.6.1 from 3.6.0 I updated via yum the package
ovirt-engine-extension-aaa-jdbc, without running its own update phase (in
practice another engine-setup as I only have internal profile)
And this caused problems with the internal profile.
See also
https://bugzilla.redhat.com/show_bug.cgi?id=1293338

So I reverted the package to its previous version.
I'm now testing upgrade internal profile passing from
---> Package ovirt-engine-extension-aaa-jdbc.noarch 0:1.0.1-1.el7 will be
updated

to
---> Package ovirt-engine-extension-aaa-jdbc.noarch 0:1.0.4-1.el7 will be
an update

and following
/usr/share/doc/ovirt-engine-extension-aaa-jdbc-1.0.4/README.admin

So I put env in global maintenance, stopped engine and then run engine-setup

But it seems it remains stuck at
 ...
  Please confirm installation settings (OK, Cancel) [OK]:
[ INFO  ] Cleaning async tasks and compensations
  The following system tasks have been found running in the system:
  The following commands have been found running in the system:
  The following compensations have been found running in the system:

org.ovirt.engine.core.bll.storage.AddExistingFileStorageDomainCommand
org.ovirt.engine.core.common.businessentities.StorageDomainStatic

org.ovirt.engine.core.bll.storage.AddExistingFileStorageDomainCommand
org.ovirt.engine.core.common.businessentities.StorageDomainDynamic

org.ovirt.engine.core.bll.storage.AddExistingFileStorageDomainCommand
org.ovirt.engine.core.common.businessentities.StorageDomainDynamic
  Would you like to try to wait for that?
  (Answering "no" will stop the upgrade (Yes, No) Yes
  Waiting for the completion of 3 running tasks during the next 20
seconds.
  Press Ctrl+C to interrupt.
  Waiting for the completion of 3 running tasks during the next 20
seconds.
  Press Ctrl+C to interrupt.
  Waiting for the completion of 3 running tasks during the next 20
seconds.
  Press Ctrl+C to interrupt.
  Waiting for the completion of 3 running tasks during the next 20
seconds.
  Press Ctrl+C to interrupt.

With "Ctrl+C" I interrupt engine-setup:
^C[ ERROR ] Failed to execute stage 'Setup validation': SIG2
[ INFO  ] Stage: Clean up
  Log file is located at
/var/log/ovirt-engine/setup/ovirt-engine-setup-20151222145043-phm0eh.log
[ INFO  ] Generating answer file
'/var/lib/ovirt-engine/setup/answers/20151222145643-setup.conf'
[ INFO  ] Stage: Pre-termination
[ INFO  ] Stage: Termination
[ ERROR ] Execution of setup failed

If I see the log and compare with the output and execute the query
indicated inside the log I can effectively see inside the database:
engine=# select command_type, entity_type
engine-# from business_entity_snapshot
engine-# ;
 command_type  |

entity_type
---+

 org.ovirt.engine.core.bll.storage.AddExistingFileStorageDomainCommand |
org.ovirt.engine.core.commo
n.businessentities.StorageDomainStatic
 org.ovirt.engine.core.bll.storage.AddExistingFileStorageDomainCommand |
org.ovirt.engine.core.commo
n.businessentities.StorageDomainDynamic
 org.ovirt.engine.core.bll.storage.AddExistingFileStorageDomainCommand |
org.ovirt.engine.core.commo
n.businessentities.StorageDomainDynamic
(3 rows)

Can this in some way influence the exception I'm getting? O that perhaps it
is better to first solve this problem?

Let me know. I can downgrade again the ovirt-engine-extension-aaa-jdbc
package and try your suggestions instead and let see after the problem with
the extension.

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


Re: [ovirt-users] After update to 3.6.1 profile internal does not exist message

2015-12-22 Thread Simone Tiraboschi
On Tue, Dec 22, 2015 at 5:29 PM, Gianluca Cecchi 
wrote:

>
>
> On Mon, Dec 21, 2015 at 3:52 PM, Gianluca Cecchi <
> gianluca.cec...@gmail.com> wrote:
>
>> On Mon, Dec 21, 2015 at 2:10 PM, Yedidyah Bar David wrote:
>>
>>> On Sun, Dec 20, 2015 at 9:50 PM, Martin Perina wrote:
>>> >
>>> >
>>>
>>
>> [snip]
>>
>>
>>> >>
>>> >> So you should run engine-setup after you update this package.
>>> >>
>>> >> Martin - is this intentional? Why not update the package automatically
>>> >> during engine-setup?
>>> >>
>>> >> Or even version-lock it? I do not think people should expect their
>>> engine
>>> >> to not allow logins after they run 'yum update'. Adding also Sandro.
>>> >
>>> > Hi,
>>> >
>>> > there are several reasons for this:
>>> >
>>> > 1. aaa-jdbc is an engine 3.6 extension, engine requires its presence to
>>> >provide 'internal' domain but it doesn't require any specific
>>> version,
>>> >so users may update aaa-jdbc independently on engine if they need
>>> >features provided provided by new version
>>> >
>>> > 2. engine-setup automatically configures/upgrades 'internal' domain,
>>> but
>>> >users may define manually other domains (as described in
>>> README.admin)
>>> >and those domains are not touched by engine-setup at all
>>> >
>>> > 3. Due to 1. and 2. we decided not to define version specific
>>> requirement
>>> >between engine and aaa-jdbc in engine-setup (same behaviour as
>>> already
>>> >exists for other engine extensions). So users may for example
>>> upgrade
>>> >engine, but leave aaa-jdbc as is or leave engine as is and upgrade
>>> >aaa-jdbc if they need it. Users just need to get used to read doc
>>> >before doing upgrade.
>>>
>>> Now filed: https://bugzilla.redhat.com/show_bug.cgi?id=1293338
>>>
>>> Best,
>>> --
>>> Didi
>>>
>>
>> Thanks, I gave my contribute inside the bugzilla.
>> I personally felt this behavior could potentially break many oVirt and
>> possibly RHEV installations based on the internal profile and your action
>> seems to confirm it.
>> As a user I disagree with Martin point in 3. as I'm usually inclined to
>> read the docs but not all the READMEs provided by any single package in the
>> system. I didn't find a clear reference to this step inside the oVirt web
>> documentation, but I could be wrong. I rememebr about it only when I played
>> with FreeIPA authentication in oVirt, but not in internal usage.
>> But if this problem can become an opportunity to make both docs and users
>> better entities it's not a problem for me...
>> Gianluca
>>
>>
>
>
> In the mean time I was "able" to solve the problems following what already
> asked some days ago:
> http://lists.ovirt.org/pipermail/users/2015-December/036601.html
>
>
It just happened another time to me so it seams quite systematic and it's
worth to open a bug on it:
https://bugzilla.redhat.com/show_bug.cgi?id=1293689



> - verified no tasks on hypervisor as what found in
> business_entity_snapshot are failed attempts to import hosted engine
> storage domain
> [root@ractor ~]# vdsClient -s 0 getAllTasksStatuses
> {'status': {'message': 'OK', 'code': 0}, 'allTasksStatus': {}}
>
> - stop engine
> systemctl stop ovirt-engine
>
> - delete on db
> engine=# delete from business_entity_snapshot ;
> DELETE 3
> engine=# commit;
> COMMIT
> engine=# exit
> engine-# \q
> -bash-4.2$ exit
> logout
>
> - start engine
> systemctl start engine
>
> - update ovirt-engine-extension-aaa-jdbc
> ---> Package ovirt-engine-extension-aaa-jdbc.noarch 0:1.0.1-1.el7 will be
> updated
> ---> Package ovirt-engine-extension-aaa-jdbc.noarch 0:1.0.4-1.el7 will be
> an update
>
> - engine-setup now completes ok
> (based
> on /usr/share/doc/ovirt-engine-extension-aaa-jdbc-1.0.4/README.admin as I
> have only internal profile)
> [root@ractorshe ovirt-engine]# engine-setup
> [ INFO  ] Stage: Initializing
> [ INFO  ] Stage: Environment setup
>   Configuration files:
> ['/etc/ovirt-engine-setup.conf.d/10-packaging-jboss.conf',
> '/etc/ovirt-engine-setup.conf.d/10-packaging.conf',
> '/etc/ovirt-engine-setup.conf.d/20-setup-ovirt-post.conf']
>   Log file:
> /var/log/ovirt-engine/setup/ovirt-engine-setup-20151222171311-pad6e4.log
>   Version: otopi-1.4.0 (otopi-1.4.0-1.el7.centos)
> [ INFO  ] Stage: Environment packages setup
> [ INFO  ] Stage: Programs detection
> [ INFO  ] Stage: Environment setup
> [ INFO  ] Stage: Environment customization
>
>   --== PRODUCT OPTIONS ==--
>
>
>   --== PACKAGES ==--
>
> [ INFO  ] Checking for product updates...
> [ INFO  ] No product updates found
>
>   --== ALL IN ONE CONFIGURATION ==--
>
>
>   --== NETWORK CONFIGURATION ==--
>
> [WARNING] Failed to resolve ractorshe.my.domain using DNS, it can be
> resolved only locally
>   Setup can automatically configure the firewall on this system.
>   Note: automatic configuration of the firewall may overwrite
> current settings.
>   Do you want 

Re: [ovirt-users] mount a usb

2015-12-22 Thread Fernando Fuentes
I follow this blog and worked for me like a charm.

http://blog.conoracallahan.com/blog/2014/07/19/ovirt-usb-passthrough/


--
Fernando Fuentes
ffuen...@txweather.org
http://www.txweather.org
 
 
 
On Tue, Dec 22, 2015, at 10:08 PM, alireza sadeh seighalan wrote:
> hi everyone
> i want to mount a usb to a windows vm  in ovirt3.6.1. how can i  run 
> it?thanks in advance
> _
> 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] How to run "engine-backup"?

2015-12-22 Thread Will Dennis
Are there any docs on using this (other than the ‘—help” option text)?

Also, I do not have a GUI environment on my oVirt hosts; how to I display the 
console of the hosted engine VM if I need it?

From: Simone Tiraboschi [mailto:stira...@redhat.com]
Sent: Tuesday, December 22, 2015 11:44 AM
To: Will Dennis
Cc: users
Subject: Re: [ovirt-users] How to run "engine-backup"?

yes, engine-backup is on the engine VM :-)

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