Re: [ovirt-users] Storage Problem After Host Update (v3.6)

2017-01-04 Thread Yaniv Kaul
On Jan 5, 2017 9:05 AM, "Pavel Gashev"  wrote:

Charles,

Please note the warning in logs about lvmetad. It's better to disable this
service if you invoke LVM utilitities manually. It caches some LVM metadata
but VDSM doesn't use it. So technically VDSM has different view on PVs.

+1.
We are going to disable it entirely in coming version.
Y.


--
*From:* Charles Tassell 
*Sent:* Jan 5, 2017 7:33 AM
*To:* Pavel Gashev; users@ovirt.org
*Subject:* Re: [ovirt-users] Storage Problem After Host Update (v3.6)

Hi Pavel,

   Thanks, I added the 3.6-snapshot repo to upgrade to vdsm 4.17.36 and
then diagnosed a bunch of LVM problems (PV's set as missing in pvs -v)
and that got us fixed back up!


On 2017-01-04 06:13 PM, Pavel Gashev wrote:
> https://bugzilla.redhat.com/1363734
> https://bugzilla.redhat.com/1364339
> https://bugzilla.redhat.com/1366176
>
> Downgrade the lvm2 package.
> Or upgrade vdsm to 4.17.35
>
> -Original Message-
> From:  on behalf of Charles Tassell <
char...@islandadmin.ca>
> Date: Wednesday 4 January 2017 at 23:22
> To: "users@ovirt.org" 
> Subject: [ovirt-users] Storage Problem After Host Update (v3.6)
>
> Hello,
>
> One of our admins did a package update on one of our 3.6 hosts
> through the web GUI and then rebooted the host.  Since then, it hasn't
> been able to properly mount storage and thus we can't move any VMs to
> it.  I rebooted it myself this afternoon and it took our whole cluster
> down for about a half hour, which was kind of concerning.
>
> We use multipath fibre channel for storage and when I do a vgscan or
> vgdisplay -s everything shows up correctly but I get a lot of "Duplicate
> of PV ..." warning messages.  I also get the log entries below
> constantly repeating in vdsm.log.  Any ideas what's going on and how I
> fix it?
>
> CannotActivateLogicalVolumes: Cannot activate Logical Volumes: ('General
> Storage Exception: (\'5 [] [\\\'  WARNING: lvmetad is running but
> disabled. Restart lvmetad before enabling it!\\\', " Refusing activation
> of partial LV 8dfcc83b-64d7-4ff7-9800-02ba3430ea7b/metadata.  Use
> \\\'--activationmode partial\\\' to
> override."]\\n8dfcc83b-64d7-4ff7-9800-02ba3430ea7b/[\\\'
metadata\\\']\',)',)
> Thread-1844::ERROR::2017-01-04
> 16:03:43,649::dispatcher::76::Storage.Dispatcher::(wrapper) {'status':
> {'message': 'Cannot activate Logical Volumes: (\'General Storage
> Exception: (\\\'5 [] [\\\'  WARNING: lvmetad is running but
> disabled. Restart lvmetad before enabling it!\\\', " Refusing
> activation of partial LV 8dfcc83b-64d7-4ff7-9800-02ba3430ea7b/metadata.
> Use \\\'--activationmode partial\\\' to
> override."]n8dfcc83b-64d7-4ff7-9800-02ba3430ea7b/[\\
\'metadata\\\']\\\',)\',)',
> 'code': 570}}
> Thread-101::ERROR::2017-01-04
> 16:03:44,303::monitor::276::Storage.Monitor::(_monitorDomain) Error
> monitoring domain 8dfcc83b-64d7-4ff7-9800-02ba3430ea7b
> Traceback (most recent call last):
> File "/usr/share/vdsm/storage/monitor.py", line 264, in _monitorDomain
>   self._produceDomain()
> File "/usr/lib/python2.7/site-packages/vdsm/utils.py", line 769, in
> wrapper
>   value = meth(self, *a, **kw)
> File "/usr/share/vdsm/storage/monitor.py", line 323, in _produceDomain
>   self.domain = sdCache.produce(self.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/blockSD.py", line 1402, in findDomain
>   return BlockStorageDomain(BlockStorageDomain.findDomainPath(sdUUID))
> File "/usr/share/vdsm/storage/blockSD.py", line 455, in __init__
>   manifest = self.manifestClass(sdUUID)
>File "/usr/share/vdsm/storage/blockSD.py", line 407, in __init__
>   metadata = selectMetadata(self.sdUUID)
> File "/usr/share/vdsm/storage/blockSD.py", line 375, in selectMetadata
>   if len(mdProvider) > 0:
> File "/usr/share/vdsm/storage/persistentDict.py", line 65, in __len__
>   return len(self.keys())
> File "/usr/share/vdsm/storage/persistentDict.py", line 110, in keys
>   return list(self.__iter__())
> File "/usr/share/vdsm/storage/persistentDict.py", line 107, in
__iter__
>   self._dict.__iter__())
> File "/usr/share/vdsm/storage/persistentDict.py", line 225, in
__iter__
>   with self._accessWrapper():
> File "/usr/lib64/python2.7/contextlib.py", line 17, in __enter__
>   return self.gen.next()
> File "/usr/share/vdsm/storage/persistentDict.py", line 152, in
> _accessWrapper
>   

Re: [ovirt-users] PLEASE HELP - oVirt 4.0.5 Instability + Best way to rollback to 4.0.4

2017-01-04 Thread Yedidyah Bar David
On Wed, Jan 4, 2017 at 8:09 PM, Rogério Ceni Coelho
 wrote:
> Oh my god ... This option means a lot of work ... But thanks anyway ... I
> think in this case are more easy to clone this six new VMs (that does not
> exist on ovirt engine database 4.0.4) to another Storage Domain with NFS or
> oVirt Production enviroment and recreate them after checkpoint rollback.
>
> Do you think ovirt-engine database restore are really not an option from
> 4.0.5 to 4.0.4 ?

I'd not say "really not an option", but no-one I know ever tested this
or intended to support this. To get a feeling of what you are getting
into, you can check the git log from 4.0.4 to 4.0.5 for the directory
packaging/dbscripts. Looking at it, you can see e.g. [1]. This means
that on upgrade to 4.0.5, engine-setup ran this code for you. It also
remembers it did (that's saved in the db too). So if in 4.0.4 with a
4.0.5 db you then do some changes that this code should have affected,
it will not run again against your changes when you eventually do upgrade.

To see the git log, you can do something like this:

git clone https://gerrit.ovirt.org/p/ovirt-engine.git
cd ovirt-engine
git log -u $(git merge-base ovirt-engine-4.0.4.4
ovirt-engine-4.0.5.5)..ovirt-engine-4.0.5.5 packaging/dbscripts

Best,

[1] https://gerrit.ovirt.org/#/q/I715082f267b5eaa325cc2bb8988b25ac89e3b043,n,z

>
> Thanks.
>
>
> Em qua, 4 de jan de 2017 às 15:55, Pavel Zhukov 
> escreveu:
>>
>> Hello oVirt Padawan,
>> You can install new engine machine and import existing storage domains
>> there.
>> https://www.ovirt.org/develop/release-management/features/storage/importstoragedomain/
>> Please read restrictions and limitations.
>> I think it's more safe way to go in such kind of situations.
>>
>> On Wed, Jan 4, 2017 at 6:40 PM, Rogério Ceni Coelho
>>  wrote:
>>>
>>> Hi oVirt ObiWan´s,
>>>
>>> Today i try to rollback 4.0.5 to 4.0.4 because some instability with the
>>> following method and i crash on a problem. :-(
>>>
>>> I shutdown oVirt Engine and make checkpoint on Engine VM ( Runs on
>>> Hyper-V, don´t ask me way ... ). Rollback vm checkpoint to point in time
>>> before 4.0.5 update process and power up ovirt engine vm. Everything ok but,
>>> six virtual machines that i create before this point in time does not exist
>>> on oVirt Engine Database and all came with external-VMNAME and i can not do
>>> nothing on them. I really think (only in my dreams ) that when ovirt engine
>>> goes up and talk with ovirt nodes, all new vm will be automatically
>>> discovered again. The worst thing are that i use SAN Storage Domain and
>>> oVirt use LVM to storage VM disks, so i don´t know how to find vm disks that
>>> ovirt engine does not recognize (external-VMNAME).
>>>
>>> After all that, i rollback again to 4.0.5 and every vm are ok now again,
>>> but i want to test this rollback process to 4.0.4 and do this on Production.
>>>
>>> I think the right steps are :
>>>
>>> 1. Run engine-backup  /bin/engine-backup --mode=backup --scope=all
>>> --file=/root/ovirt/`hostname`.`date +%d%m%Y.%H%M%S`.ovirt-engine.bkp
>>> --log=/tmp/ovirt-engine_backup.log
>>> 2. Shutdown ovirt engine vm.
>>> 3. Make new checkpoint to rollback with something goes wrong
>>> 4. Rollback to checkpoint witch 4.0.4
>>> 5. Restore engine-backup (from version 4.0.5)
>>> 6. Start everything and check if all are ok
>>>
>>> This is the right way to rollback from one sub release to another ( 4.0.5
>>> to 4.0.4 ) ???
>>> This checkpoints/snapshots of ovirt-engine VM are the best way to
>>> rollback in time ???
>>>
>>> Thanks in advance.
>>>
>>>
>>> ___
>>> Users mailing list
>>> Users@ovirt.org
>>> http://lists.ovirt.org/mailman/listinfo/users
>>>
>>
>>
>>
>> --
>> Pavel Zhukov
>> Software Engineer
>> RHEV Devops
>> IRC: landgraf
>>
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>



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


Re: [ovirt-users] Import guest at rhv4.0.6 failed after convert a regular ova file by virt-v2v

2017-01-04 Thread Shahar Havivi
Yevgeny, please look why it fails on "isMacInRange"

Kun, you know that you can import ova directly instead of using virt-v2v to
export domain and then import to data domain,
you can do that from the VMs tab->Import-> and change the source to OVA.

On Thu, Jan 5, 2017 at 4:35 AM, Kun Wei  wrote:

>
> Hi,  I want to confirm a questions if it is a bug,or if something wrong
> with me.Thanks
>
> When i convert a ova guest file to rhv4.0.6 by virt-v2v,but import is
> failed.The attachment are engine.log and vdsm.log.
>
>
>
> Version:
> libguestfs-1.32.7-3.el7_3.2.x86_64
> virt-v2v-1.32.7-3.el7_3.2.x86_64
> qemu-img-rhev-2.6.0-28.el7_3.2.x86_64
> libvirt-2.0.0-10.el7_3.3.x86_64
> rhv4.0: 4.0.6.3
>
> Steps :
> 1:Prepare a regular ova file guest .
> 2:Use virt-v2v to convert the ova file to rhv4.0.
> # virt-v2v -i ova esx-rhel6.8-vmdkgz.tar -o rhev -os 
> 10.73.131.93:/home/nfs_export
> -of qcow2
> [   0.0] Opening the source -i ova esx-rhel6.8-vmdkgz.tar
> [  44.1] Creating an overlay to protect the source from being modified
> [  45.0] Initializing the target -o rhev -os 10.73.131.93:/home/nfs_export
> [  45.3] Opening the overlay
> [  53.1] Inspecting the overlay
> [  70.2] Checking for sufficient free disk space in the guest
> [  70.2] Estimating space required on target for each disk
> [  70.2] Converting Red Hat Enterprise Linux Server release 6.8 (Santiago)
> to run on KVM
> virt-v2v: This guest has virtio drivers installed.
> [ 215.6] Mapping filesystem data to avoid copying unused and blank areas
> [ 216.0] Closing the overlay
> [ 217.2] Checking if the guest needs BIOS or UEFI to boot
> [ 217.2] Assigning disks to buses
> [ 217.2] Copying disk 1/1 to /tmp/v2v.8kDoXb/908b80fa-09a6-
> 4827-8e0a-a6a54520f685/images/47a1919e-1914-44b4-920f-
> b8e208fa4bc1/da74f1c3-8f43-4a15-934a-bb9d380615c3 (qcow2)
> (100.00/100%)
> [ 254.6] Creating output metadata
> [ 254.7] Finishing off
> 3.Then login rhv4.0 and try to import the guest from export domain to data
> domain after finishing the conversion.But it is failed with the
> error:"Failed to import Vm rhel6u8 to Data Center Default, Cluster Default"
> as appendix picture.
>
> -Additional info :
> I can import a guest from kvm or vmware.Only can not import this way.
>
>
> -
> Best Regards,
> Kun Wei
>
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Storage Problem After Host Update (v3.6)

2017-01-04 Thread Pavel Gashev
Charles,

Please note the warning in logs about lvmetad. It's better to disable this 
service if you invoke LVM utilitities manually. It caches some LVM metadata but 
VDSM doesn't use it. So technically VDSM has different view on PVs.


From: Charles Tassell 
Sent: Jan 5, 2017 7:33 AM
To: Pavel Gashev; users@ovirt.org
Subject: Re: [ovirt-users] Storage Problem After Host Update (v3.6)

Hi Pavel,

   Thanks, I added the 3.6-snapshot repo to upgrade to vdsm 4.17.36 and
then diagnosed a bunch of LVM problems (PV's set as missing in pvs -v)
and that got us fixed back up!


On 2017-01-04 06:13 PM, Pavel Gashev wrote:
> https://bugzilla.redhat.com/1363734
> https://bugzilla.redhat.com/1364339
> https://bugzilla.redhat.com/1366176
>
> Downgrade the lvm2 package.
> Or upgrade vdsm to 4.17.35
>
> -Original Message-
> From:  on behalf of Charles Tassell 
> 
> Date: Wednesday 4 January 2017 at 23:22
> To: "users@ovirt.org" 
> Subject: [ovirt-users] Storage Problem After Host Update (v3.6)
>
> Hello,
>
> One of our admins did a package update on one of our 3.6 hosts
> through the web GUI and then rebooted the host.  Since then, it hasn't
> been able to properly mount storage and thus we can't move any VMs to
> it.  I rebooted it myself this afternoon and it took our whole cluster
> down for about a half hour, which was kind of concerning.
>
> We use multipath fibre channel for storage and when I do a vgscan or
> vgdisplay -s everything shows up correctly but I get a lot of "Duplicate
> of PV ..." warning messages.  I also get the log entries below
> constantly repeating in vdsm.log.  Any ideas what's going on and how I
> fix it?
>
> CannotActivateLogicalVolumes: Cannot activate Logical Volumes: ('General
> Storage Exception: (\'5 [] [\\\'  WARNING: lvmetad is running but
> disabled. Restart lvmetad before enabling it!\\\', " Refusing activation
> of partial LV 8dfcc83b-64d7-4ff7-9800-02ba3430ea7b/metadata.  Use
> \\\'--activationmode partial\\\' to
> override."]\\n8dfcc83b-64d7-4ff7-9800-02ba3430ea7b/[\\\'metadata\\\']\',)',)
> Thread-1844::ERROR::2017-01-04
> 16:03:43,649::dispatcher::76::Storage.Dispatcher::(wrapper) {'status':
> {'message': 'Cannot activate Logical Volumes: (\'General Storage
> Exception: (\\\'5 [] [\\\'  WARNING: lvmetad is running but
> disabled. Restart lvmetad before enabling it!\\\', " Refusing
> activation of partial LV 8dfcc83b-64d7-4ff7-9800-02ba3430ea7b/metadata.
> Use \\\'--activationmode partial\\\' to
> override."]n8dfcc83b-64d7-4ff7-9800-02ba3430ea7b/[\\\'metadata\\\']\\\',)\',)',
> 'code': 570}}
> Thread-101::ERROR::2017-01-04
> 16:03:44,303::monitor::276::Storage.Monitor::(_monitorDomain) Error
> monitoring domain 8dfcc83b-64d7-4ff7-9800-02ba3430ea7b
> Traceback (most recent call last):
> File "/usr/share/vdsm/storage/monitor.py", line 264, in _monitorDomain
>   self._produceDomain()
> File "/usr/lib/python2.7/site-packages/vdsm/utils.py", line 769, in
> wrapper
>   value = meth(self, *a, **kw)
> File "/usr/share/vdsm/storage/monitor.py", line 323, in _produceDomain
>   self.domain = sdCache.produce(self.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/blockSD.py", line 1402, in findDomain
>   return BlockStorageDomain(BlockStorageDomain.findDomainPath(sdUUID))
> File "/usr/share/vdsm/storage/blockSD.py", line 455, in __init__
>   manifest = self.manifestClass(sdUUID)
>File "/usr/share/vdsm/storage/blockSD.py", line 407, in __init__
>   metadata = selectMetadata(self.sdUUID)
> File "/usr/share/vdsm/storage/blockSD.py", line 375, in selectMetadata
>   if len(mdProvider) > 0:
> File "/usr/share/vdsm/storage/persistentDict.py", line 65, in __len__
>   return len(self.keys())
> File "/usr/share/vdsm/storage/persistentDict.py", line 110, in keys
>   return list(self.__iter__())
> File "/usr/share/vdsm/storage/persistentDict.py", line 107, in __iter__
>   self._dict.__iter__())
> File "/usr/share/vdsm/storage/persistentDict.py", line 225, in __iter__
>   with self._accessWrapper():
> File "/usr/lib64/python2.7/contextlib.py", line 17, in __enter__
>   return self.gen.next()
> File "/usr/share/vdsm/storage/persistentDict.py", line 152, in
> _accessWrapper
>   self.refresh()
> File "/usr/share/vdsm/storage/persistentDict.py", line 230, in refresh
>   lines = self._metaRW.readlines()
> File 

Re: [ovirt-users] Modifying the main /ovirt-engine/ landing page -- add link to CA Cert?

2017-01-04 Thread Yedidyah Bar David
On Wed, Jan 4, 2017 at 6:17 PM, Derek Atkins  wrote:
>
> On Wed, January 4, 2017 11:00 am, Yedidyah Bar David wrote:
>
>>> Thanks, Didi.  I've read through this page and it provides lots of
>>> goodness if I wanted to add new tabs to the portal, but I can't find any
>>> hints how I would change the page that's seen when someone first
>>> connects to the /ovirt-engine/ page when they first connect to ovirt.
>>
>> Perhaps you were looking for this one:
>>
>> https://www.ovirt.org/develop/release-management/features/ux/branding/
>
> AHA!!  There's a section there called "Welcome Page" which pointed me to
> /usr/share/ovirt-engine/branding/ovirt.brand/welcome_page.template which
> seems to be exactly what I want to edit!
>
> Looks like I need to rewrite that in place, but that's okay.  I'm sure it
> will get overwritten every update but I'll note to fix it then too.

Please check also BRANDING.adoc from the engine source tree [1].
You should be able to add your own directory wherever you want and link
to it from /etc/ovirt-engine/branding with a higher number, and it will
override the default. You can try either copying only what you want or
all of the existing directory.

Best,

[1] https://gerrit.ovirt.org/gitweb?p=ovirt-engine.git;a=blob;f=BRANDING.adoc

>
> I would never have considered this "branding"..  :)  And of course google
> never brought me to that link.  I'm sure in 20/20 hindsight I would have
> better search terms for "modify ovirt welcome page" that would've worked.
>
> Thank you.
>
>> Best,
>> --
>> Didi
>
> -derek
>
> --
>Derek Atkins 617-623-3745
>de...@ihtfp.com www.ihtfp.com
>Computer and Internet Security Consultant
>



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


Re: [ovirt-users] Unable to connect to console in user portal

2017-01-04 Thread Shalabh Goel
I have copied the engine.log file below:

2017-01-05 16:35:00,820 WARN
 [org.ovirt.engine.core.vdsbroker.irsbroker.IrsProxyData]
(DefaultQuartzScheduler6) [] Domain
'f04c189e-c3a8-414d-822a-5846488773b3:iso-win10host' report isn't an actual
report
2017-01-05 16:35:00,821 WARN
 [org.ovirt.engine.core.vdsbroker.irsbroker.IrsProxyData]
(DefaultQuartzScheduler6) [] Domain
'2f039ab5-6f76-4461-bb19-5a0272ce5520:vmdata-hostwin10' report isn't an
actual report
2017-01-05 16:35:15,942 WARN
 [org.ovirt.engine.core.vdsbroker.irsbroker.IrsProxyData]
(DefaultQuartzScheduler8) [47ff0909] Domain
'f04c189e-c3a8-414d-822a-5846488773b3:iso-win10host' report isn't an actual
report
2017-01-05 16:35:15,942 WARN
 [org.ovirt.engine.core.vdsbroker.irsbroker.IrsProxyData]
(DefaultQuartzScheduler8) [47ff0909] Domain
'2f039ab5-6f76-4461-bb19-5a0272ce5520:vmdata-hostwin10' report isn't an
actual report
2017-01-05 16:35:31,758 WARN
 [org.ovirt.engine.core.vdsbroker.irsbroker.IrsProxyData]
(DefaultQuartzScheduler10) [] Domain
'f04c189e-c3a8-414d-822a-5846488773b3:iso-win10host' report isn't an actual
report
2017-01-05 16:35:31,759 WARN
 [org.ovirt.engine.core.vdsbroker.irsbroker.IrsProxyData]
(DefaultQuartzScheduler10) [] Domain
'2f039ab5-6f76-4461-bb19-5a0272ce5520:vmdata-hostwin10' report isn't an
actual report
2017-01-05 16:35:46,938 INFO
 [org.ovirt.engine.extension.aaa.jdbc.core.Tasks] (default task-90) []
(house keeping) deleting failed logins prior to 2016-12-29 11:05:46Z.
2017-01-05 16:35:46,947 WARN
 [org.ovirt.engine.core.vdsbroker.irsbroker.IrsProxyData]
(DefaultQuartzScheduler5) [] Domain
'f04c189e-c3a8-414d-822a-5846488773b3:iso-win10host' report isn't an actual
report
2017-01-05 16:35:46,947 WARN
 [org.ovirt.engine.core.vdsbroker.irsbroker.IrsProxyData]
(DefaultQuartzScheduler5) [] Domain
'2f039ab5-6f76-4461-bb19-5a0272ce5520:vmdata-hostwin10' report isn't an
actual report
2017-01-05 16:35:47,022 INFO
 [org.ovirt.engine.extension.aaa.jdbc.core.Tasks] (default task-90) []
(house keeping) deleting failed logins prior to 2016-12-29 11:05:47Z.
2017-01-05 16:35:49,315 INFO
 [org.ovirt.engine.core.sso.utils.AuthenticationUtils] (default task-90) []
User user1@internal successfully logged in with scopes: ovirt-app-admin
ovirt-app-api ovirt-app-portal ovirt-ext=auth:sequence-priority=~
ovirt-ext=revoke:revoke-all ovirt-ext=token-info:authz-search
ovirt-ext=token-info:public-authz-search ovirt-ext=token-info:validate
ovirt-ext=token:password-access
2017-01-05 16:35:49,561 INFO
 [org.ovirt.engine.core.bll.aaa.CreateUserSessionCommand] (default task-92)
[5dc1a4fc] Running command: CreateUserSessionCommand internal: false.
2017-01-05 16:35:50,937 INFO
 [org.ovirt.engine.docs.utils.servlet.ContextSensitiveHelpMappingServlet]
(default task-101) [] Context-sensitive help is not installed. Manual
directory doesn't exist: /usr/share/ovirt-engine/manual
2017-01-05 16:35:54,302 INFO  [org.ovirt.engine.core.bll.VmLogonCommand]
(default task-121) [29e83352] Running command: VmLogonCommand internal:
false. Entities affected :  ID: 99b499b1-86a6-4e98-bdb1-5344933e2599 Type:
VMAction group CONNECT_TO_VM with role type USER
2017-01-05 16:35:54,354 INFO
 [org.ovirt.engine.core.vdsbroker.vdsbroker.VmLogonVDSCommand] (default
task-121) [29e83352] START, VmLogonVDSCommand(HostName = win10-host,
VmLogonVDSCommandParameters:{runAsync='true',
hostId='118d80be-a7e0-48fe-a740-107153076090',
vmId='99b499b1-86a6-4e98-bdb1-5344933e2599', domain='internal-authz',
password='***', userName='user1@internal-authz'}), log id: 24f3041c
2017-01-05 16:35:55,360 ERROR
[org.ovirt.engine.core.vdsbroker.vdsbroker.VmLogonVDSCommand] (default
task-121) [29e83352] Failed in 'VmLogonVDS' method
2017-01-05 16:35:55,368 ERROR
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
(default task-121) [29e83352] Correlation ID: null, Call Stack: null,
Custom Event ID: -1, Message: VDSM win10-host command failed: Guest agent
non-responsive
2017-01-05 16:35:55,368 INFO
 [org.ovirt.engine.core.vdsbroker.vdsbroker.VmLogonVDSCommand] (default
task-121) [29e83352] Command
'org.ovirt.engine.core.vdsbroker.vdsbroker.VmLogonVDSCommand' return value
'StatusOnlyReturnForXmlRpc [status=StatusForXmlRpc [code=19, message=Guest
agent non-responsive]]'
2017-01-05 16:35:55,368 INFO
 [org.ovirt.engine.core.vdsbroker.vdsbroker.VmLogonVDSCommand] (default
task-121) [29e83352] HostName = win10-host
2017-01-05 16:35:55,368 ERROR
[org.ovirt.engine.core.vdsbroker.vdsbroker.VmLogonVDSCommand] (default
task-121) [29e83352] Command 'VmLogonVDSCommand(HostName = win10-host,
VmLogonVDSCommandParameters:{runAsync='true',
hostId='118d80be-a7e0-48fe-a740-107153076090',
vmId='99b499b1-86a6-4e98-bdb1-5344933e2599', domain='internal-authz',
password='***', userName='user1@internal-authz'})' execution failed:
VDSGenericException: VDSErrorException: Failed to VmLogonVDS, error = Guest
agent non-responsive, code = 19
2017-01-05 16:35:55,368 INFO
 

[ovirt-users] [Ansible - Ovirt] How to specifiy ovs properties ?

2017-01-04 Thread TranceWorldLogic .
Hi,

I want to setup a logcal ovs network in ovirt.
And to do the same I want to use ansible tool.

Hence I tried looking into ansible document and found below link.
https://docs.ansible.com/ansible/ovirt_networks_module.html

But question is how to configure propert "ovs = 1" in ansible.
It may be via nested_attributes but not sure how to do so.
Please let me know.

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


Re: [ovirt-users] Storage Problem After Host Update (v3.6)

2017-01-04 Thread Charles Tassell

Hi Pavel,

  Thanks, I added the 3.6-snapshot repo to upgrade to vdsm 4.17.36 and 
then diagnosed a bunch of LVM problems (PV's set as missing in pvs -v) 
and that got us fixed back up!



On 2017-01-04 06:13 PM, Pavel Gashev wrote:

https://bugzilla.redhat.com/1363734
https://bugzilla.redhat.com/1364339
https://bugzilla.redhat.com/1366176

Downgrade the lvm2 package.
Or upgrade vdsm to 4.17.35

-Original Message-
From:  on behalf of Charles Tassell 

Date: Wednesday 4 January 2017 at 23:22
To: "users@ovirt.org" 
Subject: [ovirt-users] Storage Problem After Host Update (v3.6)

Hello,

One of our admins did a package update on one of our 3.6 hosts
through the web GUI and then rebooted the host.  Since then, it hasn't
been able to properly mount storage and thus we can't move any VMs to
it.  I rebooted it myself this afternoon and it took our whole cluster
down for about a half hour, which was kind of concerning.

We use multipath fibre channel for storage and when I do a vgscan or
vgdisplay -s everything shows up correctly but I get a lot of "Duplicate
of PV ..." warning messages.  I also get the log entries below
constantly repeating in vdsm.log.  Any ideas what's going on and how I
fix it?

CannotActivateLogicalVolumes: Cannot activate Logical Volumes: ('General
Storage Exception: (\'5 [] [\\\'  WARNING: lvmetad is running but
disabled. Restart lvmetad before enabling it!\\\', " Refusing activation
of partial LV 8dfcc83b-64d7-4ff7-9800-02ba3430ea7b/metadata.  Use
\\\'--activationmode partial\\\' to
override."]\\n8dfcc83b-64d7-4ff7-9800-02ba3430ea7b/[\\\'metadata\\\']\',)',)
Thread-1844::ERROR::2017-01-04
16:03:43,649::dispatcher::76::Storage.Dispatcher::(wrapper) {'status':
{'message': 'Cannot activate Logical Volumes: (\'General Storage
Exception: (\\\'5 [] [\\\'  WARNING: lvmetad is running but
disabled. Restart lvmetad before enabling it!\\\', " Refusing
activation of partial LV 8dfcc83b-64d7-4ff7-9800-02ba3430ea7b/metadata.
Use \\\'--activationmode partial\\\' to
override."]n8dfcc83b-64d7-4ff7-9800-02ba3430ea7b/[\\\'metadata\\\']\\\',)\',)',
'code': 570}}
Thread-101::ERROR::2017-01-04
16:03:44,303::monitor::276::Storage.Monitor::(_monitorDomain) Error
monitoring domain 8dfcc83b-64d7-4ff7-9800-02ba3430ea7b
Traceback (most recent call last):
File "/usr/share/vdsm/storage/monitor.py", line 264, in _monitorDomain
  self._produceDomain()
File "/usr/lib/python2.7/site-packages/vdsm/utils.py", line 769, in
wrapper
  value = meth(self, *a, **kw)
File "/usr/share/vdsm/storage/monitor.py", line 323, in _produceDomain
  self.domain = sdCache.produce(self.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/blockSD.py", line 1402, in findDomain
  return BlockStorageDomain(BlockStorageDomain.findDomainPath(sdUUID))
File "/usr/share/vdsm/storage/blockSD.py", line 455, in __init__
  manifest = self.manifestClass(sdUUID)
   File "/usr/share/vdsm/storage/blockSD.py", line 407, in __init__
  metadata = selectMetadata(self.sdUUID)
File "/usr/share/vdsm/storage/blockSD.py", line 375, in selectMetadata
  if len(mdProvider) > 0:
File "/usr/share/vdsm/storage/persistentDict.py", line 65, in __len__
  return len(self.keys())
File "/usr/share/vdsm/storage/persistentDict.py", line 110, in keys
  return list(self.__iter__())
File "/usr/share/vdsm/storage/persistentDict.py", line 107, in __iter__
  self._dict.__iter__())
File "/usr/share/vdsm/storage/persistentDict.py", line 225, in __iter__
  with self._accessWrapper():
File "/usr/lib64/python2.7/contextlib.py", line 17, in __enter__
  return self.gen.next()
File "/usr/share/vdsm/storage/persistentDict.py", line 152, in
_accessWrapper
  self.refresh()
File "/usr/share/vdsm/storage/persistentDict.py", line 230, in refresh
  lines = self._metaRW.readlines()
File "/usr/share/vdsm/storage/blockSD.py", line 335, in readlines
  lvm.activateLVs(self._vgName, self._lvName)
File "/usr/share/vdsm/storage/lvm.py", line 1191, in activateLVs
  _setLVAvailability(vgName, toActivate, "y")
File "/usr/share/vdsm/storage/lvm.py", line 826, in _setLVAvailability
  raise error(str(e))

LVM output:
[root@ovirt-01 mapper]# vgchange -a y
WARNING: duplicate PV 1oDZGSqoQ4ueh0XEMzILNleRoNY8ZDAt is being used
from both devices /dev/sdac and /dev/sdk
Found duplicate PV 1oDZGSqoQ4ueh0XEMzILNleRoNY8ZDAt: using /dev/sdk
not /dev/sdac
Using duplicate PV 

Re: [ovirt-users] high availability

2017-01-04 Thread qinglong.d...@horebdata.cn
Thanks! I'd like to try it out.
 
From: Yaniv Dary
Date: 2017-01-04 19:24
To: qinglong.d...@horebdata.cn
CC: users; Martin Sivak
Subject: Re: [ovirt-users] high availability
In oVirt 4.1 we are planning to allow VM leases that will allow you to restart 
HA VMs in this use case even without power management.
We would love some feedback on this on the latest tested build, if you want to 
try it out:
https://github.com/nirs/ovirt-site/blob/77669161397ebf4cc15c66e0e6876bc033384cfc/source/develop/release-management/features/virt/vm-failover-using-vm-leases.html.md

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 Wed, Jan 4, 2017 at 11:33 AM, Martin Sivak  wrote:
Hi,

high availability requires power management to be configured properly for your 
hosts. The VM won't be restarted until we can ascertain the status of node2 
(because it can still be up).

The host is Non responsive, meaning we do not know if it is up or down. That is 
the reason we show the VM status as unknown.

You can fix that by configuring power management for node2 or by right clicking 
and selecting Confirm host has been rebooted menu option.

Regards

--
Martin Sivak
SLA / oVirt

On Wed, Jan 4, 2017 at 9:45 AM, qinglong.d...@horebdata.cn 
 wrote:
Hi, all
I have an ovirt 4.0 environment with two hosts and a hosted engine. The 
engine vm was running on host 1 and another vm was running on host2. Then I 
unpluged the power of host 2. The another vm should be supposed to restart on 
host 1 because of ha feature. But it couldn't. It stayed unknown status all the 
time. And the host 2 stayed non responsive status.

Did I understand ha correctly? Anyon can help? Thanks!

___
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


Re: [ovirt-users] 4.0 web UI Session expired please try again

2017-01-04 Thread Robert Story
On Wed, 4 Jan 2017 16:17:09 -0500 Ravi wrote:
RN> A redirect to the login page from error page would be a more reasonable
RN> solution IMO.

That would still mean that I have to type in my login credential twice,
which is what I'm trying to avoid.


Robert

-- 
Senior Software Engineer @ Parsons


pgprRY0PYn5pI.pgp
Description: OpenPGP digital signature
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Storage Problem After Host Update (v3.6)

2017-01-04 Thread Pavel Gashev
https://bugzilla.redhat.com/1363734
https://bugzilla.redhat.com/1364339
https://bugzilla.redhat.com/1366176

Downgrade the lvm2 package.
Or upgrade vdsm to 4.17.35

-Original Message-
From:  on behalf of Charles Tassell 

Date: Wednesday 4 January 2017 at 23:22
To: "users@ovirt.org" 
Subject: [ovirt-users] Storage Problem After Host Update (v3.6)

Hello,

   One of our admins did a package update on one of our 3.6 hosts 
through the web GUI and then rebooted the host.  Since then, it hasn't 
been able to properly mount storage and thus we can't move any VMs to 
it.  I rebooted it myself this afternoon and it took our whole cluster 
down for about a half hour, which was kind of concerning.

   We use multipath fibre channel for storage and when I do a vgscan or 
vgdisplay -s everything shows up correctly but I get a lot of "Duplicate 
of PV ..." warning messages.  I also get the log entries below 
constantly repeating in vdsm.log.  Any ideas what's going on and how I 
fix it?

CannotActivateLogicalVolumes: Cannot activate Logical Volumes: ('General 
Storage Exception: (\'5 [] [\\\'  WARNING: lvmetad is running but 
disabled. Restart lvmetad before enabling it!\\\', " Refusing activation 
of partial LV 8dfcc83b-64d7-4ff7-9800-02ba3430ea7b/metadata.  Use 
\\\'--activationmode partial\\\' to 
override."]\\n8dfcc83b-64d7-4ff7-9800-02ba3430ea7b/[\\\'metadata\\\']\',)',)
Thread-1844::ERROR::2017-01-04 
16:03:43,649::dispatcher::76::Storage.Dispatcher::(wrapper) {'status': 
{'message': 'Cannot activate Logical Volumes: (\'General Storage 
Exception: (\\\'5 [] [\\\'  WARNING: lvmetad is running but 
disabled. Restart lvmetad before enabling it!\\\', " Refusing 
activation of partial LV 8dfcc83b-64d7-4ff7-9800-02ba3430ea7b/metadata.  
Use \\\'--activationmode partial\\\' to 
override."]n8dfcc83b-64d7-4ff7-9800-02ba3430ea7b/[\\\'metadata\\\']\\\',)\',)',
 
'code': 570}}
Thread-101::ERROR::2017-01-04 
16:03:44,303::monitor::276::Storage.Monitor::(_monitorDomain) Error 
monitoring domain 8dfcc83b-64d7-4ff7-9800-02ba3430ea7b
Traceback (most recent call last):
   File "/usr/share/vdsm/storage/monitor.py", line 264, in _monitorDomain
 self._produceDomain()
   File "/usr/lib/python2.7/site-packages/vdsm/utils.py", line 769, in 
wrapper
 value = meth(self, *a, **kw)
   File "/usr/share/vdsm/storage/monitor.py", line 323, in _produceDomain
 self.domain = sdCache.produce(self.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/blockSD.py", line 1402, in findDomain
 return BlockStorageDomain(BlockStorageDomain.findDomainPath(sdUUID))
   File "/usr/share/vdsm/storage/blockSD.py", line 455, in __init__
 manifest = self.manifestClass(sdUUID)
  File "/usr/share/vdsm/storage/blockSD.py", line 407, in __init__
 metadata = selectMetadata(self.sdUUID)
   File "/usr/share/vdsm/storage/blockSD.py", line 375, in selectMetadata
 if len(mdProvider) > 0:
   File "/usr/share/vdsm/storage/persistentDict.py", line 65, in __len__
 return len(self.keys())
   File "/usr/share/vdsm/storage/persistentDict.py", line 110, in keys
 return list(self.__iter__())
   File "/usr/share/vdsm/storage/persistentDict.py", line 107, in __iter__
 self._dict.__iter__())
   File "/usr/share/vdsm/storage/persistentDict.py", line 225, in __iter__
 with self._accessWrapper():
   File "/usr/lib64/python2.7/contextlib.py", line 17, in __enter__
 return self.gen.next()
   File "/usr/share/vdsm/storage/persistentDict.py", line 152, in 
_accessWrapper
 self.refresh()
   File "/usr/share/vdsm/storage/persistentDict.py", line 230, in refresh
 lines = self._metaRW.readlines()
   File "/usr/share/vdsm/storage/blockSD.py", line 335, in readlines
 lvm.activateLVs(self._vgName, self._lvName)
   File "/usr/share/vdsm/storage/lvm.py", line 1191, in activateLVs
 _setLVAvailability(vgName, toActivate, "y")
   File "/usr/share/vdsm/storage/lvm.py", line 826, in _setLVAvailability
 raise error(str(e))

LVM output:
[root@ovirt-01 mapper]# vgchange -a y
   WARNING: duplicate PV 1oDZGSqoQ4ueh0XEMzILNleRoNY8ZDAt is being used 
from both devices /dev/sdac and /dev/sdk
   Found duplicate PV 1oDZGSqoQ4ueh0XEMzILNleRoNY8ZDAt: using /dev/sdk 
not /dev/sdac
   Using duplicate PV /dev/sdk which is last seen, replacing /dev/sdac
   Duplicate of PV EMfxl6-8coB-iUdZ-Dx4P-e5LZ-UcIF-kvIfXx dev 
/dev/mapper/360060160ec732300fa5fdde41c66e111p1 exists on unknown device 
65:177
   Duplicate of PV EMfxl6-8coB-iUdZ-Dx4P-e5LZ-UcIF-kvIfXx dev 

Re: [ovirt-users] 4.0 web UI Session expired please try again

2017-01-04 Thread Ravi Nori
A redirect to the login page from error page would be a more reasonable
solution IMO.

On Wed, Jan 4, 2017 at 3:23 PM, Robert Story  wrote:

> On Wed, 4 Jan 2017 14:40:06 -0500 Ravi wrote:
> RN> With SSO the client sends the client secret to SSO which is stored in
> the
> RN> session. Now when the clients session expires all the information
> including
> RN> the client secret is lost when the session is purged by the application
> RN> server.
>
> Is the session expiration time configurable?
>
> RN> 1. login to webadmin
> RN> 2. Leave the session until session time out on engine and user is
> RN> redirected to login page (the client id and secret are sent)
> RN> 3. If user tries to login now everything will be fine but if user
> leaves
> RN> and the session expires the session is purged, client secret is lost
> RN> 4. User enters user name password on the screen after coming back. The
> RN> login form does not have a session associated with it so the client and
> RN> secret are not found and SSO needs to report that the session has
> expired
> RN> and redirect user to welcome page.
>
> So in step 4, can't it just start a new session instead of going to an
> expiration page? Or show the page for a few seconds and then start a new
> session?
>
> Or in step 2, set a refresh on the login page that still has a session so
> that when the session expires it will redirect to a login screen that will
> start a new session?
>
>
>
> Robert
>
> --
> Senior Software Engineer @ Parsons
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] 4.0 web UI Session expired please try again

2017-01-04 Thread Robert Story
On Wed, 4 Jan 2017 14:40:06 -0500 Ravi wrote:
RN> With SSO the client sends the client secret to SSO which is stored in the
RN> session. Now when the clients session expires all the information including
RN> the client secret is lost when the session is purged by the application
RN> server.

Is the session expiration time configurable?

RN> 1. login to webadmin
RN> 2. Leave the session until session time out on engine and user is
RN> redirected to login page (the client id and secret are sent)
RN> 3. If user tries to login now everything will be fine but if user leaves
RN> and the session expires the session is purged, client secret is lost
RN> 4. User enters user name password on the screen after coming back. The
RN> login form does not have a session associated with it so the client and
RN> secret are not found and SSO needs to report that the session has expired
RN> and redirect user to welcome page.

So in step 4, can't it just start a new session instead of going to an
expiration page? Or show the page for a few seconds and then start a new
session? 

Or in step 2, set a refresh on the login page that still has a session so
that when the session expires it will redirect to a login screen that will
start a new session?



Robert

-- 
Senior Software Engineer @ Parsons


pgpTUCYHmj98k.pgp
Description: OpenPGP digital signature
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Storage Problem After Host Update (v3.6)

2017-01-04 Thread Charles Tassell

Hello,

  One of our admins did a package update on one of our 3.6 hosts 
through the web GUI and then rebooted the host.  Since then, it hasn't 
been able to properly mount storage and thus we can't move any VMs to 
it.  I rebooted it myself this afternoon and it took our whole cluster 
down for about a half hour, which was kind of concerning.


  We use multipath fibre channel for storage and when I do a vgscan or 
vgdisplay -s everything shows up correctly but I get a lot of "Duplicate 
of PV ..." warning messages.  I also get the log entries below 
constantly repeating in vdsm.log.  Any ideas what's going on and how I 
fix it?


CannotActivateLogicalVolumes: Cannot activate Logical Volumes: ('General 
Storage Exception: (\'5 [] [\\\'  WARNING: lvmetad is running but 
disabled. Restart lvmetad before enabling it!\\\', " Refusing activation 
of partial LV 8dfcc83b-64d7-4ff7-9800-02ba3430ea7b/metadata.  Use 
\\\'--activationmode partial\\\' to 
override."]\\n8dfcc83b-64d7-4ff7-9800-02ba3430ea7b/[\\\'metadata\\\']\',)',)
Thread-1844::ERROR::2017-01-04 
16:03:43,649::dispatcher::76::Storage.Dispatcher::(wrapper) {'status': 
{'message': 'Cannot activate Logical Volumes: (\'General Storage 
Exception: (\\\'5 [] [\\\'  WARNING: lvmetad is running but 
disabled. Restart lvmetad before enabling it!\\\', " Refusing 
activation of partial LV 8dfcc83b-64d7-4ff7-9800-02ba3430ea7b/metadata.  
Use \\\'--activationmode partial\\\' to 
override."]n8dfcc83b-64d7-4ff7-9800-02ba3430ea7b/[\\\'metadata\\\']\\\',)\',)', 
'code': 570}}
Thread-101::ERROR::2017-01-04 
16:03:44,303::monitor::276::Storage.Monitor::(_monitorDomain) Error 
monitoring domain 8dfcc83b-64d7-4ff7-9800-02ba3430ea7b

Traceback (most recent call last):
  File "/usr/share/vdsm/storage/monitor.py", line 264, in _monitorDomain
self._produceDomain()
  File "/usr/lib/python2.7/site-packages/vdsm/utils.py", line 769, in 
wrapper

value = meth(self, *a, **kw)
  File "/usr/share/vdsm/storage/monitor.py", line 323, in _produceDomain
self.domain = sdCache.produce(self.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/blockSD.py", line 1402, in findDomain
return BlockStorageDomain(BlockStorageDomain.findDomainPath(sdUUID))
  File "/usr/share/vdsm/storage/blockSD.py", line 455, in __init__
manifest = self.manifestClass(sdUUID)
 File "/usr/share/vdsm/storage/blockSD.py", line 407, in __init__
metadata = selectMetadata(self.sdUUID)
  File "/usr/share/vdsm/storage/blockSD.py", line 375, in selectMetadata
if len(mdProvider) > 0:
  File "/usr/share/vdsm/storage/persistentDict.py", line 65, in __len__
return len(self.keys())
  File "/usr/share/vdsm/storage/persistentDict.py", line 110, in keys
return list(self.__iter__())
  File "/usr/share/vdsm/storage/persistentDict.py", line 107, in __iter__
self._dict.__iter__())
  File "/usr/share/vdsm/storage/persistentDict.py", line 225, in __iter__
with self._accessWrapper():
  File "/usr/lib64/python2.7/contextlib.py", line 17, in __enter__
return self.gen.next()
  File "/usr/share/vdsm/storage/persistentDict.py", line 152, in 
_accessWrapper

self.refresh()
  File "/usr/share/vdsm/storage/persistentDict.py", line 230, in refresh
lines = self._metaRW.readlines()
  File "/usr/share/vdsm/storage/blockSD.py", line 335, in readlines
lvm.activateLVs(self._vgName, self._lvName)
  File "/usr/share/vdsm/storage/lvm.py", line 1191, in activateLVs
_setLVAvailability(vgName, toActivate, "y")
  File "/usr/share/vdsm/storage/lvm.py", line 826, in _setLVAvailability
raise error(str(e))

LVM output:
[root@ovirt-01 mapper]# vgchange -a y
  WARNING: duplicate PV 1oDZGSqoQ4ueh0XEMzILNleRoNY8ZDAt is being used 
from both devices /dev/sdac and /dev/sdk
  Found duplicate PV 1oDZGSqoQ4ueh0XEMzILNleRoNY8ZDAt: using /dev/sdk 
not /dev/sdac

  Using duplicate PV /dev/sdk which is last seen, replacing /dev/sdac
  Duplicate of PV EMfxl6-8coB-iUdZ-Dx4P-e5LZ-UcIF-kvIfXx dev 
/dev/mapper/360060160ec732300fa5fdde41c66e111p1 exists on unknown device 
65:177
  Duplicate of PV EMfxl6-8coB-iUdZ-Dx4P-e5LZ-UcIF-kvIfXx dev 
/dev/mapper/360060160ec732300fa5fdde41c66e111p1 exists on unknown device 
8:145
  Duplicate of PV i8z5fn-iYa0-ElZg-nL8h-Abul-2HKU-Oh3F8w dev 
/dev/mapper/360060160ec7323000c61c43b3a66e111p1 exists on unknown device 
65:225
  Duplicate of PV i8z5fn-iYa0-ElZg-nL8h-Abul-2HKU-Oh3F8w dev 
/dev/mapper/360060160ec7323000c61c43b3a66e111p1 exists on unknown device 
8:193
  Duplicate of PV f1IMBI-f2kl-vr1b-BbO1-Ydfw-n5Ok-p1zPDd dev 

Re: [ovirt-users] 4.0 web UI Session expired please try again

2017-01-04 Thread Ravi Nori
With SSO the client sends the client secret to SSO which is stored in the
session. Now when the clients session expires all the information including
the client secret is lost when the session is purged by the application
server.

Here is the sequence

1. login to webadmin
2. Leave the session until session time out on engine and user is
redirected to login page (the client id and secret are sent)
3. If user tries to login now everything will be fine but if user leaves
and the session expires the session is purged, client secret is lost
4. User enters user name password on the screen after coming back. The
login form does not have a session associated with it so the client and
secret are not found and SSO needs to report that the session has expired
and redirect user to welcome page.

The client id and secret cannot be stored in login page as they are
supposed to be kept secret.

To revert to old behavior we need a patch that can save  client and secret
for the session out side the session object in a global data structure
and create a unique token that can be used to associate the login page with
the client secret stored in the global data structure.
The token can be included in the login page.

Ravi


On Wed, Jan 4, 2017 at 12:59 PM, Robert Story  wrote:

> Since I upgrade to 4.0, I get this annoying message when I try to log in
> again after I've been away for a while. On 3.6 the ui would go to a login
> screen after some period of inactivity, and I could log right back in. With
> 4.0, logging in after inactivity goes to a page with this message, and I
> have to click to get a login page and then log in again. This is very
> annoying. Is there a way to revert to the old behavior?
>
>
> Robert
>
> --
> Senior Software Engineer @ Parsons
>
> ___
> 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] PLEASE HELP - oVirt 4.0.5 Instability + Best way to rollback to 4.0.4

2017-01-04 Thread Rogério Ceni Coelho
Oh my god ... This option means a lot of work ... But thanks anyway ... I
think in this case are more easy to clone this six new VMs (that does not
exist on ovirt engine database 4.0.4) to another Storage Domain with NFS or
oVirt Production enviroment and recreate them after checkpoint rollback.

Do you think ovirt-engine database restore are really not an option from
4.0.5 to 4.0.4 ?

Thanks.


Em qua, 4 de jan de 2017 às 15:55, Pavel Zhukov 
escreveu:

> Hello oVirt Padawan,
> You can install new engine machine and import existing storage domains
> there.
> https://www.ovirt.org/develop/release-management/features/storage/importstoragedomain/
> Please read restrictions and limitations.
> I think it's more safe way to go in such kind of situations.
>
> On Wed, Jan 4, 2017 at 6:40 PM, Rogério Ceni Coelho <
> rogeriocenicoe...@gmail.com> wrote:
>
> Hi oVirt ObiWan´s,
>
> Today i try to rollback 4.0.5 to 4.0.4 because some instability with the
> following method and i crash on a problem. :-(
>
> I shutdown oVirt Engine and make checkpoint on Engine VM ( Runs on
> Hyper-V, don´t ask me way ... ). Rollback vm checkpoint to point in time
> before 4.0.5 update process and power up ovirt engine vm. Everything ok
> but, six virtual machines that i create before this point in time does not
> exist on oVirt Engine Database and all came with external-VMNAME and i can
> not do nothing on them. I really think (only in my dreams ) that when ovirt
> engine goes up and talk with ovirt nodes, all new vm will be automatically
> discovered again. The worst thing are that i use SAN Storage Domain and
> oVirt use LVM to storage VM disks, so i don´t know how to find vm disks
> that ovirt engine does not recognize (external-VMNAME).
>
> After all that, i rollback again to 4.0.5 and every vm are ok now again,
> but i want to test this rollback process to 4.0.4 and do this on Production.
>
> I think the right steps are :
>
> 1. Run engine-backup  /bin/engine-backup --mode=backup --scope=all
> --file=/root/ovirt/`hostname`.`date +%d%m%Y.%H%M%S`.ovirt-engine.bkp
> --log=/tmp/ovirt-engine_backup.log
> 2. Shutdown ovirt engine vm.
> 3. Make new checkpoint to rollback with something goes wrong
> 4. Rollback to checkpoint witch 4.0.4
> 5. Restore engine-backup (from version 4.0.5)
> 6. Start everything and check if all are ok
>
> This is the right way to rollback from one sub release to another ( 4.0.5
> to 4.0.4 ) ???
> This checkpoints/snapshots of ovirt-engine VM are the best way to rollback
> in time ???
>
> Thanks in advance.
>
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
>
>
> --
> Pavel Zhukov
> Software Engineer
> RHEV Devops
> IRC: landgraf
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Optimizations for VoIP VM

2017-01-04 Thread Chris Adams
Once upon a time, Yaniv Dary  said:
> Can you please describe the application network requirements?
> Does it relay on low latency? Pass-through or SR-IOV could help with
> reducing that.

For VoIP, latency can be an issue, but the amount of latency from adding
VM networking overhead isn't a big deal (because other network latency
will have a larger impact).  10ms isn't really a problem for VoIP for
example.

The bigger network concern for VoIP is jitter; for that, the only
solution is to not over-provision hardware CPUs or total network
bandwidth.

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


[ovirt-users] 4.0 web UI Session expired please try again

2017-01-04 Thread Robert Story
Since I upgrade to 4.0, I get this annoying message when I try to log in
again after I've been away for a while. On 3.6 the ui would go to a login
screen after some period of inactivity, and I could log right back in. With
4.0, logging in after inactivity goes to a page with this message, and I
have to click to get a login page and then log in again. This is very
annoying. Is there a way to revert to the old behavior?


Robert

-- 
Senior Software Engineer @ Parsons


pgpGUaMXB9UrN.pgp
Description: OpenPGP digital signature
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Request for oVirt Ansible modules testing feedback

2017-01-04 Thread Juan Hernández
On 01/04/2017 05:38 PM, Nathanaël Blanchet wrote:
> 
> 
> Le 04/01/2017 à 15:41, Juan Hernández a écrit :
>> On 01/04/2017 12:30 PM, Yaniv Kaul wrote:
>>>
>>> On Wed, Jan 4, 2017 at 1:04 PM, Nicolas Ecarnot >> > wrote:
>>>
>>>  Hello,
>>>
>>>  Le 04/01/2017 à 11:49, Nathanaël Blanchet a écrit :
>>>
>>>
>>>
>>>  Le 04/01/2017 à 10:09, Andrea Ghelardi a écrit :
>>>
>>>
>>>  Personally I don’t think ansible and ovirt-shell are
>>>  mutually exclusive.
>>>
>>>  Those who are in ansible and devops realms are not really
>>>  scared by
>>>  making python/ansible work with ovirt.
>>>
>>>  From what I gather, playbooks are quite a de-facto
>>>  pre-requisite to
>>>  build up a real SaaC “Software as a Code” environment.
>>>
>>>
>>>
>>>  On the other hand, ovirt-shell can and is a fast/easy
>>> way to
>>>  perform
>>>  “normal daily tasks”.
>>>
>>>  totally agree but ovirt-shell is deprecated in 4.1 et will be
>>>  removed in
>>>  4.2. Ansible or sdk4 are proposed as an alternative.
>>>
>>>
>>>  Could someone point me to an URL where sdk4 is fully documented, as
>>>  I have to get ready for ovirt-shell deprecation?
>>>
>>>
>>> The Rest API is partially documented under https:///api/model .
>>> It's not complete yet. All new features in 4.0 are documented and we are
>>> working on the 'older' features now.
>>> (contributions are welcome!)
>>>
>>>
>>>  I'm sure no one at Redhat thought about deprecating a tool in favor
>>>  of a new one before providing a complete user doc!
>>>
>>>
>>> In addition, the SDK RPM itself contains many examples. See [1].
>>> (contributions are welcome!)
>>>
>>> Y.
>>>
>>> [1] https://github.com/oVirt/ovirt-engine-sdk/tree/master/sdk/examples
>>>
> Although these examples, I can successfully create a snapshot, but I
> didn't find the way to delete it...
> Regarding many example, it should be possible to locate any service by :
> name_service = connection.system_service().name.service()
> 
> So logically it should be doable with snapshot like
> snapshots_service = connection.system_service().snapshots.service()
> but : AttributeError: 'SystemService' object has no attribute 'snapshots
> 

In the SDK the services are arranged in a tree structure that mimics the
URL structure of the API. For example, if you want to get the service
that manages a particular snapshot, in the API you would use an URL like
this:

  /ovirt-engine/api/vms/123/snapshots/456

In the Python SDK that translates into this:

  snap_service = connection.system_service() \
.vms_service() \
.vm_service('123') \
.snapshots_service() \
.snapshot_service('456')

There is also a generic "service" method that is useful when you already
have all that path as an string:

  snap_service = connection.service("vms/123/snapshots/456")

Both return exactly the same object. The first is usually better when
you are calculating the path of the object step by step, and I generally
prefer it as it is less error prone.

Once you have the reference to the service, you can use the 'remove' method:

  snap_service.remove()

If you need to search by the names of the objects, then you can use the
'search' methods, which are only available for the top level objects,
like VM, data centers, clusters, etc. For example, to find your virtual
machine and then the snapshot:

  # Get the root service:
  system_service = connection.system_service()

  # Find the virtual machine:
  vms_service = system_service.vms_service()
  vm = vms_service.list(search='name=myvm')[0]

  # Find the snapshot:
  vm_service = vms_service.vm_service(vm.id)
  snaps_service = vm_service.snapshots_service()
  snaps = snaps_service.list()
  snap = [s for s in snaps where s.description == 'My snap'][0]

  # Remove the snapshot:
  snap_service = snaps_service.snap_service(snap.id)
  snap_service.remove()

> I saw an example into the ansible [ working ] way to do the same thing
> and I found this :
> snapshot =
> snapshots_service.snapshot_service(module.params['snapshot_id']).get()
> 
> How can I get this working with sdk, I mean giving snapshot_id as a
> parameter?
> 
> 
>> Also the complete reference documentation of the Python SDK is available
>> here:
>>
>>http://ovirt.github.io/ovirt-engine-sdk/v4.0/4.0.3/index.html
>>
>> There also SDKs for Ruby and Java, in case Python is not your preferred
>> language:
>>
>>Ruby:
>>https://github.com/oVirt/ovirt-engine-sdk-ruby/tree/master/sdk
>>   
>> https://github.com/oVirt/ovirt-engine-sdk-ruby/tree/master/sdk/examples
>>http://www.rubydoc.info/gems/ovirt-engine-sdk
>>
>>Java:
>>https://github.com/oVirt/ovirt-engine-sdk-java/tree/master/sdk
>>
>> https://github.com/oVirt/ovirt-engine-sdk-java/tree/master/sdk/src/test/java/org/ovirt/engine/sdk4/examples
>>
>>

Re: [ovirt-users] PLEASE HELP - oVirt 4.0.5 Instability + Best way to rollback to 4.0.4

2017-01-04 Thread Pavel Zhukov
Hello oVirt Padawan,
You can install new engine machine and import existing storage domains
there.
https://www.ovirt.org/develop/release-management/features/storage/importstoragedomain/
Please read restrictions and limitations.
I think it's more safe way to go in such kind of situations.

On Wed, Jan 4, 2017 at 6:40 PM, Rogério Ceni Coelho <
rogeriocenicoe...@gmail.com> wrote:

> Hi oVirt ObiWan´s,
>
> Today i try to rollback 4.0.5 to 4.0.4 because some instability with the
> following method and i crash on a problem. :-(
>
> I shutdown oVirt Engine and make checkpoint on Engine VM ( Runs on
> Hyper-V, don´t ask me way ... ). Rollback vm checkpoint to point in time
> before 4.0.5 update process and power up ovirt engine vm. Everything ok
> but, six virtual machines that i create before this point in time does not
> exist on oVirt Engine Database and all came with external-VMNAME and i can
> not do nothing on them. I really think (only in my dreams ) that when ovirt
> engine goes up and talk with ovirt nodes, all new vm will be automatically
> discovered again. The worst thing are that i use SAN Storage Domain and
> oVirt use LVM to storage VM disks, so i don´t know how to find vm disks
> that ovirt engine does not recognize (external-VMNAME).
>
> After all that, i rollback again to 4.0.5 and every vm are ok now again,
> but i want to test this rollback process to 4.0.4 and do this on Production.
>
> I think the right steps are :
>
> 1. Run engine-backup  /bin/engine-backup --mode=backup --scope=all
> --file=/root/ovirt/`hostname`.`date +%d%m%Y.%H%M%S`.ovirt-engine.bkp
> --log=/tmp/ovirt-engine_backup.log
> 2. Shutdown ovirt engine vm.
> 3. Make new checkpoint to rollback with something goes wrong
> 4. Rollback to checkpoint witch 4.0.4
> 5. Restore engine-backup (from version 4.0.5)
> 6. Start everything and check if all are ok
>
> This is the right way to rollback from one sub release to another ( 4.0.5
> to 4.0.4 ) ???
> This checkpoints/snapshots of ovirt-engine VM are the best way to rollback
> in time ???
>
> Thanks in advance.
>
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>


-- 
Pavel Zhukov
Software Engineer
RHEV Devops
IRC: landgraf
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] PLEASE HELP - oVirt 4.0.5 Instability + Best way to rollback to 4.0.4

2017-01-04 Thread Rogério Ceni Coelho
Hi oVirt ObiWan´s,

Today i try to rollback 4.0.5 to 4.0.4 because some instability with the
following method and i crash on a problem. :-(

I shutdown oVirt Engine and make checkpoint on Engine VM ( Runs on Hyper-V,
don´t ask me way ... ). Rollback vm checkpoint to point in time before
4.0.5 update process and power up ovirt engine vm. Everything ok but, six
virtual machines that i create before this point in time does not exist on
oVirt Engine Database and all came with external-VMNAME and i can not do
nothing on them. I really think (only in my dreams ) that when ovirt engine
goes up and talk with ovirt nodes, all new vm will be automatically
discovered again. The worst thing are that i use SAN Storage Domain and
oVirt use LVM to storage VM disks, so i don´t know how to find vm disks
that ovirt engine does not recognize (external-VMNAME).

After all that, i rollback again to 4.0.5 and every vm are ok now again,
but i want to test this rollback process to 4.0.4 and do this on Production.

I think the right steps are :

1. Run engine-backup  /bin/engine-backup --mode=backup --scope=all
--file=/root/ovirt/`hostname`.`date +%d%m%Y.%H%M%S`.ovirt-engine.bkp
--log=/tmp/ovirt-engine_backup.log
2. Shutdown ovirt engine vm.
3. Make new checkpoint to rollback with something goes wrong
4. Rollback to checkpoint witch 4.0.4
5. Restore engine-backup (from version 4.0.5)
6. Start everything and check if all are ok

This is the right way to rollback from one sub release to another ( 4.0.5
to 4.0.4 ) ???
This checkpoints/snapshots of ovirt-engine VM are the best way to rollback
in time ???

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


Re: [ovirt-users] recovering from failed 3.6 -> 4.0 engine upgrade

2017-01-04 Thread Simone Tiraboschi
On Wed, Jan 4, 2017 at 5:26 PM, Robert Story  wrote:

> On Wed, 4 Jan 2017 16:43:07 +0100 Simone wrote:
> ST> engine-setup should be completely transactional and it should rollback
> by
> ST> itself on failures; could you please share engine-setup logs from your
> ST> failed attempt?
>
> See  https://bugzilla.redhat.com/show_bug.cgi?id=1408493


OK, thanks.
I commented on the bug.


>
>
>
> Robert
>
> --
> Senior Software Engineer @ Parsons
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Request for oVirt Ansible modules testing feedback

2017-01-04 Thread Nathanaël Blanchet



Le 04/01/2017 à 15:41, Juan Hernández a écrit :

On 01/04/2017 12:30 PM, Yaniv Kaul wrote:


On Wed, Jan 4, 2017 at 1:04 PM, Nicolas Ecarnot > wrote:

 Hello,

 Le 04/01/2017 à 11:49, Nathanaël Blanchet a écrit :



 Le 04/01/2017 à 10:09, Andrea Ghelardi a écrit :


 Personally I don’t think ansible and ovirt-shell are
 mutually exclusive.

 Those who are in ansible and devops realms are not really
 scared by
 making python/ansible work with ovirt.

 From what I gather, playbooks are quite a de-facto
 pre-requisite to
 build up a real SaaC “Software as a Code” environment.



 On the other hand, ovirt-shell can and is a fast/easy way to
 perform
 “normal daily tasks”.

 totally agree but ovirt-shell is deprecated in 4.1 et will be
 removed in
 4.2. Ansible or sdk4 are proposed as an alternative.


 Could someone point me to an URL where sdk4 is fully documented, as
 I have to get ready for ovirt-shell deprecation?


The Rest API is partially documented under https:///api/model .
It's not complete yet. All new features in 4.0 are documented and we are
working on the 'older' features now.
(contributions are welcome!)


 I'm sure no one at Redhat thought about deprecating a tool in favor
 of a new one before providing a complete user doc!


In addition, the SDK RPM itself contains many examples. See [1].
(contributions are welcome!)

Y.

[1] https://github.com/oVirt/ovirt-engine-sdk/tree/master/sdk/examples

Although these examples, I can successfully create a snapshot, but I 
didn't find the way to delete it...

Regarding many example, it should be possible to locate any service by :
name_service = connection.system_service().name.service()

So logically it should be doable with snapshot like
snapshots_service = connection.system_service().snapshots.service()
but : AttributeError: 'SystemService' object has no attribute 'snapshots

I saw an example into the ansible [ working ] way to do the same thing 
and I found this :
snapshot = 
snapshots_service.snapshot_service(module.params['snapshot_id']).get()


How can I get this working with sdk, I mean giving snapshot_id as a 
parameter?




Also the complete reference documentation of the Python SDK is available
here:

   http://ovirt.github.io/ovirt-engine-sdk/v4.0/4.0.3/index.html

There also SDKs for Ruby and Java, in case Python is not your preferred
language:

   Ruby:
   https://github.com/oVirt/ovirt-engine-sdk-ruby/tree/master/sdk
   https://github.com/oVirt/ovirt-engine-sdk-ruby/tree/master/sdk/examples
   http://www.rubydoc.info/gems/ovirt-engine-sdk

   Java:
   https://github.com/oVirt/ovirt-engine-sdk-java/tree/master/sdk

https://github.com/oVirt/ovirt-engine-sdk-java/tree/master/sdk/src/test/java/org/ovirt/engine/sdk4/examples
   http://www.javadoc.io/doc/org.ovirt.engine.api/sdk



 --
 Nicolas ECARNOT

 ___
 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


--
Nathanaël Blanchet

Supervision réseau
Pôle Infrastrutures Informatiques
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5   
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14
blanc...@abes.fr

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


Re: [ovirt-users] Unable to connect to console in user portal

2017-01-04 Thread Alexander Wels
On Wednesday, January 4, 2017 5:25:56 PM EST Shalabh Goel wrote:
> Hi,
> 
> I have created two VMs on a node. Then I created a user and gave permission
> to the user for both as UserRole from the web console. Now when I login as
> the user to the user portal, I can see both the VMs. But when I click
> connect or double-click on a particular VM, I get an error message "Error
> while executing action VmLogon: Internal Engine Error".
> 

Can you provide us with the engine logs. The engine is giving an internal 
server error which is bad and shouldn't happen, but obviously it did and its 
highly likely there is a stack trace in the logs that will give us some idea 
what is going on.

> The ovirt engine and node version is 4.0.
> 
> Please help
> 
> Thank You
> 
> Shalabh Goel


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


[ovirt-users] VM Import from Admin GUI: "VM has MAC address(es) , which is/are out ouf its MAC pool definitions"

2017-01-04 Thread Beckman, Daniel
I recently completed a VM import from a standard KVM host (Centos 7 based) to 
oVirt 4.0.5. The import completed fine and the VM runs and operates as 
expected. But I got the error cited in subject. Here’s the complete unedited 
error:

VM thays-puppet-svr has MAC address(es) 52:54:00:ce:2b:7d, which is/are out ouf 
its MAC pool definitions.

Note that is a direct copy and paste – and note the misspelling for “of” as 
“ouf”.

Will running this VM with a MAC address falling outside of the pool lead to 
problems?


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


Re: [ovirt-users] recovering from failed 3.6 -> 4.0 engine upgrade

2017-01-04 Thread Robert Story
On Wed, 4 Jan 2017 16:43:07 +0100 Simone wrote:
ST> engine-setup should be completely transactional and it should rollback by
ST> itself on failures; could you please share engine-setup logs from your
ST> failed attempt?

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


Robert

-- 
Senior Software Engineer @ Parsons


pgpkxQbCrMXpq.pgp
Description: OpenPGP digital signature
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Modifying the main /ovirt-engine/ landing page -- add link to CA Cert?

2017-01-04 Thread Derek Atkins

On Wed, January 4, 2017 11:00 am, Yedidyah Bar David wrote:

>> Thanks, Didi.  I've read through this page and it provides lots of
>> goodness if I wanted to add new tabs to the portal, but I can't find any
>> hints how I would change the page that's seen when someone first
>> connects to the /ovirt-engine/ page when they first connect to ovirt.
>
> Perhaps you were looking for this one:
>
> https://www.ovirt.org/develop/release-management/features/ux/branding/

AHA!!  There's a section there called "Welcome Page" which pointed me to
/usr/share/ovirt-engine/branding/ovirt.brand/welcome_page.template which
seems to be exactly what I want to edit!

Looks like I need to rewrite that in place, but that's okay.  I'm sure it
will get overwritten every update but I'll note to fix it then too.

I would never have considered this "branding"..  :)  And of course google
never brought me to that link.  I'm sure in 20/20 hindsight I would have
better search terms for "modify ovirt welcome page" that would've worked.

Thank you.

> Best,
> --
> Didi

-derek

-- 
   Derek Atkins 617-623-3745
   de...@ihtfp.com www.ihtfp.com
   Computer and Internet Security Consultant

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


Re: [ovirt-users] How to execute Virsh command after ovirt installation ?

2017-01-04 Thread Pavel Gashev
Yaniv,

I have an ansible role. I’ll upload it to the Ansible Galaxy.


From: Yaniv Kaul 
Date: Wednesday 4 January 2017 at 14:36
To: Pavel Gashev 
Cc: Ovirt Users , Fernando Frediani 

Subject: Re: [ovirt-users] How to execute Virsh command after ovirt 
installation ?



On Jan 4, 2017 1:34 PM, "Pavel Gashev" 
> wrote:
It's interesting, I have an opposite opinion. I don’t see why oVirt reinvents 
its own HA instead of using Pacemaker. And it’s not old, it’s mature ;)

I my case, I had no option to setup Hosted Engine since migration to oVirt 
required storage rearrangement. Now I have to run HA oVirt VM using Pacemaker + 
DRBD. Works great.

Would be great if you can share more information about your setup.
It's a great topic for an ovirt.org blog post, for example.
Y.



From: > on behalf of 
Fernando Frediani 
>
Date: Tuesday 3 January 2017 at 15:38
To: "users@ovirt.org" 
>
Subject: Re: [ovirt-users] How to execute Virsh command after ovirt 
installation ?


Honestlly I don't see why in 2017 people still using the old DRBD + Pacemaker 
solution for virtualization stuff.

On 03/01/2017 10:35, TranceWorldLogic . wrote:
Thanks, I agree bad idea to execute virsh command without knowing vdsm and 
engine.
Is their any plan in ovirt to support drbd + Pacemaker ?


On Tue, Jan 3, 2017 at 4:29 PM, Michal Skrivanek 
> wrote:

On 3 Jan 2017, at 11:55, Nathanaël Blanchet 
> wrote:


except for quickly get RO informations like "virsh capabilities".

When you come from libvirt and you know what to do, you might not want to 
find/read a dedicated documentation for such a little query.

yes, sure, for read-only
but for any modification, no matter how minimal, it’s almost always needed to 
inform vdsm/engine to know about it to prevent corner cases, misdetections, 
etc...


Le 03/01/2017 à 11:19, Michal Skrivanek a écrit :

On 3 Jan 2017, at 11:15, Nathanaël Blanchet 
> wrote:


Use at your own risks:

vdsm@ovirt:shibboleth

But, you may unsynchronize your host HW with engine database.

it is almost always a bad idea to do that
hooks are exactly for the cases like below, just in a cleaner way


Le 03/01/2017 à 11:09, Yaniv Dary a écrit :
It is preferable you use VDSM hooks to add devices to VMs.


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, Jan 3, 2017 at 10:58 AM, TranceWorldLogic . 
> wrote:
Hi Joop,
I want to add drdb device in vm instance hence would like to execute virsh 
command.
Is it possible ?

Thanks,
~Rohit


On Tue, Jan 3, 2017 at 1:26 PM, jvandewege 
> wrote:
On 3-1-2017 8:32, TranceWorldLogic . wrote:
> Hi,
>
> I tried execution below virsh command after ovirt installation.
> but it requesting username and password.
>
> ~# virsh list --all
> Please enter your authentication name:
>
> Please let me know which username and password I have to provide ?
If you only need read access then you need to supply -r as an additional
argument.

Why do you need virsh because that will only give you the info on that
host, using ovirt-shell gives you the info for all hosts.

Joop

___
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

--

Nathanaël Blanchet



Supervision réseau

Pôle Infrastrutures Informatiques

227 avenue Professeur-Jean-Louis-Viala

34193 MONTPELLIER CEDEX 5

Tél. 33 (0)4 67 54 84 55

Fax  33 (0)4 67 54 84 14

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

--

Nathanaël Blanchet



Supervision réseau

Pôle Infrastrutures Informatiques

227 avenue Professeur-Jean-Louis-Viala

34193 MONTPELLIER CEDEX 5

Tél. 33 (0)4 67 54 84 55

Fax  33 (0)4 67 54 84 14

blanc...@abes.fr
___ Users 

Re: [ovirt-users] How to execute Virsh command after ovirt installation ?

2017-01-04 Thread Pavel Gashev
Martin,

Thank you for the clarifications. It makes sense.

I just mean that following the Unix way [1] gives benefits. For example, VDSM 
doesn’t follow DOTADIW [2]. And I believe it could work better if it did.

[1] https://en.wikipedia.org/wiki/Unix_philosophy 
[2] Do One Thing and Do It Well

-Original Message-
From: Martin Sivak 
Date: Wednesday 4 January 2017 at 15:36
To: Pavel Gashev 
Cc: Fernando Frediani , "users@ovirt.org" 

Subject: Re: [ovirt-users] How to execute Virsh command after ovirt 
installation ?

Hi,

We were actually evaluating Pacemaker based hosted engine and talking
to Pacemaker developers, but we hit couple of show stoppers:

- Pacemaker supports limited set of nodes in the default setup (16
iirc, extensible using some kind of relays)
- It uses network based synchronization and requires very low latency
network (we can't guarantee that when migrations are in progress for
example) - the rest of oVirt currently uses storage based
synchronization, so we are in a different world here
- We would basically have to rewrite / duplicate most of the hosted
engine code we already have to get the same scheduling logic (load
penalization, gateway checks, ...)

We decided that rewriting code for no clear benefit was not productive
and stayed with the current hosted engine instead.

Martin


On Wed, Jan 4, 2017 at 12:33 PM, Pavel Gashev  wrote:
> It's interesting, I have an opposite opinion. I don’t see why oVirt
> reinvents its own HA instead of using Pacemaker. And it’s not old, it’s
> mature ;)
>
>
>
> I my case, I had no option to setup Hosted Engine since migration to oVirt
> required storage rearrangement. Now I have to run HA oVirt VM using
> Pacemaker + DRBD. Works great.
>
>
>
>
>
> From:  on behalf of Fernando Frediani
> 
> Date: Tuesday 3 January 2017 at 15:38
> To: "users@ovirt.org" 
> Subject: Re: [ovirt-users] How to execute Virsh command after ovirt
> installation ?
>
>
>
> Honestlly I don't see why in 2017 people still using the old DRBD +
> Pacemaker solution for virtualization stuff.
>
>
>
> On 03/01/2017 10:35, TranceWorldLogic . wrote:
>
> Thanks, I agree bad idea to execute virsh command without knowing vdsm and
> engine.
>
> Is their any plan in ovirt to support drbd + Pacemaker ?
>
>
>
>
>
> On Tue, Jan 3, 2017 at 4:29 PM, Michal Skrivanek
>  wrote:
>
>
>
> On 3 Jan 2017, at 11:55, Nathanaël Blanchet  wrote:
>
>
>
> except for quickly get RO informations like "virsh capabilities".
>
> When you come from libvirt and you know what to do, you might not want to
> find/read a dedicated documentation for such a little query.
>
>
>
> yes, sure, for read-only
>
> but for any modification, no matter how minimal, it’s almost always needed
> to inform vdsm/engine to know about it to prevent corner cases,
> misdetections, etc...
>
>
>
>
>
> Le 03/01/2017 à 11:19, Michal Skrivanek a écrit :
>
>
>
> On 3 Jan 2017, at 11:15, Nathanaël Blanchet  wrote:
>
>
>
> Use at your own risks:
>
> vdsm@ovirt:shibboleth
>
> But, you may unsynchronize your host HW with engine database.
>
>
>
> it is almost always a bad idea to do that
>
> hooks are exactly for the cases like below, just in a cleaner way
>
>
>
>
>
> Le 03/01/2017 à 11:09, Yaniv Dary a écrit :
>
> It is preferable you use VDSM hooks to add devices to VMs.
>
>
> 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, Jan 3, 2017 at 10:58 AM, TranceWorldLogic .
>  wrote:
>
> Hi Joop,
>
> I want to add drdb device in vm instance hence would like to execute virsh
> command.
>
> Is it possible ?
>
>
>
> Thanks,
>
> ~Rohit
>
>
>
>
>
> On Tue, Jan 3, 2017 at 1:26 PM, jvandewege  wrote:
>
> On 3-1-2017 8:32, TranceWorldLogic . wrote:
>> Hi,
>>
>> I tried execution below virsh command after ovirt installation.
>> but it requesting username and password.
>>
>> ~# virsh list --all
>> Please enter your authentication name:
>>
>> Please let me know which username and password I have to provide ?
> If you only need read access then you need to supply -r as an additional
> argument.
>
> Why do you need virsh because that will only give you the info on that
> host, using ovirt-shell gives you the info for all hosts.
>
> Joop
>
> ___
> 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] Modifying the main /ovirt-engine/ landing page -- add link to CA Cert?

2017-01-04 Thread Yedidyah Bar David
On Wed, Jan 4, 2017 at 5:50 PM, Derek Atkins  wrote:
> Hi Michal,
>
> Michal Skrivanek  writes:
>
>> On 16-12-2016 20:01, Derek Atkins wrote:
>> Hi,
>>
>> I'd like to make some modifications to the main /ovirt-engine/ landing
>> page that I (and my users) hit when then first connect to my server.
>> Specifically, I want to add another link under the "Downloads" section
>> to the ovirt CA certificate to make it much easier to download:
>>
>> > href="/ovirt-engine/services/pki-resource?resource=ca-certificate=X509-PEM-CA">Ovirt
>> CA Certificate
>>
>> However I can't find the HTML for this page, and any links I've found
>> seem to refer back to 3.x locations and not anything for 4.0.5.
>>
>> What exact version do you have? It was changed/fixed several months
>> ago to a link as above
>
> I am running ovirt-engine-4.0.5.5-1.el7.centos.noarch and nowhere in
> /usr or /etc can I find the HTML for the ovirt-engine main page.
>
> Yes, if I **manually type in** the link above it works just fine.  As a
> courtesy to my users I want to add the CA certificate URL as a clickable
> link off the ovirt main page which is accessible from
> https:///ovirt-engine/
>
> According to some googling I found that back in the 3.x days this was
> just an HTML page, but if that's still the case in 4.0 I cannot find it
> in order to add the above HREF.
>
 I wouldn't even know where to start to use the plugin architecture to do
 this.  Any documentation pointers?
>>>
>>> https://www.ovirt.org/develop/release-management/features/ux/uiplugins/
>
> Thanks, Didi.  I've read through this page and it provides lots of
> goodness if I wanted to add new tabs to the portal, but I can't find any
> hints how I would change the page that's seen when someone first
> connects to the /ovirt-engine/ page when they first connect to ovirt.

Perhaps you were looking for this one:

https://www.ovirt.org/develop/release-management/features/ux/branding/

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


Re: [ovirt-users] Modifying the main /ovirt-engine/ landing page -- add link to CA Cert?

2017-01-04 Thread Derek Atkins
Hi Michal,

Michal Skrivanek  writes:

> On 16-12-2016 20:01, Derek Atkins wrote:
> Hi,
>
> I'd like to make some modifications to the main /ovirt-engine/ landing
> page that I (and my users) hit when then first connect to my server.
> Specifically, I want to add another link under the "Downloads" section
> to the ovirt CA certificate to make it much easier to download:
>
>  href="/ovirt-engine/services/pki-resource?resource=ca-certificate=X509-PEM-CA">Ovirt
> CA Certificate
>
> However I can't find the HTML for this page, and any links I've found
> seem to refer back to 3.x locations and not anything for 4.0.5.
>
> What exact version do you have? It was changed/fixed several months
> ago to a link as above

I am running ovirt-engine-4.0.5.5-1.el7.centos.noarch and nowhere in
/usr or /etc can I find the HTML for the ovirt-engine main page.

Yes, if I **manually type in** the link above it works just fine.  As a
courtesy to my users I want to add the CA certificate URL as a clickable
link off the ovirt main page which is accessible from
https:///ovirt-engine/

According to some googling I found that back in the 3.x days this was
just an HTML page, but if that's still the case in 4.0 I cannot find it
in order to add the above HREF.

>>> I wouldn't even know where to start to use the plugin architecture to do
>>> this.  Any documentation pointers?
>>
>> https://www.ovirt.org/develop/release-management/features/ux/uiplugins/

Thanks, Didi.  I've read through this page and it provides lots of
goodness if I wanted to add new tabs to the portal, but I can't find any
hints how I would change the page that's seen when someone first
connects to the /ovirt-engine/ page when they first connect to ovirt.

Thanks,

-derek
-- 
   Derek Atkins 617-623-3745
   de...@ihtfp.com www.ihtfp.com
   Computer and Internet Security Consultant
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] recovering from failed 3.6 -> 4.0 engine upgrade

2017-01-04 Thread Simone Tiraboschi
On Wed, Jan 4, 2017 at 3:43 PM, Robert Story  wrote:

> On Fri, 23 Dec 2016 13:58:09 -0500 Robert wrote:
> RS> I'm trying to upgrade to 4.0 from 3.6. I dutify checked that my
> clusters
> RS> were set to 3.6 compatibility and started the engine upgrade.
> unfortunately
> RS> I forgot to check the unused Default cluser. :-/
>
> So it turns out that it wasn't the cluster compatibility that I missed, but
> that the data center compatibility level needed to be updated to 3.6 as
> well. I just didn't read the error message closely enough.
>
> RS> So the upgrade failed, but the 4.0 rpms were installed, so the engine
> won't
> RS> start. How can I fix the compat level (or delete Default cluster)?
>
> For the record, I ended up using 'yum history' to roll back the updated
> packages, and was then able to start the engine, change the datacenter to
> 3.6, and re-run setup successfully.
>

engine-setup should be completely transactional and it should rollback by
itself on failures; could you please share engine-setup logs from your
failed attempt?


>
>
>
> Robert
>
> --
> Senior Software Engineer @ Parsons
>
> ___
> 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] The feature everyone was asking for is finally here...

2017-01-04 Thread Eyal Edri
FYI,

After many requests from multiple developers and testers, the oVirt CI
added a new simple job that lets you run the full fledged end-to-end oVirt
system tests with a click of a button.
You can read all the details and how-to in the new oVirt blog [1].

We wanted to allow running oVirt system tests on EVERY open patch from ANY
oVirt project, without relaying on complex building code inside the job.
Luckily we just added the 'build-on-demand' so together with it you can
build any rpms you'd like and use them to run the manual job.

So the 2 steps you'll need to do are:

   1. Write 'ci please build' inside a comment on an open oVirt patch (
   make sure the feature is enabled for that project first, its already
   available for ovirt-engine,vdsm,dashboard and vdsm-jsonrpc-java)
   2. Run the manual OST job for the version you'd like to test with the
   URLs you got from #1

You'll get and email once the job is done and you can browse the results
and check for logs from engine and the hosts.

Please feel free to ask questions on in...@ovirt.org as usual.


[1] https://www.ovirt.org/blog/2017/01/ovirt-system-tests-to-the-rescue/

-- 
Eyal Edri
Associate Manager
RHV DevOps
EMEA ENG Virtualization R
Red Hat Israel

phone: +972-9-7692018 <+972%209-769-2018>
irc: eedri (on #tlv #rhev-dev #rhev-integ)
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] is there any technical guide for 3rd party appliance developers?

2017-01-04 Thread Jiří Sléžka

Hi,

it is just idea. It would be nice if there were some guide for 3rd party 
appliance developers which would describe how to prepare their 
appliances to run on oVirt without problem.


I am just oVirt/RHV administrator but we often face the situation we 
would like to run some appliance on oVirt/RHV but it is not officially 
supported (like VmWare). It would be great benefit for oVirt if you 
could break the wall of concerns and encourage 3rd party developers to 
make their appliances also fo oVirt/RHV.



Cheers,

Jiri



smime.p7s
Description: S/MIME Cryptographic Signature
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Modifying the main /ovirt-engine/ landing page -- add link to CA Cert?

2017-01-04 Thread Michal Skrivanek
> On 04 Jan 2017, at 14:31, Yedidyah Bar David  wrote:
>
>> On Sun, Dec 18, 2016 at 10:23 PM, Derek Atkins  wrote:
>> Joop,
>>
>> Joop  writes:
>>
 On 16-12-2016 20:01, Derek Atkins wrote:
 Hi,

 I'd like to make some modifications to the main /ovirt-engine/ landing
 page that I (and my users) hit when then first connect to my server.
 Specifically, I want to add another link under the "Downloads" section
 to the ovirt CA certificate to make it much easier to download:

 >>> href="/ovirt-engine/services/pki-resource?resource=ca-certificate=X509-PEM-CA">Ovirt
 CA Certificate

 However I can't find the HTML for this page, and any links I've found
 seem to refer back to 3.x locations and not anything for 4.0.5.

What exact version do you have? It was changed/fixed several months
ago to a link as above


 Where can I find the HTML for this landing page, or how can I get this
 link added?  I presume I'll have to modify the page every time I update
 the engine, too.
>>> It might be hiding in the war file if that is used to deploy the
>>> application (engine) on wildfly (10.x). Another thought occured, can you
>>> use the plugin architecture to provide the extra link?
>>
>> I wouldn't even know where to start to use the plugin architecture to do
>> this.  Any documentation pointers?
>
> https://www.ovirt.org/develop/release-management/features/ux/uiplugins/
>
> Best,
> --
> Didi
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] recovering from failed 3.6 -> 4.0 engine upgrade

2017-01-04 Thread Robert Story
On Fri, 23 Dec 2016 13:58:09 -0500 Robert wrote:
RS> I'm trying to upgrade to 4.0 from 3.6. I dutify checked that my clusters
RS> were set to 3.6 compatibility and started the engine upgrade. unfortunately
RS> I forgot to check the unused Default cluser. :-/

So it turns out that it wasn't the cluster compatibility that I missed, but
that the data center compatibility level needed to be updated to 3.6 as
well. I just didn't read the error message closely enough.

RS> So the upgrade failed, but the 4.0 rpms were installed, so the engine won't
RS> start. How can I fix the compat level (or delete Default cluster)?

For the record, I ended up using 'yum history' to roll back the updated
packages, and was then able to start the engine, change the datacenter to
3.6, and re-run setup successfully.



Robert

-- 
Senior Software Engineer @ Parsons


pgpTZQeWlIgMj.pgp
Description: OpenPGP digital signature
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Request for oVirt Ansible modules testing feedback

2017-01-04 Thread Juan Hernández
On 01/04/2017 12:30 PM, Yaniv Kaul wrote:
> 
> 
> On Wed, Jan 4, 2017 at 1:04 PM, Nicolas Ecarnot  > wrote:
> 
> Hello,
> 
> Le 04/01/2017 à 11:49, Nathanaël Blanchet a écrit :
> 
> 
> 
> Le 04/01/2017 à 10:09, Andrea Ghelardi a écrit :
> 
> 
> Personally I don’t think ansible and ovirt-shell are
> mutually exclusive.
> 
> Those who are in ansible and devops realms are not really
> scared by
> making python/ansible work with ovirt.
> 
> From what I gather, playbooks are quite a de-facto
> pre-requisite to
> build up a real SaaC “Software as a Code” environment.
> 
> 
> 
> On the other hand, ovirt-shell can and is a fast/easy way to
> perform
> “normal daily tasks”.
> 
> totally agree but ovirt-shell is deprecated in 4.1 et will be
> removed in
> 4.2. Ansible or sdk4 are proposed as an alternative.
> 
> 
> Could someone point me to an URL where sdk4 is fully documented, as
> I have to get ready for ovirt-shell deprecation?
> 
> 
> The Rest API is partially documented under https:///api/model .
> It's not complete yet. All new features in 4.0 are documented and we are
> working on the 'older' features now.
> (contributions are welcome!)
> 
> 
> I'm sure no one at Redhat thought about deprecating a tool in favor
> of a new one before providing a complete user doc!
> 
> 
> In addition, the SDK RPM itself contains many examples. See [1].
> (contributions are welcome!)
> 
> Y.
> 
> [1] https://github.com/oVirt/ovirt-engine-sdk/tree/master/sdk/examples
> 

Also the complete reference documentation of the Python SDK is available
here:

  http://ovirt.github.io/ovirt-engine-sdk/v4.0/4.0.3/index.html

There also SDKs for Ruby and Java, in case Python is not your preferred
language:

  Ruby:
  https://github.com/oVirt/ovirt-engine-sdk-ruby/tree/master/sdk
  https://github.com/oVirt/ovirt-engine-sdk-ruby/tree/master/sdk/examples
  http://www.rubydoc.info/gems/ovirt-engine-sdk

  Java:
  https://github.com/oVirt/ovirt-engine-sdk-java/tree/master/sdk

https://github.com/oVirt/ovirt-engine-sdk-java/tree/master/sdk/src/test/java/org/ovirt/engine/sdk4/examples
  http://www.javadoc.io/doc/org.ovirt.engine.api/sdk

> 
> 
> -- 
> Nicolas ECARNOT
> 
> ___
> 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


Re: [ovirt-users] Request for oVirt Ansible modules testing feedback

2017-01-04 Thread Nathanaël Blanchet



Le 04/01/2017 à 12:30, Yaniv Kaul a écrit :



On Wed, Jan 4, 2017 at 1:04 PM, Nicolas Ecarnot > wrote:


Hello,

Le 04/01/2017 à 11:49, Nathanaël Blanchet a écrit :



Le 04/01/2017 à 10:09, Andrea Ghelardi a écrit :


Personally I don’t think ansible and ovirt-shell are
mutually exclusive.

Those who are in ansible and devops realms are not really
scared by
making python/ansible work with ovirt.

From what I gather, playbooks are quite a de-facto
pre-requisite to
build up a real SaaC “Software as a Code” environment.



On the other hand, ovirt-shell can and is a fast/easy way
to perform
“normal daily tasks”.

totally agree but ovirt-shell is deprecated in 4.1 et will be
removed in
4.2. Ansible or sdk4 are proposed as an alternative.


Could someone point me to an URL where sdk4 is fully documented,
as I have to get ready for ovirt-shell deprecation?


The Rest API is partially documented under https:///api/model .

you mean https:///ovirt-engine/api/model
It's not complete yet. All new features in 4.0 are documented and we 
are working on the 'older' features now.

(contributions are welcome!)


I'm sure no one at Redhat thought about deprecating a tool in
favor of a new one before providing a complete user doc!


In addition, the SDK RPM itself contains many examples. See [1].
(contributions are welcome!)

Y.

[1] https://github.com/oVirt/ovirt-engine-sdk/tree/master/sdk/examples



-- 
Nicolas ECARNOT


___
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


--
Nathanaël Blanchet

Supervision réseau
Pôle Infrastrutures Informatiques
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5   
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14
blanc...@abes.fr

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


Re: [ovirt-users] Modifying the main /ovirt-engine/ landing page -- add link to CA Cert?

2017-01-04 Thread Yedidyah Bar David
On Sun, Dec 18, 2016 at 10:23 PM, Derek Atkins  wrote:
> Joop,
>
> Joop  writes:
>
>> On 16-12-2016 20:01, Derek Atkins wrote:
>>> Hi,
>>>
>>> I'd like to make some modifications to the main /ovirt-engine/ landing
>>> page that I (and my users) hit when then first connect to my server.
>>> Specifically, I want to add another link under the "Downloads" section
>>> to the ovirt CA certificate to make it much easier to download:
>>>
>>> >> href="/ovirt-engine/services/pki-resource?resource=ca-certificate=X509-PEM-CA">Ovirt
>>> CA Certificate
>>>
>>> However I can't find the HTML for this page, and any links I've found
>>> seem to refer back to 3.x locations and not anything for 4.0.5.
>>>
>>> Where can I find the HTML for this landing page, or how can I get this
>>> link added?  I presume I'll have to modify the page every time I update
>>> the engine, too.
>>>
>> It might be hiding in the war file if that is used to deploy the
>> application (engine) on wildfly (10.x). Another thought occured, can you
>> use the plugin architecture to provide the extra link?
>
> I wouldn't even know where to start to use the plugin architecture to do
> this.  Any documentation pointers?

https://www.ovirt.org/develop/release-management/features/ux/uiplugins/

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


Re: [ovirt-users] How to execute Virsh command after ovirt installation ?

2017-01-04 Thread Martin Sivak
Hi,

We were actually evaluating Pacemaker based hosted engine and talking
to Pacemaker developers, but we hit couple of show stoppers:

- Pacemaker supports limited set of nodes in the default setup (16
iirc, extensible using some kind of relays)
- It uses network based synchronization and requires very low latency
network (we can't guarantee that when migrations are in progress for
example) - the rest of oVirt currently uses storage based
synchronization, so we are in a different world here
- We would basically have to rewrite / duplicate most of the hosted
engine code we already have to get the same scheduling logic (load
penalization, gateway checks, ...)

We decided that rewriting code for no clear benefit was not productive
and stayed with the current hosted engine instead.

Martin


On Wed, Jan 4, 2017 at 12:33 PM, Pavel Gashev  wrote:
> It's interesting, I have an opposite opinion. I don’t see why oVirt
> reinvents its own HA instead of using Pacemaker. And it’s not old, it’s
> mature ;)
>
>
>
> I my case, I had no option to setup Hosted Engine since migration to oVirt
> required storage rearrangement. Now I have to run HA oVirt VM using
> Pacemaker + DRBD. Works great.
>
>
>
>
>
> From:  on behalf of Fernando Frediani
> 
> Date: Tuesday 3 January 2017 at 15:38
> To: "users@ovirt.org" 
> Subject: Re: [ovirt-users] How to execute Virsh command after ovirt
> installation ?
>
>
>
> Honestlly I don't see why in 2017 people still using the old DRBD +
> Pacemaker solution for virtualization stuff.
>
>
>
> On 03/01/2017 10:35, TranceWorldLogic . wrote:
>
> Thanks, I agree bad idea to execute virsh command without knowing vdsm and
> engine.
>
> Is their any plan in ovirt to support drbd + Pacemaker ?
>
>
>
>
>
> On Tue, Jan 3, 2017 at 4:29 PM, Michal Skrivanek
>  wrote:
>
>
>
> On 3 Jan 2017, at 11:55, Nathanaël Blanchet  wrote:
>
>
>
> except for quickly get RO informations like "virsh capabilities".
>
> When you come from libvirt and you know what to do, you might not want to
> find/read a dedicated documentation for such a little query.
>
>
>
> yes, sure, for read-only
>
> but for any modification, no matter how minimal, it’s almost always needed
> to inform vdsm/engine to know about it to prevent corner cases,
> misdetections, etc...
>
>
>
>
>
> Le 03/01/2017 à 11:19, Michal Skrivanek a écrit :
>
>
>
> On 3 Jan 2017, at 11:15, Nathanaël Blanchet  wrote:
>
>
>
> Use at your own risks:
>
> vdsm@ovirt:shibboleth
>
> But, you may unsynchronize your host HW with engine database.
>
>
>
> it is almost always a bad idea to do that
>
> hooks are exactly for the cases like below, just in a cleaner way
>
>
>
>
>
> Le 03/01/2017 à 11:09, Yaniv Dary a écrit :
>
> It is preferable you use VDSM hooks to add devices to VMs.
>
>
> 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, Jan 3, 2017 at 10:58 AM, TranceWorldLogic .
>  wrote:
>
> Hi Joop,
>
> I want to add drdb device in vm instance hence would like to execute virsh
> command.
>
> Is it possible ?
>
>
>
> Thanks,
>
> ~Rohit
>
>
>
>
>
> On Tue, Jan 3, 2017 at 1:26 PM, jvandewege  wrote:
>
> On 3-1-2017 8:32, TranceWorldLogic . wrote:
>> Hi,
>>
>> I tried execution below virsh command after ovirt installation.
>> but it requesting username and password.
>>
>> ~# virsh list --all
>> Please enter your authentication name:
>>
>> Please let me know which username and password I have to provide ?
> If you only need read access then you need to supply -r as an additional
> argument.
>
> Why do you need virsh because that will only give you the info on that
> host, using ovirt-shell gives you the info for all hosts.
>
> Joop
>
> ___
> 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
>
> --
>
> Nathanaël Blanchet
>
>
>
> Supervision réseau
>
> Pôle Infrastrutures Informatiques
>
> 227 avenue Professeur-Jean-Louis-Viala
>
> 34193 MONTPELLIER CEDEX 5
>
> Tél. 33 (0)4 67 54 84 55
>
> Fax  33 (0)4 67 54 84 14
>
> blanc...@abes.fr
>
> ___ Users mailing list
> Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
>
> --
>
> Nathanaël Blanchet
>
>
>
> Supervision réseau
>
> Pôle Infrastrutures Informatiques
>
> 227 avenue Professeur-Jean-Louis-Viala
>
> 

Re: [ovirt-users] How to execute Virsh command after ovirt installation ?

2017-01-04 Thread Pavel Gashev
Migration to oVirt was requiring storage rearrangement. In other words, my 
storage was used by another virtualization.

From: "TranceWorldLogic ." 
Date: Wednesday 4 January 2017 at 15:17
To: Yaniv Kaul 
Cc: Pavel Gashev , Ovirt Users 
Subject: Re: [ovirt-users] How to execute Virsh command after ovirt 
installation ?

Sorry, I not understood "oVirt required storage rearrangement".
Would you please provide some more input on this ?
Thanks,
~Rohit

On Wed, Jan 4, 2017 at 5:06 PM, Yaniv Kaul 
> wrote:


On Jan 4, 2017 1:34 PM, "Pavel Gashev" 
> wrote:
It's interesting, I have an opposite opinion. I don’t see why oVirt reinvents 
its own HA instead of using Pacemaker. And it’s not old, it’s mature ;)

I my case, I had no option to setup Hosted Engine since migration to oVirt 
required storage rearrangement. Now I have to run HA oVirt VM using Pacemaker + 
DRBD. Works great.

Would be great if you can share more information about your setup.
It's a great topic for an ovirt.org blog post, for example.
Y.



From: > on behalf of 
Fernando Frediani 
>
Date: Tuesday 3 January 2017 at 15:38
To: "users@ovirt.org" 
>
Subject: Re: [ovirt-users] How to execute Virsh command after ovirt 
installation ?


Honestlly I don't see why in 2017 people still using the old DRBD + Pacemaker 
solution for virtualization stuff.

On 03/01/2017 10:35, TranceWorldLogic . wrote:
Thanks, I agree bad idea to execute virsh command without knowing vdsm and 
engine.
Is their any plan in ovirt to support drbd + Pacemaker ?


On Tue, Jan 3, 2017 at 4:29 PM, Michal Skrivanek 
> wrote:

On 3 Jan 2017, at 11:55, Nathanaël Blanchet 
> wrote:


except for quickly get RO informations like "virsh capabilities".

When you come from libvirt and you know what to do, you might not want to 
find/read a dedicated documentation for such a little query.

yes, sure, for read-only
but for any modification, no matter how minimal, it’s almost always needed to 
inform vdsm/engine to know about it to prevent corner cases, misdetections, 
etc...


Le 03/01/2017 à 11:19, Michal Skrivanek a écrit :

On 3 Jan 2017, at 11:15, Nathanaël Blanchet 
> wrote:


Use at your own risks:

vdsm@ovirt:shibboleth

But, you may unsynchronize your host HW with engine database.

it is almost always a bad idea to do that
hooks are exactly for the cases like below, just in a cleaner way


Le 03/01/2017 à 11:09, Yaniv Dary a écrit :
It is preferable you use VDSM hooks to add devices to VMs.


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, Jan 3, 2017 at 10:58 AM, TranceWorldLogic . 
> wrote:
Hi Joop,
I want to add drdb device in vm instance hence would like to execute virsh 
command.
Is it possible ?

Thanks,
~Rohit


On Tue, Jan 3, 2017 at 1:26 PM, jvandewege 
> wrote:
On 3-1-2017 8:32, TranceWorldLogic . wrote:
> Hi,
>
> I tried execution below virsh command after ovirt installation.
> but it requesting username and password.
>
> ~# virsh list --all
> Please enter your authentication name:
>
> Please let me know which username and password I have to provide ?
If you only need read access then you need to supply -r as an additional
argument.

Why do you need virsh because that will only give you the info on that
host, using ovirt-shell gives you the info for all hosts.

Joop

___
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

--

Nathanaël Blanchet



Supervision réseau

Pôle Infrastrutures Informatiques

227 avenue Professeur-Jean-Louis-Viala

34193 MONTPELLIER CEDEX 5

Tél. 33 (0)4 67 54 84 55

Fax  33 (0)4 67 54 84 14

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

--

Nathanaël 

Re: [ovirt-users] How to execute Virsh command after ovirt installation ?

2017-01-04 Thread TranceWorldLogic .
Sorry, I not understood "oVirt required storage rearrangement".
Would you please provide some more input on this ?

Thanks,
~Rohit

On Wed, Jan 4, 2017 at 5:06 PM, Yaniv Kaul  wrote:

>
>
> On Jan 4, 2017 1:34 PM, "Pavel Gashev"  wrote:
>
> It's interesting, I have an opposite opinion. I don’t see why oVirt
> reinvents its own HA instead of using Pacemaker. And it’s not old, it’s
> mature ;)
>
>
>
> I my case, I had no option to setup Hosted Engine since migration to oVirt
> required storage rearrangement. Now I have to run HA oVirt VM using
> Pacemaker + DRBD. Works great.
>
>
> Would be great if you can share more information about your setup.
> It's a great topic for an ovirt.org blog post, for example.
> Y.
>
>
>
>
>
> *From: * on behalf of Fernando Frediani <
> fernando.fredi...@upx.com.br>
> *Date: *Tuesday 3 January 2017 at 15:38
> *To: *"users@ovirt.org" 
> *Subject: *Re: [ovirt-users] How to execute Virsh command after ovirt
> installation ?
>
>
>
> Honestlly I don't see why in 2017 people still using the old DRBD +
> Pacemaker solution for virtualization stuff.
>
>
>
> On 03/01/2017 10:35, TranceWorldLogic . wrote:
>
> Thanks, I agree bad idea to execute virsh command without knowing vdsm and
> engine.
>
> Is their any plan in ovirt to support *drbd + Pacemaker* ?
>
>
>
>
>
> On Tue, Jan 3, 2017 at 4:29 PM, Michal Skrivanek <
> michal.skriva...@redhat.com> wrote:
>
>
>
> On 3 Jan 2017, at 11:55, Nathanaël Blanchet  wrote:
>
>
>
> except for quickly get RO informations like "virsh capabilities".
>
> When you come from libvirt and you know what to do, you might not want to
> find/read a dedicated documentation for such a little query.
>
>
>
> yes, sure, for read-only
>
> but for any modification, no matter how minimal, it’s almost always needed
> to inform vdsm/engine to know about it to prevent corner cases,
> misdetections, etc...
>
>
>
>
>
> Le 03/01/2017 à 11:19, Michal Skrivanek a écrit :
>
>
>
> On 3 Jan 2017, at 11:15, Nathanaël Blanchet  wrote:
>
>
>
> Use at your own risks:
>
> vdsm@ovirt:shibboleth
>
> But, you may unsynchronize your host HW with engine database.
>
>
>
> it is almost always a bad idea to do that
>
> hooks are exactly for the cases like below, just in a cleaner way
>
>
>
>
>
> Le 03/01/2017 à 11:09, Yaniv Dary a écrit :
>
> It is preferable you use VDSM hooks to add devices to VMs.
>
>
> Yaniv Dary
>
> Technical Product Manager
>
> Red Hat Israel Ltd.
>
> 34 Jerusalem Road
>
> Building A, 4th floor
>
> Ra'anana, Israel 4350109
>
>
>
> Tel : +972 (9) 7692306 <+972%209-769-2306>
>
> 8272306
>
> Email: yd...@redhat.com
>
> IRC : ydary
>
>
>
> On Tue, Jan 3, 2017 at 10:58 AM, TranceWorldLogic . <
> tranceworldlo...@gmail.com> wrote:
>
> Hi Joop,
>
> I want to add drdb device in vm instance hence would like to execute virsh
> command.
>
> Is it possible ?
>
>
>
> Thanks,
>
> ~Rohit
>
>
>
>
>
> On Tue, Jan 3, 2017 at 1:26 PM, jvandewege 
> wrote:
>
> On 3-1-2017 8:32, TranceWorldLogic . wrote:
> > Hi,
> >
> > I tried execution below virsh command after ovirt installation.
> > but it requesting username and password.
> >
> > ~# virsh list --all
> > Please enter your authentication name:
> >
> > Please let me know which username and password I have to provide ?
> If you only need read access then you need to supply -r as an additional
> argument.
>
> Why do you need virsh because that will only give you the info on that
> host, using ovirt-shell gives you the info for all hosts.
>
> Joop
>
> ___
> 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
>
> --
>
> Nathanaël Blanchet
>
>
>
> Supervision réseau
>
> Pôle Infrastrutures Informatiques
>
> 227 avenue Professeur-Jean-Louis-Viala
>
> 34193 MONTPELLIER CEDEX 5
>
> Tél. 33 (0)4 67 54 84 55
>
> Fax  33 (0)4 67 54 84 14
>
> blanc...@abes.fr
>
> ___ Users mailing list
> Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
>
> --
>
> Nathanaël Blanchet
>
>
>
> Supervision réseau
>
> Pôle Infrastrutures Informatiques
>
> 227 avenue Professeur-Jean-Louis-Viala
>
> 34193 MONTPELLIER CEDEX 5
>
> Tél. 33 (0)4 67 54 84 55
>
> Fax  33 (0)4 67 54 84 14
>
> blanc...@abes.fr
>
> ___ Users mailing list
> Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
>
> ___
>
> Users mailing list
>
> Users@ovirt.org
>
> http://lists.ovirt.org/mailman/listinfo/users
>
>
> 

[ovirt-users] Unable to connect to console in user portal

2017-01-04 Thread Shalabh Goel
Hi,

I have created two VMs on a node. Then I created a user and gave permission
to the user for both as UserRole from the web console. Now when I login as
the user to the user portal, I can see both the VMs. But when I click
connect or double-click on a particular VM, I get an error message "Error
while executing action VmLogon: Internal Engine Error".

The ovirt engine and node version is 4.0.

Please help

Thank You

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


Re: [ovirt-users] How to execute Virsh command after ovirt installation ?

2017-01-04 Thread Yaniv Kaul
On Jan 4, 2017 1:34 PM, "Pavel Gashev"  wrote:

It's interesting, I have an opposite opinion. I don’t see why oVirt
reinvents its own HA instead of using Pacemaker. And it’s not old, it’s
mature ;)



I my case, I had no option to setup Hosted Engine since migration to oVirt
required storage rearrangement. Now I have to run HA oVirt VM using
Pacemaker + DRBD. Works great.


Would be great if you can share more information about your setup.
It's a great topic for an ovirt.org blog post, for example.
Y.





*From: * on behalf of Fernando Frediani <
fernando.fredi...@upx.com.br>
*Date: *Tuesday 3 January 2017 at 15:38
*To: *"users@ovirt.org" 
*Subject: *Re: [ovirt-users] How to execute Virsh command after ovirt
installation ?



Honestlly I don't see why in 2017 people still using the old DRBD +
Pacemaker solution for virtualization stuff.



On 03/01/2017 10:35, TranceWorldLogic . wrote:

Thanks, I agree bad idea to execute virsh command without knowing vdsm and
engine.

Is their any plan in ovirt to support *drbd + Pacemaker* ?





On Tue, Jan 3, 2017 at 4:29 PM, Michal Skrivanek <
michal.skriva...@redhat.com> wrote:



On 3 Jan 2017, at 11:55, Nathanaël Blanchet  wrote:



except for quickly get RO informations like "virsh capabilities".

When you come from libvirt and you know what to do, you might not want to
find/read a dedicated documentation for such a little query.



yes, sure, for read-only

but for any modification, no matter how minimal, it’s almost always needed
to inform vdsm/engine to know about it to prevent corner cases,
misdetections, etc...





Le 03/01/2017 à 11:19, Michal Skrivanek a écrit :



On 3 Jan 2017, at 11:15, Nathanaël Blanchet  wrote:



Use at your own risks:

vdsm@ovirt:shibboleth

But, you may unsynchronize your host HW with engine database.



it is almost always a bad idea to do that

hooks are exactly for the cases like below, just in a cleaner way





Le 03/01/2017 à 11:09, Yaniv Dary a écrit :

It is preferable you use VDSM hooks to add devices to VMs.


Yaniv Dary

Technical Product Manager

Red Hat Israel Ltd.

34 Jerusalem Road

Building A, 4th floor

Ra'anana, Israel 4350109



Tel : +972 (9) 7692306 <+972%209-769-2306>

8272306

Email: yd...@redhat.com

IRC : ydary



On Tue, Jan 3, 2017 at 10:58 AM, TranceWorldLogic . <
tranceworldlo...@gmail.com> wrote:

Hi Joop,

I want to add drdb device in vm instance hence would like to execute virsh
command.

Is it possible ?



Thanks,

~Rohit





On Tue, Jan 3, 2017 at 1:26 PM, jvandewege  wrote:

On 3-1-2017 8:32, TranceWorldLogic . wrote:
> Hi,
>
> I tried execution below virsh command after ovirt installation.
> but it requesting username and password.
>
> ~# virsh list --all
> Please enter your authentication name:
>
> Please let me know which username and password I have to provide ?
If you only need read access then you need to supply -r as an additional
argument.

Why do you need virsh because that will only give you the info on that
host, using ovirt-shell gives you the info for all hosts.

Joop

___
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

-- 

Nathanaël Blanchet



Supervision réseau

Pôle Infrastrutures Informatiques

227 avenue Professeur-Jean-Louis-Viala

34193 MONTPELLIER CEDEX 5

Tél. 33 (0)4 67 54 84 55

Fax  33 (0)4 67 54 84 14

blanc...@abes.fr

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

-- 

Nathanaël Blanchet



Supervision réseau

Pôle Infrastrutures Informatiques

227 avenue Professeur-Jean-Louis-Viala

34193 MONTPELLIER CEDEX 5

Tél. 33 (0)4 67 54 84 55

Fax  33 (0)4 67 54 84 14

blanc...@abes.fr

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

___

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


Re: [ovirt-users] How to execute Virsh command after ovirt installation ?

2017-01-04 Thread Pavel Gashev
It's interesting, I have an opposite opinion. I don’t see why oVirt reinvents 
its own HA instead of using Pacemaker. And it’s not old, it’s mature ;)

I my case, I had no option to setup Hosted Engine since migration to oVirt 
required storage rearrangement. Now I have to run HA oVirt VM using Pacemaker + 
DRBD. Works great.


From:  on behalf of Fernando Frediani 

Date: Tuesday 3 January 2017 at 15:38
To: "users@ovirt.org" 
Subject: Re: [ovirt-users] How to execute Virsh command after ovirt 
installation ?


Honestlly I don't see why in 2017 people still using the old DRBD + Pacemaker 
solution for virtualization stuff.

On 03/01/2017 10:35, TranceWorldLogic . wrote:
Thanks, I agree bad idea to execute virsh command without knowing vdsm and 
engine.
Is their any plan in ovirt to support drbd + Pacemaker ?


On Tue, Jan 3, 2017 at 4:29 PM, Michal Skrivanek 
> wrote:

On 3 Jan 2017, at 11:55, Nathanaël Blanchet 
> wrote:


except for quickly get RO informations like "virsh capabilities".

When you come from libvirt and you know what to do, you might not want to 
find/read a dedicated documentation for such a little query.

yes, sure, for read-only
but for any modification, no matter how minimal, it’s almost always needed to 
inform vdsm/engine to know about it to prevent corner cases, misdetections, 
etc...



Le 03/01/2017 à 11:19, Michal Skrivanek a écrit :

On 3 Jan 2017, at 11:15, Nathanaël Blanchet 
> wrote:


Use at your own risks:

vdsm@ovirt:shibboleth

But, you may unsynchronize your host HW with engine database.

it is almost always a bad idea to do that
hooks are exactly for the cases like below, just in a cleaner way



Le 03/01/2017 à 11:09, Yaniv Dary a écrit :
It is preferable you use VDSM hooks to add devices to VMs.


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, Jan 3, 2017 at 10:58 AM, TranceWorldLogic . 
> wrote:
Hi Joop,
I want to add drdb device in vm instance hence would like to execute virsh 
command.
Is it possible ?

Thanks,
~Rohit


On Tue, Jan 3, 2017 at 1:26 PM, jvandewege 
> wrote:
On 3-1-2017 8:32, TranceWorldLogic . wrote:
> Hi,
>
> I tried execution below virsh command after ovirt installation.
> but it requesting username and password.
>
> ~# virsh list --all
> Please enter your authentication name:
>
> Please let me know which username and password I have to provide ?
If you only need read access then you need to supply -r as an additional
argument.

Why do you need virsh because that will only give you the info on that
host, using ovirt-shell gives you the info for all hosts.

Joop

___
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

--

Nathanaël Blanchet



Supervision réseau

Pôle Infrastrutures Informatiques

227 avenue Professeur-Jean-Louis-Viala

34193 MONTPELLIER CEDEX 5

Tél. 33 (0)4 67 54 84 55

Fax  33 (0)4 67 54 84 14

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

--

Nathanaël Blanchet



Supervision réseau

Pôle Infrastrutures Informatiques

227 avenue Professeur-Jean-Louis-Viala

34193 MONTPELLIER CEDEX 5

Tél. 33 (0)4 67 54 84 55

Fax  33 (0)4 67 54 84 14

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

___

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] Request for oVirt Ansible modules testing feedback

2017-01-04 Thread Yaniv Kaul
On Wed, Jan 4, 2017 at 1:04 PM, Nicolas Ecarnot  wrote:

> Hello,
>
> Le 04/01/2017 à 11:49, Nathanaël Blanchet a écrit :
>
>>
>>
>> Le 04/01/2017 à 10:09, Andrea Ghelardi a écrit :
>>
>>>
>>> Personally I don’t think ansible and ovirt-shell are mutually exclusive.
>>>
>>> Those who are in ansible and devops realms are not really scared by
>>> making python/ansible work with ovirt.
>>>
>>> From what I gather, playbooks are quite a de-facto pre-requisite to
>>> build up a real SaaC “Software as a Code” environment.
>>>
>>>
>>>
>>> On the other hand, ovirt-shell can and is a fast/easy way to perform
>>> “normal daily tasks”.
>>>
>>> totally agree but ovirt-shell is deprecated in 4.1 et will be removed in
>> 4.2. Ansible or sdk4 are proposed as an alternative.
>>
>
> Could someone point me to an URL where sdk4 is fully documented, as I have
> to get ready for ovirt-shell deprecation?
>

The Rest API is partially documented under https:///api/model .
It's not complete yet. All new features in 4.0 are documented and we are
working on the 'older' features now.
(contributions are welcome!)


> I'm sure no one at Redhat thought about deprecating a tool in favor of a
> new one before providing a complete user doc!


In addition, the SDK RPM itself contains many examples. See [1].
(contributions are welcome!)

Y.

[1] https://github.com/oVirt/ovirt-engine-sdk/tree/master/sdk/examples


>
> --
> Nicolas ECARNOT
>
> ___
> 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] high availability

