Re: [ovirt-users] Can't export template with 3.5.1

2015-04-05 Thread Bob Doolittle
No suggestions? This seems pretty basic. Any input would be appreciated.

Thanks,
   Bob

On 03/26/2015 01:19 PM, Bob Doolittle wrote:
 I created template from a VM, which completed successfully.

 Now I am trying to export that template, and I get an error: Failed to 
 complete copy of Template Centos6 to Domain xion2-tmpexport.

 Any suggestions? There is plenty of free space on disk.

 I have attached my VDSM log and my engine and server logs.

 I am using Fedora 20 for the (single) host and the self-hosted engine, oVirt 
 3.5.1.1-1

 Thanks,
 Bob

 I've linked 2 files to this email:
 vdsm.log https://db.tt/MEbYnz2Z(20.6 MB)Dropbox 
 https://www.dropbox.com/https://db.tt/MEbYnz2Z
 engine.log https://db.tt/13hMN54l(2.4 MB)Dropbox 
 https://www.dropbox.com/https://db.tt/13hMN54l
 Mozilla Thunderbird http://www.getthunderbird.com makes it easy to share 
 large files over email.



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


Re: [ovirt-users] postgresql error on glance image repo

2015-04-05 Thread Eli Mesika


- Original Message -
 From: Jorick Astrego j.astr...@netbulae.eu
 To: Simone Tiraboschi stira...@redhat.com
 Cc: users@ovirt.org
 Sent: Friday, April 3, 2015 12:13:13 PM
 Subject: Re: [ovirt-users] postgresql error on glance image repo
 
 
 
 On 04/03/2015 10:07 AM, Simone Tiraboschi wrote:
  
  - Original Message -
  From: Jorick Astrego j.astrego@ netbulae.eu 
  To: users@ ovirt.org
  Sent: Friday, April 3, 2015 10:00:58 AM
  Subject: [ovirt-users] postgresql error on glance image repo
  
  Hi,
  
  Running a fresh ovirt 3.5.2rc3 install. When I select the default
  ovirt-image-repository on the storage tab, the images list keeps loading
  and
  I see the following errors in the log:
  Hi,
  I tried it and I'm not able to reproduce, at least on fedora 20.
  I'm able to see image list and I'm able to import cirros template.
  Could you please attach setup logs?
  
  thanks,
  Simone
 
 Hmm strange after clicking away and selecting again, I get the images
 without the sql error.
 
 I attached the logs.

Query seems OK , please try to have a clear reproducible scenario for this one

