Re: [ovirt-users] Is it possible to recover from a failed Engine host?

2018-05-02 Thread Alexander Wels
On Wednesday, May 2, 2018 8:03:53 AM EDT ~Stack~ wrote:
> Greetings,
> 
> I have a dev environment where it seems the hard drive on our Engine
> host kicked the bucket (Yeah, I know. Smartmon. I watch it closely on
> the systems I care about - this was a learning environment for me so I
> didn't).
> 
> The Hypervisors are fine and the VM's running on the Hypervisors are
> fine...But I can't manage any of the Hypervisors. To make things a bit
> more tricky, the SQL and the backups were on the drive that died. I
> really don't have anything from that host. It's dev. I can rebuild. But
> it is also a learning environment for me so might as well use this to learn.
> 
> Is it possible for me to build a new Engine host and attach it to an
> existing hypervisor environment? Better yet, would this be something I
> could do as a hosted-engine-deploy? (something I haven't experimented
> with yet.)
> 
> Again, this is a play ground so if it goes horrifically wrong...oh well.
> But I would really like to try to recover it for the learning
> experience. I've been poking around in the documentation but I haven't
> seen anything that seems to address this issue directly.
> 
> Thoughts?
> 
> Thanks!
> ~Stack~

As long as the storage domain is in tact you should be able to recover 
everything. And it does sound like this is the case as the VMs are still 
running. Basically you just install a new engine somewhere and then do the 
following:

- Create new Data Center
- Create new Cluster
- You will need a host to add to your cluster. Add this host.
- Create a small temporary storage domain, this will allow you to bring up the 
data center which in turn will allow you to IMPORT the existing storage 
domain.
- Once the DC is up, you can 'import' the existing storage domain, it will 
warn you that the storage domain is still attached to another DC, but since 
that engine is gone, you can ignore that.
- Once the new DC is imported you can stop/detach/remove the small temporary 
storage domain, which will make the imported storage domain, the master 
domain.

Once all that is done, you can simply go to the storage domain, and 'import' 
whatever VM/template you have stored on the storage domain, and it will show 
up in the VM/template list. Then you add all your hosts and you should have a 
running environment again.





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


Re: [ovirt-users] Unable to activate host after 4.2 upgrade

2018-04-30 Thread Alexander Wels
On Monday, April 30, 2018 10:35:13 AM EDT Lionel Caignec wrote:
> Ok thank you for this explanation it seems logical.
> 
> Where can i modify this settings? Posgres configuration or in the database?
> 

postgresql configuration, its a 100 by default. You can either increase that 
number to something higher, or see if you can understand what is using up the 
connections.

> - Mail original -
> De: "Alexander Wels" <aw...@redhat.com>
> À: "users" <users@ovirt.org>
> Cc: "Lionel Caignec" <caig...@cines.fr>
> Envoyé: Lundi 30 Avril 2018 15:58:42
> Objet: Re: [ovirt-users] Unable to activate host after 4.2 upgrade
> 
> On Monday, April 30, 2018 9:49:16 AM EDT Lionel Caignec wrote:
> > Hi,
> > 
> > finally after one more try of reinstallation server is now "operrational"
> > really does not understande what happen :(.
> > 
> > Lionel.
> 
> According to that exception there was an issue connecting to the engine
> database to retrieve some network related information, which in turn
> resulted in the host going non operational. I would check the engine.log in
> /var/log/ ovirt-engine on the engine machine to see if there is more
> information on why the connection failed. Depending on how many concurrent
> connections are being used it is possible none were available when you
> tried. Now whatever was using the connections has stopped using them, and
> they were available again.
> 
> Try increasing the number of connections available in the postgres
> configuration to solve the problem.
> 
> > - Mail original -
> > De: "Lionel Caignec" <caig...@cines.fr>
> > À: "users" <users@ovirt.org>
> > Envoyé: Lundi 30 Avril 2018 15:14:36
> > Objet: [ovirt-users] Unable to activate host after 4.2 upgrade
> > 
> > Hi,
> > 
> > i've upgraded my ovirt installation from 4.1.x to 4.2..
> > But i have problem with one host. Ovirt said some mandatory network
> > missing, but when i look into network configuration all Physical Card are
> > in RED marked down. But my network is fully operrationnal (can ping).
> > 
> > I tried to remove all vdsm relative package and reinstall it manually -->
> > KO I tried to remove host from ovirt, and reinstall it --> KO
> > 
> > On "setup host networks" screen all my card indicate "Link Layer
> > Information" not available.
> > 
> > 
> > Here is the log seems to be relevant (engine.log) :
> > 2018-04-30 15:05:05,053+02 ERROR
> > [org.ovirt.engine.core.bll.SetNonOperationalVdsCommand]
> > (EE-ManagedThreadFactory-engineScheduled-Thread-39) [6372dfc8] Host
> > 'dwalin.cines.fr' is set to Non-Operational, it is missing the following
> > networks:
> > 'dmz_interne,dmz_interne_adm,dns_interne,echange,echange_adm,ldap_interne,
> > p
> > allas_serv,pallas_serv_adm,securite,securite_adm,tiamat' 2018-04-30
> > 15:05:05,079+02 WARN
> > [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
> > (EE-ManagedThreadFactory-engineScheduled-Thread-39) [6372dfc8] EVENT_ID:
> > VDS_SET_NONOPERATIONAL_NETWORK(519), Host dwalin.cines.fr does not comply
> > with the cluster Private networks, the following networks are missing on
> > host:
> > 'dmz_interne,dmz_interne_adm,dns_interne,echange,echange_adm,ldap_interne,
> > p
> > allas_serv,pallas_serv_adm,securite,securite_adm,tiamat' 2018-04-30
> > 15:05:05,085+02 ERROR [org.ovirt.engine.core.bll.job.ExecutionHandler]
> > (EE-ManagedThreadFactory-engineScheduled-Thread-39) [6372dfc8] Exception:
> > org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get
> > JDBC Connection; nested exception is java.sql.SQLException:
> > javax.resource.ResourceException: IJ000457: Unchecked throwable in
> > managedConnectionReconnected()
> > cl=org.jboss.jca.core.connectionmanager.listener.TxConnectionListener@4372
> > 6
> > 09f[state=NORMAL managed
> > connection=org.jboss.jca.adapters.jdbc.local.LocalManagedConnection@688b13
> > 2
> > 3 connection handles=0 lastReturned=1525093505080
> > lastValidated=1525093160840 lastCheckedOut=1525093505059 trackByTx=false
> > pool=org.jboss.jca.core.connectionmanager.pool.strategy.OnePool@1d01224a
> > mcp=SemaphoreConcurrentLinkedQueueManagedConnectionPool@bd7a6f0[pool=ENGIN
> > E
> > DataSource]
> > xaResource=LocalXAResourceImpl@3343607b[connectionListener=4372609f
> > connectionManager=36e47d0e warned=false currentXid=null
> > productName=PostgreSQ L productVersion=9.5.9
> > jndiName=java:/ENGINEDataSource] txSync=null] (...)
> > 
> > 
> > Now i really does know what to do.
> > 
> > Someone have an idea?
> > 
> > Thank you.
> > 
> > --
> > Lionel
> > ___
> > 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] Unable to activate host after 4.2 upgrade

2018-04-30 Thread Alexander Wels
On Monday, April 30, 2018 9:49:16 AM EDT Lionel Caignec wrote:
> Hi,
> 
> finally after one more try of reinstallation server is now "operrational"
> really does not understande what happen :(.
> 
> Lionel.
> 

According to that exception there was an issue connecting to the engine 
database to retrieve some network related information, which in turn resulted 
in the host going non operational. I would check the engine.log in /var/log/
ovirt-engine on the engine machine to see if there is more information on why 
the connection failed. Depending on how many concurrent connections are being 
used it is possible none were available when you tried. Now whatever was using 
the connections has stopped using them, and they were available again.

Try increasing the number of connections available in the postgres 
configuration to solve the problem.

> - Mail original -
> De: "Lionel Caignec" 
> À: "users" 
> Envoyé: Lundi 30 Avril 2018 15:14:36
> Objet: [ovirt-users] Unable to activate host after 4.2 upgrade
> 
> Hi,
> 
> i've upgraded my ovirt installation from 4.1.x to 4.2..
> But i have problem with one host. Ovirt said some mandatory network missing,
> but when i look into network configuration all Physical Card are in RED
> marked down. But my network is fully operrationnal (can ping).
> 
> I tried to remove all vdsm relative package and reinstall it manually --> KO
> I tried to remove host from ovirt, and reinstall it --> KO
> 
> On "setup host networks" screen all my card indicate "Link Layer
> Information" not available.
> 
> 
> Here is the log seems to be relevant (engine.log) :
> 2018-04-30 15:05:05,053+02 ERROR
> [org.ovirt.engine.core.bll.SetNonOperationalVdsCommand]
> (EE-ManagedThreadFactory-engineScheduled-Thread-39) [6372dfc8] Host
> 'dwalin.cines.fr' is set to Non-Operational, it is missing the following
> networks:
> 'dmz_interne,dmz_interne_adm,dns_interne,echange,echange_adm,ldap_interne,p
> allas_serv,pallas_serv_adm,securite,securite_adm,tiamat' 2018-04-30
> 15:05:05,079+02 WARN 
> [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
> (EE-ManagedThreadFactory-engineScheduled-Thread-39) [6372dfc8] EVENT_ID:
> VDS_SET_NONOPERATIONAL_NETWORK(519), Host dwalin.cines.fr does not comply
> with the cluster Private networks, the following networks are missing on
> host:
> 'dmz_interne,dmz_interne_adm,dns_interne,echange,echange_adm,ldap_interne,p
> allas_serv,pallas_serv_adm,securite,securite_adm,tiamat' 2018-04-30
> 15:05:05,085+02 ERROR [org.ovirt.engine.core.bll.job.ExecutionHandler]
> (EE-ManagedThreadFactory-engineScheduled-Thread-39) [6372dfc8] Exception:
> org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get
> JDBC Connection; nested exception is java.sql.SQLException:
> javax.resource.ResourceException: IJ000457: Unchecked throwable in
> managedConnectionReconnected()
> cl=org.jboss.jca.core.connectionmanager.listener.TxConnectionListener@43726
> 09f[state=NORMAL managed
> connection=org.jboss.jca.adapters.jdbc.local.LocalManagedConnection@688b132
> 3 connection handles=0 lastReturned=1525093505080
> lastValidated=1525093160840 lastCheckedOut=1525093505059 trackByTx=false
> pool=org.jboss.jca.core.connectionmanager.pool.strategy.OnePool@1d01224a
> mcp=SemaphoreConcurrentLinkedQueueManagedConnectionPool@bd7a6f0[pool=ENGINE
> DataSource]
> xaResource=LocalXAResourceImpl@3343607b[connectionListener=4372609f
> connectionManager=36e47d0e warned=false currentXid=null
> productName=PostgreSQ L productVersion=9.5.9
> jndiName=java:/ENGINEDataSource] txSync=null] (...)
> 
> 
> Now i really does know what to do.
> 
> Someone have an idea?
> 
> Thank you.
> 
> --
> Lionel
> ___
> 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] Use an oVirt-VM as a VDSM server

2018-04-30 Thread Alexander Wels
On Monday, April 30, 2018 9:02:35 AM EDT James Michels wrote:
> Greetings.
> 
> In terms of teaching our students how to create and configure an oVirt
> infrastructure, we're planning to provide each of them a VM that will act
> as a Manager server, which has no issues so far. The problem is that we
> don't have enough physical machines to use as virtualization servers
> (VDSM), therefore we have been trying to use a CentOS7 based oVirt guest to
> run as a VDSM server.
> 
> However, when trying to add it as a host, a (logical) error message shows
> up saying that the VM doesn't allow virtualization.
> 
> The question is simple: Is there a way to enable virtualization on an oVirt
> VM, so we can deploy them as VDSM servers?
> 
> This is oVirt 4.2.2 FWIW.
> 
> Thanks
> 
> James

James,

Yes its possible, when you install (or re-install) a PHYSICAL host, in the 
host popup dialog there is a kernel tab. Enable 'Nested Virtualization' kernel 
parameter. Once that is enabled and the host is rebooted then you can use VMs 
as VDSM hosts for your setup.

Some gotchas:
- Make sure your cluster cpu type actually matches your physical hosts, if you 
select a wrong one then the exposed CPU options will be wrong and the nested 
virtualization will not work properly.
- You will need to enable mac spoofing for the networking to work correctly.
- VMs running inside a host that is a VM itself will likely have a fairly 
significant performance hit due to the nested virtualization.



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


Re: [ovirt-users] Problem to upgrade ovirt

2018-04-23 Thread Alexander Wels
On Monday, April 23, 2018 3:23:21 PM EDT Marcelo Leandro wrote:
> Can someone help me?
> 
> Thanks,
> 
> Marcelo Leandro
> 

You need postgresql 9.5, following the information here should give you 
everything you need:

https://www.ovirt.org/release/4.2.1/

Also look at the information below 'What's New in 4.2.1' it has some 
information on upgrading the uuid generation which requires some manual steps.

> 2018-04-23 8:27 GMT-03:00 Robert O'Kane :
> > Hello,
> > 
> > Sorry, I did not have to chance anything else. It simply worked after my
> > SELinux solution.
> > 
> > Good Luck.
> > 
> > Robert O'Kane
> > 
> > On 04/23/2018 01:21 PM, Marcelo Leandro wrote:
> >> Hello, Robert
> >> 
> >> Thank you for reply, I tried this steps but not worked for me , I think
> >> that I need change parameters in my postgresql but I don't know how do
> >> this.
> >> 
> >> 
> >> 2018-04-22 7:45 GMT-03:00 Robert O'Kane > 
> >> ok...@khm.de>>:
> >> Hello,
> >> 
> >> I had a similar problem with the engine update from 4.1.9 to 4.2.2.
> >> For me it was SELinux in Enforcing mode on the host.  You should
> >> 
> >> check that
> >> 
> >> SELinux is in "Enforcing" mode and that the audit daemon is
> >> 
> >> complaining
> >> 
> >> about postgres95. "audit2why -a"
> >> 
> >> 
> >> I set the host to "Permissive", did the upgrade and it worked for me.
> >> But you may have to leave it in "Permissive" mode until you can
> >> 
> >> update the
> >> 
> >> SELinux rules.
> >> 
> >> 
> >> *IF* the problem is SELinux I would suggest:
> >> 
> >> 1: Clean up the auditd logs (make sure all old problems are
> >> 
> >> corrected).
> >> 
> >> Reset the auditd logs so the following output is "cleaner".
> >> The "audit2why -a" command should show nothing. Please RYFM
> >> 
> >> 2: Set SELinux to "Permissive" mode.
> >> 
> >> 3: Apply the Ovirt-engine updates. Make sure everything works.
> >> 
> >> 4: run "audit2why -a" and see what the warnings are
> >> 
> >>   or go directly to 5
> >> 
> >> 5: generate the new rules with:
> >>audit2allow -a -M postgres95-selinux-ovirt
> >> 
> >> 6: add the rules to the system:
> >>semodule -i  postgres95-selinux-ovirt.pp
> >> 
> >> 7: It should now be possible to set SELinux back to "Enforcing"
> >> 
> >> 
> >> Good Luck,
> >> 
> >> Robert O'Kane
> >> 
> >> Am 21.04.2018 um 10:26 schrieb Marcelo Leandro:
> >> Hello,
> >> I have problem when i try upgrade the ovirt to 4.2,  my version
> >> 
> >> is 4.1.9, I
> >> 
> >> have problem when engine-setup try update the postgresql.
> >> Postgres version 9.2
> >> 
> >> I had this message:
> >> 
> >> Log install:
> >> 
> >> ERROR: pg_upgrade tool failed
> >> ERROR: Upgrade failed.
> >> 
> >>* See /var/lib/pgsql/upgrade_rh-postgresql95-postgresql.log
> >> 
> >> for details.
> >> 
> >> 2018-04-21 04:53:10,766-0300 DEBUG otopi.transaction
> >> transaction._prepare:66 exception during prepare phase
> >> 
> >> Traceback (most recent call last):
> >> File "/usr/lib/python2.7/site-packages/otopi/transaction.py",
> >> 
> >> line
> >> 
> >> 62, in
> >> _prepare
> >> 
> >>   element.prepare()
> >> 
> >> File
> >> 
> >> "/usr/share/ovirt-engine/setup/ovirt_engine_setup/engine_
> >> 
> >> common/postgres.py",
> >> 
> >> line 777, in prepare
> >> 
> >>   raiseOnError=True,
> >> 
> >> File "/usr/lib/python2.7/site-packages/otopi/plugin.py",
> >> 
> >> line 931, in
> >> 
> >> execute
> >> 
> >>   command=args[0],
> >> 
> >> RuntimeError: Command
> >> '/opt/rh/rh-postgresql95/root/usr/bin/postgresql-setup' failed
> >> 
> >> to execute
> >> 
> >> 2018-04-21 04:53:10,768-0300 DEBUG otopi.context
> >> 
> >> context._executeMethod:143
> >> 
> >> method exception
> >> 
> >> Traceback (most recent call last):
> >> File "/usr/lib/python2.7/site-packages/otopi/context.py",
> >> 
> >> line 133, in
> >> 
> >> _executeMethod
> >> 
> >>   method['method']()
> >> 
> >> File
> >> 
> >> "/usr/share/ovirt-engine/setup/bin/../plugins/ovirt-engine-
> >> 
> >> setup/ovirt-engine/db/dbmsupgrade.py",
> >> 
> >> line 89, in _updateDBMS
> >> 
> >>   oengcommcons.ProvisioningEnv.OLD_POSTGRES_SERVICE
> >> 
> >> File "/usr/lib/python2.7/site-packages/otopi/transaction.py",
> >> 
> >> line 106,
> >> 
> >> in append
> >> 
> >>   self._prepare(element=element)
> >> 
> >>  

Re: [ovirt-users] The redirection URI for client is not registered

2018-04-17 Thread Alexander Wels
On Monday, April 16, 2018 8:56:12 PM EDT Gerald wrote:
> Hi,
> It is now being 2 days that I struggle to get overt running and I cannot
> find the solution of any issue on the internet. I always get the "The
> redirection URI for client is not registered “  error message popping up. I
> make sure to use the DNS and not the IP address to reach the server . Any
> idea how about fixing that ?

I believe you can turn of this check by setting:

SSO_CALLBACK_PREFIX_CHECK=false
/etc/ovirt-engine/engine.conf.d/11-setup-sso.conf

but you should check if your ENGINE_FQDN matches what you are using in /etc/
ovirt-engine/engine.conf.d/10-setup-protocols.conf.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] I broke my ovirt real good....

2018-04-16 Thread Alexander Wels
On Friday, April 13, 2018 6:48:31 PM EDT ~Stack~ wrote:
> On 04/13/2018 07:16 AM, Alexander Wels wrote:
> > On Thursday, April 12, 2018 6:26:07 PM EDT ~Stack~ wrote:
> >> Greetings,
> >> 
> >> So I did a over-confident-admin-makes-rookie-mistake. I changed a bunch
> >> of things all back-to-back and thus don't actually know what broke. :-D
> >> 
> >> The only two real "big" changes were:
> >> * Upgrade from 4.2.1 to 4.2.2
> >> * change my ovirtmgmt network
> >> 
> >> The update I followed the upgrade procedures and I thought it all went
> >> pretty well. Because I am moving it from a testing into what I hope will
> >> be a more heavily used environment, I changed my ovirtmgmt network from
> >> 192.168.100.0/24 to 192.168.101.0/24 via the web-gui.
> >> 
> >> That was a touch tricker than just a change as I had to poke the
> >> management engine host to be reachable on both network for a while, then
> >> it just seemed OK.
> >> 
> >> What's happening is:
> >> * I can no longer migrate a vm from one host to the other.
> >> * If I try to do a "reinstall" it dies.
> >> * There is some serious network lag between my hosts on a 10Gb network.
> >> * I've got all kinds of python2.4 failures in my vdsm and mom logs.
> >> 
> >> Those are least the biggies.
> >> 
> >> So while I was planning on moving this to a more active use case, right
> >> now - it is all still my play ground. I would REALLY hate to lose the
> >> VM's but everything else can go and be rebuilt.
> >> 
> >> Given that I've somehow really broke this system pretty good, would it
> >> be more advisable to blow away and rebuild it ALL or can I simply delete
> >> the hypervisor hosts and rebuild them?
> >> 
> >> Thoughts?
> >> 
> >> Thanks!
> >> ~Stack~
> > 
> > As long as you don't destroy the data on your data domain you can rebuild
> > the engine and hosts and then import the existing data domain without too
> > many issues. I have destroyed my engine database many times, and I am
> > still using the same VMs from the same data domain.
> > 
> > Here is what I do when I mess up my database to the point I have to make a
> > new one:
> > 
> > 1. Recreate the engine and database, so that I have basically have an
> > empty
> > engine with no hosts and VMs.
> > 1.1 (Optional) make a new DC that is not default. and add a cluster.
> > 2. Add my hosts (I only have 2 so that is quick and easy).
> > 3. Add a throw away data domain (This is needed to get the DC up so I can
> > import the existing data domain).
> > 4. Import (NOT new, import) the existing data domain.
> > 5. Do to Storage->Storage Domains->VM import and import the VMs I want.
> > 6. Same for templates and disks if needed.
> > 7. After you have imported the VMs/Templates/Disks you can detach and
> > remove the throw away data domain and the one you imported becomes the
> > master domain.
> > 
> > Note if you want to move VMs between your play ground and more serious
> > system you can simply detach your data domain from the play ground, then
> > attach it to the serious engine (so you have 2 engines, one play ground
> > and one serious) and import which VMs you want. That way you won't run
> > into issues with configuring networks and stuff like you experienced.
> 
> Thanks for that help. I did that and everything looks fantastic...except
> I can't migrate VM's. :-/
> 
> It just sits there and in the log files there is the below messages
> repeating. It's like it doesn't care for the fact that this was an
> imported domain or something.
> 
> Thoughts?
> 
> Thanks!
> ~Stack~
> 

Don't know too much about the VDSM side of things. But obviously its looking 
for a storage domain it can't find anymore. You can try restarting VDSM (won't 
affect running VMs) and see if rescans the available storage domains and won't 
try to access it during the migration of the VMs. Other than that I don't 
know.

> 
> 2018-04-13 16:58:59,920-0500 ERROR (monitor/232975a) [storage.Monitor]
> Setting up monitor for 232975ad-1771-4b6b-afda-958f7b745867 failed
> (monitor:329)
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/site-packages/vdsm/storage/monitor.py", line
> 326, in _setupLoop
> self._setupMonitor()
>   File "/usr/lib/python2.7/site-packages/vdsm/storage/monitor.py", line
> 348, in _setupMonitor
> self._produceDomain()
>   File "/usr/lib/python2.7/site

Re: [ovirt-users] I broke my ovirt real good....

2018-04-13 Thread Alexander Wels
On Thursday, April 12, 2018 6:26:07 PM EDT ~Stack~ wrote:
> Greetings,
> 
> So I did a over-confident-admin-makes-rookie-mistake. I changed a bunch
> of things all back-to-back and thus don't actually know what broke. :-D
> 
> The only two real "big" changes were:
> * Upgrade from 4.2.1 to 4.2.2
> * change my ovirtmgmt network
> 
> The update I followed the upgrade procedures and I thought it all went
> pretty well. Because I am moving it from a testing into what I hope will
> be a more heavily used environment, I changed my ovirtmgmt network from
> 192.168.100.0/24 to 192.168.101.0/24 via the web-gui.
> 
> That was a touch tricker than just a change as I had to poke the
> management engine host to be reachable on both network for a while, then
> it just seemed OK.
> 
> What's happening is:
> * I can no longer migrate a vm from one host to the other.
> * If I try to do a "reinstall" it dies.
> * There is some serious network lag between my hosts on a 10Gb network.
> * I've got all kinds of python2.4 failures in my vdsm and mom logs.
> 
> Those are least the biggies.
> 
> So while I was planning on moving this to a more active use case, right
> now - it is all still my play ground. I would REALLY hate to lose the
> VM's but everything else can go and be rebuilt.
> 
> Given that I've somehow really broke this system pretty good, would it
> be more advisable to blow away and rebuild it ALL or can I simply delete
> the hypervisor hosts and rebuild them?
> 
> Thoughts?
> 
> Thanks!
> ~Stack~

As long as you don't destroy the data on your data domain you can rebuild the 
engine and hosts and then import the existing data domain without too many 
issues. I have destroyed my engine database many times, and I am still using 
the same VMs from the same data domain.

Here is what I do when I mess up my database to the point I have to make a new 
one:

1. Recreate the engine and database, so that I have basically have an empty 
engine with no hosts and VMs.
1.1 (Optional) make a new DC that is not default. and add a cluster.
2. Add my hosts (I only have 2 so that is quick and easy).
3. Add a throw away data domain (This is needed to get the DC up so I can 
import the existing data domain).
4. Import (NOT new, import) the existing data domain.
5. Do to Storage->Storage Domains->VM import and import the VMs I want.
6. Same for templates and disks if needed.
7. After you have imported the VMs/Templates/Disks you can detach and remove 
the throw away data domain and the one you imported becomes the master domain.

Note if you want to move VMs between your play ground and more serious system 
you can simply detach your data domain from the play ground, then attach it to 
the serious engine (so you have 2 engines, one play ground and one serious) 
and import which VMs you want. That way you won't run into issues with 
configuring networks and stuff like you experienced.



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


Re: [ovirt-users] New Install Issues

2018-04-12 Thread Alexander Wels
On Thursday, April 12, 2018 1:33:20 PM EDT Talk Jesus wrote:
> Having some strange issues.
> 
> First: Admin panel loads very slow using subdomain.mydomain.com
> 
> However, this is a brand new server with 64GB RAM, SSD disks and dual octo
> core Xeons.
> 
> Second: I get this.
> 
> [ INFO  ] Stage: Setup validation
> [WARNING] Cannot validate host name settings, reason: resolved host does not
> match any of the local addresses
>   During execution engine service will be stopped (OK, Cancel) [OK]:
> 
> Third: when admin panel finally loads, I use admin@internal plus my root
> password set during installation setup. I get this:
> 
> Unable to log in. Verify your login information or contact the system
> administrator.
> 

This is highly likely a DNS issue, the engine tries to resolve itself and if 
it can't, it takes a long time to load the webadmin (Not sure why it does 
this, but fixing the DNS will fix the slow loading).

> 
> ---
> This email has been checked for viruses by Avast antivirus software.
> https://www.avast.com/antivirus
> 
> ___
> 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 it is oVirt used in your Department?

2018-04-09 Thread Alexander Wels
On Sunday, April 8, 2018 10:33:50 AM EDT ~Stack~ wrote:
> On 03/28/2018 05:31 AM, Fedele Stabile Nuovo Server wrote:
> > My question is mainly addressed at those of you who use oVirt not only
> > for creating services on virtual machines.
> > What is your experience and what did you made?
> 
> Still consider myself an oVirt newb. Only been using it for a few months
> but I'm liking it so far. I don't have the hardware specs in front of me
> but I have a 4 node Hypervisor setup with a physical Engine host. All
> running on Scientific Linux 7.
> 
> > Is there anyone who virtualized an HPC cluster?
> 
> I'm still not convinced that virtualized HPC is a good idea for those
> who need compute performance. Though it is getting better than when I
> first heard someone say they were doing it at Supercomputing14!
> 
> > What is for you the advantage on virtualizing a cluster?
> 
> Um. As a 14year HPC admin, I still say none for compute. However, I am
> using oVirt to support a ton of my infrastructure services: Frontends,
> Log-ins, Scheduler, Database, LDAP, ect.
> 
> I'm still learning how to set up something where my users can click a
> button on a webpage and get a VM spun up for a Graphical session on
> oVirt. I'm also still debating on the pros/cons for setting up oVirt
> VM's for things like JupyterNotebooks/RStudio Server/ect for the "I just
> want a web page to develop my code on and will submit to the cluster for
> the job run" crowd.
> 
> It is a huge learning process for me. Most of the tools I've been using
> have worked great for years, but it is time to update and refresh those
> skills. Most of the provisioning tools I've used in the past don't work
> so well with oVirt. So now I'm exploring other tools.
> 
> Foreman is and overcomplicated buggy headache, IMO. Every time I or a
> coworker has tried to get it going it has been a massive
> time-suck-crash-and-burn. Add to it that my current security team has
> HUGE issues with Puppet (don't get me started - I like Puppet) and
> building Foreman by hand with Salt is just an awful awful awful
> experience I wouldn't wish on an enemy...just no. :-)
> DigitalRebar was looking SUPER promising, but they recently went to a
> model that MUST chat out to the Internet or it breaks itself (a complete
> no-go for me). A complete shame.
> So I'm back to Cobbler which is simple and works fantastically well, but
> doesn't really have any integrations into oVirt (that I'm aware of). I'm
> probably going to have to write something with the two API's.
> 

Have you looked at ansible? You can make some playbooks that call the REST api 
and have it deploy the VMs for you. Or if you feel like writing your own 
portal you can use the Java or Python SDK to access the REST api.

> > Or, having a class with PC or Raspberry is better to use LTSP or PiNet
> > or virtualize desktops?
> 
> Can't say. Don't mess with Raspberry Pi's much.
> 
> ~Stack~




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


Re: [ovirt-users] Query on VM Clone

2018-03-29 Thread Alexander Wels
On Thursday, March 29, 2018 7:59:36 AM EDT Ondra Machacek wrote:
> On 03/29/2018 01:02 PM, Karli Sjöberg wrote:
> > On Thu, 2018-03-29 at 11:21 +0200, Ondra Machacek wrote:
> >> On 03/29/2018 11:09 AM, Hari Prasanth Loganathan wrote:
> >>> Hi Team,
> >>> 
> >>> 1) I perform the VM clone using the following API
> >>> 
> >>> api/vms/{vmId}/clone
> >>> 
> >>> 2) The above API is returning the job id
> >>> 3) Using the job Id, we continuously query the oVirt to get the
> >>> status
> >>> of the clone operation.
> >>> /api/jobs/${vmCloneJobId}
> >>> 
> >>>   We are able to successfully get the status of the clone
> >>> 
> >>> operation.
> >>> 
> >>> But the problem is, we are not able to identify the newly created
> >>> VM
> >>> (created using clone).
> >>> 
> >>> AFAIK, The only way to get the newly created VM is to get all the
> >>> VM
> >>> list from oVirt. Is there an easy way to identify the newly created
> >>> VM
> >>> using the jobId?
> >> 
> >> In order to run the clone operation you must pas the VM name, so you
> >> know the name, so later to fetch the VM you can just run:
> >> 
> >> api/vms?search=name=thenameofclonnedvm
> > 
> > Hijacking this a little, because I got curious about something:)
> > 
> > Is it possible to do regex searches? Because I remember working on
> > something different, the searches could potentially end up with
> > multiple matched objects, like "thenameofclonnedvm",
> > "thenameofclonnedvm-berta", "thenameofclonnedvm3" and so on. So I was
> > always forced to treat the result as a potential array, loop the
> > objects (this was with Python) and test for an exact match, even if it
> > was just one object. So it would be nicer if you could go like:
> > 
> > api/vms?search=name='^thenameofclonnedvm$'
> > 
> > And be sure to have an exact match every time. Is that possible?
> 
> You can read more about search engine here:
> 
> 
> https://www.ovirt.org/documentation/admin-guide/appe-Using_Search_Bookmarks_
> and_Tags/
> 
> So if you have for example following VMs in system:
> 
>   vm
>   vm1
>   vm2
>   vm3
> 
> And you do search like:
> 
>api/vms?search=name=vm
> 
> It will return only single Vm called 'vm', but it always return a
> collection, but with just single item.
> 
> And you do search like:
> 
>   api/vms?search=name=vm*
> 
> It will return all VMs starting on 'vm' string. So it's collection of
> vm, vm1, vm2 and vm3.
> 
> So by default it search for exact string, but you may use wildcards to
> improve the search.
> 

You can also 'and' and 'or' different parameters, for instance

api/vms?search=name%3DVM1+or+name%3DVM2

which will return VM1 and VM2 if they exist. Note that you will need to URL 
encode your search string to replace all the '=' with %3D and space with +, 
etc. The only = that shouldn't be encoded is the = after search.

For an easy way to find what is available to search on for a particular 
entity, if you go into the webadmin in the search bar you can start typing and 
it will auto complete the different available options. AFAIC those match 
exactly to the search in the REST api.