2017-01-04 Thread Yaniv Dary
In oVirt 4.1 we are planning to allow VM leases that will allow you to
restart HA VMs in this use case even without power management.
We would love some feedback on this on the latest tested build, if you want
to try it out:
https://github.com/nirs/ovirt-site/blob/77669161397ebf4cc15c66e0e6876bc033384cfc/source/develop/release-management/features/virt/vm-failover-using-vm-leases.html.md

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 Wed, Jan 4, 2017 at 11:33 AM, Martin Sivak  wrote:

> Hi,
>
> high availability requires power management to be configured properly for
> your hosts. The VM won't be restarted until we can ascertain the status of
> node2 (because it can still be up).
>
> The host is Non responsive, meaning we do not know if it is up or down.
> That is the reason we show the VM status as unknown.
>
> You can fix that by configuring power management for node2 or by right
> clicking and selecting Confirm host has been rebooted menu option.
>
> Regards
>
> --
> Martin Sivak
> SLA / oVirt
>
> On Wed, Jan 4, 2017 at 9:45 AM, qinglong.d...@horebdata.cn <
> qinglong.d...@horebdata.cn> wrote:
>
>> Hi, all
>> I have an ovirt 4.0 environment with two hosts and a hosted
>> engine. The engine vm was running on host 1 and another vm was running on
>> host2. Then I unpluged the power of host 2. The another vm should be supposed
>> to restart on host 1 because of ha feature. But it couldn't. It stayed
>> unknown status all the time. And the host 2 stayed non responsive status.
>>
>> Did I understand ha correctly? Anyon can help? Thanks!
>>
>> ___
>> 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