thanks
Eli 

 
 
  2015-04-03 09:53:27,150 ERROR [org.ovirt.engine.core.bll.SearchQuery]
  (ajp--127.0.0.1-8702-10) Query SearchQuery failed. Exception message is
  StatementCallback; bad SQL grammar [SELECT * FROM ((SELECT distinct
  providers.* FROM providers WHERE providers.name LIKE
  'ovirt-image-repository' ) ORDER BY name ASC) as T1 OFFSET (1 -1) LIMIT
  100]; nested exception is org.postgresql.util.PSQLException: The column
  name
  disk_storage_type was not found in this ResultSet. :
  org.springframework.jdbc.BadSqlGrammarException: StatementCallback; bad
  SQL
  grammar [SELECT * FROM ((SELECT distinct providers.* FROM providers WHERE
  providers.name LIKE 'ovirt-image-repository' ) ORDER BY name ASC) as T1
  OFFSET (1 -1) LIMIT 100]; nested exception is
  org.postgresql.util.PSQLException: The column name disk_storage_type was
  not
  found in this ResultSet.: org.springframework.jdbc.BadSqlGrammarException:
  StatementCallback; bad SQL grammar [SELECT * FROM ((SELECT distinct
  providers.* FROM providers WHERE providers.name LIKE
  'ovirt-image-repository' ) ORDER BY name ASC) as T1 OFFSET (1 -1) LIMIT
  100]; nested exception is org.postgresql.util.PSQLException: The column
  name
  disk_storage_type was not found in this ResultSet.
  at
  org.springframework.jdbc.support.SQLStateSQLExceptionTranslator.doTranslate(SQLStateSQLExceptionTranslator.java:98)
  [spring-jdbc.jar:3.1.1.RELEASE]
  at
  org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:72)
  [spring-jdbc.jar:3.1.1.RELEASE]
  at
  org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:80)
  [spring-jdbc.jar:3.1.1.RELEASE]
  at
  org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:80)
  [spring-jdbc.jar:3.1.1.RELEASE]
  at
  org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:407)
  [spring-jdbc.jar:3.1.1.RELEASE]
  at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:456)
  [spring-jdbc.jar:3.1.1.RELEASE]
  at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:464)
  [spring-jdbc.jar:3.1.1.RELEASE]
  at
  org.ovirt.engine.core.dao.DiskDaoDbFacadeImpl.getAllWithQuery(DiskDaoDbFacadeImpl.java:103)
  [dal.jar:]
  at
  org.ovirt.engine.core.bll.SearchQuery.genericSearch(SearchQuery.java:269)
  [bll.jar:]
  at
  org.ovirt.engine.core.bll.SearchQuery.genericSearch(SearchQuery.java:257)
  [bll.jar:]
  at org.ovirt.engine.core.bll.SearchQuery.searchDisk(SearchQuery.java:299)
  [bll.jar:]
  at
  org.ovirt.engine.core.bll.SearchQuery.executeQueryCommand(SearchQuery.java:117)
  [bll.jar:]
  at
  org.ovirt.engine.core.bll.QueriesCommandBase.executeCommand(QueriesCommandBase.java:73)
  [bll.jar:]
  at
  org.ovirt.engine.core.dal.VdcCommandBase.execute(VdcCommandBase.java:31)
  [dal.jar:]
  at org.ovirt.engine.core.bll.Backend.runQueryImpl(Backend.java:497)
  [bll.jar:]
  at org.ovirt.engine.core.bll.Backend.runQuery(Backend.java:471) [bll.jar:]
 
  at sun.reflect.GeneratedMethodAccessor40.invoke(Unknown Source)
  [:1.7.0_75]
  at
  sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  [rt.jar:1.7.0_75]
  at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_75]
  at
  org.jboss.as.ee.component.ManagedReferenceMethodInterceptorFactory$ManagedReferenceMethodInterceptor.processInvocation(ManagedReferenceMethodInterceptorFactory.java:72)
  [jboss-as-ee-7.1.1.Final.jar:7.1.1.Final]
  at
  org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
  at
  org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:374)
  

Re: [ovirt-users] virtual machine does not boot from its hard disk

2015-04-05 Thread Shmuel Melamud
Hi!

 I have kickstarted my first CentOS 6 host under ovirt.  When it boots,
 the VM tries to PXE boot again rather than going to the hard disk.
 
 If I look under Boot Options in my VM, there's only:
 
* First Device: Hard Disk
* Second Device: [None]
 
 If I  Enable boot menu then I can Hit F12 when the machine boots and
 select the disk.
 
 I suspect this is a bug, or am I missing something?

Seems I've managed to reproduce this bug. Does your scenario looks similar to 
this: https://bugzilla.redhat.com/show_bug.cgi?id=1209038 ?

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


Re: [ovirt-users] virtual machine does not boot from its hard disk

2015-04-05 Thread Jason Keltz

On 05/04/2015 10:35 AM, Shmuel Melamud wrote:

Hi!


I have kickstarted my first CentOS 6 host under ovirt.  When it boots,
the VM tries to PXE boot again rather than going to the hard disk.

If I look under Boot Options in my VM, there's only:

* First Device: Hard Disk
* Second Device: [None]

If I  Enable boot menu then I can Hit F12 when the machine boots and
select the disk.

I suspect this is a bug, or am I missing something?

Seems I've managed to reproduce this bug. Does your scenario looks similar to 
this: https://bugzilla.redhat.com/show_bug.cgi?id=1209038 ?



Yup.  That would be the exact scenerio...

Jason.

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


Re: [ovirt-users] unable to remove cluster because of blank template

2015-04-05 Thread Omer Frenkel


- Original Message -
 From: Jorick Astrego j.astr...@netbulae.eu
 To: users@ovirt.org
 Sent: Friday, April 3, 2015 12:55:45 PM
 Subject: [ovirt-users] unable to remove cluster because of blank template
 
 Testing today ;-)
 
 How do I move/reassign the blank template.
 
 I have two clusters and wish to remove the first one that used to be the
 default cluster.
 
 I get the following message: Error while executing action: Cannot remove
 Cluster. One or more Template(s) are still associated with it
 
 When I check, I see the Blank template assigned but I'm unable to remove or
 edit this.
 
 