> > TIA
> > 
> > /K
> > 
> >> Is this approach OK for you?
> >> 
> >>> Thanks,
> >>> Hari
> >>> 
> >>> DISCLAIMER
> >>> 
> >>> The information in this e-mail is confidential and may be subject
> >>> to
> >>> legal privilege. It is intended solely for the addressee. Access to
> >>> this
> >>> e-mail by anyone else is unauthorized. If you have received this
> >>> communication in error, please address with the subject heading
> >>> "Received in error," send to i...@msystechnologies.com
> >>> ,  then delete the e-mail and
> >>> destroy
> >>> any copies of it. If you are not the intended recipient, any
> >>> disclosure,
> >>> copying, distribution or any action taken or omitted to be taken
> >>> in
> >>> reliance on it, is prohibited and may be unlawful. The views,
> >>> opinions,
> >>> conclusions and other information expressed in this electronic mail
> >>> and
> >>> any attachments are not given or endorsed by the company unless
> >>> otherwise indicated by an authorized representative independent of
> >>> this
> >>> message.
> >>> 
> >>> MSys cannot guarantee that e-mail communications are secure or
> >>> error-free, as information could be intercepted, corrupted,
> >>> amended,
> >>> lost, destroyed, arrive late or incomplete, or contain viruses,
> >>> though
> >>> all reasonable precautions have been taken to ensure no viruses
> >>> are
> >>> present in this e-mail. As our company cannot accept responsibility
> >>> for
> >>> any loss or damage arising from the use of this e-mail or
> >>> attachments we
> >>> recommend that you subject these to your virus checking procedures
> >>> prior
> >>> to use
> >>> 
> >>> 
> >>> ___
> >>> Users mailing list
> >>> Users@ovirt.org
> >>> http://lists.ovirt.org/mailman/listinfo/users
> >> 
> >> ___
> >> Users 

Re: [ovirt-users] Iso upload success, no GUI popup option

2018-03-20 Thread Alexander Wels
On Monday, March 19, 2018 7:47:00 PM EDT Jamie Lawrence wrote:
> Hello,
> 
> I'm trying to iron out the last few oddities of this setup, and one of them
> is the iso upload process. This worked in the last rebuild, but... well.
> 
> So, uploading from one of the hosts to an ISO domain claims success, and
> manually checking shows the ISO uploaded just fine, perms set correctly to
> 36:36. But it doesn't appear in the GUI popup when creating a new VM.
> 

You probably need to refresh the ISO list, assuming 4.2 go to Storage -> 
Storage Domains -> , click on the name, and go to the images 
detail tab. This should refresh the list of ISOs in the list and the ISO 
should be listed, once that is done, it should show up in the drop down when 
you change the CD.

> Verified that the VDSM user can fully traverse the directory path -
> presumably that was tested by uploading it in the first place, but I
> double-checked. Looked in various logs, but didn't see any action in
> ovirt-imageio-daemon or -proxy. Didn't see anything in engine.log that
> looked relevant.
> 
> What is the troubleshooting method for this? Googling, it seemed most folks'
> problems were related to permissions. I scanned DB table names for
> something that seemed like it might have ISO-related info in it, but
> couldn't find anything, and am not sure what else to check.
> 
> Thanks,
> 
> -j
> ___
> 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] improvement for web ui during the create template stage.

2018-03-15 Thread Alexander Wels
On Wednesday, March 14, 2018 5:19:55 PM EDT Nicolas Vaye wrote:
> Hi,
> 
> I thought it was the problem.
> I did a test again and i have recorded the test (in attachment).
> What is the problem ?
> 
> Regards,
> 
> Nicolas VAYE
> 

Interesting, as that name is not long enough to trigger the name length 
validation. You have 64 characters total for the name. I just tried your 
scenario on the latest master branch, and it worked as expected, it created 
the template from the snapshot without issues with that exact same name.

I don't see any recent changes to the frontend code for that dialog either. If 
you look in the engine.log does it say anything? I can only assume some 
validation is failing, and that validation message is not properly propagated 
to the frontend, but it should show something in the backend log regardless.

>  Message initial 
> 
> Date: Wed, 14 Mar 2018 08:36:48 -0400
> Objet: Re: [ovirt-users] improvement for web ui during the create template
> stage.
 À: users@ovirt.org<mailto:users@ovirt.org>, Nicolas Vaye
> <nicolas.v...@province-sud.nc<mailto:Nicolas%20Vaye%20%3cnicolas.vaye@provi
> nce-sud.nc%3e>> De: Alexander Wels
> <aw...@redhat.com<mailto:alexander%20wels%20%3caw...@redhat.com%3e>> 
> On Wednesday, March 14, 2018 12:04:18 AM EDT Nicolas Vaye wrote:
> 
> 
> Hi,
> I 'have 2 ovirt node with HE in version 4.2.1.7-1.
> 
> If i make a template from a VM's snapshot in the web ui, there is a form ui
> to enter several parameter
> 
> 
>  [cid:1521000255.509.1.camel@province-sud.nc<mailto:1521000255.509.1.camel@p
> rovince-sud.nc>]
 
> 
> 
> if the name of the template is missing and if we clic on the OK button,
> there is an highlighting red border on the name to indicate the problem.
> if i enter a long name for the template and if we clic on the OK button,
> nothing happend, and there is no highlight or error message to indicate
> there is a problem with the long name.
> Could you improve that ?
> 
> Thanks,
> 
> Regards,
> 
> Nicolas VAYE
> 
> 
> 
> 
> It appears to me it already does that, this a screenshot of me putting in a
> long template name, and it is highlighted right and if I hover I see a
> tooltip explaining I can't have more than 64 characters.
> 




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


Re: [ovirt-users] improvement for web ui during the create template stage.

2018-03-14 Thread Alexander Wels
On Wednesday, March 14, 2018 12:04:18 AM EDT Nicolas Vaye wrote:
> Hi,
> I 'have 2 ovirt node with HE in version 4.2.1.7-1.
> 
> If i make a template from a VM's snapshot in the web ui, there is a form ui
> to enter several parameter
 [cid:1521000255.509.1.camel@province-sud.nc]
> 
> if the name of the template is missing and if we clic on the OK button,
> there is an highlighting red border on the name to indicate the problem.
> if i enter a long name for the template and if we clic on the OK button,
> nothing happend, and there is no highlight or error message to indicate
> there is a problem with the long name. 
> Could you improve that ?
> 
> Thanks,
> 
> Regards,
> 
> Nicolas VAYE
> 

It appears to me it already does that, this a screenshot of me putting in a 
long template name, and it is highlighted right and if I hover I see a tooltip 
explaining I can't have more than 64 characters.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] oVirt 4.2 WebUI Plugin API Docs?

2018-02-26 Thread Alexander Wels
On Monday, February 26, 2018 9:50:37 AM EST Zip wrote:
> Thanks Alexander,
> 
> This works:
> 
> api.addMainTab('oVirtTab', 'ovirt-tab', ‘http://www.something.com',
> {priority: 5});
> 
> Can you advise how to get the api.addSubTab to work?
> 
> api.addSubTab('ovirt-tab', 'Test 123', 'test-123', '#’);
> 
> I tried the above and many other combinations, no errors, just doesnt work.
> Maybe I am wrong on what it does?
> 
> I am looking to add a submenu – same as the current 4.2.1 UI shows Network
> and then(Vnic Profiles) (Networks) as submenus.
> 
> Thanks
> 
> Zip
> 

So api.addSubTab works on adding a 'detail' tab, aka when you click on lets 
say the VMs name, and go to the detail view, addSubTab will add another tab in 
there.

What you want to do, is currently NOT possible. I have a TODO in my long list 
of items to add that capability to the UI plugin API. When the API was 
designed the secondary menus like Networks didn't exist, it was all main tabs 
or sub tabs. The primary and secondary menus are just a way to organize the 
main views instead of having a giant list of menu items. For now I would just 
put it in a primary menu until I get a chance to update the api to allow for 
you to add it to a secondary menu.

> > On Sunday, February 25, 2018 1:11:08 AM EST Zip wrote:
> >>  Hi Alexander,
> >>  
> >>  If I try the following:
> >>  
> >>  
> >>  
> >>  
> >>  
> >>  
> >>  
> >>  var api = parent.pluginApi('HelloWorld');
> >>  api.register({
> >>  
> >>  UiInit: function () {
> >>  
> >>  api.addMainTab('FooTab','xtab123','<a  rel="nofollow" href="http://foo.com/">http://foo.com/</a>');
> >>  
> >>  }
> >>  
> >>  });
> >>  api.ready();
> >>  
> >>  
> >>  
> >>  
> >>  
> >>  
> >>  
> >>  I get the error in my browser console:
> >>  
> >>  Sun Feb 25 00:03:56 GMT-600 2018
> >>  org.ovirt.engine.ui.webadmin.plugin.PluginManager SEVERE: Exception
> >>  caught
> >>  while invoking event handler function [UiInit] for plugin [HelloWorld]:
> >>  Error: java.lang.IndexOutOfBoundsException webadmin:1:13517
> >>  <https://ovirtmgmt.intricatenetworks.com/ovirt-engine/webadmin/?locale=e
> >>  n_US #dashboard-main>
> >>  
> >>  Sun Feb 25 00:03:56 GMT-600 2018
> >>  org.ovirt.engine.ui.webadmin.plugin.PluginManager WARNING: Plugin
> >>  [HelloWorld] removed from service due to failure
> >>  
> >>  However if I remove the line:
> >>   api.addMainTab('FooTab','xtab123','http://foo.com/Œ);
> >>  
> >>  And replace it with something simple like:
> >>  
> >>  alert(ŒTest 123¹);
> >>  
> >>  There are no errors and the alert fires as it should.
> >>  
> >>  
> >>  Any ideas of what I might be missing?
> >>  
> >>  I am running oVirt 4.2.1 on CentOS ­ Hosted Engine setup with 1 host for
> >>  testing.
> >>  
> >>  Thanks
> >>  
> >>  Zip
> > 
> > Well you found a bug, I will be posting a patch soon. To bypass the
> > problem
> > add the following:
> > 
> > api.addMainTab('FooTab','xtab123','http://foo.com/, {priority: N});
> > 
> > Where N is a number between 0 and 5
> > 
> > This will determine where the new menu item will show up in the menu, 0
> > being at the top below the dashboard, and 5 being right above Events.
> > Normally it is supposed to simply add to the end, however due to the bug
> > it won't.> 
> >>>  > From:  Alexander Wels <aw...@redhat.com>
> >>>  > Date:  Monday, February 19, 2018 at 7:54 AM
> >>>  > To:  "users@ovirt.org" <users@ovirt.org>
> >>>  > Cc:  Preston <pl...@inetx.ca>
> >>>  > Subject:  Re: [ovirt-users] oVirt 4.2 WebUI Plugin API Docs?
> >>>  > 
> >>>  > On Friday, February 16, 2018 6:31:10 PM EST Zip wrote:
> >>>>  >>  Are there any updated docs for the WebUI Plugins API?
> >>>  > 
> >>>  > Unfortunately no, I haven't had a chance to create updated
> >>>  > documentation.
> >>>  > However the first two links are mostly still accurate as we haven't
> >>>  > done
> >>>  > any major changes to the 

Re: [ovirt-users] oVirt 4.2 WebUI Plugin API Docs?

2018-02-26 Thread Alexander Wels
On Sunday, February 25, 2018 1:11:08 AM EST Zip wrote:
> Hi Alexander,
> 
> If I try the following:
> 
> 
> 
> 
> 
> var api = parent.pluginApi('HelloWorld');
> api.register({
> UiInit: function () {
> api.addMainTab('FooTab','xtab123','<a  rel="nofollow" href="http://foo.com/">http://foo.com/</a>');
> }
> });
> api.ready();
> 
> 
> 
> 
> 
> I get the error in my browser console:
> 
> Sun Feb 25 00:03:56 GMT-600 2018
> org.ovirt.engine.ui.webadmin.plugin.PluginManager SEVERE: Exception caught
> while invoking event handler function [UiInit] for plugin [HelloWorld]:
> Error: java.lang.IndexOutOfBoundsException webadmin:1:13517
> <https://ovirtmgmt.intricatenetworks.com/ovirt-engine/webadmin/?locale=en_US
> #dashboard-main>
> 
> Sun Feb 25 00:03:56 GMT-600 2018
> org.ovirt.engine.ui.webadmin.plugin.PluginManager WARNING: Plugin
> [HelloWorld] removed from service due to failure
> 
> 
> However if I remove the line:
> 
>  api.addMainTab('FooTab','xtab123','http://foo.com/Œ);
> 
> And replace it with something simple like:
> 
> alert(ŒTest 123¹);
> 
> There are no errors and the alert fires as it should.
> 
> 
> Any ideas of what I might be missing?
> 
> I am running oVirt 4.2.1 on CentOS ­ Hosted Engine setup with 1 host for
> testing.
> 
> Thanks
> 
> Zip
> 

Well you found a bug, I will be posting a patch soon. To bypass the problem 
add the following:

api.addMainTab('FooTab','xtab123','http://foo.com/, {priority: N});

Where N is a number between 0 and 5

This will determine where the new menu item will show up in the menu, 0 being 
at the top below the dashboard, and 5 being right above Events. Normally it is 
supposed to simply add to the end, however due to the bug it won't.

> > From:  Alexander Wels <aw...@redhat.com>
> > Date:  Monday, February 19, 2018 at 7:54 AM
> > To:  "users@ovirt.org" <users@ovirt.org>
> > Cc:  Preston <pl...@inetx.ca>
> > Subject:  Re: [ovirt-users] oVirt 4.2 WebUI Plugin API Docs?
> > 
> > On Friday, February 16, 2018 6:31:10 PM EST Zip wrote:
> >>  Are there any updated docs for the WebUI Plugins API?
> > 
> > Unfortunately no, I haven't had a chance to create updated documentation.
> > However the first two links are mostly still accurate as we haven't done
> > any major changes to the API.
> > 
> > Some things to note that are different from the API documentation in
> > https:// www.ovirt.org/develop/release-management/features/ux/uiplugins/
> > for 4.2:
> > 
> > - alignRight no longer has any effect, as the UI in 4.2 no longer respects
> > it. - none of the systemTreeNode selection code does anything (since
> > there is no more system tree)
> > - As noted in the documentation itself the RestApiSessionAcquired is no
> > longer available as we have a proper SSO mechanism that you can utilize
> > at this point.
> > - Main Tabs are now called Main Views (but the api still calls them main
> > tabs, so use the apis described). And sub tabs are now called detail
> > tabs, but the same thing the API hasn't changed the naming convention so
> > use subTabs. - mainTabActionButton location property no longer has any
> > meaning and is ignored.
> > 
> > That is it I think, we tried to make it so existing plugins would remain
> > working even if some options no longer mean anything.
> > 
> >>  I have found the following which all appear to be old and no longer
> >>  working?
> >>  
> >>  https://www.ovirt.org/documentation/admin-guide/appe-oVirt_User_Interfac
> >>  e_Pl ugins/
> >>  https://www.ovirt.org/develop/release-management/features/ux/uiplugins/
> >>  http://resources.ovirt.org/old-site-files/UI_Plugins_at_oVirt_Workshop_S
> >>  unny vale_2013.pdf
> >>  
> >>  Thanks
> >>  
> >>  Zip


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


Re: [ovirt-users] oVirt 4.2 WebUI Plugin API Docs?

2018-02-19 Thread Alexander Wels
On Friday, February 16, 2018 6:31:10 PM EST Zip wrote:
> Are there any updated docs for the WebUI Plugins API?
> 

Unfortunately no, I haven't had a chance to create updated documentation. 
However the first two links are mostly still accurate as we haven't done any 
major changes to the API.

Some things to note that are different from the API documentation in https://
www.ovirt.org/develop/release-management/features/ux/uiplugins/ for 4.2:

- alignRight no longer has any effect, as the UI in 4.2 no longer respects it.
- none of the systemTreeNode selection code does anything (since there is no 
more system tree)
- As noted in the documentation itself the RestApiSessionAcquired is no longer 
available as we have a proper SSO mechanism that you can utilize at this 
point.
- Main Tabs are now called Main Views (but the api still calls them main tabs, 
so use the apis described). And sub tabs are now called detail tabs, but the 
same thing the API hasn't changed the naming convention so use subTabs.
- mainTabActionButton location property no longer has any meaning and is 
ignored.

That is it I think, we tried to make it so existing plugins would remain 
working even if some options no longer mean anything.

> I have found the following which all appear to be old and no longer working?
> 
> https://www.ovirt.org/documentation/admin-guide/appe-oVirt_User_Interface_Pl
> ugins/
> https://www.ovirt.org/develop/release-management/features/ux/uiplugins/
> http://resources.ovirt.org/old-site-files/UI_Plugins_at_oVirt_Workshop_Sunny
> vale_2013.pdf
> 
> Thanks
> 
> Zip


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


Re: [ovirt-users] Unable to put Host into Maintenance mode

2018-02-15 Thread Alexander Wels
On Thursday, February 15, 2018 1:14:44 PM EST Mark Steele wrote:
> Michal,
> 
> Thank you for the response.
> 
> - there are no qemu processes running
> - the server has been rebooted several times
> - the engine has been rebooted several times
> 
> The issue persists. I'm not sure where to look next.
> 

Have you tried right clicking on the host, and select 'Confirm Host has been 
rebooted' that is basically telling the engine that the host is fenced, and 
you should be able to put it into maintenance mode. It will ask confirmation 
but we know the host has been rebooted and nothing is running.

> 
> ***
> *Mark Steele*
> CIO / VP Technical Operations | TelVue Corporation
> TelVue - We Share Your Vision
> 16000 Horizon Way, Suite 100 | Mt. Laurel, NJ 08054
> 800.885.8886 x128 | mste...@telvue.com | http://www.telvue.com
> twitter: http://twitter.com/telvue | facebook:
> https://www.facebook.com/telvue
> 
> On Thu, Feb 15, 2018 at 12:10 PM, Michal Skrivanek <
> 
> michal.skriva...@redhat.com> wrote:
> > On 15 Feb 2018, at 12:06, Mark Steele  wrote:
> > 
> > I have a host that is currently reporting down with NO VM's on it or
> > associated with it. However when I attempt to put it into maintenance
> > mode,
> > I get the following error:
> > 
> > Host hv-01 cannot change into maintenance mode - not all Vms have been
> > migrated successfully. Consider manual intervention: stopping/migrating
> > Vms:  (User: admin)
> > 
> > I am running
> > oVirt Engine Version: 3.5.0.1-1.el6
> > 
> > 
> > that’s a really old version….
> > 
> > first confirm there is no running vm on that host (log in there, look for
> > qemu processes)
> > if not, it’s likely just engine issue, somewhere it lost track of what’s
> > actually running there - in that case you could try to restart the host,
> > restart engine. that should help
> > 
> > 
> > ***
> > *Mark Steele*
> > CIO / VP Technical Operations | TelVue Corporation
> > TelVue - We Share Your Vision
> > 16000 Horizon Way, Suite 100 | Mt. Laurel, NJ 08054
> >  > J+08054=gmail=g> 800.885.8886 x128 <(800)%20885-8886> |
> > mste...@telvue.com | http:// www.telvue.com
> > twitter: http://twitter.com/telvue | facebook: https://www.
> > facebook.com/telvue
> > ___
> > 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.1.8: Run Once does not allow me to choose a CD Image to attach

2018-01-18 Thread Alexander Wels
On Wednesday, January 17, 2018 4:20:24 PM EST Derek Atkins wrote:
> Hi,
> 
> On Wed, January 17, 2018 11:13 am, Pavel Novotny wrote:
> > On 16.1.2018 21:05, Derek Atkins wrote:
> >> Hi,
> >> 
> >> I upgraded from 4.0.6 to 4.1.8.  I had created a VM in 4.0.6 but had
> >> never started it nor had I ever run it before I upgraded.  I then
> >> upgraded to 4.1.8 (which went very smoothly), but then I tried to use
> >> the Run Once function to boot up and attach an ISO Image.  However when
> >> I select Run Once, then Boot Options, the "Attach CD" option is
> >> unchecked and wont let me select it like I could in 4.0.6.  If I try to
> >> select the checkbox I see the popup flash but the box remains unchecked.
> > 
> > Hi Derek,
> > 
> > this reminds me UX bug https://bugzilla.redhat.com/1516311
> > It has been filed for 4.2, but it affects also 4.1.x.
> > It happens when the browser window width is less than approx. 1200 px,
> > if it is your case.
> 
> Interesting.  Yes, xwininfo reports a geometry of 1105x883 for my browser
> window.
> 
> What an interesting bug.  Why would it assume it's a mobile view?  and
> even if it IS a mobile view, why disable the functionality?
> 
> At least the Edit dialog still works, but it's still annoying.
> 
> I've added myself to that bug.
> 
> Thanks,
> 
> > -Pavel
> 
> -derek
> 

Looked into it, have a patch pending. The good news is, its easy to work 
around by simply making your browser wider until it decides to change the 
layout. For some reason it decided the height of the container of the field 
was double what it was supposed to be and thus the field (in this case a drop 
down) was on top of the check box and eating the click.

> >> Is this a bug/regression in 4.1.8?
> >> 
> >> I did clear my browser cache thinking that might be it, but no, that
> >> didn't help.
> >> 
> >> The only thing I could do was Edit the VM, go to Boot options, select it
> >> there (which I could do) and then choose the ISO.  THEN I could run it
> >> with the CD attached.
> >> 
> >> Thanks,
> >> 
> >> -derek


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


Re: [ovirt-users] 4.1.8: Run Once does not allow me to choose a CD Image to attach

2018-01-18 Thread Alexander Wels
On Wednesday, January 17, 2018 4:20:24 PM EST Derek Atkins wrote:
> Hi,
> 
> On Wed, January 17, 2018 11:13 am, Pavel Novotny wrote:
> > On 16.1.2018 21:05, Derek Atkins wrote:
> >> Hi,
> >> 
> >> I upgraded from 4.0.6 to 4.1.8.  I had created a VM in 4.0.6 but had
> >> never started it nor had I ever run it before I upgraded.  I then
> >> upgraded to 4.1.8 (which went very smoothly), but then I tried to use
> >> the Run Once function to boot up and attach an ISO Image.  However when
> >> I select Run Once, then Boot Options, the "Attach CD" option is
> >> unchecked and wont let me select it like I could in 4.0.6.  If I try to
> >> select the checkbox I see the popup flash but the box remains unchecked.
> > 
> > Hi Derek,
> > 
> > this reminds me UX bug https://bugzilla.redhat.com/1516311
> > It has been filed for 4.2, but it affects also 4.1.x.
> > It happens when the browser window width is less than approx. 1200 px,
> > if it is your case.
> 
> Interesting.  Yes, xwininfo reports a geometry of 1105x883 for my browser
> window.
> 
> What an interesting bug.  Why would it assume it's a mobile view?  and
> even if it IS a mobile view, why disable the functionality?
> 
> At least the Edit dialog still works, but it's still annoying.
> 
> I've added myself to that bug.
> 
> Thanks,
> 
> > -Pavel
> 
> -derek
> 

The layout is adaptive, It has a large/medium/small/xs layout. Depending on 
the size of the screen it will it will take one of those layouts. I am 
guessing that is a medium layout. And looking at the bug it appears to have 
decided that the labels should be above the fields.

I am fairly certain there is no logic to disable some based on the layout. 
What highly likely is happening is that part of another widget that is 
transparent is on top of the checkbox and eating the clicks and thus nothing 
happens.

With the whole UI rework haven't had the chance to look at this dialog in a 
while. It appeared to be working fine and I had bigger fish to fry. I will 
take a look at the bug and see if I can fix it the issue for you.

> >> Is this a bug/regression in 4.1.8?
> >> 
> >> I did clear my browser cache thinking that might be it, but no, that
> >> didn't help.
> >> 
> >> The only thing I could do was Edit the VM, go to Boot options, select it
> >> there (which I could do) and then choose the ISO.  THEN I could run it
> >> with the CD attached.
> >> 
> >> Thanks,
> >> 
> >> -derek


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


Re: [ovirt-users] oVirt management has lost its SSL.

2017-11-03 Thread Alexander Wels
On Friday, November 3, 2017 1:41:00 PM EDT ~Stack~ wrote:
> On 11/03/2017 12:23 PM, Alexander Wels wrote:
> > On Friday, November 3, 2017 1:15:27 PM EDT ~Stack~ wrote:
> >> Greetings,
> >> 
> >> I'm seriously just grasping at straws here. I took a spare hard drive,
> >> tossed it in the management host, and did a fresh install. It did not
> >> like me trying to add it into the existing infrastructure. Tried to dump
> >> the DB from the old to the new, update the passwords, and pretty much
> >> ended up in the same place.
> >> 
> >> I did check the .trustedkeystore and it has the same 1 key as my
> >> original back up. So that isn't the issue.
> >> 
> >> Still poking at it. Would love some thoughts/feedback.
> >> 
> >> Thanks!
> >> ~Stack~
> > 
> > Running engine-setup on the engine machine should re-generate the keys.
> 
> Thanks for the suggestion. I've tried that. Twice. Still the same error.
> 
> "Keystore was tampered with, or password was incorrect."
> 
> From digging around in the logs, it looks like it is trying to access
> /etc/pki/ovirt-engine/.trustedstore but the password found in the ovirt
> configs works just fine. So I know it is not a password issue.
> 
> I've been trying to figure out how that file is created so I can
> possibly generate a new one, but no luck so far.
> 
> Thanks!
> ~Stack~

AFAIC engine-setup will create the files needed. Try running engine-cleanup 
and maybe it will remove everything needed and then running engine-setup 
again?

But if all else fails you should be able to create a fresh engine, and after 
you have added a host, you should be able to import the existing storage 
domain (like you noted the VMs are still there).

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


Re: [ovirt-users] oVirt management has lost its SSL.

2017-11-03 Thread Alexander Wels
On Friday, November 3, 2017 1:15:27 PM EDT ~Stack~ wrote:
> Greetings,
> 
> I'm seriously just grasping at straws here. I took a spare hard drive,
> tossed it in the management host, and did a fresh install. It did not
> like me trying to add it into the existing infrastructure. Tried to dump
> the DB from the old to the new, update the passwords, and pretty much
> ended up in the same place.
> 
> I did check the .trustedkeystore and it has the same 1 key as my
> original back up. So that isn't the issue.
> 
> Still poking at it. Would love some thoughts/feedback.
> 
> Thanks!
> ~Stack~
> 

Running engine-setup on the engine machine should re-generate the keys.

> On 11/03/2017 09:30 AM, ~Stack~ wrote:
> > Greetings,
> > 
> > Please, I would greatly appreciate some help/feedback. I'm not sure what
> > else to do.
> > 
> > I reverted the .trustedstore to the only backup I have, and there is one
> > key in it. That too gets flagged by oVirt as having been tampered with
> > (I'm guessing oVirt added something that isn't there any more). The
> > password is correct as I can verify it from the oVirt config file on the
> > command line.
> > 
> > I'm out of ideas on fixing this. What happens to my oVirt hypervisors
> > and VM's if I rebuild the management engine host from scratch?
> > 
> > Thanks!
> > ~Stack~
> > 
> > On 11/02/2017 04:18 PM, ~Stack~ wrote:
> >> Greetings,
> >> 
> >> OS: Scientific Linux 7.4
> >> oVirt: 4.1
> >> Everything fully updated.
> >> 
> >> Everything was working great. I received my new network card today to
> >> upgrade my ovirt management node (physical node; not self-hosted), took
> >> the machine down, swapped the card, and brought it up to many many
> >> errors.
> >> 
> >> Here's the basic break-down of my discoveries.
> >> 
> >> 1) My /etc/pki/ovirt-engine/.trustedstore was corrupt. I had lots of
> >> messages in my engine.log about it being corrupt. Restored from backup,
> >> and oVirt engine was really peeved for not having my domain cert in it
> >> (tons of messages in the engine.log file)...figured out how to add my
> >> domain cert and it seemed OK. Which led me to...
> >> 
> >> 2) My /etc/pki/ovirt-engine/keys/engine.p12 and
> >> /etc/pki/ovirt-engine/keys/apache.p12 are _gone_. Don't have them in my
> >> backups either. This results in a massive java dump when I try to start
> >> the engine service.
> >> 
> >> 3) I noticed that I had
> >> /etc/pki/ovirt-engine/keys/engine.p12.201711021302 which is a time stamp
> >> corresponding to when I shut the node down. Then I noticed, that I was
> >> missing dang near EVERY file in /etc/pki/ovirt-engine but I had an
> >> equivalent file with the ".201711021302" extension. So a touch of bash
> >> and I copied all of my "*.201711021302" files with the proper
> >> user/group/permissions into their base name. Hooray! No more errors in
> >> the log files and all services start!!
> >> 
> >> 4) I open my web browser and head to my management host...and I get this
> >> error:
> >> Keystore was tampered with, or password was incorrect
> >> 
> >> Well...yeah. I had to fix it in step one. :-/
> >> 
> >> I'm not getting anything useful out of my Internet searching. I don't
> >> know what went wrong or why, but my SSL is just borked.
> >> 
> >> Any suggestions? Thoughts? Ideas?
> >> 
> >> Is there a way to just blow away and start over with the SSL _without_
> >> destroying the VM's (which fortunately they all seem to still be
> >> functional!)?
> >> 
> >> Any help would be greatly appreciated.
> >> Thanks!
> >> ~Stack~


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


Re: [ovirt-users] [ANN] oVirt 4.2.0 First Beta Release is now available for testing

2017-10-31 Thread Alexander Wels
On Tuesday, October 31, 2017 11:07:22 AM EDT Nathanaël Blanchet wrote:
> Le 31/10/2017 à 15:44, Alexander Wels a écrit :
> > On Tuesday, October 31, 2017 10:14:14 AM EDT FERNANDO FREDIANI wrote:
> >> Great. Much better Admin Portal than the usual one. Congratulations.
> >> Hope it  keeps getting improvements as itś very much welcome and needed.
> >> 
> >> Fernando
> > 
> > We are always working on improvements. Also check out the new user portal
> > if
> Will the right click dialog be available in the final release? Because,
> currently in 4.2 we need to go at the up right corner to interact with
> object (migrate, maintenance...)
> 

Short answer: No, we removed it on purpose.

Long answer: No, here are the reasons why:
- We are attempting to get the UI more mobile friendly, and while its not 100% 
there yet, it is actually quite useable on a mobile device now. Mobile devices 
don't have a right click, so hiding functionality in there would make no 
sense.
- You can now right click and get the browsers menu instead of ours and you 
can do things like copy from the menu.
- We replicated all the functionality from the menu in the buttons/kebab menu 
available on the right. Our goal was to have all the commonly used actions as 
a button, and less often used actions in the kebab to declutter the interface. 
We traded an extra click for some mouse travel
- Lots of people didn't realize there even was a right click menu because its 
a web interface, and they couldn't find some functionality that was only 
available in the right click menu.

Now that being said, we are still debating if it was a good move or not. For 
now we want to see how it plays out, if a lot of people want it back, it is 
certainly possible we will put it back.

> > that is something you are interested in. Its also much faster and better
> > than before.
> > 
> >> On 31/10/2017 10:13, Sandro Bonazzola wrote:
> >>> The oVirt Project is pleased to announce the availability of the First
> >>> Beta Release of oVirt 4.2.0, as of October 31st, 2017
> >>> 
> >>> 
> >>> This is pre-release software. This pre-release should not to be used
> >>> in production.
> >>> 
> >>> Please take a look at our community page[1] to learn how to ask
> >>> questions and interact with developers and users.All issues or bugs
> >>> should be reported via oVirt Bugzilla[2].
> >>> 
> >>> This update is the first beta release of the 4.2.0 version. This
> >>> release brings more than 230 enhancements and more than one thousand
> >>> bug fixes, including more than 380 high or urgent severity fixes, on
> >>> top of oVirt 4.1 series.
> >>> 
> >>> 
> >>> What's new in oVirt 4.2.0?
> >>> 
> >>>   *
> >>>   
> >>>  The Administration Portalhas been completely redesigned using
> >>>  Patternfly, a widely adopted standard in web application design.
> >>>  It now features a cleaner, more intuitive design, for an improved
> >>>  user experience.
> >>>   
> >>>   *
> >>>   
> >>>  There is an all-new VM Portalfor non-admin users.
> >>>   
> >>>   *
> >>>   
> >>>  A new High Performance virtual machinetype has been added to the
> >>>  New VM dialog box in the Administration Portal.
> >>>   
> >>>   *
> >>>   
> >>>  Open Virtual Network (OVN)adds support for Open vSwitch software
> >>>  defined networking (SDN).
> >>>   
> >>>   *
> >>>   
> >>>  oVirt now supports Nvidia vGPU.
> >>>   
> >>>   *
> >>>   
> >>>  The ovirt-ansible-rolespackage helps users with common
> >>>  administration tasks.
> >>>   
> >>>   *
> >>>   
> >>>  Virt-v2vnow supports Debian/Ubuntu based VMs.
> >>> 
> >>> For more information about these and other features, check out the
> >>> oVirt 4.2.0 blog post
> >>> <https://ovirt.org/blog/2017/09/introducing-ovirt-4.2.0/>.
> >>> 
> >>> 
> >>> This release is available now on x86_64 architecture for:
> >>> 
> >>> * Red Hat Enterprise Linux 7.4 or later
> >>> 
> >>> * CentOS Linux (or similar) 7.4 or later
> >>> 
> >>> 
> >>> This release supports Hypervisor Hosts on x86_64 and ppc64le
> >>> architectures for:
> &g