Re: [ovirt-users] Optimizations for VoIP VM

2017-01-04 Thread Yaniv Dary
Hi,
Can you please describe the application network requirements?
Does it relay on low latency? Pass-through or SR-IOV could help with
reducing that.

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 Wed, Jan 4, 2017 at 6:03 AM, Chris Adams  wrote:

> Once upon a time, Jim Kusznir  said:
> > Are there known issues with VoIP on Ovirt-managed clusters?  (I know well
> > reputed companies that sell VoIP server virtual hosting and guarantee the
> > performance, so I know VoIP Virtualization is possible, just need to know
> > if its recommended with Ovirt, and if so what do I need to do to give it
> > the best chance of success?)
>
> I am running Asteria (an Asterisk-based PBX system targeted at small
> call-center type setups) in an oVirt VM with no problems.  We typically
> have 30-50 calls at a time during the business day.
>
> I've also set up Digium's Switchvox in an oVirt VM without issue (small
> office setup, so not a lot of simultaneous calls).
>
> --
> Chris Adams 
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Request for oVirt Ansible modules testing feedback

2017-01-04 Thread Nicolas Ecarnot

Hello,

Le 04/01/2017 à 11:49, Nathanaël Blanchet a écrit :



Le 04/01/2017 à 10:09, Andrea Ghelardi a écrit :