this is a known issue, fixed for 3.6
please see
Bug 1145002 - When Default datacenter deleted, cannot remove Default cluster or 
associated template
 https://bugzilla.redhat.com/show_bug.cgi?id=1145002

 
 
   
 Blank
   
   
   
 2008-Mar-31, 23:00
   
 OK
   
 Storage
   
 TEST
   
 Blank template
 
 
 
 Met vriendelijke groet, With kind regards,
 
 Jorick Astrego
 
 Netbulae Virtualization Experts
 
 Tel: 053 20 30 270i...@netbulae.euStaalsteden 4-3AKvK 
 08198180
   Fax: 053 20 30 271  www.netbulae.eu 7547 TA Enschede
 BTW NL821234584B01
 
 
 
 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users
 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] virtual machine does not boot from its hard disk

2015-04-05 Thread Omer Frenkel


- Original Message -
 From: Jason Keltz j...@cse.yorku.ca
 To: users@ovirt.org
 Sent: Thursday, April 2, 2015 9:41:45 PM
 Subject: Re: [ovirt-users] virtual machine does not boot from its hard disk
 
 This is not the problem because I can hit F12, choose the disk, and the
 machine boots fine.
 I *had* set the machine to PXE boot before hard disk, but after undoing that,
 the configuration seems to have held.
 
 Jason.
 On 04/02/2015 02:05 PM, shimano wrote:


is the disk marked as 'bootable'?
 
 
 
 Make sure that KickStart installed correct boot sector (on correct
 partition). For example boot Hiren's CD on VM and check that Grub trying to
 boot correct /boot partition and your /boot partition is active (bootable).
 
 
 2015-04-02 18:28 GMT+02:00 Jason Keltz  j...@cse.yorku.ca  :
 
 
 I have kickstarted my first CentOS 6 host under ovirt. When it boots, the VM
 tries to PXE boot again rather than going to the hard disk.
 
 If I look under Boot Options in my VM, there's only:
 
 * First Device: Hard Disk
 * Second Device: [None]
 
 If I Enable boot menu then I can Hit F12 when the machine boots and select
 the disk.
 
 I suspect this is a bug, or am I missing something?
 
 In addition, can you configure which of the network interface does PXE boot?
 or ovirt will always try all of them until it finds one that works? It would
 seem natural to me to have another column under Network Interfaces
 labelled PXE where you decide which of the interfaces have PXE enabled.
 
 Jason.
 
 
 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users
 
 
 
 ___
 Users mailing list Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users
 
 
 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users
 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] VDSM Network Bug or Feature?

2015-04-05 Thread m...@ohnewald.net


Am 25.03.2015 um 15:34 schrieb Dan Kenigsberg:

On Wed, Mar 25, 2015 at 10:31:14AM +0100, m...@ohnewald.net wrote:

Hello List,

i think i found a nasty Bug (or feature) of ovirt.

One of my network cards was set up with dhcp. At this specific time there
was not yet a dhcp server set up which could respond to dhcp requests.

Therefore my network interface was not able to obtain an ip address. This
„failure“ leaded to that my ovirtmgnt bride would not get startet.

__Maybe__ because ovirtmgmt is alpha numeric after dbvlan116? Because all my
bonding interfaces bond0 and bond1 started just fine.

I was able to solve it by moving my /sbin/dhclient to /sbin/dhclient.backup
and creating a dummy exit0 bash script as /sbin/dhclient.

Then the network startup process seems to progress to my ovirtmgmt
interface. From now on i was able to connect and manage my host again and to
set up my dbvlan116 interface from dhcp to none.


Here is the process list it seems to loop in:


root  2554  0.0  0.0 115612  1988 ?S   10:06   0:00 /bin/bash
/etc/sysconfig/network-scripts/ifup-eth ifcfg-dbvlan116
root  2594  0.0  0.0 104208 15620 ?S   10:06   0:00
/sbin/dhclient -H ovirt-node06-stgt -1 -q -lf
/var/lib/dhclient/dhclient--dbvlan116.lease -pf /var/run/
root 32047  0.0  0.0 115348  1676 ?Ss  10:06   0:00 /bin/sh
/usr/libexec/vdsm/vdsmd_init_common.sh --pre-start
root 32142  1.5  0.0 348460 24952 ?S   10:06   0:00
/usr/bin/python /usr/share/vdsm/vdsm-restore-net-config