Re: [ovirt-users] [ANN] oVirt 4.2.0 First Beta Release is now available for testing

2017-10-31 Thread Alexander Wels
On Tuesday, October 31, 2017 10:14:14 AM EDT FERNANDO FREDIANI wrote:
> Great. Much better Admin Portal than the usual one. Congratulations.
> Hope it  keeps getting improvements as itś very much welcome and needed.
> 
> Fernando
> 

We are always working on improvements. Also check out the new user portal if 
that is something you are interested in. Its also much faster and better than 
before. 

> On 31/10/2017 10:13, Sandro Bonazzola wrote:
> > The oVirt Project is pleased to announce the availability of the First
> > Beta Release of oVirt 4.2.0, as of October 31st, 2017
> > 
> > 
> > This is pre-release software. This pre-release should not to be used
> > in production.
> > 
> > Please take a look at our community page[1] to learn how to ask
> > questions and interact with developers and users.All issues or bugs
> > should be reported via oVirt Bugzilla[2].
> > 
> > This update is the first beta release of the 4.2.0 version. This
> > release brings more than 230 enhancements and more than one thousand
> > bug fixes, including more than 380 high or urgent severity fixes, on
> > top of oVirt 4.1 series.
> > 
> > 
> > What's new in oVirt 4.2.0?
> > 
> >  *
> >  
> > The Administration Portalhas been completely redesigned using
> > Patternfly, a widely adopted standard in web application design.
> > It now features a cleaner, more intuitive design, for an improved
> > user experience.
> >  
> >  *
> >  
> > There is an all-new VM Portalfor non-admin users.
> >  
> >  *
> >  
> > A new High Performance virtual machinetype has been added to the
> > New VM dialog box in the Administration Portal.
> >  
> >  *
> >  
> > Open Virtual Network (OVN)adds support for Open vSwitch software
> > defined networking (SDN).
> >  
> >  *
> >  
> > oVirt now supports Nvidia vGPU.
> >  
> >  *
> >  
> > The ovirt-ansible-rolespackage helps users with common
> > administration tasks.
> >  
> >  *
> >  
> > Virt-v2vnow supports Debian/Ubuntu based VMs.
> > 
> > For more information about these and other features, check out the
> > oVirt 4.2.0 blog post
> > .
> > 
> > 
> > This release is available now on x86_64 architecture for:
> > 
> > * Red Hat Enterprise Linux 7.4 or later
> > 
> > * CentOS Linux (or similar) 7.4 or later
> > 
> > 
> > This release supports Hypervisor Hosts on x86_64 and ppc64le
> > architectures for:
> > 
> > * Red Hat Enterprise Linux 7.4 or later
> > 
> > * CentOS Linux (or similar) 7.4 or later
> > 
> > * oVirt Node 4.2 (available for x86_64 only)
> > 
> > 
> > See the release notes draft [3] for installation / upgrade
> > instructions and a list of new features and bugs fixed.
> > 
> > 
> > Notes:
> > 
> > - oVirt Appliance is already available.
> > 
> > - An async release of oVirt Node will follow soon.
> > 
> > 
> > Additional Resources:
> > 
> > * Read more about the oVirt 4.2.0 release highlights:
> > http://www.ovirt.org/release/4.2.0/ 
> > 
> > * Get more oVirt project updates on Twitter: https://twitter.com/ovirt
> > 
> > * Check out the latest project news on the oVirt blog:
> > http://www.ovirt.org/blog/
> > 
> > 
> > [1] https://www.ovirt.org/community/ 
> > 
> > [2] https://bugzilla.redhat.com/enter_bug.cgi?classification=oVirt
> > 
> > 
> > [3] http://www.ovirt.org/release/4.2.0/
> > 
> > 
> > [4] http://resources.ovirt.org/pub/ovirt-4.2-pre/iso/
> > 
> > 
> > 
> > SANDRO BONAZZOLA
> > 
> > ASSOCIATE MANAGER, SOFTWARE ENGINEERING, EMEA ENG VIRTUALIZATION R
> > 
> > Red Hat EMEA 
> > 
> > 
> > TRIED. TESTED. TRUSTED. 
> > 
> > 
> > 
> > 
> > ___
> > Users mailing list
> > Users@ovirt.org
> > http://lists.ovirt.org/mailman/listinfo/users


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


Re: [ovirt-users] Cannot clone a snapshot

2017-10-30 Thread Alexander Wels
On Monday, October 30, 2017 1:58:36 PM EDT Wesley Stewart wrote:
> Whenever I try to clone a snapshot, I get a UI popup that says:
> 
> 
> 2
> Uncaught exception occurred. Please try reloading the page. Details:
> (TypeError) __gwt$exception: : Cannot read property 'R' of null
> Please have your administrator check the UI logs
> 
> Where do these UI logs live?
> 
> Build:
> Self Hosted oVirt 4.1.6

They should be in /var/log/ovirt-engine/UI.log

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


Re: [ovirt-users] ovirt 4.2 : impossible to set iSCSI multipathing feature

2017-10-27 Thread Alexander Wels
On Friday, October 27, 2017 1:18:45 PM EDT Nathanaël Blanchet wrote:
> Hi,
> 
> When tryning to set iSCSI multipathing, I get a blank array like below:
> 
> none of my networks are required.

You are running into https://bugzilla.redhat.com/show_bug.cgi?id=1503799 I 
think, its on my todo list.

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


Re: [ovirt-users] can't use a iscsi target as a 4.2 storage domain

2017-10-25 Thread Alexander Wels
On Wednesday, October 25, 2017 4:02:45 AM EDT Nathanaël Blanchet wrote:
> Le 25/10/2017 à 06:16, Idan Shaby a écrit :
> > I am glad that it works for you now!
> > If you got anymore question, please don't hesitate to ask.
> 
> So... here is an new bug : I imported an existing iso domain, and no
> images display under the subtab...
> 

So you successfully (well at least the UI told you it was successful) imported 
the ISO domain. And now the grid is empty? Is it empty in that you see nothing 
but the header, or is it empty with a note saying no items found?

> > Regards,
> > Idan
> > 
> > On Tue, Oct 24, 2017 at 8:40 PM, Nathanaël Blanchet  > 
> > > wrote:
> > I'm replying to myself: there was a 4.2 update of the engine, and
> > now it's okay... still in development, but seems to be quite good
> > after familiazering with the new UI!
> > 
> > Le 24/10/2017 à 15:13, Nathanaël Blanchet a écrit :
> > Hi,
> > 
> > I give a try to 4.2 alpha andit  seems to be a regression with
> > registering a iscsi target as a storage domain.
> > I'm able to login to the target, but when selecting the lun,
> > clicking on OK does nothing else.
> > 
> > I tried with the same lun on 4.1 and it is ok.
> > 
> > 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


Re: [ovirt-users] resizing and reordering column in webui

2017-09-27 Thread Alexander Wels
On Wednesday, September 27, 2017 11:02:06 AM EDT Nathanaël Blanchet wrote:
> Webui currently usefully allows us to reorder columns by right clicking.
> 
> Is there a way to keep the wanted configuration for next sessions?

Unfortunately no, which is a bug, it should also store any column size changes 
but for some reason it doesn't remember those either. I think there is a bug 
open on those but not sure.

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


Re: [ovirt-users] V4.1 questions

2017-09-14 Thread Alexander Wels
On Thursday, September 14, 2017 8:56:05 AM EDT Colin Coe wrote:
> Hi Ryan and thanks for the quick reply.
> 
> This is an entirely new system, no VM, no nothing.  This was built for
> testing v4.1.  I'll log a case with GSS on this if it  is not normal.
> 
> Bit confiused, so what do I need to do for the Installation -> Check for
> Upgrades to work in RHV-M?  I'm using an old RHEV-H 7.1 image for the
> hypervisors so there should definitely be an upgrade available.
> 
> Also, any thoughts on the webUI timeout?
> 

Default logout timeout is 30 minutes. You can configure this using engine-
config

For instance:

engine-config -g UserSessionTimeoutInterval will return 30

you can change it using engine-config as well for instance

engine-config -s UserSessionTimeoutInterval=60 will set it to 1 hour.

If logging is taking a long time and the UI is not very responsive you 
probably have one or more of the following:

The engine is running in a VM and there is not enough entropy (logging in 
takes a long time).
The DNS/rDNS is not configured properly and the engine cannot resolve itself 
(Sluggish UI, things take 30-60 seconds to happen in UI)

> Thanks again
> 
> CC
> 
> On Thu, Sep 14, 2017 at 8:45 PM, Ryan Barry  wrote:
> > On Thu, Sep 14, 2017 at 8:36 AM, Colin Coe  wrote:
> >> Hi all
> >> 
> >> We're in the process of upgrading from RHEV 3.5 to 4.1.5 and I have a
> >> couple of questions.
> >> 
> >> RHV 4.1.5 takes between 10-15 minutes to become usable after a service
> >> restart, is this expected or is something wrong with our environment?
> > 
> > 10-15 minutes seems long, but it depends on the database. How much
> > historical data is present?
> > 
> >> The webUI seems to timeout and go back to the logon page after a very
> >> short time.  Can this behavior be changed?
> >> 
> >> Lastly, the RH318 course book states that to upgrade a RHEV-H node via
> >> RHEV-M, you need to install the "rhev-hypervisor7" package on the RHEV-M
> >> node.  Is this still correct?
> > 
> > Node/RHVH for 4.x now upgrades straight from yum, so nothing is needed on
> > the engine :)
> > 
> >> Thanks
> >> 
> >> CC
> >> 
> >> ___
> >> Users mailing list
> >> Users@ovirt.org
> >> http://lists.ovirt.org/mailman/listinfo/users
> > 
> > --
> > 
> > RYAN BARRY
> > 
> > SENIOR SOFTWARE ENGINEER - TEAM LEAD - RHEV HYPERVISOR
> > 
> > Red Hat NA 
> > 
> > rba...@redhat.comM: +1-651-815-9306 IM: rbarry
> > 


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


Re: [ovirt-users] Ovirt-engine - 404 not Found

2017-09-05 Thread Alexander Wels
On Tuesday, September 5, 2017 7:51:15 AM EDT Thomas Fecke wrote:
> Hey Guys,
> 
> i worked with an ovirt envirnoment the last Weeks. Everythink worked fine
> until i reboot the Manager.
> 
> When i access the GUI i recive - 404-not Found
> 
> When i restart the engine it seems to stop at
> 
> 2017-09-05 13:43:33,491+02 INFO  [org.ovirt.engine.core.bll.ServiceLoader]
> (ServerService Thread Pool -- 58) [] Start
> org.ovirt.engine.core.bll.EngineBackupAwarenessManager@6c8b0514
> 
> attached u can find the logs
> 
> Thanks a lot - The Cluster is very important. i got a backup but need to
> know why it stopped

If the engine VM is up, but the GUI is down, I think that either Apache or 
Jboss is down. Apache is unlikely, so I would guess Jboss. To figure out why 
Jboss is down look in /var/log/ovirt-engine/ at boot.log, and server.log, also 
check out engine.log but the first two should tell you why Jboss is down.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Data domain on engine host

2017-08-18 Thread Alexander Wels
On Friday, August 18, 2017 1:20:23 PM EDT Mitchell Smith wrote:
> Hi List,
> 
> I am in the process of deploying ovirt in a lab environment before
> implementing it in production.
> 
> My lab consists of three compute hosts and one engine host.
> 
> I am using the 4.2 nightly builds in this lab environment, mainly because I
> want to test the OVN functionality.
> 
> I wanted to add a NFS data domain on the engine host to store VM templates
> and ISO images, however when I go in to Storage -> Domains -> New and try
> and add a NFS domain, it only gives me the three compute hosts to create
> storage on, I’m guessing because the engine host doesn’t have VDSM
> installed.
> 
> Is there a way to do this, so I can make use of the considerable free space
> on the engine host, or do I have to add it as a compute host running VDSM,
> and if so how can I flag this host so no VMs get deployed on it, I only
> want to use the storage capacity.
> 
> Any feedback or suggestions would be very much appreciated.
> 
> Thanks in advance.
> 
> Mitch
> 

I think you are misunderstanding the architecture of oVirt a little bit so I 
will try to explain, and then I will address your particular issue. Basically 
the following happens:

1. The engine talks to the hosts (which are running VDSM). The engine itself 
doesn't actually know about or care about the storage at all, it just talks to 
the hosts. If storage operations need to happen it tells a special host, the 
SPM to do them. Only one host at a time is SPM.
2. The hosts talk to the storage through whatever mechanism is provided by the 
storage (FC, iSCSI, NFS, Gluster, etc). Management of the storage happens 
through the SPM host (this is to prevent simultanious operations that could 
corrupt the storage). This also means that under normal circumstances the 
available disk space on the hosts is not used (unless you are running some 
kind of hyper converged setup, which is a whole other story). Of course a lot 
of this is a little more nuanced than what I am saying, but in general the 
storage is considered separate from the hosts.

When you add a host to the engine you are simply saying this machine is 
available to RUN VMs and it should be able to communicate with the storage 
domains. Which leads to your question about why are you not seeing the storage 
available on the engine machine. In the NFS dialog you have to specify a HOST 
to use to connect to your storage (Not sure why, since I figured the SPM would 
be a good default, but you should ask the storage guys). Anyway I guess the 
host you pick will be the one that does the checks and mounts the NFS share 
and creates the storage domain on the NFS.

Now in your case you should create the NFS share on the engine machine, make 
sure it is visible to all your hosts, and pick one host from the list to 
connect to that share and configure the domain on it (You will have to specify 
the mount/etc). So at that point the machine with the engine, will be the 
engine machine AND the storage.

Now this is not a really good idea for production as when that machine goes 
down, you will have lost both your engine and your storage at the same time. 
Causing your VMs to pause, and you lost your ability to manage the environment 
because the engine is down.

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

2017-07-25 Thread Alexander Wels
On Tuesday, July 25, 2017 3:39:12 PM EDT FERNANDO FREDIANI wrote:
> Josep, these Hosts was CentOS Minimal Install or were oVirt-Node-NG
> images ? If they were CentOS Minimal install you must install vsdm
> before adding the host to oVirt Engine.
> 
> Fernando
> 

If it was a minimal centos then he has to turn on the ovirt repo for whatever 
version of ovirt he 
is running by calling

yum localinstall http://resources.ovirt.org/pub/yum-repo/ovirt-releaseXX.rpm[1]

Where XX is the version of his ovirt, for instance 41

> On 25/07/2017 14:13, Jose Vicente Rosello Vila wrote:
> > Hello users,
> > 
> > I installed ovirt engine 4.1.3.5-1.el7.centos and I tried to install 2
> > hosts, but the result was “ install failed”.
> > 
> > Both nodes have been installes from CD image.
> > 
> > What can I do?
> > 
> > Thanks,
> > 
> > Descripción: Descripción: logo_upv_val.jpg
> > 
> > 
> > 
> > Josep Vicent Roselló Vila
> > 
> > Àrea de Sistemes d’Informació i Comunicacions
> > 
> > *Universitat Politècnica de València *
> > 
> > 
> > 
> > Camí de Vera, s/n
> > 
> > 46022 VALÈNCIA
> > 
> > _Edifici 4
> >  > AD=CPD>L___
> > 
> > 
> > 
> > Tel. +34 963 879 075 (ext.78746)
> > 
> > rose...@asic.upv.es 
> > 
> > 
> > 
> > Antes de imprimir este mensaje, piense si es necesario.
> > ¡El cuidado del medioambiente es cosa de todos!
> > 
> > 
> > 
> > ___
> > Users mailing list
> > Users@ovirt.org
> > http://lists.ovirt.org/mailman/listinfo/users




[1] http://plain.resources.ovirt.org/pub/yum-repo/ovirt-release36.rpm%3E
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Installation oVirt node and engine on the same machine

2017-07-14 Thread Alexander Wels
On Friday, July 14, 2017 3:28:15 AM EDT wc hung wrote:
> Hi all,
> 
> Could we install oVirt node and engine on the same machine? If we can do
> that, is there any guide to show the step?

Why not go with hosted engine at that point. hosted engine is basically a VM 
running the engine in the system. There should be lots of guides available on 
how to get it up and running.

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


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

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

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

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


Re: [ovirt-users] Host install common error

2017-06-08 Thread Alexander Wels
On Thursday, June 8, 2017 12:33:15 PM EDT Christopher Hunt wrote:
> In my experience, the oVirt repository is NOT added by oVirt-Engine
> itself.  I always add the repo after installing the base OS
> 
> -Chris
> 

Yeah when I setup a host for testing I always do:

1. Get minimal install of centos 7.
2. yum install http://resources.ovirt.org/pub/yum-repo/ovirt-releaseXX.rpm 
where XX is the version I am working with.
3. Make sure sshd is up and running and my engine can connect.
4. Install the host through the UI.

Haven't had that sequence fail in years.

> On Thu, Jun 8, 2017 at 9:06 AM, Dafna Ron  wrote:
> > On 06/08/2017 04:52 PM, FERNANDO FREDIANI wrote:
> > 
> > Hello folks.
> > 
> > One of the most (if not the more) annoying problems of oVirt is the known
> > message "... installation failed. Command returned failure code 1 during
> > SSH session ..." which happens quiet often in several situations.
> > 
> > Scrubbing installation logs it seems that most stuff goes well, but then
> > it stops in a message saying: "ERROR otopi.context
> > context._executeMethod:151 Failed to execute stage 'Setup validation':
> > Cannot locate vdsm package, possible cause is incorrect channels" -
> > followed by another message: "DEBUG otopi.context
> > context.dumpEnvironment:770 ENV BASE/exceptionInfo=list:'[( > 'exceptions.RuntimeError'>, RuntimeError('Cannot locate vdsm package,
> > possible cause is incorrect channels',),  > 0x3131ef0>)]'"
> > 
> > I am not sure why would it complain about the repositories as this is a
> > Minimal CentOS 7 Install and the oVirt repository is added by oVirt-Engine
> > itself so I assumed it added the most appropriate to its own version.
> > I even tried to copy over the same repositories used on the Hosts that are
> > installed and working fine but that message shows up again on the Install
> > retries.
> > 
> > I am not sure what you mean by Minimal Centos 7 install. do you mean it's
> > hosted engine install?
> > can you please check if you can see the package by running yum search
> > vdsm?
> > Also, looking at the complete log would be good
> > 
> > Does anyone have any other hints where to look ?
> > 
> > For reference my engine version running is: 4.1.1.6-1.el7.centos.
> > 
> > Fernando
> > 
> > 
> > ___
> > Users mailing
> > listUsers@ovirt.orghttp://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] [EXTERNAL] Re: oVirt: Host Removal Question

2017-06-07 Thread Alexander Wels
On Wednesday, June 7, 2017 10:50:56 AM EDT Anthony. Fillmore wrote:
> Hey Alexander,
> 
> The query pieces you gave me allowed me to successfully set the host in
> maintenance mode.   When I go to remove the host, I get the following
> error:  'Cannot remove host.  Related operation is currently in progress.' 
>  The host is not part of a datacenter, but is part of a cluster.  Any other
> thoughts as to how to get this host removed?
> 
> Thanks,
> Tony
> 

If there is a task still running (well the database thinks a task is running 
as obviously the host is gone), you maybe be able to use the taskcleaner.sh 
utility to clear out the running task.

taskcleaner.sh -h will give you all the options.

it should be in /share/ovirt-engine/setup/dbutils/taskcleaner.sh

> -Original Message-
> From: Alexander Wels [mailto:aw...@redhat.com]
> Sent: Tuesday, June 6, 2017 10:36 AM
> To: Anthony.Fillmore <anthony.fillm...@target.com>
> Cc: users@ovirt.org; Brandon.Markgraf <brandon.markg...@target.com>
> Subject: Re: [EXTERNAL] Re: [ovirt-users] oVirt: Host Removal Question
> 
> On Tuesday, June 6, 2017 11:18:35 AM EDT Anthony. Fillmore wrote:
> > Hey Alexander,
> > 
> > I did those exact steps roughly two days ago...the host is still stuck
> > in preparing for maintenance mode.  Confirming the host has been
> > rebooted seems to have no effect.
> > 
> > Any other ideas?  Some way to hit the Ovirt Database and manipulate
> > the value for what state the host is in?  Remove the host entirely
> > from the back-end database?
> 
> That should have worked, but if all else fails you can always set the host
> in maintaince in the database doing this in the engine database:
> 
> update vds_dynamic set status=2 where vds_id = 
> 
> you can figure out the id of the host by doing this
> 
> select vds_id from vds_static where vds_name=''
> 
> If you are feeling brave you can combine the two into a single statement,
> but I would be sure you have the right host before you do that.
> 
> Then once you have updated the status, you can refresh the webadmin and the
> host should be in maintenaince mode and you should be able to remove it
> normally. I would not attempt more manual manipulation of the database than
> setting the status to 2 (which is maintenaince).
> > -Original Message-
> > From: Alexander Wels [mailto:aw...@redhat.com]
> > Sent: Tuesday, June 6, 2017 9:29 AM
> > To: users@ovirt.org
> > Cc: Brandon.Markgraf <brandon.markg...@target.com>; Anthony.Fillmore
> > <anthony.fillm...@target.com> Subject: [EXTERNAL] Re: [ovirt-users] oVirt:
> > Host Removal Question
> > 
> > On Monday, June 5, 2017 4:10:54 PM EDT Brandon. Markgraf wrote:
> > > Hello oVirt Users,
> > > We have a cluster that has been decommissioned and we are trying to
> > > remove the hosts from the oVirt Engine but one host is stuck in
> > > "Preparing for Maintenance".  It's preventing me from removing that
> > > host and the associated cluster.
> > > 
> > > The physical server has been shut down and is no longer accessible.
> > > What's the best way to take this server in oVirt Engine out of this
> > > status so we can remove the host and the cluster from oVirt Engine?
> > > 
> > > Thanks so much in advance and please let me know if there are any
> > > questions.
> > > 
> > > Brandon Markgraf | *Target |
> > 
> > IIRC when I had that issue (I removed the host physically before
> > removing it from oVirt) I had to do the following:
> > 
> > - Right click in the grid on the host, and select confirm host has
> > been rebooted (this is basically you telling oVirt the host has been
> > fenced). - After a while the host should end up as down (or unknown
> > state). - You should be able to select maintaince at that point, this
> > might take a while (timeouts etc). - This should put the host in
> > maintaince and you should be able to remove it then.


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


Re: [ovirt-users] [EXTERNAL] Re: oVirt: Host Removal Question

2017-06-06 Thread Alexander Wels
On Tuesday, June 6, 2017 11:18:35 AM EDT Anthony. Fillmore wrote:
> Hey Alexander,
> 
> I did those exact steps roughly two days ago...the host is still stuck in
> preparing for maintenance mode.  Confirming the host has been rebooted
> seems to have no effect.
> 
> Any other ideas?  Some way to hit the Ovirt Database and manipulate the
> value for what state the host is in?  Remove the host entirely from the
> back-end database?
> 

That should have worked, but if all else fails you can always set the host in 
maintaince in the database doing this in the engine database:

update vds_dynamic set status=2 where vds_id = 

you can figure out the id of the host by doing this

select vds_id from vds_static where vds_name=''

If you are feeling brave you can combine the two into a single statement, but 
I would be sure you have the right host before you do that.

Then once you have updated the status, you can refresh the webadmin and the 
host should be in maintenaince mode and you should be able to remove it 
normally. I would not attempt more manual manipulation of the database than 
setting the status to 2 (which is maintenaince).

> -----Original Message-
> From: Alexander Wels [mailto:aw...@redhat.com]
> Sent: Tuesday, June 6, 2017 9:29 AM
> To: users@ovirt.org
> Cc: Brandon.Markgraf <brandon.markg...@target.com>; Anthony.Fillmore
> <anthony.fillm...@target.com> Subject: [EXTERNAL] Re: [ovirt-users] oVirt:
> Host Removal Question
> On Monday, June 5, 2017 4:10:54 PM EDT Brandon. Markgraf wrote:
> > Hello oVirt Users,
> > We have a cluster that has been decommissioned and we are trying to
> > remove the hosts from the oVirt Engine but one host is stuck in
> > "Preparing for Maintenance".  It's preventing me from removing that
> > host and the associated cluster.
> > 
> > The physical server has been shut down and is no longer accessible.
> > What's the best way to take this server in oVirt Engine out of this
> > status so we can remove the host and the cluster from oVirt Engine?
> > 
> > Thanks so much in advance and please let me know if there are any
> > questions.
> > 
> > Brandon Markgraf | *Target |
> 
> IIRC when I had that issue (I removed the host physically before removing it
> from oVirt) I had to do the following:
> 
> - Right click in the grid on the host, and select confirm host has been
> rebooted (this is basically you telling oVirt the host has been fenced). -
> After a while the host should end up as down (or unknown state). - You
> should be able to select maintaince at that point, this might take a while
> (timeouts etc). - This should put the host in maintaince and you should be
> able to remove it then.


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


Re: [ovirt-users] oVirt: Host Removal Question

2017-06-06 Thread Alexander Wels
On Monday, June 5, 2017 4:10:54 PM EDT Brandon. Markgraf wrote:
> Hello oVirt Users,
> We have a cluster that has been decommissioned and we are trying to remove
> the hosts from the oVirt Engine but one host is stuck in "Preparing for
> Maintenance".  It's preventing me from removing that host and the
> associated cluster.
> 
> The physical server has been shut down and is no longer accessible.  What's
> the best way to take this server in oVirt Engine out of this status so we
> can remove the host and the cluster from oVirt Engine?
> 
> Thanks so much in advance and please let me know if there are any questions.
> 
> Brandon Markgraf | *Target |

IIRC when I had that issue (I removed the host physically before removing it 
from oVirt) I had to do the following:

- Right click in the grid on the host, and select confirm host has been 
rebooted (this is basically you telling oVirt the host has been fenced).
- After a while the host should end up as down (or unknown state).
- You should be able to select maintaince at that point, this might take a 
while (timeouts etc).
- This should put the host in maintaince and you should be able to remove it 
then.

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


Re: [ovirt-users] Force-Shutdown a VM?

2017-05-04 Thread Alexander Wels
On Thursday, May 4, 2017 11:47:48 AM EDT Derek Atkins wrote:
> Okay, I'll bite.  Which button is that?
> 
> I'm in the Virtual Machines tab on the admin portal; I select the hung VM
> from my list and I see the following items at the top of the page:
> "New VM", "Import", "Edit", "Remove", "Clone VM", "Run Once", "",
> "", "", "", "", "Migrate", "Cancel
> Migration", "Cancel Conversion", and then the right arrow to "Make
> Template", "Export", "Create Snapshot", "Change CD", "Assign Tags", and
> "Guide Me".
> 
> Please, kind sir, which one is the "power off" instead of "shutdown"?
> 
> -derek
> 

He was not making a joke, there should be a 'power off' button between the 
shutdown and reboot button. If it is not there, that is a problem. Is it also 
not there when you right click on the grid in the menu that pops up?

> On Thu, May 4, 2017 11:38 am, Dan Yasny wrote:
> > Have you tried "power off" instead of "shutdown"?
> > 
> > On May 4, 2017 11:36 AM, "Derek Atkins"  wrote:
> >> Hi,
> >> 
> >> I'm running ovirt-4.0.6 on EL7.3.
> >> 
> >> I've got a stuck VM (Windows 10) that I'm trying to restart.
> >> Unfortunately it's "up" enough that ovirt is trying to perform a
> >> soft-shutdown, but it's not up enough to complete the task.  If I login
> >> to the ovirt admin portal as the admin, select shutdown, I see the
> >> following engine log messages before I get an event "Shutdown of VM
> >>  failed.":
> >> 
> >> 2017-05-04 11:23:27,774 INFO  [org.ovirt.engine.core.dal.
> >> dbbroker.auditloghandling.AuditLogDirector]
> >> (org.ovirt.thread.pool-6-thread-14)
> >> [3f629ae6] Correlation ID: 3f629ae6, Job ID:
> >> 1f5275cd-d2fe-44d5-a1cf-d1920e3f3378,
> >> Call Stack: null, Custom Event ID: -1, Message: VM shutdown initiated by
> >> admin@internal-authz on VM win10-64 (Host: ovirt-0).
> >> 2017-05-04 11:28:38,237 INFO
> >> [org.ovirt.engine.core.vdsbroker.monitoring.VmAnalyzer]
> >> (DefaultQuartzScheduler10) [4cf2f258] VM
> >> 'c9830039-9bf9-4c6a-8eae-da9c24aad899'(win10-64)
> >> moved from 'PoweringDown' --> 'Up'
> >> 2017-05-04 11:28:38,287 WARN  [org.ovirt.engine.core.dal.
> >> dbbroker.auditloghandling.AuditLogDirector] (DefaultQuartzScheduler10)
> >> [4cf2f258] Correlation ID: null, Call Stack: null, Custom Event ID: -1,
> >> Message: Shutdown of VM win10-64 failed.
> >> 
> >> So, how can I get out of this situation?  How can I force-powerdown this
> >> VM so I can reboot it?
> >> 
> >> 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


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


Re: [ovirt-users] Ovirt 4, the missing python sdk

2017-04-28 Thread Alexander Wels
On Friday, April 28, 2017 11:41:03 AM EDT Ben De Luca wrote:
> does ovirt have a restful api?
> 

Yes,

Its available at https:///ovirt-engine/api

In fact the python/java/ruby sdk are just wrappers to calling this api.

> On 28 April 2017 at 13:43, Fabrice Bacchella 
> 
> wrote:
> > I have started to write a custom sdk/cli in python for Ovirt 4. It
> > provides helpers and wrapper for the rather raw level sdk4 provided.
> > 
> > It's still a work in progress, but a big improvement from my previous
> > version, made for ovirt 3.
> > 
> > It allows to write simple commands on shell :
> > 
> > $ ./ovcmd host -n hostname maintenance
> > $ ./ovcmd host -n hostname activate
> > 
> > It also allows to do fine exports:
> > 
> > $ ./ovcmd vm -n vmname export os type
> > rhel_6x64
> > 
> > $ ./ovcmd capabilities -n 4.1 export cpu_types name
> > Intel Conroe Family
> > Intel Penryn Family
> > Intel Nehalem Family
> > Intel Westmere Family
> > Intel SandyBridge Family
> > Intel Haswell-noTSX Family
> > Intel Haswell Family
> > Intel Broadwell-noTSX Family
> > Intel Broadwell Family
> > Intel Skylake Family
> > AMD Opteron G1
> > AMD Opteron G2
> > AMD Opteron G3
> > AMD Opteron G4
> > AMD Opteron G5
> > IBM POWER8
> > 
> > Or to get a display console on a mac os:
> > 
> > $open $(./ovcmd vm -n vmname console )
> > 
> > 
> > It can be found at https://github.com/fbacchella/ovirtcmd/tree/sdk4
> > It's still works in progress, I need to finish to remove sdk3 code.
> > 
> > Some example of object written to sdk4 can be found at:
> > 
> > https://github.com/fbacchella/ovirtcmd/blob/sdk4/ovlib/vms/__init__.py
> > 
> > ___
> > 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] Empty ovirt engine web pages

2017-04-17 Thread Alexander Wels
On Friday, April 14, 2017 9:38:23 AM EDT Sandro Bonazzola wrote:
> Adding Martin
> 

That exception is telling you it can't run the queries needed to populate the 
dashboard. Highly likely you don't have the DWH properly installed/configured. 
That still shouldn't give you just a blank page, the code is written to 
display an error stating unable to display dashboard or something of that 
nature.