Personally I don’t think ansible and ovirt-shell are mutually exclusive.

Those who are in ansible and devops realms are not really scared by
making python/ansible work with ovirt.

From what I gather, playbooks are quite a de-facto pre-requisite to
build up a real SaaC “Software as a Code” environment.



On the other hand, ovirt-shell can and is a fast/easy way to perform
“normal daily tasks”.


totally agree but ovirt-shell is deprecated in 4.1 et will be removed in
4.2. Ansible or sdk4 are proposed as an alternative.


Could someone point me to an URL where sdk4 is fully documented, as I 
have to get ready for ovirt-shell deprecation?


I'm sure no one at Redhat thought about deprecating a tool in favor of a 
new one before providing a complete user doc!


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


Re: [ovirt-users] Request for oVirt Ansible modules testing feedback

2017-01-04 Thread Nathanaël Blanchet



Le 04/01/2017 à 10:09, Andrea Ghelardi a écrit :


Personally I don’t think ansible and ovirt-shell are mutually exclusive.

Those who are in ansible and devops realms are not really scared by 
making python/ansible work with ovirt.


From what I gather, playbooks are quite a de-facto pre-requisite to 
build up a real SaaC “Software as a Code” environment.


On the other hand, ovirt-shell can and is a fast/easy way to perform 
“normal daily tasks”.