Just killing the dhclient does not seem to work. It keeps retrying.


I reported a bug before, but maybe its better to discuss it here first and
explain the bug properly to that the Bugtracker guys know what i mean and
what the problem is? :)

Good. But could you share the bug number?


I have not created a bug yet.



Maybe its best to start the ovirtmgmt interface first? Otherwise a wrong
configured interface will lock you out of the system.


I don't think I understood what is the bug, and when does it show up.
Let's start with the basics. Which platform are you using? el6? el7?

CentOS7 + EL7

- do you have NetworkManager or firewalld running?

No

- Which vdsm version are you using?


vdsm-jsonrpc-4.16.10-8.gitc937927.el7.noarch
vdsm-yajsonrpc-4.16.10-8.gitc937927.el7.noarch
vdsm-python-zombiereaper-4.16.10-8.gitc937927.el7.noarch
vdsm-cli-4.16.10-8.gitc937927.el7.noarch
vdsm-python-4.16.10-8.gitc937927.el7.noarch
vdsm-4.16.10-8.gitc937927.el7.x86_64
vdsm-gluster-4.16.10-8.gitc937927.el7.noarch
vdsm-xmlrpc-4.16.10-8.gitc937927.el7.noarch


- How did you configure the networks? From Engine? Manually?

From Engine.

- Can you share your /var/lib/vdsm/persistence/netconf

find /var/lib/vdsm/persistence/netconf/
/var/lib/vdsm/persistence/netconf/
/var/lib/vdsm/persistence/netconf/bonds
/var/lib/vdsm/persistence/netconf/bonds/bond1
/var/lib/vdsm/persistence/netconf/bonds/bond0
/var/lib/vdsm/persistence/netconf/nets
/var/lib/vdsm/persistence/netconf/nets/dbvlan116
/var/lib/vdsm/persistence/netconf/nets/san5nach7
/var/lib/vdsm/persistence/netconf/nets/san5nach6
/var/lib/vdsm/persistence/netconf/nets/vlan111
/var/lib/vdsm/persistence/netconf/nets/ovirtmgmt



 cat /var/lib/vdsm/persistence/netconf/bonds/bond1
{nics: [enp5s0f0, enp5s0f1], options: mode=0 miimon=100}


cat /var/lib/vdsm/persistence/netconf/bonds/bond0
{nics: [enp3s0f0, enp3s0f1], options: mode=0 miimon=100}



cat /var/lib/vdsm/persistence/netconf/nets/dbvlan116  = this was set to 
DHCP
{nic: enp7s0f1, vlan: 116, STP: no, bridged: true, 
mtu: 1500}[


 cat /var/lib/vdsm/persistence/netconf/nets/san5nach7
{bondingOptions: mode=0 miimon=100, ipaddr: 10.10.3.5, 
bonding: bond1, mtu: 9000, netmask: 255.255.255.0, STP: 
no, bridged: true}



cat /var/lib/vdsm/persistence/netconf/nets/san5nach6
{bondingOptions: mode=0 miimon=100, ipaddr: 10.10.1.5, 
bonding: bond0, mtu: 9000, netmask: 255.255.255.0, 
bridged: false}


 cat /var/lib/vdsm/persistence/netconf/nets/ovirtmgmt
{nic: enp7s0f0, ipaddr: 192.168.43.124, mtu: 1500, 
netmask: 255.255.255.0, STP: no, bridged: true}




Do you say that `service vdsm start` hangs forever?


What im am saying is:

IF a interface A is set up with DHCP (which does not get an ip address 
for whatever reason) then it will not move on to interface B.



In my case:
===
IF dbvlan116   does not get a DHCP response, it will NOT move on and 
bring up my ovirtmgmt interface.


However:
===
My bond0+1 interfaces were there.


I guess this is because it starts with the B* (as in bond) interfaces, 
then moves on to my D* (as in dbvlan) interfaces and then the rest of 
the alphanummeric chain...


I hope i was able to explain it well enough.

I think the managment interface should always start first, otherwise you 
are not able to correct configurations problems like this.


Thanks,
Mario



Regards,
Dan.


___
Users mailing list
Users@ovirt.org