> On Thu, Apr 13, 2017 at 5:51 AM, shubham dubey  wrote:
> > Hello,
> > I have installed ovirt engine from source and installed all other required
> > packages also,
> > including ovirt-js-dependencies.But when I am login to the admin account I
> > am getting blank
> > page everytime. Some other pages are also coming empty sometime.
> > I have pasted the logs for $HOME/ovirt-engine/share/
> > ovirt-engine/services/ovirt-engine/ovirt-engine.py start[1].The possible
> > error log is
> > 
> > 2017-04-13 09:07:09,902+05 ERROR [org.ovirt.engine.ui.frontend.
> > server.dashboard.DashboardDataServlet.CacheUpdate.Utilization]
> > (EE-ManagedThreadFactory-default-Thread-1) [] Could not update the
> > Utilization Cache: Error while running SQL query:
> > org.ovirt.engine.ui.frontend.server.dashboard.DashboardDataException:
> > Error while running SQL query
> > 
> >at
> >org.ovirt.engine.ui.frontend.server.dashboard.dao.BaseDao.runQuery
> >(BaseDao.java:60)> 
> > [frontend.jar:]
> > 
> >at org.ovirt.engine.ui.frontend.server.dashboard.dao.HostDwhDao.
> > 
> > getTotalCpuMemCount(HostDwhDao.java:78) [frontend.jar:]
> > 
> >at org.ovirt.engine.ui.frontend.server.dashboard.
> > 
> > HourlySummaryHelper.getTotalCpuMemCount(HourlySummaryHelper.java:43)
> > [frontend.jar:]
> > 
> >at org.ovirt.engine.ui.frontend.server.dashboard.
> > 
> > HourlySummaryHelper.getCpuMemSummary(HourlySummaryHelper.java:21)
> > [frontend.jar:]
> > 
> >at org.ovirt.engine.ui.frontend.server.dashboard.
> > 
> > DashboardDataServlet.lookupGlobalUtilization(DashboardDataServlet.java:294
> > )
> > [frontend.jar:]
> > 
> >at org.ovirt.engine.ui.frontend.server.dashboard.
> > 
> > DashboardDataServlet.getDashboard(DashboardDataServlet.java:268)
> > [frontend.jar:]
> > 
> >at org.ovirt.engine.ui.frontend.server.dashboard.
> > 
> > DashboardDataServlet.populateUtilizationCache(DashboardDataServlet.java:23
> > 1) [frontend.jar:]
> > 
> >at org.ovirt.engine.ui.frontend.server.dashboard.
> > 
> > DashboardDataServlet.access$000(DashboardDataServlet.java:26)
> > [frontend.jar:]
> > 
> >at org.ovirt.engine.ui.frontend.server.dashboard.
> > 
> > DashboardDataServlet$1.run(DashboardDataServlet.java:106) [frontend.jar:]
> > 
> >at
> >java.util.concurrent.Executors$RunnableAdapter.call(Executors.java
> >:511)
> > 
> > [rt.jar:1.8.0_121]
> > 
> >at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
> > 
> > [rt.jar:1.8.0_121]
> > 
> >at org.glassfish.enterprise.concurrent.internal.
> > 
> > ManagedScheduledThreadPoolExecutor$ManagedScheduledFutureTask.access$201(
> > ManagedScheduledThreadPoolExecutor.java:383) [javax.enterprise.concurrent-
> > 1.0.jar:]
> > 
> >at org.glassfish.enterprise.concurrent.internal.
> > 
> > ManagedScheduledThreadPoolExecutor$ManagedScheduledFutureTask.run(
> > ManagedScheduledThreadPoolExecutor.java:534) [javax.enterprise.concurrent-
> > 1.0.jar:]
> > 
> >at
> >java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecut
> >or.java:1142)> 
> > [rt.jar:1.8.0_121]
> > 
> >at
> >java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecu
> >tor.java:617)> 
> > [rt.jar:1.8.0_121]
> > 
> >at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_121]
> >at org.glassfish.enterprise.concurrent.ManagedThreadFactoryImpl$
> > 
> > ManagedThread.run(ManagedThreadFactoryImpl.java:250)
> > [javax.enterprise.concurrent-1.0.jar:]
> > Caused by: java.sql.SQLException: javax.resource.ResourceException:
> > IJ000453: Unable to get managed connection for java:/DWHDataSource
> > 
> >at org.jboss.jca.adapters.jdbc.WrapperDataSource.getConnection(
> > 
> > WrapperDataSource.java:146)
> > 
> >at org.jboss.as.connector.subsystems.datasources.WildFlyDataSource.
> > 
> > getConnection(WildFlyDataSource.java:66)
> > 
> >at
> >org.ovirt.engine.ui.frontend.server.dashboard.dao.BaseDao.runQuery
> >(BaseDao.java:53)> 
> > [frontend.jar:]
> > 
> >... 16 more
> > 
> > Caused by: javax.resource.ResourceException: IJ000453: Unable to get
> > managed connection for java:/DWHDataSource
> > 
> >at org.jboss.jca.core.connectionmanager.AbstractConnectionManager.
> > 
> > getManagedConnection(AbstractConnectionManager.java:656)
> > 
> >at org.jboss.jca.core.connectionmanager.tx.TxConnectionManagerImpl.
> > 
> > getManagedConnection(TxConnectionManagerImpl.java:429)
> > 
> >

Re: [ovirt-users] Gluster and oVirt 4.0 questions

2017-03-30 Thread Alexander Wels
On Thursday, March 30, 2017 3:53:47 AM EDT Liron Aravot wrote:
> Hi Jim, please see inline
> 
> On Thu, Mar 30, 2017 at 4:08 AM, Jim Kusznir  wrote:
> > hello:
> > 
> > I've been running my ovirt Version 4.0.5.5-1.el7.centos cluster for a
> > while now, and am now revisiting some aspects of it for ensuring that I
> > have good reliability.
> > 
> > My cluster is a 3 node cluster, with gluster nodes running on each node.
> > After running my cluster a bit, I'm realizing I didn't do a very optimal
> > job of allocating the space on my disk to the different gluster mount
> > points.  Fortunately, they were created with LVM, so I'm hoping that I can
> > resize them without much trouble.
> > 
> > I have a domain for iso, domain for export, and domain for storage, all
> > thin provisioned; then a domain for the engine, not thin provisioned.  I'd
> > like to expand the storage domain, and possibly shrink the engine domain
> > and make that space also available to the main storage domain.  Is it as
> > simple as expanding the LVM partition, or are there more steps involved?
> > Do I need to take the node offline?
> 
> I didn't understand completely that part - what is the difference between
> the domain for storage and the domain for engine you mentioned?
> 
> > second, I've noticed that the first two nodes seem to have a full copy of
> > the data (the disks are in use), but the 3rd node appears to not be using
> > any of its storage space...It is participating in the gluster cluster,
> > though.
> > 
> > Third, currently gluster shares the same network as the VM networks.  I'd
> > like to put it on its own network.  I'm not sure how to do this, as when I
> > tried to do it at install time, I never got the cluster to come online; I
> > had to make them share the same network to make that work.
> 
> I'm adding Sahina who may shed some light on the gluster question, I'd try
> on the gluster mailing list as well.
> 
> > Ovirt questions:
> > I've noticed that recently, I don't appear to be getting software updates
> > anymore.  I used to get update available notifications on my nodes every
> > few days; I haven't seen one for a couple weeks now.  is something wrong?
> > 
> > I have a windows 10 x64 VM.  I get a warning that my VM type does not
> > match the installed OS.  All works fine, but I've quadrouple-checked that
> > it does match.  Is this a known bug?

Do you have the ovirt-guest-agent installed and running on that windows VM? If 
not that is highly likely the cause for the warning.

> 
> Arik, any info on that?
> 
> > I have a UPS that all three nodes and the networking are on.  It is a USB
> > UPS.  How should I best integrate monitoring in?  I could put a raspberry
> > pi up and then run NUT or similar on it, but is there a "better" way with
> > oVirt?
> > 
> > Thanks!
> > --Jim
> > 
> > ___
> > 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] WebAdmin is down, HostedEngine is up

2017-03-20 Thread Alexander Wels
On Monday, March 20, 2017 11:34:49 AM EDT Simone Tiraboschi wrote:
> On Mon, Mar 20, 2017 at 4:28 PM, Logan Kuhn <supp...@jac-properties.com>
> 
> wrote:
> > Yup, ovirttest1 ran out of disk space on Friday, we recovered it and
> > everything seemed completely normal.
> > 
> > the postgres service is down on the HEVM, but that is because it's on our
> > postgresql cluster, has been for weeks.  I can connect to it's database
> > from within the HEVM using the credentials stored at /etc/ovirt-engine/
> > engine.conf.d/10-setup-database.conf  I can tail the logs on the postgres
> > master and ovirt can and does connect to it.
> > 
> > However, trying from ovirttest1 I cannot connect to the engine database
> > using those same credentails, should I be able to?  It'd make sense to be
> > able to connect to it
> 
> It could depend on how you configured your pg_hba.conf for your DBMS
> instance.
> Only the engine and dwh have to connect to the engine VM, a direct DB
> connection from the hosts is not required.
> 

I looked a little closer in the server.log. This in particular stood out:

2017-03-20 07:04:27,282 ERROR [org.quartz.core.ErrorLogger] 
(QuartzOvirtDBScheduler_QuartzSchedulerThread) An error occurred while 
scanning for the next triggers to fire.: org.quartz.JobPersistenceException: 
Failed to obtain DB connection from data source 'NMEngineDS': 
java.sql.SQLException: Could not retrieve datasource via JNDI url 'java:/
ENGINEDataSourceNoJTA' java.sql.SQLException: 
javax.resource.ResourceException: IJ000470: You are trying to use a connection 
factory that has been shut down: java:/ENGINEDataSourceNoJTA [See nested 
exception: java.sql.SQLException: Could not retrieve datasource via JNDI url 
'java:/ENGINEDataSourceNoJTA' java.sql.SQLException: 
javax.resource.ResourceException: IJ000470: You are trying to use a connection 
factory that has been shut down: java:/ENGINEDataSourceNoJTA]

Grepping the code looks like NMEngineDS has something to do with the 
scheduler. Which is completely out of my realm of knowledge, so I can't help 
there.

> > Logan
> > 
> > On Mon, Mar 20, 2017 at 10:14 AM, Alexander Wels <aw...@redhat.com> wrote:
> >> On Monday, March 20, 2017 9:14:51 AM EDT Logan Kuhn wrote:
> >> > Starting at 1:09am on Saturday the Hosted Engine has been rebooting
> >> 
> >> because
> >> 
> >> > it failed it's liveliness check.  This is due to the webadmin not
> >> 
> >> loading.
> >> 
> >> > Nothing changed as far as I can tell on the engine since it's last
> >> > successful reboot on Friday afternoon.
> >> > 
> >> > The engine, dwhd and httpd are all up and do not seem to be reporting
> >> > anything unusual in their respective logs.  The engine can talk to the
> >> > database as I can login using the credentials in /etc/ovirt-engine/
> >> 
> >> engine.co
> >> 
> >> > nf.d/10-setup-database.conf and the logs on the postgres server are
> >> 
> >> showing
> >> 
> >> > activity.
> >> > 
> >> > I tried to run engine-setup but it says it's not in global maintenance
> >> 
> >> even
> >> 
> >> > though the hosted engine hosts agree that it is.  We are on version
> >> 
> >> 4.0.6.3
> >> 
> >> > Server, engine and agent logs are attached
> >> > 
> >> > Regards,
> >> > Logan
> >> 
> >> Looking at our logs, it appears that on Friday one of your hosts ran out
> >> of
> >> disk space in its logs or temp directory. At which point connectivity
> >> started
> >> to be spotty. I see a bunch of attempts to migrate VMs away from that
> >> host
> >> (ovirttest1). All of them fail. That repeats a ton of times, I forwarded
> >> to
> >> Saturday where it appears you had a bunch of stale locks which also
> >> repeates a
> >> bunch of time until the engine VM gets restarted.
> >> 
> >> Then I see nothing but restarts of the engine and no apparent errors in
> >> the
> >> engine log.
> >> 
> >> The server log does however reveal this:
> >> 2017-03-20 07:04:27,282 ERROR [org.quartz.core.ErrorLogger]
> >> (QuartzOvirtDBScheduler_QuartzSchedulerThread) An error occurred while
> >> scanning for the next triggers to fire.: org.quartz.JobPersistenceExcep
> >> tion:
> >> Failed to obtain DB connection from data source 'NMEngineDS':
> >> java.sql.SQLExcept

Re: [ovirt-users] WebAdmin is down, HostedEngine is up

2017-03-20 Thread Alexander Wels
On Monday, March 20, 2017 9:14:51 AM EDT Logan Kuhn wrote:
> Starting at 1:09am on Saturday the Hosted Engine has been rebooting because
> it failed it's liveliness check.  This is due to the webadmin not loading.
> Nothing changed as far as I can tell on the engine since it's last
> successful reboot on Friday afternoon.
> 
> The engine, dwhd and httpd are all up and do not seem to be reporting
> anything unusual in their respective logs.  The engine can talk to the
> database as I can login using the credentials in /etc/ovirt-engine/engine.co
> nf.d/10-setup-database.conf and the logs on the postgres server are showing
> activity.
> 
> I tried to run engine-setup but it says it's not in global maintenance even
> though the hosted engine hosts agree that it is.  We are on version 4.0.6.3
> 
> Server, engine and agent logs are attached
> 
> Regards,
> Logan

Looking at our logs, it appears that on Friday one of your hosts ran out of 
disk space in its logs or temp directory. At which point connectivity started 
to be spotty. I see a bunch of attempts to migrate VMs away from that host 
(ovirttest1). All of them fail. That repeats a ton of times, I forwarded to 
Saturday where it appears you had a bunch of stale locks which also repeates a 
bunch of time until the engine VM gets restarted.

Then I see nothing but restarts of the engine and no apparent errors in the 
engine log.

The server log does however reveal this:
2017-03-20 07:04:27,282 ERROR [org.quartz.core.ErrorLogger] 
(QuartzOvirtDBScheduler_QuartzSchedulerThread) An error occurred while 
scanning for the next triggers to fire.: org.quartz.JobPersistenceException: 
Failed to obtain DB connection from data source 'NMEngineDS': 
java.sql.SQLException: Could not retrieve datasource via JNDI url 'java:/
ENGINEDataSourceNoJTA' java.sql.SQLException: 
javax.resource.ResourceException: IJ000470: You are trying to use a connection 
factory that has been shut down: java:/ENGINEDataSourceNoJTA [See nested 
exception: java.sql.SQLException: Could not retrieve datasource via JNDI url 
'java:/ENGINEDataSourceNoJTA' java.sql.SQLException: 
javax.resource.ResourceException: IJ000470: You are trying to use a connection 
factory that has been shut down: java:/ENGINEDataSourceNoJTA]
at 
org.quartz.impl.jdbcjobstore.JobStoreCMT.getNonManagedTXConnection(JobStoreCMT.java:
168) [quartz.jar:]
at 
org.quartz.impl.jdbcjobstore.JobStoreSupport.executeInNonManagedTXLock(JobStoreSupport.java:
3807) [quartz.jar:]
at 
org.quartz.impl.jdbcjobstore.JobStoreSupport.acquireNextTriggers(JobStoreSupport.java:
2751) [quartz.jar:]
at org.quartz.core.QuartzSchedulerThread.run(QuartzSchedulerThread.java:
264) [quartz.jar:]
Caused by: java.sql.SQLException: Could not retrieve datasource via JNDI url 
'java:/ENGINEDataSourceNoJTA' java.sql.SQLException: 
javax.resource.ResourceException: IJ000470: You are trying to use a connection 
factory that has been shut down: java:/ENGINEDataSourceNoJTA
at 
org.quartz.utils.JNDIConnectionProvider.getConnection(JNDIConnectionProvider.java:
163) [quartz.jar:]
at 
org.quartz.utils.DBConnectionManager.getConnection(DBConnectionManager.java:
108) [quartz.jar:]
at 
org.quartz.impl.jdbcjobstore.JobStoreCMT.getNonManagedTXConnection(JobStoreCMT.java:
165) [quartz.jar:]
... 3 more

Is your postgresql service running? That is the most likely source of the 
engine not coming up.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] virt-manager not able to connect to my ovirt-instance

2017-03-16 Thread Alexander Wels
On Thursday, March 16, 2017 4:54:54 AM EDT John Joseph wrote:
> Thanks Paul,
> I have tried opening it using "remote-viewer", but I get error message as
> 
> "Unable to connect to the graphic server /tmp/mozilla_saji0/console.vvCould
> not connect to 192.168.59.95: No route to host" This has something to do
> with the permission than, route issues, because I can access the server
> through the browser as well as I can ping it also I have to see what
> permissions or port blocked at the ovirt server level Thanks
> Joseph John
> 
> 

Yes you should use the remote viewer. The manager itself is not running the 
VMs, the hosts are running the VMs. So what happens when you click on the 
console button is that it generates a .vv file which your browser then 
downloads. If you associate remote-viewer with the .vv files it will attempt 
to connect to the *HOST* running the VM. Now its entirely possible your 
network topology doesn't allow you to connect to the host, while the manager 
(engine) is allowed to connect to the host.

If this is the case you need to configure a proxy on the engine that forwards 
to the host. Since we don't know your topology we can't say much more. But in 
general your browser connects to the engine which shows you the admin UI. Then 
when you want to connect with a console to a VM, your computer (remote-viewer) 
tries to connect to the host.

The message you are seeing is telling me you can't connect to the host.

Alexander

> 
> On Thursday, 16 March 2017 12:32 PM, "Staniforth, Paul"
>  wrote:
> 
> 
>   You should use remote-viewer to connect to the console of the VM, it's in
> the same package and you should pass the connection details to it from the
> portal(the console.vv file gets created including the otp). Regards,   
> Paul S.
> 
> 
> On 16 Mar 2017 07:36, John Joseph  wrote:
> 
> Hi ,I was able to install ovirt, and I am able to create virtual machines
> and it is running fine, I can see the instance using browser But when I try
> connecting to the ovirt machine using virt-manager I am getting the
> following error
> 
> "Unable to connect to libvirt.
> authentication failed: authentication failed
> Verify that the 'libvirtd' daemon is running
> on the remote host."
> Through the browser I am able to see the virtual machines running, is there
> anything else for me to do, for allowing "Virtual Machine Manager" to work
> thanksJoseph John
> 
> 
> 
> 
> To view the terms under which this email is distributed, please go to:-
> http://disclaimer.leedsbeckett.ac.uk/disclaimer/disclaimer.html


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


Re: [ovirt-users] oVirt global utilization trend

2017-03-07 Thread Alexander Wels
On Tuesday, March 7, 2017 4:28:28 PM EST Abi Askushi wrote:
> Hi,
> 
> I see that the global utilization 24h trend graph (CPU, RAM, Disk) at
> dashboard is showing only the last 3 hours. The line for previous hours is
> flat (see attached). I remember that on a previous installation I had
> tested it was showing the full 24 hours. Tried to run again engine-setup
> but issue remains.
> Any suggestions?
> 

Is this a new installation? The odds are highly likely that for whatever 
reason (being a new installation would mean the data is not there) the DWH 
database does not have the completely 24 hours worth of data, if you wait it 
will rotate the missing data out and eventually the 24 hours worth of data 
will appear.

> Thanx,
> Alex


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


Re: [ovirt-users] Rearrange View of VMs

2017-01-23 Thread Alexander Wels
On Monday, January 23, 2017 8:57:02 AM EST Sven Achtelik wrote:
> Hi Alexander,
> 
> thank you, I'm running a very old engine version (3.5) and it seems that
> this is something in the newer versions. It's not working in 3.5. We're
> going to upgrade as soon as 4.1 is available. Is there any other way to do
> this in 3.5 ?
> 

IIRC this capability was added in 3.6, so if you are running 3.5, I do not 
believe there is a way to do this.

> Thank you,
> 
> Sven
> 
> -Ursprüngliche Nachricht-
> Von: Alexander Wels [mailto:aw...@redhat.com]
> Gesendet: Montag, 23. Januar 2017 15:39
> An: users@ovirt.org
> Cc: Sven Achtelik <sven.achte...@eps.aero>
> Betreff: Re: [ovirt-users] Rearrange View of VMs
> 
> On Monday, January 23, 2017 8:00:58 AM EST Sven Achtelik wrote:
> > Hi List,
> > 
> > 
> > 
> > does anyone know if it's possible the rearange the colums in the VMs view
> 
> ?
> 
> 
> 
> Yes, if you right click the header, you will get a popup with all the names
> of the columns and a checkbox, you can enable/disable columns, as well as
> drag and drop column names to re-arrange the order. This should persist on a
> per BROWSER basis (its stored in local storage of the browser).
> 
> > I would like to have the Desciption directly next to Name and IP Address
> > before Host.
> > 
> > 
> > 
> > Thank you,
> > 
> > 
> > 
> > Sven


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


Re: [ovirt-users] Rearrange View of VMs

2017-01-23 Thread Alexander Wels
On Monday, January 23, 2017 8:00:58 AM EST Sven Achtelik wrote:
> Hi List,
> 
> 
> 
> does anyone know if it's possible the rearange the colums in the VMs view ?
> 
> 

Yes, if you right click the header, you will get a popup with all the names of 
the columns and a checkbox, you can enable/disable columns, as well as drag 
and drop column names to re-arrange the order. This should persist on a per 
BROWSER basis (its stored in local storage of the browser).

> 
> 
> 
> 
> 
> 
> 
> I would like to have the Desciption directly next to Name and IP Address
> before Host.
> 
> 
> 
> Thank you,
> 
> 
> 
> Sven


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


Re: [ovirt-users] oVirt Console on Windows 7

2017-01-18 Thread Alexander Wels
On Tuesday, January 17, 2017 6:10:43 PM EST Brett Holcomb wrote:
> On my Windows machine I can run the web portal without issues but I
> would like to use the console from the portal on the VMs.  I installed
> the virt-manager but it if I do
> 
> spice://myengine.my.domain:5900 it tells me I can't connect.
> 
> I've found a lot of contradictory advice (big surprise! ). Some say I
> need to install spice.cab (link does not work and a working link lead to
> a site with malware which got blocked).
> 
> So what do I need to use a console in the portal in Windows 7?
> 
> Also, when will the portal work with Chrome?
> 

Download the virt VIEWER from 
https://virt-manager.org/download/sources/virt-viewer/virt-viewer-x64-5.0.msi 
assuming you have a 64 bit windows. If you 
don't there are links to 32 bit on https://virt-manager.org/download/ again 
make sure to download the VIEWER not the manager.

Then in your browser associate .vv files with the virt viewer and clicking the 
console button should be all you need to make it work.

The portal has worked in Chrome since at least oVirt 3.1 maybe even earlier. 
Anything in particular that doesn't work for you?

> 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] Scheduled Snapshot and export

2017-01-17 Thread Alexander Wels
On Tuesday, January 17, 2017 8:09:58 PM EST Beckman, Daniel wrote:
> Strangely enough, I can’t reproduce that issue in 4.0.5. 
> 
> Anantha, when you say “will not allow us to change anything” what exactly do
> you mean?
 
> Does it generate the same “unhandled exception” error as when adding disks
> or something else? 
 
> I was able to specify 4 vCPUs consisting of 2 sockets (each with dual core)
> and it worked fine.
 
If you specify a disk FIRST and then try to to change the virtual CPU 
configuration it will no longer work. Basically if you edit/change/add a disk 
and a new window pops up, some stuff that shouldn't have been cleaned up, is 
cleaned up and breaks anything that relies on that, like the check to see if 
the virtual CPU configuration is valid. A bunch of other stuff as well like 
the exception mentioned below.


> On 1/17/17, 12:56 PM, "Alexander Wels" <aw...@redhat.com> wrote:
> 
> On Tuesday, January 17, 2017 11:21:17 PM EST Anantha Raghava wrote:
> 
> > Hello Daniel,
> > 
> > Thanks for inputs.
> > 
> > Also, one more problem we observed in 4.0.5. When creating VM, we
> > cannot
> > change the CPU, sockets, cores. It will not allow us to change
> > anything.
> > We have to save the VM during creation with 1 vCPU. Again, edit VM
> > and
> > change the vCPU parameters. Have you or anyone observed this
> > behaviour?
> > 
> 
> 
> The cause of that is actually same, this is fixed in 4.0.6
> 
> 
> > > I don’t know of a function built into oVirt for scheduling
> > > snapshots.
> > > If you don’t already you may want to setup an export domain (NFS
> > > based), on separate storage.
> > > 
> > > Just a reminder: snapshots are not backups and they should only be
> > > kept temporarily. We use this tool for backups:
> > > 
> > > https://github.com/wefixit-AT/oVirtBackup
> > > 
> > > It’s not the most efficient as it clones a VM from a snapshot, then
> > > exports the clone – so you’re transferring the same data twice. But
> > > it
> > > works for our purposes. We have this running in a cron job.
> > > 
> > > If anyone has come up with a script that uses the newer API to
> > > export
> > > a snapshot directly, please share!
> > > 
> > > We get the same error when adding a disk while creating the VM (In
> > > Chrome, Firefox, and Safari on OS X Sierra client). This is
> > > reportedly
> > > fixed in 4.0.6 per this bug:
> > > 
> > > https://bugzilla.redhat.com/show_bug.cgi?id=1394175
> > > 
> > > Could someone with 4.0.6 confirm that?
> > > 
> > > Best,
> > > 
> > > Daniel
> > > 
> > > *From: *<users-boun...@ovirt.org> on behalf of Anantha Raghava
> > > <rag...@exzatechconsulting.com>
> > > *Organization: *eXza Technology Consulting & Services
> > > *Reply-To: *"rag...@exzatechconsulting.com"
> > > <rag...@exzatechconsulting.com>
> > > *Date: *Tuesday, January 17, 2017 at 8:27 AM
> > > *To: *"users@ovirt.org" <users@ovirt.org>
> > > *Subject: *[ovirt-users] Scheduled Snapshot and export
> > > 
> > > Hello to oVirt Users,
> > > 
> > > I have few questions.
> > > 
> > > 
> > > a. Can we schedule the VM snapshots? If yes, please share the
> > > procedure
> > > b. Snapshots are stored on the same storage domain. Can we move
> > > them
> > > to another storage domain say NFS domain for additional safety? If,
> > > yes, please share the procedure.
> > > 
> > > Also, after upgrading to version 4.0.5, at many places, especially
> > > when we are creating a new VM and trying to create a new Disk for
> > > the
> > > VM, we keep getting "uncought exception" and the process will not
> > > complete. We have to create a VM, without Disk and then create the
> > > disk separately and attach it to VM.
> > > 
> > > Is anyone else facing this issue? These sort of issues were not
> > > there
> > > in 4.0.4.
> > > 
> > > 
> > > Thanks & Regards,
> > > 
> > > Anantha Raghava
> > > 
> > > eXza Technology Consulting & Services
> 
> 
> 
> 
> 


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


Re: [ovirt-users] Scheduled Snapshot and export

2017-01-17 Thread Alexander Wels
On Tuesday, January 17, 2017 11:21:17 PM EST Anantha Raghava wrote:
> Hello Daniel,
> 
> Thanks for inputs.
> 
> Also, one more problem we observed in 4.0.5. When creating VM, we cannot
> change the CPU, sockets, cores. It will not allow us to change anything.
> We have to save the VM during creation with 1 vCPU. Again, edit VM and
> change the vCPU parameters. Have you or anyone observed this behaviour?
> 

The cause of that is actually same, this is fixed in 4.0.6

> > I don’t know of a function built into oVirt for scheduling snapshots.
> > If you don’t already you may want to setup an export domain (NFS
> > based), on separate storage.
> > 
> > Just a reminder: snapshots are not backups and they should only be
> > kept temporarily. We use this tool for backups:
> > 
> > https://github.com/wefixit-AT/oVirtBackup
> > 
> > It’s not the most efficient as it clones a VM from a snapshot, then
> > exports the clone – so you’re transferring the same data twice. But it
> > works for our purposes. We have this running in a cron job.
> > 
> > If anyone has come up with a script that uses the newer API to export
> > a snapshot directly, please share!
> > 
> > We get the same error when adding a disk while creating the VM (In
> > Chrome, Firefox, and Safari on OS X Sierra client). This is reportedly
> > fixed in 4.0.6 per this bug:
> > 
> > https://bugzilla.redhat.com/show_bug.cgi?id=1394175
> > 
> > Could someone with 4.0.6 confirm that?
> > 
> > Best,
> > 
> > Daniel
> > 
> > *From: * on behalf of Anantha Raghava
> > 
> > *Organization: *eXza Technology Consulting & Services
> > *Reply-To: *"rag...@exzatechconsulting.com"
> > 
> > *Date: *Tuesday, January 17, 2017 at 8:27 AM
> > *To: *"users@ovirt.org" 
> > *Subject: *[ovirt-users] Scheduled Snapshot and export
> > 
> > Hello to oVirt Users,
> > 
> > I have few questions.
> > 
> > 
> > a. Can we schedule the VM snapshots? If yes, please share the procedure
> > b. Snapshots are stored on the same storage domain. Can we move them
> > to another storage domain say NFS domain for additional safety? If,
> > yes, please share the procedure.
> > 
> > Also, after upgrading to version 4.0.5, at many places, especially
> > when we are creating a new VM and trying to create a new Disk for the
> > VM, we keep getting "uncought exception" and the process will not
> > complete. We have to create a VM, without Disk and then create the
> > disk separately and attach it to VM.
> > 
> > Is anyone else facing this issue? These sort of issues were not there
> > in 4.0.4.
> > 
> > 
> > Thanks & Regards,
> > 
> > Anantha Raghava
> > 
> > eXza Technology Consulting & Services


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


Re: [ovirt-users] DWH URL in 4.0.6 ??

2017-01-13 Thread Alexander Wels
On Friday, January 13, 2017 9:30:09 AM EST Devin Acosta wrote:
> I upgraded to the latest 4.0.6 and show that the Data Ware House process is
> running, did they change how you access the GUI for it?
> 
> Going to: https://{fqdn}/ovirt-engine-reports/
> no longer functions on any of my deployments?

The DWH reports are no longer available in oVirt since 4.0. The process is 
running because the dashboard uses the data to generate its data. But the 
reports are gone.

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


Re: [ovirt-users] Unable to delete VM disk

2017-01-12 Thread Alexander Wels
On Friday, December 30, 2016 11:45:20 AM EST cmc wrote:
> Hi Alexander,
> 
> Thanks. I've attached the log. Relevant error is the last entry.
> 
> Kind regards,
> 
> Cam
> 

Just to be clear on the flow when this occurs, you do the following on a VM 
that is shut down:

1. Select the VM in the VM grid.
2. Click edit and the edit VM dialog pops up.
3. In the General tab you scroll down a little until you see the instance 
Images widget that has the disk listed. You have 3 options:
  - Edit (edit disk)
  - + (add new row, that will give you the option to attach/create a disk)
  - - (remove disk)
You click - (remove disk)?
4. You get the exception?

Alexander