totally agree but ovirt-shell is deprecated in 4.1 et will be removed in 
4.2. Ansible or sdk4 are proposed as an alternative.


As long as we have good documentation about how to do things, can we 
have and support both?


Cheers

Andrea

*From:*users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] *On 
Behalf Of *Nathanaël Blanchet

*Sent:* Tuesday, January 3, 2017 7:41 PM
*To:* Dan Yasny 
*Cc:* users 
*Subject:* Re: [ovirt-users] Request for oVirt Ansible modules testing 
feedback


Le 30/12/2016 à 20:53, Dan Yasny a écrit :

I personally found that she'll isn't as useful as the python sdk.
I usually open up ipython, load the sdk and interact with ovirt
directly. This is faster and much more powerful than the shell
could ever be.

okay, I suppose you to be a regular python user. Can you imagine how 
much time I spent just to understand how it works?

That is to say:

  * installing pip and not pip3 because provided
python-ovirt-engine-sdk4 is default installed to
/usr/lib64/python2.7,
  * installing ipython,
  * importing the good modules,
  * finding pertinent examples,
  * understand differences between sdk3 and 4
  * correcting some wrong examples
  * adapting example to my need?

I can't see how it can be fast for the newbie.
What's the first goal of a CLI? to abstract all this stuff for the 
python newbie. If you want a easy-to-use webadmin for attracting a 
large public, you should provide easy-to-use CLI as well. Ovirt-shell 
was a part of my choice to use ovirt.
Yes we can learn to use SDK (I dit it), but I don't think a lot people 
who chose ovirt for simplicity wll use it except advanced users.
A new time, thank you for the great stuff for the great oVirt project, 
but I find there is too much distance between devs and users.

What do really think the community about this?

On Dec 30, 2016 11:22 AM, "Nathanaël Blanchet" > wrote:

Interesting work and thank you for this stuff. I played with
some modules (ovirt_vms_facts) to get some vms name for example.

  * [root@acore ovirt]# ansible-playbook All_Vms_list.yml
  * with
  - name: List vms
ovirt_vms_facts:
  auth: "{{ ovirt_auth }}"
  pattern: name=test_cloud
  fetch_nested: true
  nested_attributes: name
register: ovirt_vms

  - shell: echo "{{ ovirt_vms.name 
}} > vms_name" // doesn't work

  *   - shell: echo "{{ ovirt_vms }} > vms_name // returns an
unicode json file, that's surely why we can't parse it.
Can you help me to solve this into the ovirt_vms_facts.py
file?

  * I have no such problem with ovirt_snaphots_module and I
can easily get the snaphot.id 
variable but:

  o I had to manually copy the ovirt_snaphsots_module
because it is not present on the git tree. This is
very curious: we can find it here

http://ovirt-ansible-modules.readthedocs.io/en/latest/_modules/ovirt_snapshots_module.htm,
but it is not available on the main ansible git tre.
  o On the doc, return values are not described

For the moment, my opinion is that ansible can't be as much
convinient as the current CLI, e.g. ovirt-shell -E "list vms",
out of the box. Is there a really reason to deprecate it?