> On Wed, Dec 14, 2016 at 3:12 PM, Alexander Wels <aw...@redhat.com> wrote:
> > On Wednesday, December 14, 2016 11:51:49 AM EST cmc wrote:
> >> Having some difficulty in getting the permutation string currently, as
> >> I can't get a cache.html file to appear in the Network section of the
> >> debugger, and both browsers I'm using (Chrome and FIrefox) do not
> >> print the permutation ID at the bottom of the console output. I'll see
> >> if I can get some more detail on how this works from some searching
> > 
> > I improved that, I just haven't updated the wiki, as soon as you install
> > the symbol maps, and you can recreate the issue, then the UI.log should
> > have the unobfuscated stack trace, so you don't have to do all that stuff
> > manually anymore.
> > 
> >> On Wed, Dec 14, 2016 at 8:21 AM, Fred Rolland <froll...@redhat.com> 
wrote:
> >> > The UI log is obfuscated.
> >> > Can you please follow instruction on [1] and reproduce so that we get a
> >> > human readable log.
> >> > 
> >> > Thanks
> >> > 
> >> > [1]
> >> > http://www.ovirt.org/develop/developer-guide/engine/engine-debug-obfusc
> >> > ate
> >> > d-ui/>
> >> > 
> >> > On Tue, Dec 13, 2016 at 7:42 PM, cmc <iuco...@gmail.com> wrote:
> >> >> Sorry, forgot the version: 4.0.5.5-1.el7.centos
> >> >> 
> >> >> On Tue, Dec 13, 2016 at 5:37 PM, cmc <iuco...@gmail.com> wrote:
> >> >> > On the VM in the list of VMs, by right-clicking on it. It then gives
> >> >> > you a pop up window to edit the VM, starting in the 'General'
> >> >> > section
> >> >> > (much as when you create a new one)
> >> >> > 
> >> >> > Thanks,
> >> >> > 
> >> >> > Cam
> >> >> > 
> >> >> > On Tue, Dec 13, 2016 at 5:04 PM, Fred Rolland <froll...@redhat.com>
> >> >> > 
> >> >> > wrote:
> >> >> >> Hi,
> >> >> >> 
> >> >> >> Which version are you using ?
> >> >> >> When you mention "Edit", on which entity is it performed.?
> >> >> >> 
> >> >> >> The disks are currently not part of the edit VM window.
> >> >> >> 
> >> >> >> Thanks,
> >> >> >> Freddy
> >> >> >> 
> >> >> >> On Tue, Dec 13, 2016 at 6:06 PM, cmc <iuco...@gmail.com> wrote:
> >> >> >>> This VM wasn't running.
> >> >> >>> 
> >> >> >>> On Tue, Dec 13, 2016 at 4:02 PM, Elad Ben Aharon
> >> >> >>> <ebena...@redhat.com>
> >> >> >>> 
> >> >> >>> wrote:
> >> >> >>> > In general, in order to delete a disk while it is attached to a
> >> >> >>> > running
> >> >> >>> > VM,
> >> >> >>> > the disk has to be deactivated (hotunplugged) first so it won't
> >> >> >>> > be
> >> >> >>> > accessible for read and write from the VM.
> >> >> >>> > In the 'edit' VM prompt there is no option to deactivate the
> >> >> >>> > disk,
> >> >> >>> > it
> >> >> >>> > should
> >> >> >>> > be done from the disks subtab under the virtual machine.
> >> >> >>> > 
> >> >> >>> > On Tue, Dec 13, 2016 at 5:33 PM, cmc <iuco...@gmail.com> wrote:
> >> >> >>> >> Actually, I just tried to create a new disk via the 'Edit' menu
> >> >> >>> &g

Re: [ovirt-users] Dashboard freezes, locks up cannot perform any tasks

2017-01-09 Thread Alexander Wels
On Sunday, January 8, 2017 4:49:52 PM EST Bill Bill wrote:
> > Define insanely slow, is it putting up the spinner for loading? If so you
> > can
> 
> switch tabs while its doing its thing.
> 
> 
> 
> It’s back now – the issue is we’ve been testing it for the past year to year
> and a half to eventually move into production starting immediately with
> about 100 VM’s. My concern is if there’s a break in connectivity to
> storage, nic failure, switch failure or some other issue, oVirt goes
> berserk and it feels like hours just to get the VM’s started back up.
 
> 
> 
> At first I had to force umount the stale connections, that’s fine with a few
> hosts, but we’re planning to have a large number of hosts and storage
> domains and doing that across 10, 20, 40, 50 or large number of hypervisors
> manually would be an issue.
 
> 
> 
> 
> > If so you can  switch tabs while its doing its thing.
> 
> 
> 
> 
> Nope, the browser locks up (all browsers) – the cursor goes from the little
> hand cursor to the default pointer from the OS – can’t click anything, tabs
> aren’t responsive etc. I can refresh the browser and get back in however,
> once I click something, it does the same thing.
 
> 
> 
> 
> > In /share/ovirt-engine/ui-plugins there should be a file called
> > dashboard.json, rename it to something that doesn't end in json and
> > reload the
> 
> webadmin, that should disable the dashboard.
> 
> 
> 
> Does this disable the whole dashboard completely? IE can’t shutdown/boot
> VM’s etc or is the dashboard.json controlling something else?
 
All it does is disable the main tab that is added for showing the dashboard. 
If there is something in the dashboard that is messing up your browser, then 
the rename will make that go away (together with the dashboard obviously). 

> 
> 
> All that said, I am testing at the moment with a single storage device – all
> flash, CentOS7 plain NFS – a yum update is what caused the break in storage
> resulting in everything going haywire. I was able to get the main storage
> (3 domains, mapped to the same server for testing) by deleting the checksum
> in the meta file.
 
> 
> 
> Ideally, my final tests would be with multiple storage devices however, I’m
> out of rack space for a few more days so I can only finish testing with the
> single nas at the moment. Perhaps the single nas could be the root of the
> problem as oVirt seems to always want some domain up to make the master.
 
> 
> 
> 
> 
> From: Alexander Wels<mailto:aw...@redhat.com>
> Sent: Friday, January 6, 2017 3:29 PM
> To: users@ovirt.org<mailto:users@ovirt.org>
> Cc: Bill Bill<mailto:jax2...@outlook.com>
> Subject: Re: [ovirt-users] Dashboard freezes, locks up cannot perform any
> tasks
 
> 
> On Friday, January 6, 2017 7:38:54 PM EST Bill Bill wrote:
> 
> > After having an issue with a storage domain, the dashboard is now
> > unusable.
 I have about 15 VM’s that are paused due to the storage issue
> > that happened. The has since been resolved and all storage is active
> > however, I can’t start the VM’s because the dashboard is insanely slow
> > and just locks up. I’ve restarted the ovirt-engine multiple times with
> > the same results.
> 
> Define insanely slow, is it putting up the spinner for loading? If so you
> can
 switch tabs while its doing its thing.
> 
> 
> > Is there some troubleshooting to perform or is this a known issue,
> > something
 that will be resolved?
> 
> 
> Its not a known issue, but if you need to get at the VMs right now and the
> dashboard is in your way, you can always disable the UI plugin that adds
> it.
 But I suspect there is some other issue that is causing the problem. 
> In /share/ovirt-engine/ui-plugins there should be a file called
> dashboard.json, rename it to something that doesn't end in json and reload
> the
 webadmin, that should disable the dashboard.
> 


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


Re: [ovirt-users] Dashboard freezes, locks up cannot perform any tasks

2017-01-06 Thread Alexander Wels
On Friday, January 6, 2017 7:38:54 PM EST Bill Bill wrote:
> After having an issue with a storage domain, the dashboard is now unusable.
> I have about 15 VM’s that are paused due to the storage issue that
> happened. The has since been resolved and all storage is active however, I
> can’t start the VM’s because the dashboard is insanely slow and just locks
> up. I’ve restarted the ovirt-engine multiple times with the same results.

Define insanely slow, is it putting up the spinner for loading? If so you can 
switch tabs while its doing its thing.
 
> Is there some troubleshooting to perform or is this a known issue, something
> that will be resolved?
 
Its not a known issue, but if you need to get at the VMs right now and the 
dashboard is in your way, you can always disable the UI plugin that adds it. 
But I suspect there is some other issue that is causing the problem.

In /share/ovirt-engine/ui-plugins there should be a file called 
dashboard.json, rename it to something that doesn't end in json and reload the 
webadmin, that should disable the dashboard.

___
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-05 Thread Alexander Wels
On Thursday, January 5, 2017 9:04:00 AM EST Yedidyah Bar David wrote:
> 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.
> 

Yes you can make 01-mystuff.brand and in there put a specific template and 
properties file. In the properties file you can specify if you want to append 
or completely overwrite the welcome page. If you just want to add a link, I 
would suggest appending instead of overwriting.

If you need more detailed instructions let me know. I am very familiar with 
that piece of code (since I wrote it).

> 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


___
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


Re: [ovirt-users] Windows Product Activation