Le 02/12/2016 à 14:12, Ondra Machacek a écrit :

Hello all,

I would like to kindly ask everyone who is Ansible or
oVirt user for
testing of the new Ansible oVirt modules. For everyone who
is familiar
with the Ansible and oVirt, this[1] describes the steps
you need to do,
to setup oVirt modules library and start using those
modules (Most of those modules will be available in
Ansible 2.3, some of them are already in 2.2).

If you have any issue setting this up, please contact me,
I will do the
best to help you.

If you have an issue, which you think is a bug, please
open an issue
here[2]. Please note that Ansible is merging it's
repositories, so since
next week it will actually be stored here[3]. 

Re: [ovirt-users] [ovirt-devel] Lowering the bar for wiki contribution?

2017-01-04 Thread Nir Soffer
On Wed, Jan 4, 2017 at 12:41 PM, Roy Golan  wrote:
>
>
> On 4 January 2017 at 12:17, Maor Lipchuk  wrote:
>>
>>
>>
>> On Wed, Jan 4, 2017 at 11:38 AM, Daniel Erez  wrote:
>>>
>>>
>>>
>>> On Wed, Jan 4, 2017 at 9:57 AM, Roy Golan  wrote:

 I'm getting the feeling I'm not alone in this, authoring and publishing
 a wiki page isn't as used to be for long time.

 I want to suggest a bit lighter workflow:

 1.  Everyone can merge their page - (it's a wiki)
   Same as with (public and open) code, no one has the motivation to
 publish a badly written
   wiki page under their name. True, it can have an impact, but not as
 with broken code

>>>
>>> +1.
>>> Moreover, I think we shouldn't block any merging. Instead, wiki
>>> maintainers could act afterwards and revert when needed (Wikipedia style).
>>> Another issue is that (sadly) unlike mediawiki, we need to wait for wiki
>>> publish after a change. So I'd suggest to build and publish the wiki at
>>> least once a day. Any way, I think we should make the workflow much more
>>> intuitive and pleasant like the previous wiki - i.e. much less restrictive
>>> than manipulating a code base.
>>>
>>>

 2. Use Page-Status marker
  The author first merges the draft. Its now out there and should be
 updated as time goes and its
  status is DRAFT. Maintainers will come later and after review would
 change the status to
  PUBLISH. That could be a header in on the page:
  ---
  page status: DRAFT/PUBLISH
  ---

  Simple I think, and should work.

>>
>>  +1
>> The effort of maintaining the wiki today compare to how it used to be
>> before is much more cumbersome and problematic.
>> I think we can learn a lot from wikipedia workflow,
>> It is a much more inviting process where anyone can change the content
>> easily.
>> I'm not saying we should let any anonymous user change the wiki but even
>> if we make it easier in house we can achieve much more informative reliable
>> and updated wiki.
>>
>
>
>
> I really think Github Pages is a perfect fit and an alternative to my first
> suggestion. see
> https://github.com/oVirt/ovirt-site/wiki/Why-aren't-we-using-this%3F

This is not github pages, this is the builtin wiki, but we can use this for
developing content.





 ___
 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
>>>
>>
>
>
> ___
> 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] Lowering the bar for wiki contribution?

2017-01-04 Thread Roy Golan
On 4 January 2017 at 12:17, Maor Lipchuk  wrote:

>
>
> On Wed, Jan 4, 2017 at 11:38 AM, Daniel Erez  wrote:
>
>>
>>
>> On Wed, Jan 4, 2017 at 9:57 AM, Roy Golan  wrote:
>>
>>> I'm getting the feeling I'm not alone in this, authoring and publishing
>>> a wiki page isn't as used to be for long time.
>>>
>>> I want to suggest a bit lighter workflow:
>>>
>>> 1.  Everyone can merge their page - (it's a wiki)
>>>   Same as with (public and open) code, no one has the motivation to
>>> publish a badly written
>>>   wiki page under their name. True, it can have an impact, but not as
>>> with broken code
>>>
>>>
>> +1.
>> Moreover, I think we shouldn't block any merging. Instead, wiki
>> maintainers could act afterwards and revert when needed (Wikipedia style).
>> Another issue is that (sadly) unlike mediawiki, we need to wait for wiki
>> publish after a change. So I'd suggest to build and publish the wiki at
>> least once a day. Any way, I think we should make the workflow much more
>> intuitive and pleasant like the previous wiki - i.e. much less restrictive
>> than manipulating a code base.
>>
>
>>
>>> 2. Use Page-Status marker
>>>  The author first merges the draft. Its now out there and should be
>>> updated as time goes and its
>>>  status is DRAFT. Maintainers will come later and after review would
>>> change the status to
>>>  PUBLISH. That could be a header in on the page:
>>>  ---
>>>  page status: DRAFT/PUBLISH
>>>  ---
>>>
>>>  Simple I think, and should work.
>>>
>>>
>  +1
> The effort of maintaining the wiki today compare to how it used to be
> before is much more cumbersome and problematic.
> I think we can learn a lot from wikipedia workflow,
> It is a much more inviting process where anyone can change the content
> easily.
> I'm not saying we should let any anonymous user change the wiki but even
> if we make it easier in house we can achieve much more informative reliable
> and updated wiki.
>
>


I really think Github Pages is a perfect fit and an alternative to my first
suggestion. see
https://github.com/oVirt/ovirt-site/wiki/Why-aren't-we-using-this%3F

>
>>>
>>>
>>> ___
>>> 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
>>
>>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] [ovirt-devel] Lowering the bar for wiki contribution?

2017-01-04 Thread Maor Lipchuk
On Wed, Jan 4, 2017 at 11:38 AM, Daniel Erez  wrote:

>
>
> On Wed, Jan 4, 2017 at 9:57 AM, Roy Golan  wrote:
>
>> I'm getting the feeling I'm not alone in this, authoring and publishing a
>> wiki page isn't as used to be for long time.
>>
>> I want to suggest a bit lighter workflow:
>>
>> 1.  Everyone can merge their page - (it's a wiki)
>>   Same as with (public and open) code, no one has the motivation to
>> publish a badly written
>>   wiki page under their name. True, it can have an impact, but not as
>> with broken code
>>
>>
> +1.
> Moreover, I think we shouldn't block any merging. Instead, wiki
> maintainers could act afterwards and revert when needed (Wikipedia style).
> Another issue is that (sadly) unlike mediawiki, we need to wait for wiki
> publish after a change. So I'd suggest to build and publish the wiki at
> least once a day. Any way, I think we should make the workflow much more
> intuitive and pleasant like the previous wiki - i.e. much less restrictive
> than manipulating a code base.
>

>
>> 2. Use Page-Status marker
>>  The author first merges the draft. Its now out there and should be
>> updated as time goes and its
>>  status is DRAFT. Maintainers will come later and after review would
>> change the status to
>>  PUBLISH. That could be a header in on the page:
>>  ---
>>  page status: DRAFT/PUBLISH
>>  ---
>>
>>  Simple I think, and should work.
>>
>>
 +1
The effort of maintaining the wiki today compare to how it used to be
before is much more cumbersome and problematic.
I think we can learn a lot from wikipedia workflow,
It is a much more inviting process where anyone can change the content
easily.
I'm not saying we should let any anonymous user change the wiki but even if
we make it easier in house we can achieve much more informative reliable
and updated wiki.


>
>>
>>
>> ___
>> 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
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] [ovirt-devel] Lowering the bar for wiki contribution?

2017-01-04 Thread Daniel Erez
On Wed, Jan 4, 2017 at 9:57 AM, Roy Golan  wrote:

> I'm getting the feeling I'm not alone in this, authoring and publishing a
> wiki page isn't as used to be for long time.
>
> I want to suggest a bit lighter workflow:
>
> 1.  Everyone can merge their page - (it's a wiki)
>   Same as with (public and open) code, no one has the motivation to
> publish a badly written
>   wiki page under their name. True, it can have an impact, but not as with
> broken code
>
> +1.
Moreover, I think we shouldn't block any merging. Instead, wiki maintainers
could act afterwards and revert when needed (Wikipedia style). Another
issue is that (sadly) unlike mediawiki, we need to wait for wiki publish
after a change. So I'd suggest to build and publish the wiki at least once
a day. Any way, I think we should make the workflow much more intuitive and
pleasant like the previous wiki - i.e. much less restrictive than
manipulating a code base.


> 2. Use Page-Status marker
>  The author first merges the draft. Its now out there and should be
> updated as time goes and its
>  status is DRAFT. Maintainers will come later and after review would
> change the status to
>  PUBLISH. That could be a header in on the page:
>  ---
>  page status: DRAFT/PUBLISH
>  ---
>
>  Simple I think, and should work.
>
>
>
>
> ___
> 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] New User Portal - gathering feedback

2017-01-04 Thread Краснобаев Михаил
Good day, just tried to run the new portal in docker, gives a "Login Failed" error.I am running 4.0.5.In engine.log i see:2017-01-04 11:04:11,692 ERROR [org.ovirt.engine.core.sso.utils.SsoUtils] (default task-19) [] OAuthException access_denied: Cannot authenticate user No valid profile found in credentials. Credentials that I tried "admin", "admin@internal-authz".New portal works only with OAuth?  03.01.2017, 22:51, "Michal Skrivanek" : It doesn't hurt to add a link for the project page:)Check out [1] for more details and also instructions for running a standalone docker container plugged into existing setup. Should work fine with any 4.0+ Thanks,michal [1] https://github.com/oVirt/ovirt-web-uiOn 03 Jan 2017, at 18:15, Logan Kuhn  wrote: I don't have a test cluster available for this at the moment, but could you send some screenshots?  I'd like to get the resources and that might help Regards,Logan- On Jan 3, 2017, at 6:13 AM, Marek Libra  wrote:Hi,with ovirt-4.1.0_beta2, new Basic User Portal is introduced, so far as tech preview.To try, please follow the new "Basic User Portal" link from the main page.Recently most of previous (GWT based) Basic User Portal's functionality is available.In plan is full conformity and selected features of recent Extended Portal.Following goals were stated for this project:- improve UX by  - modern UI (conforms Patternfly 3)  - faster UI responses- shareable  - built from reusable components to share portions of the UI in other projects (like ManageIQ)- POC for ongoing oVirt UI development  - one of the options for next-gen oVirt UI to considerFrom technical perspective, the project is based on- oVirt REST API- React/Redux/Saga- Patternfly 3- pure _javascript_ App without server-side processing except the existing REST APISo far, the project is tech preview to gather user feedback.Please share your comments and ideas, it will really help with ongoing development.Real-life use-cases (both existing or potential) will be much appreciated.Thanks,Marek ___Users mailing listUsers@ovirt.orghttp://lists.ovirt.org/mailman/listinfo/users___Users mailing listUsers@ovirt.orghttp://lists.ovirt.org/mailman/listinfo/users,___Users mailing listUsers@ovirt.orghttp://lists.ovirt.org/mailman/listinfo/users  -- С уважением, Краснобаев Михаил.  ___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] high availability

2017-01-04 Thread Martin Sivak
Hi,

high availability requires power management to be configured properly for
your hosts. The VM won't be restarted until we can ascertain the status of
node2 (because it can still be up).

The host is Non responsive, meaning we do not know if it is up or down.
That is the reason we show the VM status as unknown.

You can fix that by configuring power management for node2 or by right
clicking and selecting Confirm host has been rebooted menu option.

Regards

--
Martin Sivak
SLA / oVirt

On Wed, Jan 4, 2017 at 9:45 AM, qinglong.d...@horebdata.cn <
qinglong.d...@horebdata.cn> wrote:

> Hi, all
> I have an ovirt 4.0 environment with two hosts and a hosted
> engine. The engine vm was running on host 1 and another vm was running on
> host2. Then I unpluged the power of host 2. The another vm should be supposed
> to restart on host 1 because of ha feature. But it couldn't. It stayed
> unknown status all the time. And the host 2 stayed non responsive status.
>
> Did I understand ha correctly? Anyon can help? Thanks!
>
> ___
> 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] Lowering the bar for wiki contribution?

2017-01-04 Thread Andrea Ghelardi
I once tried to edit a broken link in current documentation and lost hope after 
10 minutes of efforts.

Being a sysadmin, I understand the fear of unknown/untrusted people accessing 
stuff and performing uncontrolled changes, but generally speaking I believe the 
majority of this community is not driven by 10y old cracker attitudes: I trust 
that the additional value provided by people will greatly overcome a few typos 
and errors.

+1
Cheers
AG

-Original Message-
From: users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] On Behalf Of 
Martin Polednik
Sent: Wednesday, January 4, 2017 9:01 AM
To: Roy Golan 
Cc: users ; devel 
Subject: Re: [ovirt-users] Lowering the bar for wiki contribution?

On 04/01/17 09:57 +0200, Roy Golan wrote:
>I'm getting the feeling I'm not alone in this, authoring and publishing 
>a wiki page isn't as used to be for long time.
>
>I want to suggest a bit lighter workflow:
>
>1.  Everyone can merge their page - (it's a wiki)
>  Same as with (public and open) code, no one has the motivation to 
>publish a badly written
>  wiki page under their name. True, it can have an impact, but not as 
>with broken code
>
>2. Use Page-Status marker
> The author first merges the draft. Its now out there and should be 
>updated as time goes and its  status is DRAFT. Maintainers will come 
>later and after review would change the status to  PUBLISH. That could 
>be a header in on the page:
> ---
> page status: DRAFT/PUBLISH
> ---
>
> Simple I think, and should work.

+1, github's contribution workflow is terrible and doesn't make any
sense for wiki pages.

>___
>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
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] [ovirt-devel] Lowering the bar for wiki contribution?

2017-01-04 Thread Roy Golan
On 4 January 2017 at 11:06, Nir Soffer  wrote:

> On Wed, Jan 4, 2017 at 10:51 AM, Barak Korren  wrote:
> > On 4 January 2017 at 09:57, Roy Golan  wrote:
> >> I'm getting the feeling I'm not alone in this, authoring and publishing
> a
> >> wiki page isn't as used to be for long time.
> >
> > Maybe we're using the wrong tool for the job?
> > The site is intentionally not a wiki to allow OSAS some editorial
> > control over what goes on the public site.
> >
> > I'm guessing that the scenario you are talking about here is a
> > developer looking to create a preliminary design document for further
> > discussion. Maybe we need a different tool and process for that?
>
> I agree, we are using the wrong tool for the job of putting initial design
> for discussion.
>
> For publishing user documentation the site is ok.
>
> I miss the wiki we had, it was easier to use for development of feature
> pages and developer documentation.
>


Who is our OSAS contact these days?



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


Re: [ovirt-users] Request for oVirt Ansible modules testing feedback

2017-01-04 Thread Andrea Ghelardi
Personally I don’t think ansible and ovirt-shell are mutually exclusive.
Those who are in ansible and devops realms are not really scared by making 
python/ansible work with ovirt.
From what I gather, playbooks are quite a de-facto pre-requisite to build up a 
real SaaC “Software as a Code” environment.

On the other hand, ovirt-shell can and is a fast/easy way to perform “normal 
daily tasks”.

As long as we have good documentation about how to do things, can we have and 
support both?
Cheers
Andrea

From: users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] On Behalf Of 
Nathanaël Blanchet
Sent: Tuesday, January 3, 2017 7:41 PM
To: Dan Yasny 
Cc: users 
Subject: Re: [ovirt-users] Request for oVirt Ansible modules testing feedback

Le 30/12/2016 à 20:53, Dan Yasny a écrit :
I personally found that she'll isn't as useful as the python sdk. I usually 
open up ipython, load the sdk and interact with ovirt directly. This is faster 
and much more powerful than the shell could ever be.
okay, I suppose you to be a regular python user. Can you imagine how much time 
I spent just to understand how it works?
That is to say:

  *   installing pip and not pip3 because provided python-ovirt-engine-sdk4 is 
default installed to /usr/lib64/python2.7,
  *   installing ipython,
  *   importing the good modules,
  *   finding pertinent examples,
  *   understand differences between sdk3 and 4
  *   correcting some wrong examples
  *   adapting example to my need?
I can't see how it can be fast for the newbie.
What's the first goal of a CLI? to abstract all this stuff for the python 
newbie. If you want a easy-to-use webadmin for attracting a large public, you 
should provide easy-to-use CLI as well. Ovirt-shell was a part of my choice to 
use ovirt.
Yes we can learn to use SDK (I dit it), but I don't think a lot people who 
chose ovirt for simplicity wll use it except advanced users.
A new time, thank you for the great stuff for the great oVirt project, but I 
find there is too much distance between devs and users.
What do really think the community about this?


On Dec 30, 2016 11:22 AM, "Nathanaël Blanchet" 
> wrote:

Interesting work and thank you for this stuff. I played with some modules 
(ovirt_vms_facts) to get some vms name for example.

  *   [root@acore ovirt]# ansible-playbook All_Vms_list.yml
  *   with
  - name: List vms
ovirt_vms_facts:
  auth: "{{ ovirt_auth }}"
  pattern: name=test_cloud
  fetch_nested: true
  nested_attributes: name
register: ovirt_vms

  - shell: echo "{{ ovirt_vms.name }} > vms_name" // 
doesn't work

  * - shell: echo "{{ ovirt_vms }} > vms_name // returns an unicode json 
file, that's surely why we can't parse it. Can you help me to solve this into 
the ovirt_vms_facts.py file?

  *   I have no such problem with ovirt_snaphots_module and I can easily get 
the snaphot.id variable but:

 *   I had to manually copy the ovirt_snaphsots_module because it is not 
present on the git tree. This is very curious: we can find it here 
http://ovirt-ansible-modules.readthedocs.io/en/latest/_modules/ovirt_snapshots_module.htm,
 but it is not available on the main ansible git tre.
 *   On the doc, return values are not described

For the moment, my opinion is that ansible can't be as much convinient as the 
current CLI, e.g. ovirt-shell -E "list vms", out of the box. Is there a really 
reason to deprecate it?

Le 02/12/2016 à 14:12, Ondra Machacek a écrit :
Hello all,

I would like to kindly ask everyone who is Ansible or oVirt user for
testing of the new Ansible oVirt modules. For everyone who is familiar
with the Ansible and oVirt, this[1] describes the steps you need to do,
to setup oVirt modules library and start using those modules (Most of those 
modules will be available in Ansible 2.3, some of them are already in 2.2).

If you have any issue setting this up, please contact me, I will do the
best to help you.

If you have an issue, which you think is a bug, please open an issue
here[2]. Please note that Ansible is merging it's repositories, so since
next week it will actually be stored here[3]. If you are missing
anything please open an issue as well, or just contact me, and I will
do fix it. You are also very welcome to sent PR with fixes.

For those who don't have testing environment which can test against,
I've created an Vagrant project which will deploy you the oVirt instance
using Ansible playbooks. You can find how to use it here[4].

The repository also contains few examples[5], so you don't have to
copy-paste them from the source.

Thanks all for reading this and any feedback,
Ondra

[1] https://github.com/machacekondra/ovirt-tests/releases/tag/0.1
[2] https://github.com/ansible/ansible-modules-extras/issues
[3] https://github.com/ansible/ansible
[4] https://github.com/machacekondra/ovirt-tests
[5] 

Re: [ovirt-users] Import Virtual Machines From Web Admin GUI

2017-01-04 Thread Shahar Havivi
Hi,
you can try to exchange the keys shown here:
https://www.ovirt.org/develop/release-management/features/virt/XenToOvirt/

if you want to use tcp without ssh look here:
http://wiki.libvirt.org/page/Libvirt_daemon_is_not_listening_on_tcp_ports_although_configured_to
basically you need to set
 * /etc/libvirtd.conf:
listen_tls = 1
listen_tcp = 1
listen_addr = "0.0.0.0"
 *  /etc/sysconfig/libvirtd:
LIBVIRTD_ARGS="--listen"
and restart libvirt but the no_verify you did works as well.

On Wed, Jan 4, 2017 at 12:07 AM, Beckman, Daniel <
daniel.beck...@ingramcontent.com> wrote:

> To answer my own question: as is often the case, perusing the commercial
> (RHV 4.0) documentation proved useful.
>
>
>
> The documentation is here:
>
> https://access.redhat.com/documentation/en/red-hat-
> virtualization/4.0/paged/virtual-machine-management-
> guide/612-exporting-and-importing-virtual-machines-and-templates
>
>
>
> However, I kept getting the error “Host key verification failed.:
> Connection reset by peer”. This despite having followed the official
> documentation on generating and copying keys, under *Procedure 6.2.6
> Importing a Virtual Machine from KVM*.
>
>
>
> Then I found this article from July 2012 about a different (but similar)
> scenario:
>
>
>
> https://access.redhat.com/solutions/136463
>
>
>
> What helped was the “alternative test” suggestion. Here is the URI I ended
> up using with success:
>
>
>
> qemu+ssh://root@MY_KVM_HOST/system?no_verify=1
>
>
>
> Appending “no_verify=1” did the trick. It’s possible that adding hostnames
> and IPs to /etc/hosts would have also resolved this, but for something
> performed infrequently (importing a VM from another environment), modifying
> the URI is easier.
>
>
>
> Best,
>
> Daniel
>
>
>
> *From: * on behalf of "Beckman, Daniel" <
> daniel.beck...@ingramcontent.com>
> *Date: *Tuesday, January 3, 2017 at 9:58 AM
> *To: *"users@ovirt.org" 
> *Subject: *[ovirt-users] Import Virtual Machines From Web Admin GUI
>
>
>
> Can anyone point me to a step-by-step guide on getting an import (say,
> from KVM) to work? I gather it involves some sharing of SSH keys but I
> haven’t seen it explained in detail. Specifically, what user needs to trust
> what keys on which machines? The hypervisor hosts? The machine running the
> engine? Also, some examples of URI paths would be much appreciated.
>
>
>
> Thanks,
>
> Daniel
>
> ___
> 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] Lowering the bar for wiki contribution?

2017-01-04 Thread Nir Soffer
On Wed, Jan 4, 2017 at 10:51 AM, Barak Korren  wrote:
> On 4 January 2017 at 09:57, Roy Golan  wrote:
>> I'm getting the feeling I'm not alone in this, authoring and publishing a
>> wiki page isn't as used to be for long time.
>
> Maybe we're using the wrong tool for the job?
> The site is intentionally not a wiki to allow OSAS some editorial
> control over what goes on the public site.
>
> I'm guessing that the scenario you are talking about here is a
> developer looking to create a preliminary design document for further
> discussion. Maybe we need a different tool and process for that?

I agree, we are using the wrong tool for the job of putting initial design
for discussion.

For publishing user documentation the site is ok.

I miss the wiki we had, it was easier to use for development of feature
pages and developer documentation.

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


[ovirt-users] high availability

2017-01-04 Thread qinglong.d...@horebdata.cn
Hi, all
I have an ovirt 4.0 environment with two hosts and a hosted engine. The 
engine vm was running on host 1 and another vm was running on host2. Then I 
unpluged the power of host 2. The another vm should be supposed to restart on 
host 1 because of ha feature. But it couldn't. It stayed unknown status all the 
time. And the host 2 stayed non responsive status.

Did I understand ha correctly? Anyon can help? Thanks!
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] [ovirt-devel] Lowering the bar for wiki contribution?

2017-01-04 Thread Barak Korren
On 4 January 2017 at 09:57, Roy Golan  wrote:
> I'm getting the feeling I'm not alone in this, authoring and publishing a
> wiki page isn't as used to be for long time.

Maybe we're using the wrong tool for the job?
The site is intentionally not a wiki to allow OSAS some editorial
control over what goes on the public site.

I'm guessing that the scenario you are talking about here is a
developer looking to create a preliminary design document for further
discussion. Maybe we need a different tool and process for that?

-- 
Barak Korren
bkor...@redhat.com
RHCE, RHCi, RHV-DevOps Team
https://ifireball.wordpress.com/
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] [Storage Domain] [NFS] How to specify size ?

2017-01-04 Thread Yaniv Kaul
On Jan 4, 2017 10:29 AM, "TranceWorldLogic ." 
wrote:

Hi,

I have created nfs storage domain and even imported in ovirt engine using
below link.
http://www.ovirt.org/documentation/how-to/troubleshooting/
troubleshooting-nfs-storage-issues/

But I found that ovirt have created only 50 GB storage domain.
I need this data domain size as 100 GB.
How can I configure size parameter in ovirt ?


It really depends on the server -  we do not provision the storage - just
mount it.
Y.


Thanks,
~Rohit

___
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] Lowering the bar for wiki contribution?

2017-01-04 Thread Yaniv Kaul
On Wed, Jan 4, 2017 at 9:57 AM, Roy Golan  wrote:

> I'm getting the feeling I'm not alone in this, authoring and publishing a
> wiki page isn't as used to be for long time.
>

Indeed. Several changes in the process have made it more difficult than it
probably should be.


>
> I want to suggest a bit lighter workflow:
>
> 1.  Everyone can merge their page - (it's a wiki)
>

It's not really a wiki. Perhaps parts of the site should be?


>   Same as with (public and open) code, no one has the motivation to
> publish a badly written
>   wiki page under their name. True, it can have an impact, but not as with
> broken code
>

Does everyone have merge rights in public and open code?


>
> 2. Use Page-Status marker
>  The author first merges the draft. Its now out there and should be
> updated as time goes and its
>  status is DRAFT. Maintainers will come later and after review would
> change the status to
>  PUBLISH. That could be a header in on the page:
>  ---
>  page status: DRAFT/PUBLISH
>  ---
>

Interesting idea. How do we ensure we are not left with draft content all
over?
Y.


>
>  Simple I think, and should work.
>
>
>
>
> ___
> 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


[ovirt-users] [Storage Domain] [NFS] How to specify size ?

2017-01-04 Thread TranceWorldLogic .
Hi,

I have created nfs storage domain and even imported in ovirt engine using
below link.
http://www.ovirt.org/documentation/how-to/troubleshooting/troubleshooting-nfs-storage-issues/

But I found that ovirt have created only 50 GB storage domain.
I need this data domain size as 100 GB.
How can I configure size parameter in ovirt ?

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


Re: [ovirt-users] [ovirt-devel] Lowering the bar for wiki contribution?

2017-01-04 Thread Roman Mohr
On Wed, Jan 4, 2017 at 8:57 AM, Roy Golan  wrote:

> I'm getting the feeling I'm not alone in this, authoring and publishing a
> wiki page isn't as used to be for long time.
>
> I want to suggest a bit lighter workflow:
>
> 1.  Everyone can merge their page - (it's a wiki)
>   Same as with (public and open) code, no one has the motivation to
> publish a badly written
>   wiki page under their name. True, it can have an impact, but not as with
> broken code
>
> 2. Use Page-Status marker
>  The author first merges the draft. Its now out there and should be
> updated as time goes and its
>  status is DRAFT. Maintainers will come later and after review would
> change the status to
>  PUBLISH. That could be a header in on the page:
>  ---
>  page status: DRAFT/PUBLISH
>  ---
>
>  Simple I think, and should work.
>
>
Sounds very good.

+1


>
>
>
> ___
> 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] Lowering the bar for wiki contribution?

2017-01-04 Thread Martin Polednik

On 04/01/17 09:57 +0200, Roy Golan wrote:

I'm getting the feeling I'm not alone in this, authoring and publishing a
wiki page isn't as used to be for long time.

I want to suggest a bit lighter workflow:

1.  Everyone can merge their page - (it's a wiki)
 Same as with (public and open) code, no one has the motivation to publish
a badly written
 wiki page under their name. True, it can have an impact, but not as with
broken code

2. Use Page-Status marker
The author first merges the draft. Its now out there and should be updated
as time goes and its
status is DRAFT. Maintainers will come later and after review would change
the status to
PUBLISH. That could be a header in on the page:
---
page status: DRAFT/PUBLISH
---

Simple I think, and should work.


+1, github's contribution workflow is terrible and doesn't make any
sense for wiki pages.


___
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