2016-12-21 Thread Alexander Wels
On Wednesday, December 21, 2016 2:27:05 PM EST Nicolas Ecarnot wrote:
> Hello,
> 
> Most of our virtual machines are Linux, but an increasing number of
> windows VMs are being integrated into our oVirt DCs.
> 
> We bought tons of windows server licences, and successfully activated them.
> 
> Due to how Windows Product Activation is working, when a windows VM is
> migrating from a host to another, this product activation is reset,
> launching a 30 days countdown to auto-shutdown.
> 
> According to this old page :
> 
> https://mazimi.wordpress.com/2007/07/11/getting-around-windows-activation-wh
> en-virtualizing/
> 
> and what I can read in microsoft's 2012 server documentations, I then
> can re-activate it twice during the next 90 days.
> 
> Assuming I *want* to have *no* control upon the location of the VMs
> amongst their hosts (I want them to fly freely, confident in the lovely
> auto-balance scheduler), I understand all this is not the way to go.
> 
> At present, we have 2003, 2008 and 2012 server editions.
> the only things I can read about windows 2012 server is related to the
> commercial aspects (standard licence = 2 VMs, datacenter licencce =
> infinite # of VMs), but not about this Windows Product Activation trouble.
> 
> How do you deal with this?
> Is there a special licence type or something dedicated that would
> prevent such an uncomfortable situation? (Christmas is near, I favor
> soft terms.)
> 
> Regards.

Nicolas,

IIRC this is what the custom serial number setting is for. As far as I know 
what happens when you migrate is that some id that windows looks for is 
changed (because it is generate based on an id at the host level). You can set 
a custom single value regardless of which host the VM is running on by opening 
up the edit virtual machine in the UI, then clicking system, at the bottom 
there is a check box called 'Provide custom serial number policy'. Then you 
can select VM ID.

Once you have done that, if I understand the feature correctly, the ID won't 
change and windows will not think you have new hardware each time the VM 
migrates.

I could be wrong, but I believe this is what you are looking for.

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


Re: [ovirt-users] Unable to delete VM disk

2016-12-14 Thread Alexander Wels
On Wednesday, December 14, 2016 11:51:49 AM EST cmc wrote:
> Having some difficulty in getting the permutation string currently, as
> I can't get a cache.html file to appear in the Network section of the
> debugger, and both browsers I'm using (Chrome and FIrefox) do not
> print the permutation ID at the bottom of the console output. I'll see
> if I can get some more detail on how this works from some searching
> 

I improved that, I just haven't updated the wiki, as soon as you install the 
symbol maps, and you can recreate the issue, then the UI.log should have the 
unobfuscated stack trace, so you don't have to do all that stuff manually 
anymore.

> On Wed, Dec 14, 2016 at 8:21 AM, Fred Rolland  wrote:
> > The UI log is obfuscated.
> > Can you please follow instruction on [1] and reproduce so that we get a
> > human readable log.
> > 
> > Thanks
> > 
> > [1]
> > http://www.ovirt.org/develop/developer-guide/engine/engine-debug-obfuscate
> > d-ui/> 
> > On Tue, Dec 13, 2016 at 7:42 PM, cmc  wrote:
> >> Sorry, forgot the version: 4.0.5.5-1.el7.centos
> >> 
> >> On Tue, Dec 13, 2016 at 5:37 PM, cmc  wrote:
> >> > On the VM in the list of VMs, by right-clicking on it. It then gives
> >> > you a pop up window to edit the VM, starting in the 'General' section
> >> > (much as when you create a new one)
> >> > 
> >> > Thanks,
> >> > 
> >> > Cam
> >> > 
> >> > On Tue, Dec 13, 2016 at 5:04 PM, Fred Rolland 
> >> > 
> >> > wrote:
> >> >> Hi,
> >> >> 
> >> >> Which version are you using ?
> >> >> When you mention "Edit", on which entity is it performed.?
> >> >> 
> >> >> The disks are currently not part of the edit VM window.
> >> >> 
> >> >> Thanks,
> >> >> Freddy
> >> >> 
> >> >> On Tue, Dec 13, 2016 at 6:06 PM, cmc  wrote:
> >> >>> This VM wasn't running.
> >> >>> 
> >> >>> On Tue, Dec 13, 2016 at 4:02 PM, Elad Ben Aharon
> >> >>> 
> >> >>> 
> >> >>> wrote:
> >> >>> > In general, in order to delete a disk while it is attached to a
> >> >>> > running
> >> >>> > VM,
> >> >>> > the disk has to be deactivated (hotunplugged) first so it won't be
> >> >>> > accessible for read and write from the VM.
> >> >>> > In the 'edit' VM prompt there is no option to deactivate the disk,
> >> >>> > it
> >> >>> > should
> >> >>> > be done from the disks subtab under the virtual machine.
> >> >>> > 
> >> >>> > On Tue, Dec 13, 2016 at 5:33 PM, cmc  wrote:
> >> >>> >> Actually, I just tried to create a new disk via the 'Edit' menu
> >> >>> >> once
> >> >>> >> I'd deleted it from the 'Disks' tab, and it threw an exception.
> >> >>> >> 
> >> >>> >> Attached is the console log.
> >> >>> >> 
> >> >>> >> On Tue, Dec 13, 2016 at 3:24 PM, cmc  wrote:
> >> >>> >> > Hi Elad,
> >> >>> >> > 
> >> >>> >> > I was trying to delete the disk via the 'edit' menu, but noticed
> >> >>> >> > just
> >> >>> >> > now that there was a 'disks' tab when the machine was
> >> >>> >> > highlighted.
> >> >>> >> > This has a 'activate/deactivate' function, and once deactivated,
> >> >>> >> > was
> >> >>> >> > able to remove it without error.
> >> >>> >> > 
> >> >>> >> > It does offer the option of deleting the disk when right
> >> >>> >> > clicking
> >> >>> >> > on
> >> >>> >> > the VM and choosing 'edit', however, there is no 'deactivate'
> >> >>> >> > option.
> >> >>> >> > Not sure if this is by design (so that users should look
> >> >>> >> > elsewhere).
> >> >>> >> > I
> >> >>> >> > can still try to run the delete from the 'Edit' page, and
> >> >>> >> > capture
> >> >>> >> > browser console output. Otherwise, apologies for troubling you
> >> >>> >> > with
> >> >>> >> > this.
> >> >>> >> > 
> >> >>> >> > Kind regards,
> >> >>> >> > 
> >> >>> >> > Cam
> >> >>> >> > 
> >> >>> >> > On Tue, Dec 13, 2016 at 12:27 PM, Elad Ben Aharon
> >> >>> >> > 
> >> >>> >> > 
> >> >>> >> > wrote:
> >> >>> >> >> There is no indication for image deletion in engine.log
> >> >>> >> >> The browser console log is located in your browser under
> >> >>> >> >> 'settings'->'developer'.
> >> >>> >> >> Please try to delete a disk as you tried before, get the
> >> >>> >> >> console
> >> >>> >> >> log
> >> >>> >> >> and
> >> >>> >> >> provide it.
> >> >>> >> >> 
> >> >>> >> >> Thanks
> >> >>> >> >> 
> >> >>> >> >> On Mon, Dec 12, 2016 at 7:40 PM, cmc  wrote:
> >> >>> >> >>> Hi Eled,
> >> >>> >> >>> 
> >> >>> >> >>> I've attached the ui log and the engine log but I'm not sure
> >> >>> >> >>> what
> >> >>> >> >>> the
> >> >>> >> >>> browser console log is - there is a 'console.log' in
> >> >>> >> >>> /var/log/ovirt-engine,
> >> >>> >> >>> but it is zero size (do I have to turn up debugging perhaps?).
> >> >>> >> >>> 
> >> >>> >> >>> Kind regards,
> >> >>> >> >>> 
> >> >>> >> >>> Cam
> >> >>> >> >>> 
> >> >>> >> >>> On Sun, Dec 11, 2016 at 2:26 PM, Elad Ben Aharon
> >> >>> >> >>> 

Re: [ovirt-users] web-ui issues

2016-12-07 Thread Alexander Wels
On Tuesday, December 6, 2016 1:42:33 PM EST Maton, Brett wrote:
> Ok thanks.
> 
>   I've restarted the ui a few times today, still nothing ( at all ) in
> ui.log
> 
>   The errors do look like 'iffy' queries, no errors in PostgreSQL logs
> though.
> 

Hi Brett,

Some my wonderful team mates worked out the problem [1], apparently it is a 
bug in 4.0.6-3 that should be fixed in the next release.

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

> On 6 December 2016 at 13:28, Alexander Wels <aw...@redhat.com> wrote:
> > On Monday, December 5, 2016 8:49:20 PM EST Maton, Brett wrote:
> > > Sure here you go:
> > > 
> > > [image: Inline images 1]
> > > Close the dialogs and the dashboard fades in, Virtual Machines tab
> > 
> > doesn't
> > 
> > > (or I get fed up of closing dialogs before it does)
> > > 
> > > [image: Inline images 2]
> > 
> > Interesting, those aren't actually UI failures, those appear to be
> > failures
> > from backend requests. As in, get me some data, and the query fails for
> > some
> > reason, there should be something in the engine log. Let me dig up the
> > ones
> > you posted again and take a closer look.
> > 
> > > On 5 December 2016 at 20:11, Alexander Wels <aw...@redhat.com> wrote:
> > > > On Monday, December 5, 2016 7:11:52 PM EST Maton, Brett wrote:
> > > > > Yup those are the logs from the hosted engine,
> > > > > 
> > > > >   ui.log is still empty, all very very odd...
> > > > 
> > > > Can you send me a screenshot of what you are seeing? As it makes no
> > 
> > sense
> > 
> > > > that
> > > > the UI.log is empty, since the exception handler tries to write to the
> > > > backend
> > > > UI log.
> > > > 
> > > > > On 5 December 2016 at 18:12, Alexander Wels <aw...@redhat.com>
> > 
> > wrote:
> > > > > > On Monday, December 5, 2016 5:41:59 PM EST Maton, Brett wrote:
> > > > > > > Logs are here
> > > > > > > <https://www.sendtransfer.com/download.php?id=
> > > > > > 
> > > > > > 7a4ccbeab673dfda8aa0c38676063b
> > > > > > 
> > > > > > > 7a=11138>
> > > > > > 
> > > > > > Are you sure those are the correct logs? The UI.log is empty and
> > 
> > the
> > 
> > > > other
> > > > 
> > > > > > logs don't have much of anything in them.
> > > > > > 
> > > > > > > On 5 December 2016 at 16:57, Alexander Wels <aw...@redhat.com>
> > > > 
> > > > wrote:
> > > > > > > > On Monday, December 5, 2016 4:55:19 PM EST Maton, Brett wrote:
> > > > > > > > > Hi,
> > > > > > > > > 
> > > > > > > > >   I tried restarting the browser and clearing the cache but
> > > > > > > > >   I
> > > > 
> > > > still
> > > > 
> > > > > > have
> > > > > > 
> > > > > > > > > the same problem.
> > > > > > > > > 
> > > > > > > > >   Symbol maps it is then
> > > > > > > > 
> > > > > > > > To install the symbol maps do the following on the ENGINE:
> > > > > > > > 
> > > > > > > > 1. yum install ovirt-engine-webadmin-portal-debuginfo
> > > > > > > > 2. restart engine
> > > > > > > > 3. Reproduce the problem.
> > > > > > > > 4. Send me the UI.log from the engine machine.
> > > > > > > > 
> > > > > > > > > On 5 December 2016 at 16:00, Alexander Wels <
> > 
> > aw...@redhat.com>
> > 
> > > > > > wrote:
> > > > > > > > > > On Sunday, December 4, 2016 5:57:50 PM EST Maton, Brett
> > 
> > wrote:
> > > > > > > > > > > Hi Oved,
> > > > > > > > > > > 
> > > > > > > > > > >   I've upload the logs here
> > > > > > > > > > > 
> > > > > > > > > > > <https://www.sendtransfer.com/download.php?id=
> > > > > > > > > > 
> > > > > > > > > > bd24f303b23c2cd

Re: [ovirt-users] web-ui issues

2016-12-06 Thread Alexander Wels
On Monday, December 5, 2016 8:49:20 PM EST Maton, Brett wrote:
> Sure here you go:
> 
> [image: Inline images 1]
> Close the dialogs and the dashboard fades in, Virtual Machines tab doesn't
> (or I get fed up of closing dialogs before it does)
> 
> [image: Inline images 2]
> 

Interesting, those aren't actually UI failures, those appear to be failures 
from backend requests. As in, get me some data, and the query fails for some 
reason, there should be something in the engine log. Let me dig up the ones 
you posted again and take a closer look.

> On 5 December 2016 at 20:11, Alexander Wels <aw...@redhat.com> wrote:
> > On Monday, December 5, 2016 7:11:52 PM EST Maton, Brett wrote:
> > > Yup those are the logs from the hosted engine,
> > > 
> > >   ui.log is still empty, all very very odd...
> > 
> > Can you send me a screenshot of what you are seeing? As it makes no sense
> > that
> > the UI.log is empty, since the exception handler tries to write to the
> > backend
> > UI log.
> > 
> > > On 5 December 2016 at 18:12, Alexander Wels <aw...@redhat.com> wrote:
> > > > On Monday, December 5, 2016 5:41:59 PM EST Maton, Brett wrote:
> > > > > Logs are here
> > > > > <https://www.sendtransfer.com/download.php?id=
> > > > 
> > > > 7a4ccbeab673dfda8aa0c38676063b
> > > > 
> > > > > 7a=11138>
> > > > 
> > > > Are you sure those are the correct logs? The UI.log is empty and the
> > 
> > other
> > 
> > > > logs don't have much of anything in them.
> > > > 
> > > > > On 5 December 2016 at 16:57, Alexander Wels <aw...@redhat.com>
> > 
> > wrote:
> > > > > > On Monday, December 5, 2016 4:55:19 PM EST Maton, Brett wrote:
> > > > > > > Hi,
> > > > > > > 
> > > > > > >   I tried restarting the browser and clearing the cache but I
> > 
> > still
> > 
> > > > have
> > > > 
> > > > > > > the same problem.
> > > > > > > 
> > > > > > >   Symbol maps it is then
> > > > > > 
> > > > > > To install the symbol maps do the following on the ENGINE:
> > > > > > 
> > > > > > 1. yum install ovirt-engine-webadmin-portal-debuginfo
> > > > > > 2. restart engine
> > > > > > 3. Reproduce the problem.
> > > > > > 4. Send me the UI.log from the engine machine.
> > > > > > 
> > > > > > > On 5 December 2016 at 16:00, Alexander Wels <aw...@redhat.com>
> > > > 
> > > > wrote:
> > > > > > > > On Sunday, December 4, 2016 5:57:50 PM EST Maton, Brett wrote:
> > > > > > > > > Hi Oved,
> > > > > > > > > 
> > > > > > > > >   I've upload the logs here
> > > > > > > > > 
> > > > > > > > > <https://www.sendtransfer.com/download.php?id=
> > > > > > > > 
> > > > > > > > bd24f303b23c2cd393676f0da5c323
> > > > > > > > 
> > > > > > > > > d8=10263>
> > > > > > > > > 
> > > > > > > > > On 4 December 2016 at 12:25, Oved Ourfali <
> > 
> > oourf...@redhat.com>
> > 
> > > > > > wrote:
> > > > > > > > > > Please attach complete logs.
> > > > > > > > > > Engine, server and ui logs.
> > > > > > > > > > 
> > > > > > > > > > Thanks,
> > > > > > > > > > Oved
> > > > > > > > > > 
> > > > > > > > > > On Dec 4, 2016 13:45, "Maton, Brett" <
> > 
> > mat...@ltresources.co.uk
> > 
> > > > > > wrote:
> > > > > > > > > >> Since I upgraded to 4.0.6-3 I've been having problems
> > > > > > > > > >> with
> > > > 
> > > > the UI
> > > > 
> > > > > > > > > >> When I login the dash board presents a bunch of Operation
> > > > > > > > > >> Canceled
> > > > > > > > > >> dialogs,
> > > > > > > > > >> 
> > > > > > > 

Re: [ovirt-users] web-ui issues

2016-12-05 Thread Alexander Wels
On Monday, December 5, 2016 7:11:52 PM EST Maton, Brett wrote:
> Yup those are the logs from the hosted engine,
> 
>   ui.log is still empty, all very very odd...
> 

Can you send me a screenshot of what you are seeing? As it makes no sense that 
the UI.log is empty, since the exception handler tries to write to the backend 
UI log.

> On 5 December 2016 at 18:12, Alexander Wels <aw...@redhat.com> wrote:
> > On Monday, December 5, 2016 5:41:59 PM EST Maton, Brett wrote:
> > > Logs are here
> > > <https://www.sendtransfer.com/download.php?id=
> > 
> > 7a4ccbeab673dfda8aa0c38676063b
> > 
> > > 7a=11138>
> > 
> > Are you sure those are the correct logs? The UI.log is empty and the other
> > logs don't have much of anything in them.
> > 
> > > On 5 December 2016 at 16:57, Alexander Wels <aw...@redhat.com> wrote:
> > > > On Monday, December 5, 2016 4:55:19 PM EST Maton, Brett wrote:
> > > > > Hi,
> > > > > 
> > > > >   I tried restarting the browser and clearing the cache but I still
> > 
> > have
> > 
> > > > > the same problem.
> > > > > 
> > > > >   Symbol maps it is then
> > > > 
> > > > To install the symbol maps do the following on the ENGINE:
> > > > 
> > > > 1. yum install ovirt-engine-webadmin-portal-debuginfo
> > > > 2. restart engine
> > > > 3. Reproduce the problem.
> > > > 4. Send me the UI.log from the engine machine.
> > > > 
> > > > > On 5 December 2016 at 16:00, Alexander Wels <aw...@redhat.com>
> > 
> > wrote:
> > > > > > On Sunday, December 4, 2016 5:57:50 PM EST Maton, Brett wrote:
> > > > > > > Hi Oved,
> > > > > > > 
> > > > > > >   I've upload the logs here
> > > > > > > 
> > > > > > > <https://www.sendtransfer.com/download.php?id=
> > > > > > 
> > > > > > bd24f303b23c2cd393676f0da5c323
> > > > > > 
> > > > > > > d8=10263>
> > > > > > > 
> > > > > > > On 4 December 2016 at 12:25, Oved Ourfali <oourf...@redhat.com>
> > > > 
> > > > wrote:
> > > > > > > > Please attach complete logs.
> > > > > > > > Engine, server and ui logs.
> > > > > > > > 
> > > > > > > > Thanks,
> > > > > > > > Oved
> > > > > > > > 
> > > > > > > > On Dec 4, 2016 13:45, "Maton, Brett" <mat...@ltresources.co.uk
> > > > 
> > > > wrote:
> > > > > > > >> Since I upgraded to 4.0.6-3 I've been having problems with
> > 
> > the UI
> > 
> > > > > > > >> When I login the dash board presents a bunch of Operation
> > > > > > > >> Canceled
> > > > > > > >> dialogs,
> > > > > > > >> 
> > > > > > > >> 
> > > > > > > >> ! Operation canceled
> > > > > > > >> 
> > > > > > > >> Error while executing query: null
> > > > > > > >> 
> > > > > > > >> 
> > > > > > > >> 
> > > > > > > >> ! Operation canceled
> > > > > > > >> 
> > > > > > > >> Error while executing action: A Request to the Server failed:
> > > > > > > >> java.lang.reflect.InvocationTargetException
> > > > > > > >> 
> > > > > > > >> 
> > > > > > > >> The only error I see in engine.log is
> > > > > > > >> 
> > > > > > > >> 2016-12-04 11:34:07,945 INFO  [org.ovirt.engine.docs.utils.s
> > > > > > > >> ervlet.ContextSensitiveHelpMappingServlet] (default task-1)
> > 
> > []
> > 
> > > > > > > >> Context-sensitive help is not installed. Manual directory
> > 
> > doesn't
> > 
> > > > > > exist:
> > > > > > > >> /usr/share/ovirt-engine/manual
> > > > > > > >> 
> > > > > > > >> Eventually after closing the error dialogs the dash board is
> > > > > > 
> > > > > 

Re: [ovirt-users] web-ui issues

2016-12-05 Thread Alexander Wels
On Monday, December 5, 2016 5:41:59 PM EST Maton, Brett wrote:
> Logs are here
> <https://www.sendtransfer.com/download.php?id=7a4ccbeab673dfda8aa0c38676063b
> 7a=11138>

Are you sure those are the correct logs? The UI.log is empty and the other 
logs don't have much of anything in them.

> On 5 December 2016 at 16:57, Alexander Wels <aw...@redhat.com> wrote:
> > On Monday, December 5, 2016 4:55:19 PM EST Maton, Brett wrote:
> > > Hi,
> > > 
> > >   I tried restarting the browser and clearing the cache but I still have
> > > 
> > > the same problem.
> > > 
> > >   Symbol maps it is then
> > 
> > To install the symbol maps do the following on the ENGINE:
> > 
> > 1. yum install ovirt-engine-webadmin-portal-debuginfo
> > 2. restart engine
> > 3. Reproduce the problem.
> > 4. Send me the UI.log from the engine machine.
> > 
> > > On 5 December 2016 at 16:00, Alexander Wels <aw...@redhat.com> wrote:
> > > > On Sunday, December 4, 2016 5:57:50 PM EST Maton, Brett wrote:
> > > > > Hi Oved,
> > > > > 
> > > > >   I've upload the logs here
> > > > > 
> > > > > <https://www.sendtransfer.com/download.php?id=
> > > > 
> > > > bd24f303b23c2cd393676f0da5c323
> > > > 
> > > > > d8=10263>
> > > > > 
> > > > > On 4 December 2016 at 12:25, Oved Ourfali <oourf...@redhat.com>
> > 
> > wrote:
> > > > > > Please attach complete logs.
> > > > > > Engine, server and ui logs.
> > > > > > 
> > > > > > Thanks,
> > > > > > Oved
> > > > > > 
> > > > > > On Dec 4, 2016 13:45, "Maton, Brett" <mat...@ltresources.co.uk>
> > 
> > wrote:
> > > > > >> Since I upgraded to 4.0.6-3 I've been having problems with the UI
> > > > > >> 
> > > > > >> When I login the dash board presents a bunch of Operation
> > > > > >> Canceled
> > > > > >> dialogs,
> > > > > >> 
> > > > > >> 
> > > > > >> ! Operation canceled
> > > > > >> 
> > > > > >> Error while executing query: null
> > > > > >> 
> > > > > >> 
> > > > > >> 
> > > > > >> ! Operation canceled
> > > > > >> 
> > > > > >> Error while executing action: A Request to the Server failed:
> > > > > >> java.lang.reflect.InvocationTargetException
> > > > > >> 
> > > > > >> 
> > > > > >> The only error I see in engine.log is
> > > > > >> 
> > > > > >> 2016-12-04 11:34:07,945 INFO  [org.ovirt.engine.docs.utils.s
> > > > > >> ervlet.ContextSensitiveHelpMappingServlet] (default task-1) []
> > > > > >> Context-sensitive help is not installed. Manual directory doesn't
> > > > 
> > > > exist:
> > > > > >> /usr/share/ovirt-engine/manual
> > > > > >> 
> > > > > >> Eventually after closing the error dialogs the dash board is
> > > > 
> > > > displayed.
> > > > 
> > > > > >> Most of the UI tabs then work normally, however 'Virtual
> > > > > >> Machines'
> > > > > >> tab
> > > > > >> doesn't display any information, just the progress 'dots' on the
> > > > > >> first
> > > > > >> line, it then cycles through the null query error dialogs.
> > > > > >> 
> > > > > >> This error also appeared in the log while I was writing this:
> > > > > >> 
> > > > > >> 2016-12-04 11:40:09,276 INFO
> > > > > >> [org.ovirt.engine.core.bll.EngineBackupAwarenessManager]
> > > > > >> (DefaultQuartzScheduler5) [7b442cfe] Backup check started.
> > > > > >> 2016-12-04 11:40:09,278 INFO
> > > > > >> [org.ovirt.engine.core.bll.EngineBackupAwarenessManager]
> > > > > >> (DefaultQuartzScheduler5) [7b442cfe] Backup check completed.
> > > > > >> 2016-12-04 11:40:09,772 INFO
> > > > > >> [org.ovirt.engine.core.bll.storage.ovfstore.OvfDataUpdater]
> > > > > >> (D

Re: [ovirt-users] web-ui issues

2016-12-05 Thread Alexander Wels
On Sunday, December 4, 2016 5:57:50 PM EST Maton, Brett wrote:
> Hi Oved,
> 
>   I've upload the logs here
>  d8=10263>
> On 4 December 2016 at 12:25, Oved Ourfali  wrote:
> > Please attach complete logs.
> > Engine, server and ui logs.
> > 
> > Thanks,
> > Oved
> > 
> > On Dec 4, 2016 13:45, "Maton, Brett"  wrote:
> >> Since I upgraded to 4.0.6-3 I've been having problems with the UI
> >> 
> >> When I login the dash board presents a bunch of Operation Canceled
> >> dialogs,
> >> 
> >> 
> >> ! Operation canceled
> >> 
> >> Error while executing query: null
> >> 
> >> 
> >> 
> >> ! Operation canceled
> >> 
> >> Error while executing action: A Request to the Server failed:
> >> java.lang.reflect.InvocationTargetException
> >> 
> >> 
> >> The only error I see in engine.log is
> >> 
> >> 2016-12-04 11:34:07,945 INFO  [org.ovirt.engine.docs.utils.s
> >> ervlet.ContextSensitiveHelpMappingServlet] (default task-1) []
> >> Context-sensitive help is not installed. Manual directory doesn't exist:
> >> /usr/share/ovirt-engine/manual
> >> 
> >> Eventually after closing the error dialogs the dash board is displayed.
> >> 
> >> Most of the UI tabs then work normally, however 'Virtual Machines' tab
> >> doesn't display any information, just the progress 'dots' on the first
> >> line, it then cycles through the null query error dialogs.
> >> 
> >> This error also appeared in the log while I was writing this:
> >> 
> >> 2016-12-04 11:40:09,276 INFO 
> >> [org.ovirt.engine.core.bll.EngineBackupAwarenessManager]
> >> (DefaultQuartzScheduler5) [7b442cfe] Backup check started.
> >> 2016-12-04 11:40:09,278 INFO 
> >> [org.ovirt.engine.core.bll.EngineBackupAwarenessManager]
> >> (DefaultQuartzScheduler5) [7b442cfe] Backup check completed.
> >> 2016-12-04 11:40:09,772 INFO 
> >> [org.ovirt.engine.core.bll.storage.ovfstore.OvfDataUpdater]
> >> (DefaultQuartzScheduler3) [2701e060] Attempting to update VMs/Templates
> >> Ovf. 2016-12-04 11:40:09,774 INFO  [org.ovirt.engine.core.bll.sto
> >> rage.ovfstore.ProcessOvfUpdateForStoragePoolCommand]
> >> (DefaultQuartzScheduler3) [5358e209] Before acquiring and wait lock
> >> 'EngineLock:{exclusiveLocks='[57fc8739-0039-00c7-0322-01e5= >> PDATE, ACTION_TYPE_FAILED_OBJECT_LOCKED>]', sharedLocks='null'}'
> >> 2016-12-04 11:40:09,774 INFO  [org.ovirt.engine.core.bll.sto
> >> rage.ovfstore.ProcessOvfUpdateForStoragePoolCommand]
> >> (DefaultQuartzScheduler3) [5358e209] Lock-wait acquired to object
> >> 'EngineLock:{exclusiveLocks='[57fc8739-0039-00c7-0322-01e5= >> PDATE, ACTION_TYPE_FAILED_OBJECT_LOCKED>]', sharedLocks='null'}'
> >> 2016-12-04 11:40:09,775 INFO  [org.ovirt.engine.core.bll.sto
> >> rage.ovfstore.ProcessOvfUpdateForStoragePoolCommand]
> >> (DefaultQuartzScheduler3) [5358e209] Running command:
> >> ProcessOvfUpdateForStoragePoolCommand internal: true. Entities affected
> >> 
> >> :  ID: 57fc8739-0039-00c7-0322-01e5 Type: StoragePool
> >> 
> >> 2016-12-04 11:40:09,781 INFO  [org.ovirt.engine.core.bll.sto
> >> rage.ovfstore.ProcessOvfUpdateForStoragePoolCommand]
> >> (DefaultQuartzScheduler3) [5358e209] Attempting to update VM OVFs in Data
> >> Center 'Default'
> >> 2016-12-04 11:40:09,788 INFO  [org.ovirt.engine.core.bll.sto
> >> rage.ovfstore.ProcessOvfUpdateForStoragePoolCommand]
> >> (DefaultQuartzScheduler3) [5358e209] Successfully updated VM OVFs in Data
> >> Center 'Default'
> >> 2016-12-04 11:40:09,789 INFO  [org.ovirt.engine.core.bll.sto
> >> rage.ovfstore.ProcessOvfUpdateForStoragePoolCommand]
> >> (DefaultQuartzScheduler3) [5358e209] Attempting to update template OVFs
> >> in
> >> Data Center 'Default'
> >> 2016-12-04 11:40:09,790 INFO  [org.ovirt.engine.core.bll.sto
> >> rage.ovfstore.ProcessOvfUpdateForStoragePoolCommand]
> >> (DefaultQuartzScheduler3) [5358e209] Successfully updated templates OVFs
> >> in
> >> Data Center 'Default'
> >> 2016-12-04 11:40:09,790 INFO  [org.ovirt.engine.core.bll.sto
> >> rage.ovfstore.ProcessOvfUpdateForStoragePoolCommand]
> >> (DefaultQuartzScheduler3) [5358e209] Attempting to remove unneeded
> >> template/vm OVFs in Data Center 'Default'
> >> 2016-12-04 11:40:09,793 INFO  [org.ovirt.engine.core.bll.sto
> >> rage.ovfstore.ProcessOvfUpdateForStoragePoolCommand]
> >> (DefaultQuartzScheduler3) [5358e209] Successfully removed unneeded
> >> template/vm OVFs in Data Center 'Default'
> >> 2016-12-04 11:40:09,793 INFO  [org.ovirt.engine.core.bll.sto
> >> rage.ovfstore.ProcessOvfUpdateForStoragePoolCommand]
> >> (DefaultQuartzScheduler3) [5358e209] Lock freed to object
> >> 'EngineLock:{exclusiveLocks='[57fc8739-0039-00c7-0322-01e5= >> PDATE, ACTION_TYPE_FAILED_OBJECT_LOCKED>]', sharedLocks='null'}'
> >> 
> >> 
> >> 
> >> If I restart the ovirt-engine process, the UI works for a while before
> >> the Operation Canceled dialogs start appearing again.
> >> 
> >> Any suggestions ?
> >> 


Re: [ovirt-users] oVirt 4 and Neutron

2016-12-02 Thread Alexander Wels
On Friday, December 2, 2016 11:44:48 AM EST Devin Acosta wrote:
> Marcin,
> 
> I installed the OVN-Central on a dedicated VM that lives on the ovirtmgmt
> network, I also installed the OVN-Provider on this same instance. I then
> installed the OVN-Controllers on all 3 of my oVirt Nodes, with the OVN
> provider driver, and configured the vdsm ovn-controller {central-ip}
> {ovirt-node-ip} on each of the boxes. It appears to be running but what I
> am noticing is that the ovs-vswitchd process is pegged at 100% on all the
> oVirt nodes.
> 
> So for instance from oVirt Node 3 (IP 75) the ovs-vsctl shows the IPs for
> the other 2 nodes in it's configuration. It seems to be that way across all
> 3 nodes, they know about the other nodes in the cluster. I was able to
> create a network inside of oVIRT using the external provider. After i
> create a subnet inside oVirt I do get an error at the top but seems to be
> ok?
> 

I can't help you with the OVN stuff, but the error at the top indicates some 
kind of bug in the UI code. If you haven't done so already can you install the 
web admin symbol maps and restart your engine

yum install ovirt-engine-webadmin-portal-debuginfo

Then recreate the issues. Then the UI.log on the engine machine will contain a 
deobfuscated stack trace that can help us in determining the cause of the UI 
issue.

> 
> [image: Inline image 2]
> 
> (Output from Node3 IP 75, of: ovs-vsctl show)
> 
> 61af799c-a621-445e-8183-23dcb38ea3cc
> Bridge br-int
> fail_mode: secure
> Port "ovn-c0dc09-0"
> Interface "ovn-c0dc09-0"
> type: geneve
> options: {csum="true", key=flow, remote_ip="172.10.10.73"}
> Port "ovn-456949-0"
> Interface "ovn-456949-0"
> type: geneve
> options: {csum="true", key=flow, remote_ip="172.10.10.74"}
> Port br-int
> Interface br-int
> type: internal
> ovs_version: "2.6.90"
> 
> 
> 
> Example where the (ovs-vswitchd) is running at 100% on all 3 oVirt Nodes.
> 
>   PID USER  PR  NIVIRTRESSHR S  %CPU %MEM TIME+ COMMAND
>  1768 root  10 -10   49680  10808   9388 R 100.0  0.0  24:48.85
> ovs-vswitchd
> 
> 
> [root@ovirt01 openvswitch]# tail -f ovs-vswitchd.log
> 2016-12-02T18:27:12.174Z|00604|poll_loop|INFO|Dropped 557231 log messages
> in last 6 seconds (most recently, 0 seconds ago) due to excessive rate
> 2016-12-02T18:27:12.174Z|00605|poll_loop|INFO|wakeup due to 0-ms timeout at
> vswitchd/bridge.c:3031 (100% CPU usage)
> 2016-12-02T18:27:18.174Z|00606|poll_loop|INFO|Dropped 536053 log messages
> in last 6 seconds (most recently, 0 seconds ago) due to excessive rate
> 2016-12-02T18:27:18.174Z|00607|poll_loop|INFO|wakeup due to 0-ms timeout at
> vswitchd/bridge.c:3031 (100% CPU usage)
> 2016-12-02T18:27:24.174Z|00608|poll_loop|INFO|Dropped 536369 log messages
> in last 6 seconds (most recently, 0 seconds ago) due to excessive rate
> 2016-12-02T18:27:24.174Z|00609|poll_loop|INFO|wakeup due to 0-ms timeout at
> vswitchd/bridge.c:3031 (100% CPU usage)
> 2016-12-02T18:27:30.174Z|00610|poll_loop|INFO|Dropped 532134 log messages
> in last 6 seconds (most recently, 0 seconds ago) due to excessive rate
> 2016-12-02T18:27:30.174Z|00611|poll_loop|INFO|wakeup due to 1-ms timeout at
> vswitchd/bridge.c:3031 (100% CPU usage)
> 2016-12-02T18:27:36.174Z|00612|poll_loop|INFO|Dropped 531659 log messages
> in last 6 seconds (most recently, 0 seconds ago) due to excessive rate
> 2016-12-02T18:27:36.174Z|00613|poll_loop|INFO|wakeup due to 0-ms timeout at
> vswitchd/bridge.c:3031 (99% CPU usage)
> 
> 
> One other thing that I notice is that when I got to Provision a Virtual
> Machine from the Main Data Center, my Networks don't show under the NIC
> where I could select them? Am I missing something on this?
> 
> Thanks very much for your help.
> 
> Devin Acosta
> 
> On Fri, Dec 2, 2016 at 5:16 AM, Marcin Mirecki  wrote:
> > Devin,
> > 
> > > I presume the OVN Controller should just be some VM that is on the
> > > ovirtmgmt network, or is there a preferred place to install the OVN
> > > controller software?
> > 
> > Please note the difference between OVN-Central and OVN-Controller:
> > OVN-Central is the central part of OVN, storing the logical configuration
> > and controlling the many OVN-Controllers
> > OVN-Controller is the piece of software which resides on the ovirt-hosts,
> > and manages the local OVS setup on the host.
> > 
> >  OVN-Central
> >
> >/   |  \
> >   
> >   /|   \
> >  
> >  / |\
> > 
> > /  | \
> > 
> > OVN-ControllerOVN-Controller   OVN-Controller
> > 
> > 
> > OVN-central can be installed anywhere , as long as it can communicate with
> > the engine and all the hosts.
> > During development we install it along 

Re: [ovirt-users] Uncaught exception occurred. Cannot read property 'f' of null

2016-11-09 Thread Alexander Wels
On Thursday, October 20, 2016 9:14:30 AM EST Alexander Wels wrote:
> On Thursday, October 20, 2016 9:20:23 AM EDT Jorick Astrego wrote:
> > On 10/18/2016 03:59 PM, Michal Skrivanek wrote:
> > >> On 18 Oct 2016, at 15:56, Alexander Wels <aw...@redhat.com> wrote:
> > >> 
> > >> On Tuesday, October 18, 2016 3:44:31 PM EDT Jorick Astrego wrote:
> > >>> Hi,
> > >>> 
> > >>> We have ovirt connected to our freeipa domain. Things work fine
> > >>> 
> > >>> generally, but once in a while I get the following error pop up in the
> 
> ui:
> > >>> Uncaught exception occurred. Please try reloading the page.
> > >>> Details:
> > >>> Exception caught: Exception caught: (TypeError) __gwt$exception:
> > >>> : Cannot read property 'f' of null
> > >>> Please have your administrator check the UI logs
> > >> 
> > >> Could you install the symbol maps assocaited with the obfuscated code
> > >> so
> > >> we
> > >> can get a readable stack trace. To install the symbol maps please run
> > >> the
> > >> following command on the machine running the engine (or VM if it is
> > >> HE).
> > >> 
> > >> yum install ovirt-engine-webadmin-portal-debuginfo
> > >> 
> > >> Please restart the ovirt-engine process with
> > >> 
> > >> systemctl restart ovirt-engine
> > >> 
> > >> after you have installed the symbol maps. Then next time you see the
> > >> message in the UI, the stack trace in the log should be readable and we
> > >> can help you better determine what is causing the problem.
> > > 
> > > right, that’s likely even easier than what I just wrote;-)
> > > 
> > >>> The log that goes with it:
> > >>> 
> > >>> 2016-10-17 16:31:32,578 ERROR
> > >>> [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService]
> > >>> (default task-21) [] Permutation name:
> > >>> 430985F23DFC1C8BE1C7FDD91EDAA785
> > >>> 2016-10-17 16:31:32,578 ERROR
> > >>> [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService]
> > >>> (default task-21) [] Uncaught exception: :
> > >>> com.google.gwt.event.shared.UmbrellaException: Exception caught:
> > >>> Exception caught: (TypeError)
> > >>> 
> > >>>   __gwt$exception: : Cannot read property 'f' of null
> > >>>   
> > >>>  at
> > >>> 
> > >>> Unknown.ps(https://ovirttest.netbulae.test/ovirt-engine/webadmin/43098
> > >>> 5F
> > >>> 23DF C1C8BE1C7FDD91EDAA785.cache.html@3837) at
> > >>> Unknown.xs(https://ovirttest.netbulae.test/ovirt-engine/webadmin/43098
> > >>> 5F
> > >>> 23DF C1C8BE1C7FDD91EDAA785.cache.html@41) at
> > >>> Unknown.C3(https://ovirttest.netbulae.test/ovirt-engine/webadmin/43098
> > >>> 5F
> > >>> 23DF C1C8BE1C7FDD91EDAA785.cache.html@19) at
> > >>> Unknown.F3(https://ovirttest.netbulae.test/ovirt-engine/webadmin/43098
> > >>> 5F
> > >>> 23DF C1C8BE1C7FDD91EDAA785.cache.html@19) at
> > >>> Unknown.P2(https://ovirttest.netbulae.test/ovirt-engine/webadmin/43098
> > >>> 5F
> > >>> 23DF C1C8BE1C7FDD91EDAA785.cache.html@117) at
> > >>> Unknown.hwf(https://ovirttest.netbulae.test/ovirt-engine/webadmin/4309
> > >>> 85
> > >>> F23D FC1C8BE1C7FDD91EDAA785.cache.html@41) at
> > >>> Unknown.twf(https://ovirttest.netbulae.test/ovirt-engine/webadmin/4309
> > >>> 85
> > >>> F23D FC1C8BE1C7FDD91EDAA785.cache.html@162) at
> > >>> Unknown.xwf(https://ovirttest.netbulae.test/ovirt-engine/webadmin/4309
> > >>> 85
> > >>> F23D FC1C8BE1C7FDD91EDAA785.cache.html@14293) at
> > >>> Unknown.KVe(https://ovirttest.netbulae.test/ovirt-engine/webadmin/4309
> > >>> 85
> > >>> F23D FC1C8BE1C7FDD91EDAA785.cache.html@1172) at
> > >>> Unknown.yUe(https://ovirttest.netbulae.test/ovirt-engine/webadmin/4309
> > >>> 85
> > >>> F23D FC1C8BE1C7FDD91EDAA785.cache.html@33) at
> > >>> Unknown.viy(@53)at Unknown.Piy(@18587) at
> > >>> Unknown.zOr(https://ovirttest.netbulae.test/ovirt-engine/webadmin/4309
> > >>> 85
> > >>> F

Re: [ovirt-users] Uncaught exception occurred. Cannot read property 'f' of null

2016-10-20 Thread Alexander Wels
On Thursday, October 20, 2016 9:20:23 AM EDT Jorick Astrego wrote:
> On 10/18/2016 03:59 PM, Michal Skrivanek wrote:
> >> On 18 Oct 2016, at 15:56, Alexander Wels <aw...@redhat.com> wrote:
> >> 
> >> On Tuesday, October 18, 2016 3:44:31 PM EDT Jorick Astrego wrote:
> >>> Hi,
> >>> 
> >>> We have ovirt connected to our freeipa domain. Things work fine
> >>> 
> >>> generally, but once in a while I get the following error pop up in the 
ui:
> >>> Uncaught exception occurred. Please try reloading the page. Details:
> >>> Exception caught: Exception caught: (TypeError) __gwt$exception:
> >>> : Cannot read property 'f' of null
> >>> Please have your administrator check the UI logs
> >> 
> >> Could you install the symbol maps assocaited with the obfuscated code so
> >> we
> >> can get a readable stack trace. To install the symbol maps please run the
> >> following command on the machine running the engine (or VM if it is HE).
> >> 
> >> yum install ovirt-engine-webadmin-portal-debuginfo
> >> 
> >> Please restart the ovirt-engine process with
> >> 
> >> systemctl restart ovirt-engine
> >> 
> >> after you have installed the symbol maps. Then next time you see the
> >> message in the UI, the stack trace in the log should be readable and we
> >> can help you better determine what is causing the problem.
> > 
> > right, that’s likely even easier than what I just wrote;-)
> > 
> >>> The log that goes with it:
> >>> 
> >>> 2016-10-17 16:31:32,578 ERROR
> >>> [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService]
> >>> (default task-21) [] Permutation name: 430985F23DFC1C8BE1C7FDD91EDAA785
> >>> 2016-10-17 16:31:32,578 ERROR
> >>> [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService]
> >>> (default task-21) [] Uncaught exception: :
> >>> com.google.gwt.event.shared.UmbrellaException: Exception caught:
> >>> Exception caught: (TypeError)
> >>> 
> >>>   __gwt$exception: : Cannot read property 'f' of null
> >>>   
> >>>  at
> >>> 
> >>> Unknown.ps(https://ovirttest.netbulae.test/ovirt-engine/webadmin/430985F
> >>> 23DF C1C8BE1C7FDD91EDAA785.cache.html@3837) at
> >>> Unknown.xs(https://ovirttest.netbulae.test/ovirt-engine/webadmin/430985F
> >>> 23DF C1C8BE1C7FDD91EDAA785.cache.html@41) at
> >>> Unknown.C3(https://ovirttest.netbulae.test/ovirt-engine/webadmin/430985F
> >>> 23DF C1C8BE1C7FDD91EDAA785.cache.html@19) at
> >>> Unknown.F3(https://ovirttest.netbulae.test/ovirt-engine/webadmin/430985F
> >>> 23DF C1C8BE1C7FDD91EDAA785.cache.html@19) at
> >>> Unknown.P2(https://ovirttest.netbulae.test/ovirt-engine/webadmin/430985F
> >>> 23DF C1C8BE1C7FDD91EDAA785.cache.html@117) at
> >>> Unknown.hwf(https://ovirttest.netbulae.test/ovirt-engine/webadmin/430985
> >>> F23D FC1C8BE1C7FDD91EDAA785.cache.html@41) at
> >>> Unknown.twf(https://ovirttest.netbulae.test/ovirt-engine/webadmin/430985
> >>> F23D FC1C8BE1C7FDD91EDAA785.cache.html@162) at
> >>> Unknown.xwf(https://ovirttest.netbulae.test/ovirt-engine/webadmin/430985
> >>> F23D FC1C8BE1C7FDD91EDAA785.cache.html@14293) at
> >>> Unknown.KVe(https://ovirttest.netbulae.test/ovirt-engine/webadmin/430985
> >>> F23D FC1C8BE1C7FDD91EDAA785.cache.html@1172) at
> >>> Unknown.yUe(https://ovirttest.netbulae.test/ovirt-engine/webadmin/430985
> >>> F23D FC1C8BE1C7FDD91EDAA785.cache.html@33) at
> >>> Unknown.viy(@53)at Unknown.Piy(@18587) at
> >>> Unknown.zOr(https://ovirttest.netbulae.test/ovirt-engine/webadmin/430985
> >>> F23D FC1C8BE1C7FDD91EDAA785.cache.html@189) at
> >>> Unknown.$to(https://ovirttest.netbulae.test/ovirt-engine/webadmin/430985
> >>> F23D FC1C8BE1C7FDD91EDAA785.cache.html@311) at
> >>> Unknown.VBo(https://ovirttest.netbulae.test/ovirt-engine/webadmin/430985
> >>> F23D FC1C8BE1C7FDD91EDAA785.cache.html@2599) at
> >>> Unknown.mCo(https://ovirttest.netbulae.test/ovirt-engine/webadmin/430985
> >>> F23D FC1C8BE1C7FDD91EDAA785.cache.html@8942) at
> >>> Unknown.qRn(https://ovirttest.netbulae.test/ovirt-engine/webadmin/430985
> >>> F23D FC1C8BE1C7FDD91EDAA785.cache.html@116) at
> >>> Unknown.tRn(https://ovirttest.netbulae.test/ovirt-engine/webadmin/430985
> >>

Re: [ovirt-users] Uncaught exception occurred. Cannot read property 'f' of null

2016-10-18 Thread Alexander Wels
On Tuesday, October 18, 2016 3:44:31 PM EDT Jorick Astrego wrote:
> Hi,
> 
> We have ovirt connected to our freeipa domain. Things work fine
> generally, but once in a while I get the following error pop up in the ui:
> 
> Uncaught exception occurred. Please try reloading the page. Details:
> Exception caught: Exception caught: (TypeError) __gwt$exception:
> : Cannot read property 'f' of null
> Please have your administrator check the UI logs
> 

Could you install the symbol maps assocaited with the obfuscated code so we 
can get a readable stack trace. To install the symbol maps please run the 
following command on the machine running the engine (or VM if it is HE).

yum install ovirt-engine-webadmin-portal-debuginfo

Please restart the ovirt-engine process with

systemctl restart ovirt-engine

after you have installed the symbol maps. Then next time you see the message 
in the UI, the stack trace in the log should be readable and we can help you 
better determine what is causing the problem.

> The log that goes with it:
> 
> 2016-10-17 16:31:32,578 ERROR
> [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService]
> (default task-21) [] Permutation name: 430985F23DFC1C8BE1C7FDD91EDAA785
> 2016-10-17 16:31:32,578 ERROR
> [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService]
> (default task-21) [] Uncaught exception: :
> com.google.gwt.event.shared.UmbrellaException: Exception caught:
> Exception caught: (TypeError)
>   __gwt$exception: : Cannot read property 'f' of null
>  at
> Unknown.ps(https://ovirttest.netbulae.test/ovirt-engine/webadmin/430985F23DF
> C1C8BE1C7FDD91EDAA785.cache.html@3837) at
> Unknown.xs(https://ovirttest.netbulae.test/ovirt-engine/webadmin/430985F23DF
> C1C8BE1C7FDD91EDAA785.cache.html@41) at
> Unknown.C3(https://ovirttest.netbulae.test/ovirt-engine/webadmin/430985F23DF
> C1C8BE1C7FDD91EDAA785.cache.html@19) at
> Unknown.F3(https://ovirttest.netbulae.test/ovirt-engine/webadmin/430985F23DF
> C1C8BE1C7FDD91EDAA785.cache.html@19) at
> Unknown.P2(https://ovirttest.netbulae.test/ovirt-engine/webadmin/430985F23DF
> C1C8BE1C7FDD91EDAA785.cache.html@117) at
> Unknown.hwf(https://ovirttest.netbulae.test/ovirt-engine/webadmin/430985F23D
> FC1C8BE1C7FDD91EDAA785.cache.html@41) at
> Unknown.twf(https://ovirttest.netbulae.test/ovirt-engine/webadmin/430985F23D
> FC1C8BE1C7FDD91EDAA785.cache.html@162) at
> Unknown.xwf(https://ovirttest.netbulae.test/ovirt-engine/webadmin/430985F23D
> FC1C8BE1C7FDD91EDAA785.cache.html@14293) at
> Unknown.KVe(https://ovirttest.netbulae.test/ovirt-engine/webadmin/430985F23D
> FC1C8BE1C7FDD91EDAA785.cache.html@1172) at
> Unknown.yUe(https://ovirttest.netbulae.test/ovirt-engine/webadmin/430985F23D
> FC1C8BE1C7FDD91EDAA785.cache.html@33) at Unknown.viy(@53)at
> Unknown.Piy(@18587) at
> Unknown.zOr(https://ovirttest.netbulae.test/ovirt-engine/webadmin/430985F23D
> FC1C8BE1C7FDD91EDAA785.cache.html@189) at
> Unknown.$to(https://ovirttest.netbulae.test/ovirt-engine/webadmin/430985F23D
> FC1C8BE1C7FDD91EDAA785.cache.html@311) at
> Unknown.VBo(https://ovirttest.netbulae.test/ovirt-engine/webadmin/430985F23D
> FC1C8BE1C7FDD91EDAA785.cache.html@2599) at
> Unknown.mCo(https://ovirttest.netbulae.test/ovirt-engine/webadmin/430985F23D
> FC1C8BE1C7FDD91EDAA785.cache.html@8942) at
> Unknown.qRn(https://ovirttest.netbulae.test/ovirt-engine/webadmin/430985F23D
> FC1C8BE1C7FDD91EDAA785.cache.html@116) at
> Unknown.tRn(https://ovirttest.netbulae.test/ovirt-engine/webadmin/430985F23D
> FC1C8BE1C7FDD91EDAA785.cache.html@568) at
> Unknown.kVn(https://ovirttest.netbulae.test/ovirt-engine/webadmin/430985F23D
> FC1C8BE1C7FDD91EDAA785.cache.html@74) at
> Unknown.nVn(https://ovirttest.netbulae.test/ovirt-engine/webadmin/430985F23D
> FC1C8BE1C7FDD91EDAA785.cache.html@25943) at
> Unknown.cUn(https://ovirttest.netbulae.test/ovirt-engine/webadmin/430985F23D
> FC1C8BE1C7FDD91EDAA785.cache.html@150) at
> Unknown.fUn(https://ovirttest.netbulae.test/ovirt-engine/webadmin/430985F23D
> FC1C8BE1C7FDD91EDAA785.cache.html@24587) at
> Unknown.KJe(https://ovirttest.netbulae.test/ovirt-engine/webadmin/430985F23D
> FC1C8BE1C7FDD91EDAA785.cache.html@21125) at
> Unknown.Izk(https://ovirttest.netbulae.test/ovirt-engine/webadmin/430985F23D
> FC1C8BE1C7FDD91EDAA785.cache.html@10384) at
> Unknown.P3(https://ovirttest.netbulae.test/ovirt-engine/webadmin/430985F23DF
> C1C8BE1C7FDD91EDAA785.cache.html@137) at
> Unknown.g4(https://ovirttest.netbulae.test/ovirt-engine/webadmin/430985F23DF
> C1C8BE1C7FDD91EDAA785.cache.html@8271) at
> Unknown.(https://ovirttest.netbulae.test/ovirt-engine/webadmin/43
> 0985F23DFC1C8BE1C7FDD91EDAA785.cache.html@65) at
> Unknown._t(https://ovirttest.netbulae.test/ovirt-engine/webadmin/430985F23DF
> C1C8BE1C7FDD91EDAA785.cache.html@29) at
> Unknown.du(https://ovirttest.netbulae.test/ovirt-engine/webadmin/430985F23DF
> C1C8BE1C7FDD91EDAA785.cache.html@57) at
> Unknown.(https://ovirttest.netbulae.test/ovirt-engine/webadmin/43
> 

Re: [ovirt-users] Dashboard Never Loads

2016-10-12 Thread Alexander Wels
On Wednesday, October 12, 2016 11:37:53 AM EDT Rafael Martins wrote:
> - Original Message -
> 
> > From: "Clint Boggio" 
> > To: users@ovirt.org
> > Sent: Wednesday, October 12, 2016 5:26:19 PM
> > Subject: [ovirt-users] Dashboard Never  Loads
> > 
> > Greetings ovirt community;
> > 
> > I have an oVirt environment with a dedicated engine, and 4
> > compute nodes all running CentOS 7, and oVirt 4.0.1.1. On the
> > management interface, the "Dashboard" tab displays "Loading" and the
> > spinning applet is working hard, but nothing ever materializes on the
> > screen. I aplogize if this has apready been addressed, and i searched
> > deeply before I decided to ask the forum.
> > 
> > Is there a document on troubleshooting this problem ?
> 
> Hi,
> 
> I got this issue a few times in past, and it was fixed after I upgraded
> Firefox to a newer version. I don't know if this was exactly the reason of
> the issue, but upgrading your browser may help, if that's the case.
> 
> Thanks,
> Rafael
> 

Yes currently FF below 47 won't load the dashboard due to FF below that 
version not implementing a particular i18n standard. I believe we implemented 
a polyfill to fix that issue recently, I am just not sure which version of the 
dashboard that was fixed. So if you can't upgrade your browser to a newer 
version, you will have to wait until the polyfill version of the dashboard is 
released.

> > ___
> > 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] quick way to see total RAM and CPU count on VM listing

2016-09-30 Thread Alexander Wels
On Thursday, September 29, 2016 4:46:53 PM EDT Nelson Lameiras wrote:
> Hello oVirt community,
> 
> When listing virtual machines, is there a quick way to see how much RAM/CPU
> each machine has?
> 

If you select a VM, it will open up the sub tabs at the bottom of the web 
admin. On the general tab in the second column it will list defined memory, 
guaranteed memory as well as cpu information.

> In oVirt 4.0.4, I can see ram/cpu usage in a very nice way, but I can not
> access easily the total RAM and number of CPUs. The only way to find this
> information in GUI is to edit a vm and see the system tab (and that's when
> the "edit" context menu is available, which is not always)
> 
> Am I missing something?
> This information is very usefull and sometimes critical (when migrating VM
> to hosts which are already low on free RAM, specially when balloning is
> involved)
> 
> I would like to see this information always on screen, like a (un)checkable
> column... does it seem doable ? Maybe it would be possible to show it while
> hoovering the memory/cpu information with the mouse ?
> 
> Please forgive me if this is not the rigth place to post this
> question/request.
> 
> cordialement, regards,
> Nelson LAMEIRAS
> 
> Lyra Network
> Service Projets et Processus
> Tel : +33 (0) 5 32 09 09 70
> 109 rue de l’innovation
> 31670 Labège - France
> www.lyra-network.com


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


Re: [ovirt-users] Cluster shows N/A in Dashboard

2016-09-06 Thread Alexander Wels
On Tuesday, September 6, 2016 3:00:37 PM EDT Gervais de Montbrun wrote:
> Hey Folks,
> 
> Anyone know why my cluster might be showing N/A in the Dashboard?
> 
> 
> feedback-on-oVirt-engine-4.0.3-1.el7.centos
> 
> Cheers,
> Gervais

Because clusters don't have a 'status' to display. We wanted to display the 
count but the widgets also want to display a status. Since there is no status 
the widget says N/A

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


Re: [ovirt-users] Uncaught exception issue

2016-08-29 Thread Alexander Wels
On Monday, August 29, 2016 2:30:41 PM EDT Fred Rolland wrote:
> Check the old wiki until the page is fixed:
> 
> http://old.ovirt.org/OVirt_Engine_Debug_Obfuscated_UI
> 
> On Mon, Aug 29, 2016 at 2:21 PM, James Michels <
> 
> karma.sometimes.hu...@gmail.com> wrote:
> > Hi,
> > 
> > I'm trying to de-obfuscate an uncaught exception error and I've reached
> > this page for instructions: http://www.ovirt.org/
> > uncategorized/engine-debug-obfuscated-ui/
> > 
> > However, images are broken and its kind of difficult to follow
> > instructions without seeing them.
> > 
> > Could you please guys fix it?
> > 
> > Thanks
> > 
> > James
> > 

Since 3.6.5 or 6, the deobfuscation happens automatically if you installed the 
mapping files described in the wiki page. You can look at UI.log and it should 
be deobfuscated. It is important that the rpm version of your engine match the 
rpm version of the mapping files.

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

2016-08-25 Thread Alexander Wels
On Thursday, August 25, 2016 10:56:33 AM EDT Wolfgang Bucher wrote:
> Hello,
> 
> 
> i have removed a storage domain but after two days it's still visible in the
> dashboard.
 
When you say its still visible, you mean you can still see it in the heat map 
at the bottom right? Does it still show in the donut chart (right one) and 
does it also still show in the top inventory count?

> 
> Installation is : oVirt Engine Version: 4.0.2.7-1.el7.centos
> 
> 
> Wolfgang
> 


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


Re: [ovirt-users] Prefered Host to start VM instead of Pinned Host

2016-08-25 Thread Alexander Wels
On Thursday, August 25, 2016 11:51:44 AM EDT Matt . wrote:
> I don't get what you mean here, if there are two host in this cluster
> without pinning it would chose whatever it wants.
> 
> If I create a seperate cluster for each host, I cannot have VM's which
> coult be running on each.
> 
> It's more an and/and/or issue
> 

In the edit VM dialog, if you show advanced options, there is a 'host' sub tab 
on the left. If you select that, there is a 'start running on' option. You can 
select the specific hosts(s) radio button. That will enable the multi select 
box that allows you to select a list of hosts this VM can run on. I think that 
will do what you are trying to do?

> 2016-08-25 5:17 GMT+02:00 Yaniv Dary :
> > You can define a default cluster for this use case.
> > 
> > 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 Fri, Aug 19, 2016 at 8:09 AM, Matt .  wrote:
> >> Hi Guys,
> >> 
> >> Is it an idea to have an option, not the first boot option, to set a
> >> prefered host for a VM to start on ?
> >> 
> >> If you remove this host that it also does not complain about a pinned
> >> VM as it should faillback on "any host in cluster" in that way ?
> >> 
> >> It's nice for static VM's on hosts that might be started on other
> >> hosts when the prefered host is gone, dead or whatever.
> >> 
> >> Cheers,
> >> 
> >> Matt
> >> ___
> >> 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] LDAP-based domain not working after upgrade?

2016-08-10 Thread Alexander Wels
On Wednesday, August 10, 2016 9:02:16 AM EDT Alexander Wels wrote:
> On Wednesday, August 10, 2016 9:10:25 AM EDT nico...@devels.es wrote:
> > El 2016-08-10 08:58, Ondra Machacek escribió:
> > > On 08/10/2016 09:37 AM, Nicolás wrote:
> > >> Hi,
> > >> 
> > >> We're running oVirt 4.0.1.1, and we're trying to grant a permission to
> > >> a
> > >> user on a VM. Thing is when we open the 'Permissions' subtab on that
> > >> VM,
> > >> we click on Add, the LDAP backend shows up but any value entered into
> > >> the search box returns nothing, even when I know the values exist.
> > >> 
> > >> This has been working on oVirt 3.x, we actually migrated to 4.x last
> > >> week and didn't notice this issue.
> > >> 
> > >> Additionally, there's no combobox to choose the permission to grant?
> > > 
> > > There should be combo box to choose a role.
> > 
> > I've attached a screenshot, seems there's not.
> 
> Its highly likely the dropdown is there, but its scrolled below the bottom
> of the dialog and thus you can't see it. I thought I made sure all the
> dialogs were working, seems like I missed one. Let me check it out and see
> what is going on.
> 

Okay I double checked, I went to the VMs main tab, selected a VM, then went to 
the permissions sub tab. Clicked add. The dialog that popped up looks like the 
one attached, which is what I was expecting. The one you attached appears to 
be missing some styling, which is likely what caused the Role to Assign part 
to be scrolled below the bottom of the page.

Can you complete clear your cache (not shift reload, but settings->clear 
cache). If that doesn't work can you tell us the version of the patternfly rpm 
installed on your engine?

Alexander

> > >> All this is done with the admin@internal user, so I guess this is not
> > >> a
> > >> self-permission issue.
> > >> 
> > >> Interesting thing is that I can successfully log-in to the user portal
> > >> with a LDAP based user and manage all the VMs assigned to them.
> > >> 
> > >> Just to see if there's been any configuration change, we also run the
> > >> ovirt-engine-extension-aaa-ldap-setup tool, the configuration it
> > >> returns
> > >> is pretty similar to ours, and even the test commands (Login, Search)
> > >> work successfully (I can see search returning user's data like name,
> > >> surname, ...). We even applied this configuration to engine to see if
> > >> it
> > >> makes a difference but the result is the same, the search dialog
> > >> returns
> > >> nothing and neither I can see the permission to grant.
> > >> 
> > >> Any hint about this?
> > > 
> > > Maybe you hit similar issue to this one[1].
> > > 
> > > Can you please share engine.log, while you hit search button?
> > 
> > I'm also attaching the log at the time I hit the search button, but I'm
> > afraid there's no entry about that.
> > 
> > Thanks.
> > 
> > > [1] https://bugzilla.redhat.com/show_bug.cgi?id=1356675
> > > 
> > >> 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] LDAP-based domain not working after upgrade?

2016-08-10 Thread Alexander Wels
On Wednesday, August 10, 2016 9:10:25 AM EDT nico...@devels.es wrote:
> El 2016-08-10 08:58, Ondra Machacek escribió:
> > On 08/10/2016 09:37 AM, Nicolás wrote:
> >> Hi,
> >> 
> >> We're running oVirt 4.0.1.1, and we're trying to grant a permission to
> >> a
> >> user on a VM. Thing is when we open the 'Permissions' subtab on that
> >> VM,
> >> we click on Add, the LDAP backend shows up but any value entered into
> >> the search box returns nothing, even when I know the values exist.
> >> 
> >> This has been working on oVirt 3.x, we actually migrated to 4.x last
> >> week and didn't notice this issue.
> >> 
> >> Additionally, there's no combobox to choose the permission to grant?
> > 
> > There should be combo box to choose a role.
> 
> I've attached a screenshot, seems there's not.
> 

Its highly likely the dropdown is there, but its scrolled below the bottom of 
the dialog and thus you can't see it. I thought I made sure all the dialogs 
were working, seems like I missed one. Let me check it out and see what is 
going on.

> >> All this is done with the admin@internal user, so I guess this is not
> >> a
> >> self-permission issue.
> >> 
> >> Interesting thing is that I can successfully log-in to the user portal
> >> with a LDAP based user and manage all the VMs assigned to them.
> >> 
> >> Just to see if there's been any configuration change, we also run the
> >> ovirt-engine-extension-aaa-ldap-setup tool, the configuration it
> >> returns
> >> is pretty similar to ours, and even the test commands (Login, Search)
> >> work successfully (I can see search returning user's data like name,
> >> surname, ...). We even applied this configuration to engine to see if
> >> it
> >> makes a difference but the result is the same, the search dialog
> >> returns
> >> nothing and neither I can see the permission to grant.
> >> 
> >> Any hint about this?
> > 
> > Maybe you hit similar issue to this one[1].
> > 
> > Can you please share engine.log, while you hit search button?
> 
> I'm also attaching the log at the time I hit the search button, but I'm
> afraid there's no entry about that.
> 
> Thanks.
> 
> > [1] https://bugzilla.redhat.com/show_bug.cgi?id=1356675
> > 
> >> 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] Error when editing host network

2016-08-05 Thread Alexander Wels
On Friday, August 5, 2016 2:18:47 PM EDT Maxence Sartiaux wrote:
> Hello,
> 
> On a ovirt 4.0 cluster (updated from 3.6) i try to edit logical
> networks of my hosts but when i click on the little pen to edit my
> logical network, the ui throw me an error
> 
> "Uncaught exception occurred.
> Please try reloading the page.
> Details: Exception caught: (TypeError)_gwt$exception: : this.d
>  is nullPlease have your administrator check the UI logs"
> 

If you can consistently reproduce this problem can you do the following?

Installl the debug symbol maps doing this:

yum install ovirt-engine-webadmin-portal-debuginfo ovirt-engine-userportal-
debuginfo

Then reproduce the error and post the stack trace from the UI.log again. The 
one you are posting now is the obfuscated one which we can manually 
deobfuscate but its much easier when the symbols are installed.

> And in my ui.log
> 
> 2016-08-05 13:53:51,982 ERROR
> [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService]
> (default task-33) [] Permutation name: 8575592A3B731F1B46F43B12B003D7DF
> 2016-08-05 13:53:51,982 ERROR
> [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService]
> (default task-33) [] Uncaught exception: :
> com.google.gwt.event.shared.UmbrellaException: Exception caught:
> (TypeError) 
>  __gwt$exception: : this.d is null
>   at Unknown.Ev(Unknown Source)
>   at Unknown.Mv(Unknown Source)
>   at Unknown.y7(Unknown Source)
>   at Unknown.B7(Unknown Source)
>   at Unknown.L6(Unknown Source)
>   at Unknown.qq(Unknown Source)
>   at Unknown.Aq(Unknown Source)
>   at Unknown.z2(Unknown Source)
>   at Unknown.sq(Unknown Source)
>   at Unknown.L8e(Unknown Source)
>   at Unknown.oZe(Unknown Source)
>   at Unknown.q_e(Unknown Source)
>   at Unknown.Sx(Unknown Source)
>   at Unknown.Wx(Unknown Source)
>   at Unknown.Vx/<(Unknown Source)
>   at Unknown.uC(Unknown Source)
>   at Unknown.p8e(Unknown Source)
>   at Unknown.zlf(Unknown Source)
>   at Unknown.Dlf(Unknown Source)
>   at Unknown.L8e(Unknown Source)
>   at Unknown.oZe(Unknown Source)
>   at Unknown.nZe(Unknown Source)
>   at Unknown.o_e(Unknown Source)
>   at Unknown.Sx(Unknown Source)
>   at Unknown.Wx(Unknown Source)
>   at Unknown.Vx/<(Unknown Source)
>   at Unknown.anonymous(Unknown Source)
> Caused by: com.google.gwt.core.client.JavaScriptException: (TypeError) 
>  __gwt$exception: : this.d is null
>   at Unknown.uXp(Unknown Source)
>   at Unknown.CYp(Unknown Source)
>   at Unknown.nYp(Unknown Source)
>   at Unknown.HYp(Unknown Source)
>   at Unknown.fXr(Unknown Source)
>   at Unknown.Svo(Unknown Source)
>   at Unknown.fwo(Unknown Source)
>   at Unknown.fVp(Unknown Source)
>   at Unknown.j1p(Unknown Source)
>   at Unknown.kcv(Unknown Source)
>   at Unknown.idv(Unknown Source)
>   at Unknown.U2(Unknown Source)
>   at Unknown.t2(Unknown Source)
>   at Unknown.V6(Unknown Source)
>   ... 23 more
> 
> Any ideas ?
> 
> Thank you
> ___
> 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 3.6.6 and gluster 3.7.13

2016-07-25 Thread Alexander Wels
On Monday, July 25, 2016 01:49:32 PM David Gossage wrote:
> On Mon, Jul 25, 2016 at 1:39 PM, Alexander Wels <aw...@redhat.com> wrote:
> > On Monday, July 25, 2016 01:37:47 PM David Gossage wrote:
> > > > > My test install of ovirt 3.6.7 and gluster 3.7.13 with 3 bricks on a
> > > > 
> > > > locak
> > > > 
> > > > > disk right now isn't allowing me to add the gluster storage at all.
> > > > > 
> > > > > 
> > > > > 
> > > > > Keep getting some type of UI error
> > > > 
> > > > Yes that is definitely a UI error. To get a better stack trace can you
> > > > install the debuginfo
> > > > 
> > > > 
> > > > 
> > > > 
> > > > yum install ovirt-engine-webadmin-portal-debuginfo
> > > > ovirt-engine-userportal-debuginfo
> > > > 
> > > > 
> > > > 
> > > > And recreate the exception, that should give a better stack trace.
> > > 
> > > Do I need to restart engine?
> > 
> > Yes, you will need to restart engine before the log starts showing a
> > better
> > stack trace.
> 
> Hopefully more informative.
> 
> 
> 2016-07-25 13:46:54,701 ERROR
> [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService]
> (default task-33) [] Permutation name: 430985F23DFC1C8BE1C7FDD91EDAA785
> 2016-07-25 13:46:54,702 ERROR
> [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService]
> (default task-33) [] Uncaught exception: : java.lang.ClassCastException
> at java.lang.Throwable.fillInStackTrace(Throwable.java:114)
> [rt.jar:1.8.0_101]
> at java.lang.Exception.Exception(Exception.java:25)
> [rt.jar:1.8.0_101]
> at
> java.lang.RuntimeException.RuntimeException(RuntimeException.java:25)
> [rt.jar:1.8.0_101]
> at
> java.lang.ClassCastException.ClassCastException(ClassCastException.java:23)
> [rt.jar:1.8.0_101]
> at com.google.gwt.lang.Cast.dynamicCast(Cast.java:53)
> at
> org.ovirt.engine.ui.uicommonweb.models.datacenters.DataCenterGuideModel.run(
> DataCenterGuideModel.java:1679) at
> org.ovirt.engine.ui.uicompat.Task.$run(Task.java:19)
> at
> org.ovirt.engine.ui.uicommonweb.models.datacenters.DataCenterGuideModel.$sav
> eSanStorage(DataCenterGuideModel.java:955) at
> org.ovirt.engine.ui.uicommonweb.models.datacenters.DataCenterGuideModel.$pos
> tOnAddStorage(DataCenterGuideModel.java:667) at
> org.ovirt.engine.ui.uicommonweb.models.datacenters.DataCenterGuideModel$9$1.
> onSuccess(DataCenterGuideModel.java:646) at
> org.ovirt.engine.ui.uicommonweb.dataprovider.AsyncDataProvider.$getConfigFro
> mCache(AsyncDataProvider.java:2853) at
> org.ovirt.engine.ui.uicommonweb.dataprovider.AsyncDataProvider.$getStorageDo
> mainMaxNameLength(AsyncDataProvider.java:2267) at
> org.ovirt.engine.ui.uicommonweb.models.datacenters.DataCenterGuideModel$9.on
> Success(DataCenterGuideModel.java:629) at
> org.ovirt.engine.ui.frontend.Frontend$2.$onSuccess(Frontend.java:244)
> [frontend.jar:]
> at
> org.ovirt.engine.ui.frontend.Frontend$2.onSuccess(Frontend.java:244)
> [frontend.jar:]
> at
> org.ovirt.engine.ui.frontend.communication.OperationProcessor$2.$onSuccess(O
> perationProcessor.java:141) [frontend.jar:]
> at
> org.ovirt.engine.ui.frontend.communication.OperationProcessor$2.onSuccess(Op
> erationProcessor.java:141) [frontend.jar:]
> at
> org.ovirt.engine.ui.frontend.communication.GWTRPCCommunicationProvider$3$1.$
> onSuccess(GWTRPCCommunicationProvider.java:161) [frontend.jar:]
> at
> org.ovirt.engine.ui.frontend.communication.GWTRPCCommunicationProvider$3$1.o
> nSuccess(GWTRPCCommunicationProvider.java:161) [frontend.jar:]
> at
> com.google.gwt.rpc.client.impl.RpcCallbackAdapter.onResponseReceived(RpcCall
> backAdapter.java:72) [gwt-servlet.jar:]
> at
> org.ovirt.engine.ui.common.gin.BaseSystemModule$1$1.onResponseReceived(BaseS
> ystemModule.java:140) at
> com.google.gwt.http.client.Request.$fireOnResponseReceived(Request.java:237)
> [gwt-servlet.jar:]
> at
> com.google.gwt.http.client.RequestBuilder$1.onReadyStateChange(RequestBuilde
> r.java:409) [gwt-servlet.jar:]
> at Unknown.(
> https://ccengine2.carouselchecks.local/ovirt-engine/webadmin/430985F23DFC1C8
> BE1C7FDD91EDAA785.cache.html@65) at
> com.google.gwt.core.client.impl.Impl.apply(Impl.java:296)
> [gwt-servlet.jar:]
> at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:335)
> [gwt-servlet.jar:]
> at Unknown.(
> https://ccengine2.carouselchecks.local/ovirt-engine/webadmin/430985F23DFC1C8
> BE1C7FDD91EDAA785.cache.html@54 )

Looks like a bug in the code to me, there are a couple of casts in
org.ovirt.engine.ui.uicommonweb.models.datacenters.DataCenterGuideModel.run(DataCenterGuideModel.java:1679)
that could be the culprit, can you open a bugzilla against the webadmin?
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] ovirt 3.6.6 and gluster 3.7.13

2016-07-25 Thread Alexander Wels
On Monday, July 25, 2016 01:37:47 PM David Gossage wrote:
> > > My test install of ovirt 3.6.7 and gluster 3.7.13 with 3 bricks on a
> > 
> > locak
> > 
> > > disk right now isn't allowing me to add the gluster storage at all.
> > > 
> > > 
> > > 
> > > Keep getting some type of UI error
> > 
> > Yes that is definitely a UI error. To get a better stack trace can you
> > install the debuginfo
> > 
> > 
> > 
> > 
> > yum install ovirt-engine-webadmin-portal-debuginfo
> > ovirt-engine-userportal-debuginfo
> > 
> > 
> > 
> > And recreate the exception, that should give a better stack trace.
> 
> Do I need to restart engine?
> 

Yes, you will need to restart engine before the log starts showing a better 
stack trace.

> Installed packages and attempted to create storage again from the guide me
> of data center where I received last time and I end up with another red
> banner about uncaught exception and to reload page.
> 
> ui.log seems about same
> 
>  2016-07-25 13:34:03,471 ERROR
> [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService]
> (default task-80) [] Permutation name: 430985F23DFC1C8BE1C7FDD91EDAA785
> 2016-07-25 13:34:03,471 ERROR
> [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService]
> (default task-80) [] Uncaught exception: : java.lang.ClassCastException
> at Unknown.ps(
> https://ccengine2.carouselchecks.local/ovirt-engine/webadmin/430985F23DFC1C8
> BE1C7FDD91EDAA785.cache.html@3837) at Unknown.ts(
> https://ccengine2.carouselchecks.local/ovirt-engine/webadmin/430985F23DFC1C8
> BE1C7FDD91EDAA785.cache.html@20) at Unknown.vs(
> https://ccengine2.carouselchecks.local/ovirt-engine/webadmin/430985F23DFC1C8
> BE1C7FDD91EDAA785.cache.html@18) at Unknown.iJf(
> https://ccengine2.carouselchecks.local/ovirt-engine/webadmin/430985F23DFC1C8
> BE1C7FDD91EDAA785.cache.html@19) at Unknown.Xab(
> https://ccengine2.carouselchecks.local/ovirt-engine/webadmin/430985F23DFC1C8
> BE1C7FDD91EDAA785.cache.html@48) at Unknown.P8o(
> https://ccengine2.carouselchecks.local/ovirt-engine/webadmin/430985F23DFC1C8
> BE1C7FDD91EDAA785.cache.html@4447) at Unknown.jQr(
> https://ccengine2.carouselchecks.local/ovirt-engine/webadmin/430985F23DFC1C8
> BE1C7FDD91EDAA785.cache.html@21) at Unknown.A8o(
> https://ccengine2.carouselchecks.local/ovirt-engine/webadmin/430985F23DFC1C8
> BE1C7FDD91EDAA785.cache.html@51) at Unknown.u8o(
> https://ccengine2.carouselchecks.local/ovirt-engine/webadmin/430985F23DFC1C8
> BE1C7FDD91EDAA785.cache.html@101) at Unknown.Eap(
> https://ccengine2.carouselchecks.local/ovirt-engine/webadmin/430985F23DFC1C8
> BE1C7FDD91EDAA785.cache.html@10718) at Unknown.p8n(
> https://ccengine2.carouselchecks.local/ovirt-engine/webadmin/430985F23DFC1C8
> BE1C7FDD91EDAA785.cache.html@161) at Unknown.Cao(
> https://ccengine2.carouselchecks.local/ovirt-engine/webadmin/430985F23DFC1C8
> BE1C7FDD91EDAA785.cache.html@31) at Unknown.Bap(
> https://ccengine2.carouselchecks.local/ovirt-engine/webadmin/430985F23DFC1C8
> BE1C7FDD91EDAA785.cache.html@10469) at Unknown.kRn(
> https://ccengine2.carouselchecks.local/ovirt-engine/webadmin/430985F23DFC1C8
> BE1C7FDD91EDAA785.cache.html@49) at Unknown.nRn(
> https://ccengine2.carouselchecks.local/ovirt-engine/webadmin/430985F23DFC1C8
> BE1C7FDD91EDAA785.cache.html@438) at Unknown.eVn(
> https://ccengine2.carouselchecks.local/ovirt-engine/webadmin/430985F23DFC1C8
> BE1C7FDD91EDAA785.cache.html@40) at Unknown.hVn(
> https://ccengine2.carouselchecks.local/ovirt-engine/webadmin/430985F23DFC1C8
> BE1C7FDD91EDAA785.cache.html@25827) at Unknown.MTn(
> https://ccengine2.carouselchecks.local/ovirt-engine/webadmin/430985F23DFC1C8
> BE1C7FDD91EDAA785.cache.html@25) at Unknown.PTn(
> https://ccengine2.carouselchecks.local/ovirt-engine/webadmin/430985F23DFC1C8
> BE1C7FDD91EDAA785.cache.html@24052) at Unknown.KJe(
> https://ccengine2.carouselchecks.local/ovirt-engine/webadmin/430985F23DFC1C8
> BE1C7FDD91EDAA785.cache.html@21125) at Unknown.Izk(
> https://ccengine2.carouselchecks.local/ovirt-engine/webadmin/430985F23DFC1C8
> BE1C7FDD91EDAA785.cache.html@10384) at Unknown.P3(
> https://ccengine2.carouselchecks.local/ovirt-engine/webadmin/430985F23DFC1C8
> BE1C7FDD91EDAA785.cache.html@137) at Unknown.g4(
> https://ccengine2.carouselchecks.local/ovirt-engine/webadmin/430985F23DFC1C8
> BE1C7FDD91EDAA785.cache.html@8271) at Unknown.(
> https://ccengine2.carouselchecks.local/ovirt-engine/webadmin/430985F23DFC1C8
> BE1C7FDD91EDAA785.cache.html@65) at Unknown._t(
> https://ccengine2.carouselchecks.local/ovirt-engine/webadmin/430985F23DFC1C8
> BE1C7FDD91EDAA785.cache.html@29) at Unknown.du(
> https://ccengine2.carouselchecks.local/ovirt-engine/webadmin/430985F23DFC1C8
> BE1C7FDD91EDAA785.cache.html@57) at Unknown.(
> https://ccengine2.carouselchecks.local/ovirt-engine/webadmin/430985F23DFC1C8
> BE1C7FDD91EDAA785.cache.html@54 )

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


Re: [ovirt-users] Spice in 4.0

2016-07-21 Thread Alexander Wels
On Thursday, July 21, 2016 02:38:41 PM Melissa Mesler wrote:
> That worked! Thank you!!!
> 

Okay, great now if you want to set that as the default, so you don't have to 
do that manually each time do the following:

ssh into the engine box as root.
engine-config -s ClientModeSpiceDefault=Plugin

That should default it to be plugin for all the VMs.

> On Thu, Jul 21, 2016, at 02:14 PM, Alexander Wels wrote:
> > On Thursday, July 21, 2016 01:58:05 PM Melissa Mesler wrote:
> > > Yes, this is a workaround for us after upgrading to 4.0. I know it's
> > > going away in 4.1 but this buys us some time.
> > > 
> > > So the first option didn't work b/c like yous aid, it wasn't there. So
> > > we did the second step and it still didn't seem to work. We even tried
> > > restarting ovirt but that didn't help either. Any other ideas?
> > 
> > Looking at the code it also set the default mode to 'native' instead of
> > plugin. After you set the flag to true and restarted the engine, do you
> > see the
> > 'plugin' option when you right click on a running VM in webadmin and
> > select
> > console options? It should be under Console Invocation
> > 
> > > On Thu, Jul 21, 2016, at 01:39 PM, Alexander Wels wrote:
> > > > On Thursday, July 21, 2016 01:19:35 PM Melissa Mesler wrote:
> > > > > Yes we are trying to get spice working on a thin client where
> > > > > we can't
> > > > > use virt-viewer. I just don't know the steps in the bugzilla to
> > > > > accomplish it as it's not completely clear.
> > > > 
> > > > Okay gotcha,
> > > > Note in 4.1 this ability will be completely removed, the bugzilla is
> > > > for cases where people need it in some kind of production environment.
> > > > 
> > > > Assuming you can ssh into the machine that is running the engine
> > > > (either HE or standard engine) as root:
> > > > 
> > > > engine-config -s EnableDeprecatedClientModeSpicePlugin=true
> > > > 
> > > > If that doesn't work because the option was not added to engine-config
> > > > (couldn't tell from reading the code). Try this:
> > > > 
> > > > sudo su postgres
> > > > --this will log you in as the postgres user
> > > > psql -d engine
> > > > --this will start psql connecing to the engine database. The
> > > > default will be
> > > > --engine if you didn't specify something else during engine-
> > > > setup. psql -l
> > > > --will list all the databases.
> > > > update vdc_options set option_value=true where
> > > > option_name='EnableDeprecatedClientModeSpicePlugin';
> > > > 
> > > > > On Thu, Jul 21, 2016, at 01:14 PM, Alexander Wels wrote:
> > > > > > On Thursday, July 21, 2016 01:08:49 PM Melissa Mesler wrote:
> > > > > > > So I am trying to get spice working in ovirt 4.0. I found the
> > > > > > > following
> > > > > > > solution:
> > > > > > > https://bugzilla.redhat.com/show_bug.cgi?id=1316560
> > > > > > 
> > > > > > That bugzilla relates to the legacy spice.xpi FF plugin, and
> > > > > > possibly
> > > > > > some
> > > > > > activex plugin for IE. The current way is the following:
> > > > > > 
> > > > > > 1. Get virt-viewer for your platform.
> > > > > > 2. Associated virt-viewer with .vv files in your browser.
> > > > > > 3. Click the button, which will download the .vv file with the
> > > > > > appropriate
> > > > > > ticket.
> > > > > > 4. The browser will launch virt-viewer with the .vv file as a
> > > > > > 
> > > > > >parameter
> > > > > > 
> > > > > > and it
> > > > > > should just all work.
> > > > > > 
> > > > > > > Where do you set
> > > > > > > vdc_options.EnableDeprecatedClientModeSpicePlugin to
> > > > > > > 'true'?? I see it says ENGINE_DB but what steps do I follow to
> > > > > > > do this?
> > > > > > > Can someone help me?
> > > > > > > ___
> > > > > > > Users mailing list
> > > > > > > Users@ovirt.org
> > > > > > > http://lists.ovirt.org/mailman/listinfo/users

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


Re: [ovirt-users] Spice in 4.0

2016-07-21 Thread Alexander Wels
On Thursday, July 21, 2016 01:58:05 PM Melissa Mesler wrote:
> Yes, this is a workaround for us after upgrading to 4.0. I know it's
> going away in 4.1 but this buys us some time.
> 
> So the first option didn't work b/c like yous aid, it wasn't there. So
> we did the second step and it still didn't seem to work. We even tried
> restarting ovirt but that didn't help either. Any other ideas?
> 

Looking at the code it also set the default mode to 'native' instead of 
plugin. After you set the flag to true and restarted the engine, do you see the 
'plugin' option when you right click on a running VM in webadmin and select 
console options? It should be under Console Invocation

> On Thu, Jul 21, 2016, at 01:39 PM, Alexander Wels wrote:
> > On Thursday, July 21, 2016 01:19:35 PM Melissa Mesler wrote:
> > > Yes we are trying to get spice working on a thin client where
> > > we can't
> > > use virt-viewer. I just don't know the steps in the bugzilla to
> > > accomplish it as it's not completely clear.
> > 
> > Okay gotcha,
> > Note in 4.1 this ability will be completely removed, the bugzilla is
> > for cases where people need it in some kind of production environment.
> > 
> > Assuming you can ssh into the machine that is running the engine
> > (either HE or standard engine) as root:
> > 
> > engine-config -s EnableDeprecatedClientModeSpicePlugin=true
> > 
> > If that doesn't work because the option was not added to engine-config
> > (couldn't tell from reading the code). Try this:
> > 
> > sudo su postgres
> > --this will log you in as the postgres user
> > psql -d engine
> > --this will start psql connecing to the engine database. The
> > default will be
> > --engine if you didn't specify something else during engine-
> > setup. psql -l
> > --will list all the databases.
> > update vdc_options set option_value=true where
> > option_name='EnableDeprecatedClientModeSpicePlugin';
> > 
> > > On Thu, Jul 21, 2016, at 01:14 PM, Alexander Wels wrote:
> > > > On Thursday, July 21, 2016 01:08:49 PM Melissa Mesler wrote:
> > > > > So I am trying to get spice working in ovirt 4.0. I found the
> > > > > following
> > > > > solution:
> > > > > https://bugzilla.redhat.com/show_bug.cgi?id=1316560
> > > > 
> > > > That bugzilla relates to the legacy spice.xpi FF plugin, and
> > > > possibly
> > > > some
> > > > activex plugin for IE. The current way is the following:
> > > > 
> > > > 1. Get virt-viewer for your platform.
> > > > 2. Associated virt-viewer with .vv files in your browser.
> > > > 3. Click the button, which will download the .vv file with the
> > > > appropriate
> > > > ticket.
> > > > 4. The browser will launch virt-viewer with the .vv file as a
> > > > 
> > > >parameter
> > > > 
> > > > and it
> > > > should just all work.
> > > > 
> > > > > Where do you set
> > > > > vdc_options.EnableDeprecatedClientModeSpicePlugin to
> > > > > 'true'?? I see it says ENGINE_DB but what steps do I follow to
> > > > > do this?
> > > > > Can someone help me?
> > > > > ___
> > > > > Users mailing list
> > > > > Users@ovirt.org
> > > > > http://lists.ovirt.org/mailman/listinfo/users
> 
>  

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


Re: [ovirt-users] Spice in 4.0

2016-07-21 Thread Alexander Wels
On Thursday, July 21, 2016 01:19:35 PM Melissa Mesler wrote:
> Yes we are trying to get spice working on a thin client where we can't
> use virt-viewer. I just don't know the steps in the bugzilla to
> accomplish it as it's not completely clear.
> 

Okay gotcha,
Note in 4.1 this ability will be completely removed, the bugzilla is for cases 
where 
people need it in some kind of production environment.

Assuming you can ssh into the machine that is running the engine (either HE or 
standard engine) as root:

engine-config -s EnableDeprecatedClientModeSpicePlugin=true

If that doesn't work because the option was not added to engine-config 
(couldn't tell 
from reading the code). Try this:

sudo su postgres
--this will log you in as the postgres user
psql -d engine
--this will start psql connecing to the engine database. The default will be
--engine if you didn't specify something else during engine-setup. psql -l
--will list all the databases.
update vdc_options set option_value=true where 
option_name='EnableDeprecatedClientModeSpicePlugin';


> On Thu, Jul 21, 2016, at 01:14 PM, Alexander Wels wrote:
> > On Thursday, July 21, 2016 01:08:49 PM Melissa Mesler wrote:
> > > So I am trying to get spice working in ovirt 4.0. I found the following
> > > solution:
> > > https://bugzilla.redhat.com/show_bug.cgi?id=1316560
> > 
> > That bugzilla relates to the legacy spice.xpi FF plugin, and possibly
> > some
> > activex plugin for IE. The current way is the following:
> > 
> > 1. Get virt-viewer for your platform.
> > 2. Associated virt-viewer with .vv files in your browser.
> > 3. Click the button, which will download the .vv file with the
> > appropriate
> > ticket.
> > 4. The browser will launch virt-viewer with the .vv file as a parameter
> > and it
> > should just all work.
> > 
> > > Where do you set vdc_options.EnableDeprecatedClientModeSpicePlugin to
> > > 'true'?? I see it says ENGINE_DB but what steps do I follow to do this?
> > > Can someone help me?
> > > ___
> > > Users mailing list
> > > Users@ovirt.org
> > > http://lists.ovirt.org/mailman/listinfo/users

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


Re: [ovirt-users] Spice in 4.0

2016-07-21 Thread Alexander Wels
On Thursday, July 21, 2016 01:08:49 PM Melissa Mesler wrote:
> So I am trying to get spice working in ovirt 4.0. I found the following
> solution:
> https://bugzilla.redhat.com/show_bug.cgi?id=1316560
> 

That bugzilla relates to the legacy spice.xpi FF plugin, and possibly some 
activex plugin for IE. The current way is the following:

1. Get virt-viewer for your platform.
2. Associated virt-viewer with .vv files in your browser.
3. Click the button, which will download the .vv file with the appropriate 
ticket.
4. The browser will launch virt-viewer with the .vv file as a parameter and it 
should just all work.

> Where do you set vdc_options.EnableDeprecatedClientModeSpicePlugin to
> 'true'?? I see it says ENGINE_DB but what steps do I follow to do this?
> Can someone help me?
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users

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


Re: [ovirt-users] API endpoint?

2016-07-18 Thread Alexander Wels
On Monday, July 18, 2016 03:39:56 PM Gervais de Montbrun wrote:
> Hi Folks,
> 
> Has the api endpoint moved?
> 
> I am having issues with my nagios check and also with ovirt-shell. Both are
> trying to git the api endpoint at https://myhostedengine.mydomain/api
>  and both are returning a 404 error.
> 
> Cheers,
> Gervais

Yes its /ovirt-engine/api now.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] cannot change cluster compatibility version from 3.6 to 4.0

2016-06-28 Thread Alexander Wels
On Tuesday, June 28, 2016 05:11:14 PM Jiří Sléžka wrote:
> I forgot attach the screenshot...
> 
> Jiri
> 

The label that has the dotted line under it should have a tooltip explaining 
the issue. But some of the most likely issues are:

1. DC is at 3.6 and you can't have 4.0 clusters in 3.6 DC.
2. Active host on 3.6 in the cluster. You can put the hosts in maintenance and 
upgrade the cluster, you will obviously also have to upgrade the hosts after 
that before you can activate them again.

> Dne 28.6.2016 v 17:06 Jiří Sléžka napsal(a):
> > Hi all,
> > 
> > I have just upgraded engine from 3.6.6 to 4.0 (all worked fine except
> > custom certificate problem which is described and solved here
> > https://bugzilla.redhat.com/show_bug.cgi?id=1336838).
> > 
> > Then I upgraded all hosts in cluster and I would like to change cluster
> > compatibility level but it fails in a way there is a red border around
> > "Compatibility Version" dropdown box but no explanation why. There are
> > no entries in logs...
> > 
> > What are prerequisities to change cluster compatibility level to 4.0? Do
> > I missing something?
> > 
> > Engine (standalone) and hosts are CentOS 7.2
> > 
> > btw. dashboard looks really nice!
> > 
> > Cheers, Jiri
> > 
> > 
> > ___
> > 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] Create a Virtual Disk failed

2016-06-27 Thread Alexander Wels
On Monday, June 27, 2016 11:56:12 AM Liron Aravot wrote:
> Thanks Dewey,
> 
> What exact 3.6 version do you use?
> Elad - have you encountered that issue? can you see if it happens on your
> env as well?
> 
> thanks.
> 

Also to get a de-obfuscated stack trace in the UI.log please install the ui 
debug 
package:

yum install ovirt-engine-webadmin-portal-debuginfo 
ovirt-engine-userportal-debuginfo

Then recreate the issue and look in the UI.log again, it should
now at least give you a better readable stack trace.

> On Sun, Jun 26, 2016 at 6:40 PM, Dewey Du  wrote:
> > the content attached above is ui.log, and there is no logs in server.log
> > and engine.log.
> > 
> > I'm using oVirt 3.6. Finally I found out I can create the disk from the
> > edit page of the vm.
> > 
> > On Sun, Jun 26, 2016 at 8:40 PM, Yaniv Dary  wrote:
> >> Adding Tal.
> >> What version are you using? Can you attach logs?
> >> 
> >> 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 Sat, Jun 25, 2016 at 12:26 PM, Dewey Du  wrote:
> >>> I use glusterfs as storage. When I tried to create a virtual disk for a
> >>> vm, I got the following error in UI logs.
> >>> 
> >>> ERROR
> >>> [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService]
> >>> (default task-48) [] Permutation name: 
B003B5EDCB6FC4308644D5D001F65B4C
> >>> ERROR
> >>> [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService]
> >>> (default task-48) [] Uncaught exception: :
> >>> com.google.gwt.core.client.JavaScriptException: (TypeError)
> >>> 
> >>>  __gwt$exception: : a is undefined
> >>>  
> >>> at Unknown._kj(Unknown Source)
> >>> at Unknown.JUq(Unknown Source)
> >>> at Unknown.Fbr(Unknown Source)
> >>> at Unknown.Hno(Unknown Source)
> >>> at Unknown.t0n(Unknown Source)
> >>> at Unknown.w0n(Unknown Source)
> >>> at Unknown.q3n(Unknown Source)
> >>> at Unknown.t3n(Unknown Source)
> >>> at Unknown.S2n(Unknown Source)
> >>> at Unknown.V2n(Unknown Source)
> >>> at Unknown.bMe(Unknown Source)
> >>> at Unknown.V7(Unknown Source)
> >>> at Unknown.k8(Unknown Source)
> >>> at Unknown.czf/c.onreadystatechange<(Unknown Source)
> >>> at Unknown.Ux(Unknown Source)
> >>> at Unknown.Yx(Unknown Source)
> >>> at Unknown.Xx/<(Unknown Source)
> >>> at Unknown.anonymous(Unknown Source)
> >>> 
> >>> ___
> >>> 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] Terribly slow web consile post migration of oVirt Engine from one host to another host

2016-06-09 Thread Alexander Wels
On Thursday, June 09, 2016 03:47:17 PM Nicolas Ecarnot wrote:
> Le 09/06/2016 15:31, Alexander Wels a écrit :
> > On Thursday, June 09, 2016 03:11:07 PM Nicolas Ecarnot wrote:
> >> Le 09/06/2016 08:58, Anantha Raghava a écrit :
> >>> Hello Alexander,
> >>> 
> >>> You are right. The FQDN was the culprit. Once I entered the FQDN in
> >>> /etc/hosts file, the problem got resolved.
> >> 
> >> Hello,
> >> 
> >> I have not understood clearly whether your were using hosted engine or
> >> bare-metal?
> >> 
> >> I'm asking that because - as Alex knows it - I'm facing this terribly
> >> slowness since months, and we took a lot a time trying to figure it out,
> >> to no avail.
> >> We're using 3.6.5 and bare-metal engine.
> >> I triple checked DNS resolution, added (anyway) relevant fqdn in
> >> /etc/hosts, install (anyway) haveged and rebooted.
> >> We checked all that with Alex, but seeing nothing obvious.
> >> 
> >> So far, the web gui usage is still a real daily pain.
> > 
> > And we verified the ping between your browser machine and the engine was
> > low. The load on the engine was near 0. That your browser was either
> > Chrome/FF and that the machine running the browser is plenty powerful.
> > 
> > Did you ever disable the repos besides the 3.6 one and run a yum update
> > (on
> > the engine)?
> 
> Yes, I did.
> Two DC are still running on 3.6.3, and four others are running on 3.6.5.
> Amongst the 3.6.5, some were updated from below, and some were installed
> from scratch (so no negative legacy nor prehistoric RPMs or repos).
> 
> > Greg one of the other maintainers recently did some performance
> > improvements, I just don't remember which version they go into. either
> > 3.6.5 or 3.6.6.
> 
> May you Cc: to Greg?
> 

I asked him, he said 3.6.5 and 4.0. So if your 3.6.5 is the same then it 
didn't solve your issue obviously. I am completely out of things to try or see 
that could possibly be the problem.

> > If I remember correctly for some reason it takes a long time to get
> > data from the engine to your browser, we just don't know why it takes so
> > long as we profiled the engine running in your environment and that was
> > all fine as well.
> 
> I recall correctly.
> 
> I'm also witnessing memory leaks, that I think were fixed recently.

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


Re: [ovirt-users] Terribly slow web consile post migration of oVirt Engine from one host to another host

2016-06-09 Thread Alexander Wels
On Thursday, June 09, 2016 03:11:07 PM Nicolas Ecarnot wrote:
> Le 09/06/2016 08:58, Anantha Raghava a écrit :
> > Hello Alexander,
> > 
> > You are right. The FQDN was the culprit. Once I entered the FQDN in
> > /etc/hosts file, the problem got resolved.
> 
> Hello,
> 
> I have not understood clearly whether your were using hosted engine or
> bare-metal?
> 
> I'm asking that because - as Alex knows it - I'm facing this terribly
> slowness since months, and we took a lot a time trying to figure it out,
> to no avail.
> We're using 3.6.5 and bare-metal engine.
> I triple checked DNS resolution, added (anyway) relevant fqdn in
> /etc/hosts, install (anyway) haveged and rebooted.
> We checked all that with Alex, but seeing nothing obvious.
> 
> So far, the web gui usage is still a real daily pain.

And we verified the ping between your browser machine and the engine was low. 
The load on the engine was near 0. That your browser was either Chrome/FF and 
that the machine running the browser is plenty powerful. 

Did you ever disable the repos besides the 3.6 one and run a yum update (on 
the engine)? Greg one of the other maintainers recently did some performance 
improvements, I just don't remember which version they go into. either 3.6.5 
or 3.6.6. If I remember correctly for some reason it takes a long time to get 
data from the engine to your browser, we just don't know why it takes so long 
as we profiled the engine running in your environment and that was all fine as 
well. 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Terribly slow web consile post migration of oVirt Engine from one host to another host

2016-06-09 Thread Alexander Wels
On Thursday, June 09, 2016 12:28:41 PM Anantha Raghava wrote:
> Hello Alexander,
> 
> You are right. The FQDN was the culprit. Once I entered the FQDN in
> /etc/hosts file, the problem got resolved.
> 
> Thanks for your guidance.
> 
> By the way any document that explains what is --restore-permissions in
> engine-backup process?
> 

If you type engine-backup --help you will get a list and explanation of all 
the possible options. 

Affects only the custom dump format. Will not pass to pg_restore '--no-owner --
no-privileges'. Might not work as expected with the --*db-user options.

Is what the --help says, not sure what that means though.

> > Hi,
> > 
> > I will try both options tomorrow & revert back here.
> > 
> > Regards,
> > Anantha Raghava
> > 
> > On Jun 8, 2016 10:04 PM, "Alexander Wels" <aw...@redhat.com
> > 
> > <mailto:aw...@redhat.com>> wrote:
> > On Wednesday, June 08, 2016 08:49:16 PM Anantha Raghava wrote:
> > > Hi,
> > > 
> > > I was able to migrate the oVirt Engine from one host to another
> > 
> > using
> > 
> > > engine-backup utility. On the new host, the data is loaded
> > 
> > properly but
> > 
> > > the Administration Portal is terribly slow.
> > > 
> > > It take about 2 to 3 minutes to allow me to enter user name &
> > 
> > password.
> > 
> > > Once logged in, it takes hell a lot of time to show up the data.
> > 
> > Click
> > 
> > > on a tab, we need to wait for a good amount of time to see the
> > 
> > actual
> > 
> > > data. Even the refresh is taking time to execute although it is
> > 
> > set to 5
> > 
> > > Seconds.
> > > 
> > > But if I enable old server and connect, every thing works quickly.
> > > 
> > > Note:
> > > 
> > > 1. We do not have DNS in our environment.
> > > 2. Engine name & even the IP is retained the same.
> > > 3. Before migration, we stopped ovirt-engine on old server, took the
> > > backup, shutdown & disconnected the old server.
> > > 4. We installed the ovirt-engine on new server, run engine
> > 
> > setup, noted
> > 
> > > down the DB password, did engine-cleanup, restored the data using
> > > engine-backup utility and executed engine-setup again. It did
> > 
> > recognize
> > 
> > > restored data and only httpd configuration was sought and we
> > 
> > selected
> > 
> > > the defaults.
> > 
> > It is highly likely 1 of 2 things:
> > 
> > 1. The entropy mentioned by Brett, however that is mostly
> > applicable on hosted
> > engine as VMs don't usually have good entropy.
> > 2. The engine cannot resolve itself (which looking at your
> > description is the
> > likely culprit). Since you don't have DNS, you need to add the fqdn to
> > /etc/hosts so it can resolve itself.
> > 
> > > Result is terribly slow Web Console.
> > > 
> > > First, we attempted to setup ovirt-reports and later removed it
> > 
> > thinking
> > 
> > > that may be slowing down the engine server. Yet the same result.
> > > 
> > > Commands used to backup from old server: "engine-backup
> > 
> > --mode=backup
> > 
> > > --file= --log= --provision-db"
> > > Command used to restore on new server: "engine-backup --mode=restore
> > > --file= --log=
> > 
> > --change-db-credentials
> > 
> > > --db-host=localhost --db-user=engine --db-name=engine
> > > --db-password=
> > 
> > --no-restore-permissions"
> > 
> > > The command executed without any errors, resulting in a terribly
> > 
> > slow
> > 
> > > web console.
> > > 
> > > Note: Without --restore-permissions, the restore fails. Did not
> > > understand what to give as restore permissions. Hence used
> > > --no-restore-permissions.
> > > 
> > > *Hardware configuration:*
> > > *
> > > **Old Server:* i3 Processor, 4 GB Memory, 1 Gbps NIC
> > > *New Server :* Lenovo x3250 M5 Server with Intel Xeon Processor,
> > 
> > 16 GB
> > 
> > > RAM, 2 X 1 Gbps NIC.
> > > 
> > > Just unable to understand why it is terribly slow.

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


Re: [ovirt-users] Terribly slow web consile post migration of oVirt Engine from one host to another host

2016-06-08 Thread Alexander Wels
On Wednesday, June 08, 2016 08:49:16 PM Anantha Raghava wrote:
> Hi,
> 
> I was able to migrate the oVirt Engine from one host to another using
> engine-backup utility. On the new host, the data is loaded properly but
> the Administration Portal is terribly slow.
> 
> It take about 2 to 3 minutes to allow me to enter user name & password.
> Once logged in, it takes hell a lot of time to show up the data. Click
> on a tab, we need to wait for a good amount of time to see the actual
> data. Even the refresh is taking time to execute although it is set to 5
> Seconds.
> 
> But if I enable old server and connect, every thing works quickly.
> 
> Note:
> 
> 1. We do not have DNS in our environment.
> 2. Engine name & even the IP is retained the same.
> 3. Before migration, we stopped ovirt-engine on old server, took the
> backup, shutdown & disconnected the old server.
> 4. We installed the ovirt-engine on new server, run engine setup, noted
> down the DB password, did engine-cleanup, restored the data using
> engine-backup utility and executed engine-setup again. It did recognize
> restored data and only httpd configuration was sought and we selected
> the defaults.
> 

It is highly likely 1 of 2 things:

1. The entropy mentioned by Brett, however that is mostly applicable on hosted 
engine as VMs don't usually have good entropy.
2. The engine cannot resolve itself (which looking at your description is the 
likely culprit). Since you don't have DNS, you need to add the fqdn to 
/etc/hosts so it can resolve itself.

> Result is terribly slow Web Console.
> 
> First, we attempted to setup ovirt-reports and later removed it thinking
> that may be slowing down the engine server. Yet the same result.
> 
> Commands used to backup from old server: "engine-backup --mode=backup
> --file= --log= --provision-db"
> Command used to restore on new server: "engine-backup --mode=restore
> --file= --log= --change-db-credentials
> --db-host=localhost --db-user=engine --db-name=engine
> --db-password= --no-restore-permissions"
> 
> The command executed without any errors, resulting in a terribly slow
> web console.
> 
> Note: Without --restore-permissions, the restore fails. Did not
> understand what to give as restore permissions. Hence used
> --no-restore-permissions.
> 
> *Hardware configuration:*
> *
> **Old Server:* i3 Processor, 4 GB Memory, 1 Gbps NIC
> *New Server :* Lenovo x3250 M5 Server with Intel Xeon Processor, 16 GB
> RAM, 2 X 1 Gbps NIC.
> 
> Just unable to understand why it is terribly slow.

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


Re: [ovirt-users] Allow non-privileged users to use the API

2016-06-08 Thread Alexander Wels
On Wednesday, June 08, 2016 01:27:48 PM nico...@devels.es wrote:
> Hi,
> 
> I'm currently trying to use oVirt's API with a non-privileged username
> (only has UserRole over a few VMs) and when the request is made, a 400
> error is returned:
> 
> 
>Operation Failed
>
>  query execution failed due to insufficient permissions.
>
> 
> 
> Is there a way to grant non-privileged users the ability to use API (for
> example, to list VMs where they have privileges)? What's the minimal
> permission a username needs to be granted to use the API?
> 
> Thanks.
> 
> Nicolás
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users

I don't know which SDK you are using or if you are doing direct http requests 
with your own framework, but in order for non privileged users to use the REST 
api you need to pass the 'filter: true' header with the request. This will tell 
the REST api to filter the results based on the users permissions.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Need to redirect http to https for ovirt engine access.

2016-06-01 Thread Alexander Wels
On Wednesday, June 01, 2016 10:05:40 AM Edward Clay wrote:
> Hello,
> 
> Is there a docuemented method of disabling http by forcing/redicrect to
> https?

As far as I know we already force a redirect to https for anything that 
requires it. Basically the only pages that do not are the welcome page and 
some of error pages. But when you try to actually access anything like the web 
admin or user portal we force a redirect to https.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] oVirt & gluster - which copy is written to?

2016-05-16 Thread Alexander Wels
On Thursday, May 12, 2016 12:05:22 AM Bill Bill wrote:
> Hello,
> 
> Let’s say I have a 5 node converged cluster of oVirt & glusterFS with a
> replica count of “3”.
 
> Host1 - replica
> Host2 - replica
> Host3 - replica
> Host4
> Host5
> 
> If I spin a VM up on Host1 – does the first replica get created local to
> that server?
 
> In the event I move the VM to another host, does the replica of the disk
> follow the VM so essentially it’s writing to a local copy first or does it
> “always” write across the network.
 
> For example, with VMware, the disk will follow the VM to the hypervisor you
> move it to so that the writes are essentially “local”.
 
> I have not been able to find anything on the internet or in the
> documentation that specifies how this process works. Ideally, you wouldn’t
> want a VM residing on Host1 that accesses its disk on Host3. Multiple that
> by hundreds of VM’s and it would create a ton of unnecessary network
> congestion.
 
While I cannot answer your actual question as I don't know enough about the 
internal implementation of how oVirt interacts with gluster. I just want to 
point out major difference between oVirt and VMWare. In oVirt storage domains 
are attached to data centers, not hosts. So there is no does the disk move 
from host1 to host2. The disk is on the storage domain and host1 and host2 and 
every other host in the data center has access to the storage domain.


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


Re: [ovirt-users] 3.6.5.3: UI Uncaught Exception: New VM from Template

2016-05-10 Thread Alexander Wels
On Tuesday, May 10, 2016 11:32:42 AM Vojtech Szocs wrote:
> - Original Message -
> 
> > From: "Sandro Bonazzola" <sbona...@redhat.com>
> > To: "Alexander Wels" <aw...@redhat.com>, "Vojtech Szocs"
> > <vsz...@redhat.com> Cc: "users" <users@ovirt.org>
> > Sent: Monday, May 9, 2016 5:30:06 PM
> > Subject: Re: [ovirt-users] 3.6.5.3: UI Uncaught Exception: New VM from
> > Template
> > 
> > Alexander, Vojtech, any insight?
> 
> In oVirt 3.6 and up, any UI issues are logged into:
> 
>   /var/log/ovirt-engine/ui.log
> 
> UI stack traces are obfuscated by default, unless you're
> running a local development env. with DEV_BUILD_GWT_DRAFT=1.
> 
> According to [1] you can install following packages:
> 
>   userportal-debuginfo
>   webadmin-portal-debuginfo
> 
> restart Engine, and UI stack traces will be de-obfuscated,
> helping developers to pin-point the problematic code.
> 
> [1] https://bugzilla.redhat.com/show_bug.cgi?id=1179897
> 
> I'd suggest to install above packages, reproduce the issue
> and send de-obfuscated UI logs for investigation.
> 
> Vojtech
> 

Looks like they already did that as the bottom stack trace has this in it:
org.ovirt.engine.ui.uicommonweb.models.storage.DisksAllocationModel.
$updateImageToDestinationDomainMap(DisksAllocationModel.java:288)

So looks like an issue in DiskAllocationModel.

> > On Mon, May 9, 2016 at 10:19 AM, Dobó László <laszlo.d...@ezit.hu> wrote:
> > > Same problem here, when i'm trying to convert snapshot to vm.
> > > 
> > > 
> > > 2016-05-05 10:58:59,065 ERROR
> > > [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService]
> > > (default task-19) []
> > > Permutation name: 56114F8548175924C03C3BC67436871E
> > > 2016-05-05 10:58:59,066 ERROR
> > > [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService]
> > > (default task-19) []
> > > Uncaught exception: : com.google.gwt.event.shared.UmbrellaException:
> > > Exception caught: (TypeError)
> > > 
> > >  __gwt$exception: : d is undefined
> > >  
> > > at Unknown.ms(Unknown Source)   at Unknown.us(Unknown Source)  
> > > at
> > > 
> > > Unknown.i3(Unknown Source)   at Unknown.l3(U
> > > nknown Source)  at Unknown.v2(Unknown Source)   at Unknown.Im(Unknown
> > > Source)   at Unknown.Sm(Unknown Source)   at Unkn
> > > own.j$(Unknown Source)  at Unknown.Km(Unknown Source)   at
> > > Unknown.S6e(Unknown Source)  at Unknown.UMe(Unknown Source)
> > > 
> > >  at Unknown.vXe(Unknown Source) at Unknown.vZe(Unknown Source)  at
> > > 
> > > Unknown.Yt(Unknown Source)   at Unknown.au(Unknown S
> > > ource)  at Unknown._t/<(Unknown Source) at Unknown.uy(Unknown Source)  
> > > at
> > > Unknown.w6e(Unknown Source)  at Unknown.Sof(
> > > Unknown Source) at Unknown.S6e(Unknown Source)  at Unknown.UMe(Unknown
> > > Source)  at Unknown.vXe(Unknown Source)  at Unkn
> > > own.uXe(Unknown Source) at Unknown.tZe(Unknown Source)  at
> > > Unknown.Yt(Unknown Source)   at Unknown.au(Unknown Source)
> > > 
> > >  at Unknown._t/<(Unknown Source)at Unknown.anonymous(Unknown
> > > 
> > > Source)Caused by: com.google.gwt.core.client.JavaS
> > > criptException: (TypeError)
> > > 
> > >  __gwt$exception: : d is undefined
> > >  
> > > at Unknown.GMq(Unknown Source)  at Unknown.Bbq(Unknown Source) 
> > > at
> > > 
> > > Unknown.pNr(Unknown Source)  at Unknown.lro(
> > > Unknown Source) at Unknown.Cyr(Unknown Source)  at Unknown.nzr(Unknown
> > > Source)  at Unknown.Eol(Unknown Source)  at Unkn
> > > own.Zll(Unknown Source) at Unknown.hml(Unknown Source)  at
> > > Unknown.jkl(Unknown Source)  at Unknown.E$(Unknown Source)
> > > 
> > >  at Unknown.d$(Unknown Source)  at Unknown.F2(Unknown Source)   ... 24
> > >  more
> > > 
> > > regards
> > > 
> > > enax
> > > 
> > > On 05/08/2016 05:08 AM, Richard Chan wrote:
> > > 
> > > Hello list, I hope you can help with a UI exception from New VM from
> > > Template.
> > > 
> > > 1. User (PowerUser) is able to create New VMs manually
> > > 2. New VM from template gives a UI exception:
> > > 
> > > __gwt$exception: : Cannot read property 'f' of undefined
> >

Re: [ovirt-users] ovirt backup

2016-05-10 Thread Alexander Wels
On Tuesday, May 10, 2016 05:10:22 PM Dobó László wrote:
> Hi,
> 
> I like to implement an incremental block level backup solution for
> ovirt. I have a few nice idea with libvirt, but i can't manage it directly.
> Any advice which direction should i start, what kind of possibilities i
> have to communicate with libvirt?
> 
> Thanks,
> enax

I think a good starting point would be this:

https://www.ovirt.org/develop/release-management/features/storage/backup-restore-api-integration/


>From what I understand of this after reading it, is you will have a backup VM 
that is running your incremental backups from live snapshots made from running 
VMs that are mounted on that VM. I haven't looked into it that closely though.

> ___
> 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] Webadmin - disable idle logout

2016-05-10 Thread Alexander Wels
On Tuesday, May 10, 2016 08:26:43 AM Grundmann, Christian wrote:
> Hi,
> is there a way to disable the idle logout in webadmin?
> 
> Thx a lot
> Christian

Note this is BAD security practice, but you can use:

engine-config -s UserSessionTimeOutInterval=-1

engine-config -l will give you a list of things you can configure including a 
description of each option.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Errors while trying to join an external LDPA provider

2016-05-03 Thread Alexander Wels
On Tuesday, May 03, 2016 03:58:27 PM Ondra Machacek wrote:
> On 05/03/2016 03:13 PM, Alexis HAUSER wrote:
> >> Or do you use  rfc2307? You can find out running this command:
> >>  LDAPTLS_REQCERT=never ldapsearch -x -H ldaps://myldap -b
> >> 
> >> 'ou=people,o=unix,dc=somewhere,dc=any' -D
> >> 'cn=mysearchuser,ou=admin,o=unix,dc=somewhere,dc=any' -W
> >> '(&(objectClass=posixAccount)(uid=*)(uid=myuser))'
> >> 
> >> If ^this command will find your user then just change in
> >> /etc/ovirt-engine/aaa/your_profile.properties:
> >> 
> >> include = 
> >> 
> >>   to
> >> 
> >> include = 
> > 
> > Actually you pointed exactly on the problem : this LDAP was using rfc2307
> > but I ignored it ! Thanks a lot, now I can login with users, that's
> > almost perfect !
> > 
> > Is it possible now to search for groups instead of users / manipulate
> > groups in the web interface ?
> Sure, if you type some search term into UI users/permissions dialog it
> will also search for groups.
> 

Note in 4.0 we have split groups and users, and you have to select which type 
you want to search for. This is to reduce the number of queries to the LDAP 
server.

> > In that case, the dn would be different, is it possible to specify
> > multiple dn namespaces ?
> Unfortunatelly, it's not currently possible, but feel free to open an
> RFE in bugzilla for this feature, we can implement it in future version
> if needed.
> 
> > One quick question unrelated to this topic (as I can see an @redhat in
> > your mail) : I'm trying to set up in parallel a RHEV server with only the
> > free 60 days evaluation, do you have any idea where I should ask for help
> > (as support only applies if you pay, if I understand), a similar mailing
> > list or something ?
> I am sorry, but I am really not sure about this, maybe there is some
> limited support even with
> the trial, but best to ask the support directly.
> 
> >> Thanks,
> >> for some reason it can't find the user 'myuser'.
> > 
> > Yes, I changed all informations about users, domain name etc for
> > confidentiality.> 
> >> The search command that is executed is:
> >>  LDAPTLS_REQCERT=never ldapsearch -x -H ldaps://myldap -b
> >> 
> >> 'ou=people,o=unix,dc=somewhere,dc=any' -D
> >> 'cn=mysearchuser,ou=admin,o=unix,dc=somewhere,dc=any' -W
> >> '(&(objectClass=uidObject)(uid=*)(uid=myuser))'
> >> 
> >> Is that searchbase(-b param) ok?
> > 
> > Yes
> > 
> >> Does 'cn=mysearchuser' user have appropriate permissions to see users?
> > 
> > Yes
> 
> ___
> 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] Unsupported CPU for Windows 10 64-bit Guest

2016-04-27 Thread Alexander Wels
On Wednesday, April 27, 2016 02:25:32 PM Jared Bloomer wrote:
> I tried setting it to thank, and haswell, and sandy bridge. Everytime I try
> to deploy a VM it says the host does not have the cpu required by the
> cluster and reports the host as non-operational
> 
> Thanks,
> Jared Bloomer
> 

Strange, can you post the output of the following two commands on the HOST?

vdsClient -s 0 getVdsCaps | grep -i flags

virsh -r capabilities

That should tells us what libvirt thinks the capabilities of the machine are.

> On Apr 27, 2016, at 2:22 PM, Alexander Wels <aw...@redhat.com> wrote:
> > On Wednesday, April 27, 2016 09:57:17 AM Jared Bloomer wrote:
> >> I have a new install of ovirt up and running. It is a pretty beefy
> >> machine
> >> so I would really like to figure this out so I can start actually using
> >> it.
> >> 
> >> The Host machine is equipped with 2 Intel Xeon E5-2603 v3 CPUs.
> >> 
> >> Ovirt shows the following for the hardware
> >> 
> >> CPU Model:
> >> Intel(R) Xeon(R) CPU E5-2603 v3 @ 1.60GHz
> >> 
> >> 
> >> CPU Type:
> >> Intel Nehalem Family
> > 
> > IIRC this simply reports what cpu type the cluster is set to that the host
> > is in. Looked up the Xeons you mention, and as far as I can tell that is
> > a haswell no-TSX cpu. Simply select the cluster this host is in and
> > switch the cpu type to haswell no-TSX. You should be able to deploy your
> > VM then.> 
> >> However when trying to deploy a VM with the Operating System set as
> >> Windows
> >> 10 x64 I get the error message
> >> 
> >> The guest OS doesn't support the following CPUs: opteron_g1, conroe,
> >> nehalem, penryn. Its possible to change the cluster cpu or set a
> >> different
> >> one per VM
> >> 
> >> How can I go about deploying a Windows 10 Guest on this Host?
> >> 
> >> 
> >> Thanks,
> >> Jared Bloomer

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


Re: [ovirt-users] Unsupported CPU for Windows 10 64-bit Guest

2016-04-27 Thread Alexander Wels
On Wednesday, April 27, 2016 09:57:17 AM Jared Bloomer wrote:
> I have a new install of ovirt up and running. It is a pretty beefy machine
> so I would really like to figure this out so I can start actually using it.
> 
> The Host machine is equipped with 2 Intel Xeon E5-2603 v3 CPUs.
> 
> Ovirt shows the following for the hardware
> 
> CPU Model:
> Intel(R) Xeon(R) CPU E5-2603 v3 @ 1.60GHz
> 
> 
> CPU Type:
> Intel Nehalem Family
> 
> 

IIRC this simply reports what cpu type the cluster is set to that the host is 
in. Looked up the Xeons you mention, and as far as I can tell that is a 
haswell no-TSX cpu. Simply select the cluster this host is in and switch the 
cpu type to haswell no-TSX. You should be able to deploy your VM then.

> 
> However when trying to deploy a VM with the Operating System set as Windows
> 10 x64 I get the error message
> 
> The guest OS doesn't support the following CPUs: opteron_g1, conroe,
> nehalem, penryn. Its possible to change the cluster cpu or set a different
> one per VM
> 
> How can I go about deploying a Windows 10 Guest on this Host?
> 
> 
> Thanks,
> Jared Bloomer

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


Re: [ovirt-users] Max amount of datacenters per ovirt engine

2016-04-26 Thread Alexander Wels
On Tuesday, April 26, 2016 02:29:22 PM jo...@familiealbers.nl wrote:
> Thanks for the response. If possible i would like to reduce the amount of
> tooling. We already have quite a lot. Do you think a single ovirt engine
> could cope?
> 

The reason I mentioned manage IQ is that it would give you one tool to manage 
everything. You would not have to do much (perhaps the initial setup) in the 
oVirt manager. After that everything goes through manage IQ. Since it is 
designed to manage the managers it is much more fault tolerant which appears 
to be one of your requirements.

As far as max number of data centers goes. I am not entirely sure to be 
honest. But I believe your proposed setup will push the engine beyond it 
limits. I would definitely go with multiple engine instances, maybe in zones 
where the connection to the hosts is better, and then something to control the 
engines from a central location (like manage IQ).


> Verstuurd vanaf mijn iPhone
> 
> > Op 26 apr. 2016 om 14:19 heeft Alexander Wels <aw...@redhat.com> het 
volgende geschreven:
> >> On Tuesday, April 26, 2016 12:13:11 PM jo...@familiealbers.nl wrote:
> >> Hi all, i have a somewhat awkward requirement to deploy datacenters to
> >> around 500 satelite locations. Each datacenter will have 1 or 2
> >> hypervisors
> >> and if 2 a cluster with glusterfs for shared storage will be deployed. I
> >> am
> >> expecting to run between 4 and 10 vms  per data center. During operations
> >> it is expected 20% to 40% of the satelite locations will be down or have
> >> a
> >> very bad connection to the engine. I will still like to manage these
> >> datacenters from ovirt engine. Does anyone have any figures on how many
> >> datacenters i can add given what requirements for a single engine and
> >> perhaps some best practices for dealing with 'bad' connections between
> >> the
> >> hypervisors and the engine. Thanks a lot!
> > 
> > Sounds like a good use case for manage IQ. If possible I would do hosted
> > engines in each satellite location, and then use manage IQ to manage the
> > engines.
> > 
> > Alexander
> > 
> > ps.
> > Vrolijk Koning dag morgen
> > 
> >> ___
> >> 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


  1   2   >