Re: [ovirt-users] Users Digest, Vol 37, Issue 201

2014-11-02 Thread Jim Kinney
Excellent! Many thanks. I was looking at cloud-init but haven't had the
study time to really dig into it. Your method makes perfect sense to me. I
never considered using the first boot process. That really is the key.
Many thanks!!
On Nov 2, 2014 9:16 AM, "Amedeo Salvati"  wrote:

> Hi Jim,
>
> I use ovirt template and freeipa for authentication, and on template i put
> a simple script "setup-freeipa-client.sh" to run on first boot,
> specifically for first boot I use cloud-init functions on ovirt, via web UI
> or via python sdk, and with cloud-init you can pass **evethings** you need
> -> new hostname, new ssh keys, new network configurations, new root
> password, new content on configuration files, or simply executing a new
> script.
>
> If you are interested on cloud-init functions on python sdk have a look on
> a simple script that i wrote for our disaster recovery automation where on
> function buildYamlFile(line 124-137) by using cloud-init execution
> program/script, I change our freeipa server (lines 132-136) avoiding sssd
> timeout on contacting first two production freeipa server.
>
> https://github.com/amedeos/ovirt-scripts-dr/blob/master/StartAllVM.py
>
> HTH
> Amedeo Salvati
>
> Il 31/10/2014 20:01, users-requ...@ovirt.org ha scritto:
>
>> Date: Fri, 31 Oct 2014 14:55:46 -0400
>> From: Jim Kinney
>> To:"users@ovirt.org"  
>> Subject: [ovirt-users] templates and freeipa
>> Message-ID:
>> > gmail.com>
>> Content-Type: text/plain; charset="utf-8"
>>
>> Ovirt 3.5 is running well for me and I have freeIPA controlling access to
>> the user portal. I would like to provide templates of various linux setups
>> that all have freeipa for user authentication in the VM for my developers
>> to be able to create a new VM from and then log in using their freeIPA
>> access and sudo control. I'm wanting to group developers by project and
>> use
>> freeIPA to set sudo commands as needed (group A get oracle, group B get
>> postgresql, etc). Wanting to maximize developer ability while minimizing
>> my
>> clean up time:-)  They will be able to delete VMs they create.
>>
>> It's possible to do a kickstart deploy with freeIPA registration but a
>> template from that will be a problem as it will have the same keys for all
>> VMs.
>>
>> Is there a post-creation scripting process I can attach to in ovirt or
>> should I look at a default root user  and script that personalizes the new
>> VM?
>>
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] templates and freeipa

2014-10-31 Thread Jim Kinney
Ovirt 3.5 is running well for me and I have freeIPA controlling access to
the user portal. I would like to provide templates of various linux setups
that all have freeipa for user authentication in the VM for my developers
to be able to create a new VM from and then log in using their freeIPA
access and sudo control. I'm wanting to group developers by project and use
freeIPA to set sudo commands as needed (group A get oracle, group B get
postgresql, etc). Wanting to maximize developer ability while minimizing my
clean up time :-) They will be able to delete VMs they create.

It's possible to do a kickstart deploy with freeIPA registration but a
template from that will be a problem as it will have the same keys for all
VMs.

Is there a post-creation scripting process I can attach to in ovirt or
should I look at a default root user  and script that personalizes the new
VM?

-- 
-- 
James P. Kinney III

Every time you stop a school, you will have to build a jail. What you gain
at one end you lose at the other. It's like feeding a dog on his own tail.
It won't fatten the dog.
- Speech 11/23/1900 Mark Twain


*http://heretothereideas.blogspot.com/
*
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] oVirt 3.4 + Ipa Server

2014-10-13 Thread Jim Kinney
I have the latest 3.4 version and it works with FreeIPA. An earlier version
did not properly populate the users sections for adding users to Ovirt.
When I rebuilt with the latest 3.4 version, I did NOT join the Ovirt host
to the domain using ipa-join tools. I only joined it using the
engine-manage-domain tools.

2014-10-13 12:49 GMT-04:00 Marcelo Donato :

> oVirt 3.4 is not possible to integrate with IPA?
>
>
>
> --
> Ao encaminhar esta mensagem, por favor:
> 1. Apague o meu e-mail e o meu nome.
> 2. Apague também os endereços dos amigos antes de reenviar
> 3. Use Cco ou Bcc para enviar mensagens!
> Dificulte a disseminação de vírus e spam.
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>


-- 
-- 
James P. Kinney III

Every time you stop a school, you will have to build a jail. What you gain
at one end you lose at the other. It's like feeding a dog on his own tail.
It won't fatten the dog.
- Speech 11/23/1900 Mark Twain


*http://heretothereideas.blogspot.com/
*
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] no console connections

2014-09-12 Thread Jim Kinney
solved.

Not an ovirt issue at all. My network has dual ports, one internal LAN the
other is on switches not managed by me. Someone had disabled the port that
was used by the host I was trying to connect to.



It's all good now. Getting some dev users setup to launch their own VMs for
crash-n-burn tests. Looking forward to 3.5!

On Wed, Sep 10, 2014 at 4:13 AM, Frantisek Kobzik 
wrote:

> Hi Jim,
>
> websocket-proxy is only related to noVNC and SPICE-HTML5 browser clients.
>
> Couple of questions:
>  - is there something suspicious in the engine.log?
>  - have you also tried VNC console connection?
>  - which console mode do you use? 'Browser plugin' or 'Native'? (you can
> get this info in Console options dlg in the web UI)
>  - do you have firewall on hosts properly configured? Are the console
> ports accessible?
>  - could you please try switching to spice 'Native' mode? After this, web
> browser should serve you .vv file and if your browser is not configured to
> directly open .vv files you could inspect its content for abnormalities.
>
> If you need further help, feel free to ask!
>
> Cheers,
> Franta.
>
>
> - Original Message -
> From: "Jim Kinney" 
> To: users@ovirt.org
> Sent: Tuesday, September 9, 2014 9:08:49 PM
> Subject: [ovirt-users] no console connections
>
> Hi,
>
> I have a fresh install of 3.4 on centOS 6.5 with a centOS 6.5-based host
> (not an all-in-one).
>
> When trying to do a first test install of CentOS 7 (or 6.5 or RHEL or...)
> I can't get a spice console screen to connect. The error message is "Can't
> connect to graphics server (null)".
>
> I doubt it's an issue on my desktop as I have another ovirt 3.4 install
> that I can connect to from my desktop. This is a new one that will take
> over from an all-in-one test system.
>
> All the server system have proper DNS entries and can be reached directly
> from my desktop. Could this be related to the websocket proxy server? I get
> the same results with the proxy off or on (it's not configured beyond basic
> install from engine-setup).
>
> --
> --
> James P. Kinney III
>
> Every time you stop a school, you will have to build a jail. What you gain
> at one end you lose at the other. It's like feeding a dog on his own tail.
> It won't fatten the dog.
> - Speech 11/23/1900 Mark Twain
>
> http://heretothereideas.blogspot.com/
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>



-- 
-- 
James P. Kinney III

Every time you stop a school, you will have to build a jail. What you gain
at one end you lose at the other. It's like feeding a dog on his own tail.
It won't fatten the dog.
- Speech 11/23/1900 Mark Twain


*http://heretothereideas.blogspot.com/
<http://heretothereideas.blogspot.com/>*
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] no console connections

2014-09-10 Thread Jim Kinney
Hi,

I have a fresh install of 3.4 on centOS 6.5 with a centOS 6.5-based host
(not an all-in-one).

When trying to do a first test install of CentOS 7 (or 6.5 or RHEL or...) I
can't get a spice console screen to connect. The error message is "Can't
connect to graphics server (null)".

I doubt it's an issue on my desktop as I have another ovirt 3.4 install
that I can connect to from my desktop. This is a new one that will take
over from an all-in-one test system.

All the server system have proper DNS entries and can be reached directly
from my desktop. Could this be related to the websocket proxy server? I
get  the same results with the proxy off or on (it's not configured beyond
basic install from engine-setup).

-- 
-- 
James P. Kinney III

Every time you stop a school, you will have to build a jail. What you gain
at one end you lose at the other. It's like feeding a dog on his own tail.
It won't fatten the dog.
- Speech 11/23/1900 Mark Twain


*http://heretothereideas.blogspot.com/
*
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] oVirt and IPA

2013-11-06 Thread Jim Kinney
Be sure to have a mirror IPA server _NOT_on the same ovirt host AND you
need to be using at least 2 DNS servers AND they both must be able to point
kerberos lookups to all IPA servers. I have my main IPA server as a vm and
a secondary on a physical system I run backups from.




On Wed, Nov 6, 2013 at 12:49 PM, Jakub Bittner  wrote:

> Hi,
>
> I found an issue with IPA (and DNS) and oVirt. If I have hosted IPA server
> in ovirt and have enabled login thru IPA to oVirt and I stop IPA VM, I can
> not do anything in oVirt. I can not even log in to oVirt, because login
> dialog is grayed out (I think it waits on reaching IPA server). Of course I
> use IPA as primary DNS server for oVirt. After some time oVirt lets me
> input local admin credentials and waits on something.
>
> I have more ipa servers, so I think login authentication should fall back
> to another IPA server, but it does not.
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>



-- 
-- 
James P. Kinney III

Every time you stop a school, you will have to build a jail. What you gain
at one end you lose at the other. It's like feeding a dog on his own tail.
It won't fatten the dog.
- Speech 11/23/1900 Mark Twain


*http://heretothereideas.blogspot.com/
*
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] upgrade bug(?) 3.1->3.3

2013-10-07 Thread Jim Kinney
On Mon, Oct 7, 2013 at 1:29 PM, Jim Kinney  wrote:

> On Mon, Oct 7, 2013 at 1:26 PM, Jim Kinney  wrote:
>
>>
>>
>>
>> On Mon, Oct 7, 2013 at 1:21 PM, Jim Kinney  wrote:
>>
>>>
>>>
>>>
>>> On Mon, Oct 7, 2013 at 1:11 PM, Itamar Heim  wrote:
>>>
>>>> On 10/07/2013 07:47 PM, Jim Kinney wrote:
>>>>
>>>>> I just upgraded from engine 3.1 to 3.3 on my standalone centos 6.4
>>>>> system. The 3.3 engine-setup apparently did NOT include the requisite
>>>>> iptables lines for port opening for the spice to function.
>>>>>
>>>>
>>>> hmmm, actually that's the first i hear about upgrading directly from
>>>> 3.1 to 3.3.
>>>> i think we always assumed it should go through 3.2 first.
>>>>
>>>
>>> That was planned, but I got busy _using_ the VM's I had built :-)
>>>
>>> I made the big leap today. Other than the iptables snafu, the other
>>> issues are related to the export and iso domain being inactive, won't
>>> activate and won't detach.
>>>
>>
>> Ah. The engine-setup ignored the existing /etc/exports and wrote a new
>> one ignoring the old on exports and iso domains. OK so that's fixed now.
>>
>
>
> Still can't export a VM to the (newly re-accessible) exports domain.
>

Never mind. I typo'd the IP range in /etc/exports 

>
>>
>>
>>>
>>>>
>>>>
>>>>> I did a yum update for the ovirt-engine-setup to get the latest tool.
>>>>> Then I ran engine-setup to let the process upgrade as required.
>>>>>
>>>>> I added the missing ports from a second system I've not yet upgraded
>>>>> and
>>>>> all is well. Just though someone might want to look at a possible
>>>>> issue.
>>>>>
>>>>> --
>>>>> --
>>>>> James P. Kinney III
>>>>> 
>>>>> Every time you stop a school, you will have to build a jail. What
>>>>>
>>>>> you gain at one end you lose at the other. It's like feeding a dog on
>>>>> his own tail. It won't fatten the dog.
>>>>> - Speech 11/23/1900 Mark Twain
>>>>> 
>>>>> http://heretothereideas.**blogspot.com/<http://heretothereideas.blogspot.com/>
>>>>> 
>>>>>
>>>>>
>>>>> __**_
>>>>> Users mailing list
>>>>> Users@ovirt.org
>>>>> http://lists.ovirt.org/**mailman/listinfo/users<http://lists.ovirt.org/mailman/listinfo/users>
>>>>>
>>>>>
>>>>
>>>
>>>
>>> --
>>> --
>>> James P. Kinney III
>>> *
>>> *Every time you stop a school, you will have to build a jail. What you
>>> gain at one end you lose at the other. It's like feeding a dog on his own
>>> tail. It won't fatten the dog.
>>> - Speech 11/23/1900 Mark Twain
>>> *
>>> http://heretothereideas.blogspot.com/
>>> *
>>>
>>
>>
>>
>> --
>> --
>> James P. Kinney III
>> *
>> *Every time you stop a school, you will have to build a jail. What you
>> gain at one end you lose at the other. It's like feeding a dog on his own
>> tail. It won't fatten the dog.
>> - Speech 11/23/1900 Mark Twain
>> *
>> http://heretothereideas.blogspot.com/
>> *
>>
>
>
>
> --
> --
> James P. Kinney III
> *
> *Every time you stop a school, you will have to build a jail. What you
> gain at one end you lose at the other. It's like feeding a dog on his own
> tail. It won't fatten the dog.
> - Speech 11/23/1900 Mark Twain
> *
> http://heretothereideas.blogspot.com/
> *
>



-- 
-- 
James P. Kinney III
*
*Every time you stop a school, you will have to build a jail. What you gain
at one end you lose at the other. It's like feeding a dog on his own tail.
It won't fatten the dog.
- Speech 11/23/1900 Mark Twain
*
http://heretothereideas.blogspot.com/
*
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] upgrade bug(?) 3.1->3.3

2013-10-07 Thread Jim Kinney
On Mon, Oct 7, 2013 at 1:26 PM, Jim Kinney  wrote:

>
>
>
> On Mon, Oct 7, 2013 at 1:21 PM, Jim Kinney  wrote:
>
>>
>>
>>
>> On Mon, Oct 7, 2013 at 1:11 PM, Itamar Heim  wrote:
>>
>>> On 10/07/2013 07:47 PM, Jim Kinney wrote:
>>>
>>>> I just upgraded from engine 3.1 to 3.3 on my standalone centos 6.4
>>>> system. The 3.3 engine-setup apparently did NOT include the requisite
>>>> iptables lines for port opening for the spice to function.
>>>>
>>>
>>> hmmm, actually that's the first i hear about upgrading directly from 3.1
>>> to 3.3.
>>> i think we always assumed it should go through 3.2 first.
>>>
>>
>> That was planned, but I got busy _using_ the VM's I had built :-)
>>
>> I made the big leap today. Other than the iptables snafu, the other
>> issues are related to the export and iso domain being inactive, won't
>> activate and won't detach.
>>
>
> Ah. The engine-setup ignored the existing /etc/exports and wrote a new one
> ignoring the old on exports and iso domains. OK so that's fixed now.
>


Still can't export a VM to the (newly re-accessible) exports domain.

>
>
>
>>
>>>
>>>
>>>> I did a yum update for the ovirt-engine-setup to get the latest tool.
>>>> Then I ran engine-setup to let the process upgrade as required.
>>>>
>>>> I added the missing ports from a second system I've not yet upgraded and
>>>> all is well. Just though someone might want to look at a possible issue.
>>>>
>>>> --
>>>> --
>>>> James P. Kinney III
>>>> 
>>>> Every time you stop a school, you will have to build a jail. What
>>>>
>>>> you gain at one end you lose at the other. It's like feeding a dog on
>>>> his own tail. It won't fatten the dog.
>>>> - Speech 11/23/1900 Mark Twain
>>>> 
>>>> http://heretothereideas.**blogspot.com/<http://heretothereideas.blogspot.com/>
>>>> 
>>>>
>>>>
>>>> __**_
>>>> Users mailing list
>>>> Users@ovirt.org
>>>> http://lists.ovirt.org/**mailman/listinfo/users<http://lists.ovirt.org/mailman/listinfo/users>
>>>>
>>>>
>>>
>>
>>
>> --
>> --
>> James P. Kinney III
>> *
>> *Every time you stop a school, you will have to build a jail. What you
>> gain at one end you lose at the other. It's like feeding a dog on his own
>> tail. It won't fatten the dog.
>> - Speech 11/23/1900 Mark Twain
>> *
>> http://heretothereideas.blogspot.com/
>> *
>>
>
>
>
> --
> --
> James P. Kinney III
> *
> *Every time you stop a school, you will have to build a jail. What you
> gain at one end you lose at the other. It's like feeding a dog on his own
> tail. It won't fatten the dog.
> - Speech 11/23/1900 Mark Twain
> *
> http://heretothereideas.blogspot.com/
> *
>



-- 
-- 
James P. Kinney III
*
*Every time you stop a school, you will have to build a jail. What you gain
at one end you lose at the other. It's like feeding a dog on his own tail.
It won't fatten the dog.
- Speech 11/23/1900 Mark Twain
*
http://heretothereideas.blogspot.com/
*
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] upgrade bug(?) 3.1->3.3

2013-10-07 Thread Jim Kinney
On Mon, Oct 7, 2013 at 1:21 PM, Jim Kinney  wrote:

>
>
>
> On Mon, Oct 7, 2013 at 1:11 PM, Itamar Heim  wrote:
>
>> On 10/07/2013 07:47 PM, Jim Kinney wrote:
>>
>>> I just upgraded from engine 3.1 to 3.3 on my standalone centos 6.4
>>> system. The 3.3 engine-setup apparently did NOT include the requisite
>>> iptables lines for port opening for the spice to function.
>>>
>>
>> hmmm, actually that's the first i hear about upgrading directly from 3.1
>> to 3.3.
>> i think we always assumed it should go through 3.2 first.
>>
>
> That was planned, but I got busy _using_ the VM's I had built :-)
>
> I made the big leap today. Other than the iptables snafu, the other issues
> are related to the export and iso domain being inactive, won't activate and
> won't detach.
>

Ah. The engine-setup ignored the existing /etc/exports and wrote a new one
ignoring the old on exports and iso domains. OK so that's fixed now.



>
>>
>>
>>> I did a yum update for the ovirt-engine-setup to get the latest tool.
>>> Then I ran engine-setup to let the process upgrade as required.
>>>
>>> I added the missing ports from a second system I've not yet upgraded and
>>> all is well. Just though someone might want to look at a possible issue.
>>>
>>> --
>>> --
>>> James P. Kinney III
>>> 
>>> Every time you stop a school, you will have to build a jail. What
>>>
>>> you gain at one end you lose at the other. It's like feeding a dog on
>>> his own tail. It won't fatten the dog.
>>> - Speech 11/23/1900 Mark Twain
>>> 
>>> http://heretothereideas.**blogspot.com/<http://heretothereideas.blogspot.com/>
>>> 
>>>
>>>
>>> __**_
>>> Users mailing list
>>> Users@ovirt.org
>>> http://lists.ovirt.org/**mailman/listinfo/users<http://lists.ovirt.org/mailman/listinfo/users>
>>>
>>>
>>
>
>
> --
> --
> James P. Kinney III
> *
> *Every time you stop a school, you will have to build a jail. What you
> gain at one end you lose at the other. It's like feeding a dog on his own
> tail. It won't fatten the dog.
> - Speech 11/23/1900 Mark Twain
> *
> http://heretothereideas.blogspot.com/
> *
>



-- 
-- 
James P. Kinney III
*
*Every time you stop a school, you will have to build a jail. What you gain
at one end you lose at the other. It's like feeding a dog on his own tail.
It won't fatten the dog.
- Speech 11/23/1900 Mark Twain
*
http://heretothereideas.blogspot.com/
*
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] upgrade bug(?) 3.1->3.3

2013-10-07 Thread Jim Kinney
On Mon, Oct 7, 2013 at 1:11 PM, Itamar Heim  wrote:

> On 10/07/2013 07:47 PM, Jim Kinney wrote:
>
>> I just upgraded from engine 3.1 to 3.3 on my standalone centos 6.4
>> system. The 3.3 engine-setup apparently did NOT include the requisite
>> iptables lines for port opening for the spice to function.
>>
>
> hmmm, actually that's the first i hear about upgrading directly from 3.1
> to 3.3.
> i think we always assumed it should go through 3.2 first.
>

That was planned, but I got busy _using_ the VM's I had built :-)

I made the big leap today. Other than the iptables snafu, the other issues
are related to the export and iso domain being inactive, won't activate and
won't detach.

>
>
>
>> I did a yum update for the ovirt-engine-setup to get the latest tool.
>> Then I ran engine-setup to let the process upgrade as required.
>>
>> I added the missing ports from a second system I've not yet upgraded and
>> all is well. Just though someone might want to look at a possible issue.
>>
>> --
>> --
>> James P. Kinney III
>> 
>> Every time you stop a school, you will have to build a jail. What
>>
>> you gain at one end you lose at the other. It's like feeding a dog on
>> his own tail. It won't fatten the dog.
>> - Speech 11/23/1900 Mark Twain
>> 
>> http://heretothereideas.**blogspot.com/<http://heretothereideas.blogspot.com/>
>> 
>>
>>
>> __**_
>> Users mailing list
>> Users@ovirt.org
>> http://lists.ovirt.org/**mailman/listinfo/users<http://lists.ovirt.org/mailman/listinfo/users>
>>
>>
>


-- 
-- 
James P. Kinney III
*
*Every time you stop a school, you will have to build a jail. What you gain
at one end you lose at the other. It's like feeding a dog on his own tail.
It won't fatten the dog.
- Speech 11/23/1900 Mark Twain
*
http://heretothereideas.blogspot.com/
*
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] upgrade bug(?) 3.1->3.3

2013-10-07 Thread Jim Kinney
I just upgraded from engine 3.1 to 3.3 on my standalone centos 6.4 system.
The 3.3 engine-setup apparently did NOT include the requisite iptables
lines for port opening for the spice to function.

I did a yum update for the ovirt-engine-setup to get the latest tool. Then
I ran engine-setup to let the process upgrade as required.

I added the missing ports from a second system I've not yet upgraded and
all is well. Just though someone might want to look at a possible issue.

-- 
-- 
James P. Kinney III
*
*Every time you stop a school, you will have to build a jail. What you gain
at one end you lose at the other. It's like feeding a dog on his own tail.
It won't fatten the dog.
- Speech 11/23/1900 Mark Twain
*
http://heretothereideas.blogspot.com/
*
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Designate Master Storage Domain

2013-08-15 Thread Jim Kinney
I am all for the "mix and match" idea of storage.


On Thu, Aug 15, 2013 at 1:30 PM, Itamar Heim  wrote:

> On 08/15/2013 07:32 PM, Dead Horse wrote:
>
>> +1 to Adding a "Make Master Storage Domain Button" ;-)
>>
>
> actually, not sure i'm for this.
> if anything, we want to get rid of the master storage domain going forward
> to make the storage domains autonomous, allowing to mix and match storage
> types, local and shared storage, etc...
>
> rhev-m may reconstruct the master storage domain on any of your SDs over
> time automatically
>
>
>>
>> On Thu, Aug 15, 2013 at 11:09 AM, Liron Aravot > > wrote:
>>
>>
>>
>> - Original Message -
>>  > From: "Dead Horse" > > >>
>>  > To: "Itamar Heim" mailto:ih...@redhat.com>>
>>  > Cc: "mailto:users@ovirt.org>>" > >
>>  > Sent: Thursday, August 15, 2013 6:46:00 PM
>>  > Subject: Re: [Users] Designate Master Storage Domain
>>  >
>>  > Itamar this is true (I have noted occasional timing issues with
>> it actually
>>  > working).
>>  > But what if as the administrator I have a specific storage domain
>> in mind
>>  > that I would like to have become the master (in the case of more
>> then two)?
>>
>> In that case - you could reinitialize the pool using unattached
>> domain (you chose which one) - this domain will become the new master.
>> 1. Create new unattached domain/Detach the domain that you want to
>> be the master from the pool (if possible)
>> 2. Move all the pool domain to maintenance (the master should be put
>> to maintenance last to avoid reconstructing to another domain).
>> 3. Right click on the data center, chose reinitialize storage pool -
>> you can chose which domain do you want to be the master from the
>> unattached domains.
>>
>> The other option is manual db intervention :)
>> Possibly we could add a possibility to manually change the master
>> domain, same as was added for the spm ("Make SPM" button that was
>> added recently).
>>
>>
>>  >
>>  > @Karli
>>  > The idea is not to not have to shut down all the VM's or the
>> engine just to
>>  > maintenance a storage domain(s) that may happen to be on
>> disparate storage
>>  > servers
>>  > .
>>  > - DHC
>>  >
>>  >
>>  > On Thu, Aug 15, 2013 at 9:37 AM, Itamar Heim < ih...@redhat.com
>>  > wrote:
>>  >
>>  >
>>  >
>>  > On 08/15/2013 06:18 AM, Dead Horse wrote:
>>  >
>>  >
>>  >
>>  > Is there any method of designating which domain should be the
>> master
>>  > storage domain or forcibly changing the role to a different
>> storage domain?
>>  >
>>  > EG: Given the following example
>>  >
>>  > Storage Domain A (Master) --> NFS --> Storage Server 1
>>  > Storage Domain B --> NFS --> Storage Server 2
>>  >
>>  > One wants to do maintenance to Storage Server 1 but in doing so the
>>  > Master storage domain is hosted from Storage Server 1. Thus the net
>>  > result of taking down Storage Server 1 is that one must also take
>> down
>>  > Storage Server 2.
>>  >
>>  > Thus we know we must shut down VM's from Storage Domain A to
>> maintenance
>>  > Storage Server 1. Suppose however that VM's are running that we
>> don't
>>  > want to shut down and are hosted from Storage Domain B via
>> Storage Server 2.
>>  >
>>  > We would want to be able to promote Storage Domain B to Master so
>> that
>>  > we can take down Storage Domain A to do maintenance to Storage
>> Server 1.
>>  >
>>  > Once we are done with maintenance to Storage Server 1 we can bring
>>  > Storage Domain A back on line, re-designate it as Master if
>> desired and
>>  > bring it's VM's back online.
>>  >
>>  > I know I have seen this occur automatically to a point when a
>> Storage
>>  > Domain goes missing that is the Master Domain but I have not
>> noted any
>>  > manual method of doing so given the above scenario.
>>  >
>>  > - DHC
>>  >
>>  >
>>  > __ _
>>  > Users mailing list
>>  > Users@ovirt.org 
>>
>>  > http://lists.ovirt.org/ mailman/listinfo/users
>>  >
>>  >
>>  > my understanding is you can move the storage domain A which is
>> master to
>>  > maint. engine will promote storage domain B to master and
>> everything should
>>  > continue working as is.
>>  >
>>  >
>>  > __**_
>>  > Users mailing list
>>  > Users@ovirt.org 
>>  > 
>> http://lists.ovirt.org/**mailman/listinfo/users
>>  >
>>
>>
>>
> ___

Re: [Users] virt-v2v import needs saslauth credentials

2013-08-13 Thread Jim Kinney
qemu-img info
/rhev/data-center/6ff1a3cb-06b9-4a4f-a2ec-053cc45ac7c6/53b04aa4-5f90-4837-b9f1-3ce64ecb057c/images/e20028a6-901d-4429-bf55-f92b9f59e905/52bce09c-7e8f-4c23-95bf-02854672c67f
image:
/rhev/data-center/6ff1a3cb-06b9-4a4f-a2ec-053cc45ac7c6/53b04aa4-5f90-4837-b9f1-3ce64ecb057c/images/e20028a6-901d-4429-bf55-f92b9f59e905/52bce09c-7e8f-4c23-95bf-02854672c67f
file format: raw
virtual size: 3.0G (3221225472 bytes)
disk size: 1.1G


Different dirs as I'm trying various combos with same failure to import.
But the qemu-img data is good.

ll
/rhev/data-center/6ff1a3cb-06b9-4a4f-a2ec-053cc45ac7c6/53b04aa4-5f90-4837-b9f1-3ce64ecb057c/images/e20028a6-901d-4429-bf55-f92b9f59e905/52bce09c-7e8f-4c23-95bf-02854672c67f
-rw-rw. 1 vdsm kvm 3221225472 Aug  9 17:37
/rhev/data-center/6ff1a3cb-06b9-4a4f-a2ec-053cc45ac7c6/53b04aa4-5f90-4837-b9f1-3ce64ecb057c/images/e20028a6-901d-4429-bf55-f92b9f59e905/52bce09c-7e8f-4c23-95bf-02854672c67f



On Tue, Aug 13, 2013 at 12:35 PM, Richard W.M. Jones wrote:

> On Mon, Aug 12, 2013 at 05:26:54PM -0400, Jim Kinney wrote:
> > On trying the import in ovirt after the completion of the conversion
> using
> > -o rhev -os :/var/lib/exports/exports ..., I found an error in the
> > vdsm.log:
> >
> > Thread-199989::ERROR::2013-08-12
> > 15:10:57,371::task::833::TaskManager.Task::(_setError)
> > Task=`6fa2a23e-0194-4f67-b157-a3f831780d12`::Unexpected error
> > Traceback (most recent call last):
> >   File "/usr/share/vdsm/storage/task.py", line 840, in _run
> > return fn(*args, **kargs)
> >   File "/usr/share/vdsm/logUtils.py", line 42, in wrapper
> > res = f(*args, **kwargs)
> >   File "/usr/share/vdsm/storage/hsm.py", line 2891, in getVolumeInfo
> > imgUUID=imgUUID, volUUID=volUUID).getInfo()
> >   File "/usr/share/vdsm/storage/fileSD.py", line 250, in produceVolume
> > return fileVolume.FileVolume(repoPath, self.sdUUID, imgUUID, volUUID)
> >   File "/usr/share/vdsm/storage/fileVolume.py", line 71, in __init__
> > volume.Volume.__init__(self, repoPath, sdUUID, imgUUID, volUUID)
> >   File "/usr/share/vdsm/storage/volume.py", line 128, in __init__
> > self.validate()
> >   File "/usr/share/vdsm/storage/volume.py", line 140, in validate
> > self.validateImagePath()
> >   File "/usr/share/vdsm/storage/fileVolume.py", line 522, in
> > validateImagePath
> > raise se.ImagePathError(imageDir)
> > ImagePathError: Image path does not exist or cannot be accessed/created:
> >
> ('/rhev/data-center/6ff1a3cb-06b9-4a4f-a2ec-053cc45ac7c6/5eb89069-b750-4d32-b7d3-432fd77202d1/images/1e43cdf3-bf3b-4f28-a755-b5fb8a67543b',)
>
> What happens if you do:
>
> qemu-img info
> /rhev/data-center/6ff1a3cb-06b9-4a4f-a2ec-053cc45ac7c6/5eb89069-b750-4d32-b7d3-432fd77202d1/images/1e43cdf3-bf3b-4f28-a755-b5fb8a67543b
>
> Rich.
>
> > I have setenforce=0 with same result.
> > So the 5eb89069-b750-4d32-b7d3-432fd77202d1 is a valid ovirt domain
> number
> > for the entire process in exports. The
> 1e43cdf3-bf3b-4f28-a755-b5fb8a67543b
> > was the name of the dir created from the virt-v2v process.
> >
> > The ovirt import gui provides this error:
> > Error while executing action: Cannot import VM. VM's Image does not
> exist.
> >
> > I've tried with a qcow2 image, a raw image, vmdk (fails with unsupported
> > format error).
> >
> >
> >
> > On Mon, Aug 12, 2013 at 4:49 PM, Jim Kinney 
> wrote:
> >
> > > I need to convert a vmdk to ovirt use. I have a qcow2 formatted image
> and
> > > it's corresponding xml. I'm trying to run virt-v2v to put things into
> the
> > > proper formats/places for ovirt but I need to use my proper
> credentials to
> > > access the qemu:///system space.
> > >
> > > Where/how do I do this? man pages have no suggestions on virt-v2v. I
> have
> > > a user/passwd combo in saslauth that works for virsh.
> > >
> > > virt-v2v -i libvirtxml -o libvirt -os export --vmtype server -n
> ovirtmgmt
> > >
> /var/lib/exports/exports/5eb89069-b750-4d32-b7d3-432fd77202d1/images/test/test.xml
> > > virt-v2v: Failed to connect to qemu:///system: libvirt error code: 45,
> > > message: authentication failed: Failed to step SASL negotiation: -7
> > > (SASL(-7): invalid parameter supplied: Unexpectedly missing a prompt
> result)
> > >
> > > --
> > > --
> > > James P. Kinney III
> > > *
> > > *Every time you stop a school, you will have to build a jail. What you
> > > gain at one end 

Re: [Users] virt-v2v import needs saslauth credentials

2013-08-12 Thread Jim Kinney
On trying the import in ovirt after the completion of the conversion using
-o rhev -os :/var/lib/exports/exports ..., I found an error in the
vdsm.log:

Thread-199989::ERROR::2013-08-12
15:10:57,371::task::833::TaskManager.Task::(_setError)
Task=`6fa2a23e-0194-4f67-b157-a3f831780d12`::Unexpected error
Traceback (most recent call last):
  File "/usr/share/vdsm/storage/task.py", line 840, in _run
return fn(*args, **kargs)
  File "/usr/share/vdsm/logUtils.py", line 42, in wrapper
res = f(*args, **kwargs)
  File "/usr/share/vdsm/storage/hsm.py", line 2891, in getVolumeInfo
imgUUID=imgUUID, volUUID=volUUID).getInfo()
  File "/usr/share/vdsm/storage/fileSD.py", line 250, in produceVolume
return fileVolume.FileVolume(repoPath, self.sdUUID, imgUUID, volUUID)
  File "/usr/share/vdsm/storage/fileVolume.py", line 71, in __init__
volume.Volume.__init__(self, repoPath, sdUUID, imgUUID, volUUID)
  File "/usr/share/vdsm/storage/volume.py", line 128, in __init__
self.validate()
  File "/usr/share/vdsm/storage/volume.py", line 140, in validate
self.validateImagePath()
  File "/usr/share/vdsm/storage/fileVolume.py", line 522, in
validateImagePath
raise se.ImagePathError(imageDir)
ImagePathError: Image path does not exist or cannot be accessed/created:
('/rhev/data-center/6ff1a3cb-06b9-4a4f-a2ec-053cc45ac7c6/5eb89069-b750-4d32-b7d3-432fd77202d1/images/1e43cdf3-bf3b-4f28-a755-b5fb8a67543b',)


I have setenforce=0 with same result.
So the 5eb89069-b750-4d32-b7d3-432fd77202d1 is a valid ovirt domain number
for the entire process in exports. The 1e43cdf3-bf3b-4f28-a755-b5fb8a67543b
was the name of the dir created from the virt-v2v process.

The ovirt import gui provides this error:
Error while executing action: Cannot import VM. VM's Image does not exist.

I've tried with a qcow2 image, a raw image, vmdk (fails with unsupported
format error).



On Mon, Aug 12, 2013 at 4:49 PM, Jim Kinney  wrote:

> I need to convert a vmdk to ovirt use. I have a qcow2 formatted image and
> it's corresponding xml. I'm trying to run virt-v2v to put things into the
> proper formats/places for ovirt but I need to use my proper credentials to
> access the qemu:///system space.
>
> Where/how do I do this? man pages have no suggestions on virt-v2v. I have
> a user/passwd combo in saslauth that works for virsh.
>
> virt-v2v -i libvirtxml -o libvirt -os export --vmtype server -n ovirtmgmt
> /var/lib/exports/exports/5eb89069-b750-4d32-b7d3-432fd77202d1/images/test/test.xml
> virt-v2v: Failed to connect to qemu:///system: libvirt error code: 45,
> message: authentication failed: Failed to step SASL negotiation: -7
> (SASL(-7): invalid parameter supplied: Unexpectedly missing a prompt result)
>
> --
> --
> James P. Kinney III
> *
> *Every time you stop a school, you will have to build a jail. What you
> gain at one end you lose at the other. It's like feeding a dog on his own
> tail. It won't fatten the dog.
> - Speech 11/23/1900 Mark Twain
> *
> http://heretothereideas.blogspot.com/
> *
>



-- 
-- 
James P. Kinney III
*
*Every time you stop a school, you will have to build a jail. What you gain
at one end you lose at the other. It's like feeding a dog on his own tail.
It won't fatten the dog.
- Speech 11/23/1900 Mark Twain
*
http://heretothereideas.blogspot.com/
*
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] virt-v2v import needs saslauth credentials

2013-08-12 Thread Jim Kinney
I need to convert a vmdk to ovirt use. I have a qcow2 formatted image and
it's corresponding xml. I'm trying to run virt-v2v to put things into the
proper formats/places for ovirt but I need to use my proper credentials to
access the qemu:///system space.

Where/how do I do this? man pages have no suggestions on virt-v2v. I have a
user/passwd combo in saslauth that works for virsh.

virt-v2v -i libvirtxml -o libvirt -os export --vmtype server -n ovirtmgmt
/var/lib/exports/exports/5eb89069-b750-4d32-b7d3-432fd77202d1/images/test/test.xml
virt-v2v: Failed to connect to qemu:///system: libvirt error code: 45,
message: authentication failed: Failed to step SASL negotiation: -7
(SASL(-7): invalid parameter supplied: Unexpectedly missing a prompt result)

-- 
-- 
James P. Kinney III
*
*Every time you stop a school, you will have to build a jail. What you gain
at one end you lose at the other. It's like feeding a dog on his own tail.
It won't fatten the dog.
- Speech 11/23/1900 Mark Twain
*
http://heretothereideas.blogspot.com/
*
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] 3.2.2 allinone install fails on CentOS 6.4

2013-07-18 Thread Jim Kinney
Woo!

Found the problem (I think). ipa-server was also installed on the same
system. When ovirt ran, it detected this and suggested using ports 8700 and
8701 which I used. Apparently jboss uses those ports? I removed ipa-server
and had options to configure new ports for engine to use. I put in 8700 and
8701 but the installer said "NO!" and noted that jboss was already claiming
those ports.

So I'm in but there was a cert problem. The SHA1 fingerprint reported by
the engine-setup was NOT the one presented by the self-signed security cert
on login.


On Thu, Jul 18, 2013 at 7:52 AM, Alon Bar-Lev  wrote:

>
>
> - Original Message -----
> > From: "Jim Kinney" 
> > To: "Alon Bar-Lev" 
> > Cc: users@ovirt.org, "Alex Lourie" , "Moran
> Goldboim" , "Itamar Heim"
> > 
> > Sent: Thursday, July 18, 2013 2:45:06 PM
> > Subject: Re: [Users] 3.2.2 allinone install fails on CentOS 6.4
> >
> > Will do. Suggested version? I can't tell from ovirt site which engine has
> > apache integrated. Or am I looking for jboss-as integrated with apache?
> >
>
> This is a new installation, right?
> If it is, please start from scratch and when prompted select to configure
> apache.
> Execute:
> # engine-cleanup
> # engine-setup
>
> If you need to preserve this system then simplest method for now is to:
> 1. copy apache.p12 to jboss.p12
> 2. chown jboss.p12 to ovirt and set mode of 0600.
>
> >
> > On Thu, Jul 18, 2013 at 3:05 AM, Alon Bar-Lev  wrote:
> >
> > >
> > >
> > >
> > > - Original Message -
> > > > From: "Itamar Heim" 
> > > > To: "Jim Kinney" 
> > > > Cc: users@ovirt.org, "Alex Lourie" , "Alon
> Bar-Lev"
> > > , "Moran Goldboim"
> > > > 
> > > > Sent: Thursday, July 18, 2013 6:42:02 AM
> > > > Subject: Re: [Users] 3.2.2 allinone install fails on CentOS 6.4
> > > >
> > > > On 07/17/2013 11:55 PM, Jim Kinney wrote:
> > > > > I'm tying to install $STABLE (3.2.2) on CentOS 6.4 . I have the
> repo
> > > for
> > > > > the el6 from ovirt.
> > > >
> > > > this looks like
> > > > packaging: Creating keystore for jboss use
> > >
> > > Indeed.
> > >
> > > Jim, I suggest you install engine with apache integration, apache
> > > integration is forced in 3.3 so better to be ready.
> > >
> > > >
> > > > Currently jboss uses apache.p12 keystore file. In cases
> > > > where apache is not used for proxying, jboss tries to
> > > > use this file directly and fails on permissions.
> > > >
> > > > This patch tries to resolve the issue by adding an additional
> > > > keystore jboss.p12 during setup/upgrade for the use by the jboss.
> > > >
> > > > Change-Id: I22d71d9de011e8af4bde26d9e2a048a6387ce70f
> > > > Signed-off-by: Alex Lourie 
> > > >
> > > > http://gerrit.ovirt.org/#/c/12374/
> > > >
> > > > alex - was it backported to 3.2?
> > > > i also see some other potentially relevant patches were backported to
> > > > 3.2.2 by alon - shouldn't we refresh the build for this?
> > > >
> > >
> http://gerrit.ovirt.org/gitweb?p=ovirt-engine.git;a=shortlog;h=refs%2Fheads%2Fengine_3.2
> > > >
> > > > >
> > > > > Before the engine-setup --with-allinone=yes can complete it errors
> out
> > > > > with the following in the setup log:
> > > > >
> > > > > 2013-07-17 15:52:47::DEBUG::all_in_one_100::451::root:: Checking
> JBoss
> > > > > status.
> > > > > 2013-07-17 15:52:47::INFO::all_in_one_100::454::root:: JBoss is up
> and
> > > > > running.
> > > > > 2013-07-17 15:52:47::DEBUG::setup_sequences::59::root:: running
> initAPI
> > > > > 2013-07-17 15:52:47::DEBUG::all_in_one_100::240::root:: Initiating
> the
> > > > > API object
> > > > > 2013-07-17 15:52:47::ERROR::all_in_one_100::251::root:: Traceback
> (most
> > > > > recent call last):
> > > > >File
> "/usr/share/ovirt-engine/scripts/plugins/all_in_one_100.py",
> > > > > line 248, in initAPI
> > > > >  ca_file=basedefs.FILE_CA_CRT_SRC,
> > > > >File "/usr/lib/python2.6/site-packages/ovirtsdk/api.py", line
> 119,
> > > in
&

Re: [Users] 3.2.2 allinone install fails on CentOS 6.4

2013-07-18 Thread Jim Kinney
Hmm. currently running jboss-as-7.7.7-11.el6.


On Thu, Jul 18, 2013 at 7:45 AM, Jim Kinney  wrote:

> Will do. Suggested version? I can't tell from ovirt site which engine has
> apache integrated. Or am I looking for jboss-as integrated with apache?
>
>
> On Thu, Jul 18, 2013 at 3:05 AM, Alon Bar-Lev  wrote:
>
>>
>>
>>
>> - Original Message -
>> > From: "Itamar Heim" 
>> > To: "Jim Kinney" 
>> > Cc: users@ovirt.org, "Alex Lourie" , "Alon
>> Bar-Lev" , "Moran Goldboim"
>> > 
>> > Sent: Thursday, July 18, 2013 6:42:02 AM
>> > Subject: Re: [Users] 3.2.2 allinone install fails on CentOS 6.4
>> >
>> > On 07/17/2013 11:55 PM, Jim Kinney wrote:
>> > > I'm tying to install $STABLE (3.2.2) on CentOS 6.4 . I have the repo
>> for
>> > > the el6 from ovirt.
>> >
>> > this looks like
>> > packaging: Creating keystore for jboss use
>>
>> Indeed.
>>
>> Jim, I suggest you install engine with apache integration, apache
>> integration is forced in 3.3 so better to be ready.
>>
>> >
>> > Currently jboss uses apache.p12 keystore file. In cases
>> > where apache is not used for proxying, jboss tries to
>> > use this file directly and fails on permissions.
>> >
>> > This patch tries to resolve the issue by adding an additional
>> > keystore jboss.p12 during setup/upgrade for the use by the jboss.
>> >
>> > Change-Id: I22d71d9de011e8af4bde26d9e2a048a6387ce70f
>> > Signed-off-by: Alex Lourie 
>> >
>> > http://gerrit.ovirt.org/#/c/12374/
>> >
>> > alex - was it backported to 3.2?
>> > i also see some other potentially relevant patches were backported to
>> > 3.2.2 by alon - shouldn't we refresh the build for this?
>> >
>> http://gerrit.ovirt.org/gitweb?p=ovirt-engine.git;a=shortlog;h=refs%2Fheads%2Fengine_3.2
>> >
>> > >
>> > > Before the engine-setup --with-allinone=yes can complete it errors out
>> > > with the following in the setup log:
>> > >
>> > > 2013-07-17 15:52:47::DEBUG::all_in_one_100::451::root:: Checking JBoss
>> > > status.
>> > > 2013-07-17 15:52:47::INFO::all_in_one_100::454::root:: JBoss is up and
>> > > running.
>> > > 2013-07-17 15:52:47::DEBUG::setup_sequences::59::root:: running
>> initAPI
>> > > 2013-07-17 15:52:47::DEBUG::all_in_one_100::240::root:: Initiating the
>> > > API object
>> > > 2013-07-17 15:52:47::ERROR::all_in_one_100::251::root:: Traceback
>> (most
>> > > recent call last):
>> > >File "/usr/share/ovirt-engine/scripts/plugins/all_in_one_100.py",
>> > > line 248, in initAPI
>> > >  ca_file=basedefs.FILE_CA_CRT_SRC,
>> > >File "/usr/lib/python2.6/site-packages/ovirtsdk/api.py", line 119,
>> in
>> > > __init__
>> > >  url='/api'
>> > >File
>> > > "/usr/lib/python2.6/site-packages/ovirtsdk/infrastructure/proxy.py",
>> > > line 112, in request
>> > >  persistent_auth=self._persistent_auth)
>> > >File
>> > > "/usr/lib/python2.6/site-packages/ovirtsdk/infrastructure/proxy.py",
>> > > line 134, in __doRequest
>> > >  persistent_auth=persistent_auth
>> > >File "/usr/lib/python2.6/site-packages/ovirtsdk/web/connection.py",
>> > > line 148, in doRequest
>> > >  raise ConnectionError, str(e)
>> > > ConnectionError: [ERROR]::oVirt API connection failure, [Errno 111]
>> > > Connection refused
>> > >
>> > > 2013-07-17 15:52:47::DEBUG::setup_sequences::62::root:: Traceback
>> (most
>> > > recent call last):
>> > >File "/usr/share/ovirt-engine/scripts/setup_sequences.py", line 60,
>> > > in run
>> > >  function()
>> > >File "/usr/share/ovirt-engine/scripts/plugins/all_in_one_100.py",
>> > > line 252, in initAPI
>> > >  raise Exception(ERROR_CREATE_API_OBJECT)
>> > > Exception: Error: could not create ovirtsdk API object
>> > >
>> > > 2013-07-17 15:52:47::DEBUG::engine-setup::1972::root:: *** The
>> following
>> > > params were used as user input:
>> > > 2013-07-17 15:52:47::DEBUG::engine-setup::1977::root::
>> > > override-httpd-config: no
>&g

Re: [Users] 3.2.2 allinone install fails on CentOS 6.4

2013-07-18 Thread Jim Kinney
Will do. Suggested version? I can't tell from ovirt site which engine has
apache integrated. Or am I looking for jboss-as integrated with apache?


On Thu, Jul 18, 2013 at 3:05 AM, Alon Bar-Lev  wrote:

>
>
>
> - Original Message -
> > From: "Itamar Heim" 
> > To: "Jim Kinney" 
> > Cc: users@ovirt.org, "Alex Lourie" , "Alon Bar-Lev"
> , "Moran Goldboim"
> > 
> > Sent: Thursday, July 18, 2013 6:42:02 AM
> > Subject: Re: [Users] 3.2.2 allinone install fails on CentOS 6.4
> >
> > On 07/17/2013 11:55 PM, Jim Kinney wrote:
> > > I'm tying to install $STABLE (3.2.2) on CentOS 6.4 . I have the repo
> for
> > > the el6 from ovirt.
> >
> > this looks like
> > packaging: Creating keystore for jboss use
>
> Indeed.
>
> Jim, I suggest you install engine with apache integration, apache
> integration is forced in 3.3 so better to be ready.
>
> >
> > Currently jboss uses apache.p12 keystore file. In cases
> > where apache is not used for proxying, jboss tries to
> > use this file directly and fails on permissions.
> >
> > This patch tries to resolve the issue by adding an additional
> > keystore jboss.p12 during setup/upgrade for the use by the jboss.
> >
> > Change-Id: I22d71d9de011e8af4bde26d9e2a048a6387ce70f
> > Signed-off-by: Alex Lourie 
> >
> > http://gerrit.ovirt.org/#/c/12374/
> >
> > alex - was it backported to 3.2?
> > i also see some other potentially relevant patches were backported to
> > 3.2.2 by alon - shouldn't we refresh the build for this?
> >
> http://gerrit.ovirt.org/gitweb?p=ovirt-engine.git;a=shortlog;h=refs%2Fheads%2Fengine_3.2
> >
> > >
> > > Before the engine-setup --with-allinone=yes can complete it errors out
> > > with the following in the setup log:
> > >
> > > 2013-07-17 15:52:47::DEBUG::all_in_one_100::451::root:: Checking JBoss
> > > status.
> > > 2013-07-17 15:52:47::INFO::all_in_one_100::454::root:: JBoss is up and
> > > running.
> > > 2013-07-17 15:52:47::DEBUG::setup_sequences::59::root:: running initAPI
> > > 2013-07-17 15:52:47::DEBUG::all_in_one_100::240::root:: Initiating the
> > > API object
> > > 2013-07-17 15:52:47::ERROR::all_in_one_100::251::root:: Traceback (most
> > > recent call last):
> > >File "/usr/share/ovirt-engine/scripts/plugins/all_in_one_100.py",
> > > line 248, in initAPI
> > >  ca_file=basedefs.FILE_CA_CRT_SRC,
> > >File "/usr/lib/python2.6/site-packages/ovirtsdk/api.py", line 119,
> in
> > > __init__
> > >  url='/api'
> > >File
> > > "/usr/lib/python2.6/site-packages/ovirtsdk/infrastructure/proxy.py",
> > > line 112, in request
> > >  persistent_auth=self._persistent_auth)
> > >File
> > > "/usr/lib/python2.6/site-packages/ovirtsdk/infrastructure/proxy.py",
> > > line 134, in __doRequest
> > >  persistent_auth=persistent_auth
> > >File "/usr/lib/python2.6/site-packages/ovirtsdk/web/connection.py",
> > > line 148, in doRequest
> > >  raise ConnectionError, str(e)
> > > ConnectionError: [ERROR]::oVirt API connection failure, [Errno 111]
> > > Connection refused
> > >
> > > 2013-07-17 15:52:47::DEBUG::setup_sequences::62::root:: Traceback (most
> > > recent call last):
> > >File "/usr/share/ovirt-engine/scripts/setup_sequences.py", line 60,
> > > in run
> > >  function()
> > >File "/usr/share/ovirt-engine/scripts/plugins/all_in_one_100.py",
> > > line 252, in initAPI
> > >  raise Exception(ERROR_CREATE_API_OBJECT)
> > > Exception: Error: could not create ovirtsdk API object
> > >
> > > 2013-07-17 15:52:47::DEBUG::engine-setup::1972::root:: *** The
> following
> > > params were used as user input:
> > > 2013-07-17 15:52:47::DEBUG::engine-setup::1977::root::
> > > override-httpd-config: no
> > > 2013-07-17 15:52:47::DEBUG::engine-setup::1977::root:: http-port: 8700
> > > 2013-07-17 15:52:47::DEBUG::engine-setup::1977::root:: https-port: 8701
> > > 2013-07-17 15:52:47::DEBUG::engine-setup::1977::root::
> random-passwords: no
> > > 2013-07-17 15:52:47::DEBUG::engine-setup::1977::root:: mac-range:
> > > 00:1A:4A:8C:8A:00-00:1A:4A:8C:8A:FF
> > > 2013-07-17 15:52:47::DEBUG::engine-setup::1977::root:: host-fqdn:
> > > storage01.mydomain.me <http://stor

[Users] 3.2.2 allinone install fails on CentOS 6.4

2013-07-17 Thread Jim Kinney
I'm tying to install $STABLE (3.2.2) on CentOS 6.4 . I have the repo for
the el6 from ovirt.

Before the engine-setup --with-allinone=yes can complete it errors out with
the following in the setup log:

2013-07-17 15:52:47::DEBUG::all_in_one_100::451::root:: Checking JBoss
status.
2013-07-17 15:52:47::INFO::all_in_one_100::454::root:: JBoss is up and
running.
2013-07-17 15:52:47::DEBUG::setup_sequences::59::root:: running initAPI
2013-07-17 15:52:47::DEBUG::all_in_one_100::240::root:: Initiating the API
object
2013-07-17 15:52:47::ERROR::all_in_one_100::251::root:: Traceback (most
recent call last):
  File "/usr/share/ovirt-engine/scripts/plugins/all_in_one_100.py", line
248, in initAPI
ca_file=basedefs.FILE_CA_CRT_SRC,
  File "/usr/lib/python2.6/site-packages/ovirtsdk/api.py", line 119, in
__init__
url='/api'
  File "/usr/lib/python2.6/site-packages/ovirtsdk/infrastructure/proxy.py",
line 112, in request
persistent_auth=self._persistent_auth)
  File "/usr/lib/python2.6/site-packages/ovirtsdk/infrastructure/proxy.py",
line 134, in __doRequest
persistent_auth=persistent_auth
  File "/usr/lib/python2.6/site-packages/ovirtsdk/web/connection.py", line
148, in doRequest
raise ConnectionError, str(e)
ConnectionError: [ERROR]::oVirt API connection failure, [Errno 111]
Connection refused

2013-07-17 15:52:47::DEBUG::setup_sequences::62::root:: Traceback (most
recent call last):
  File "/usr/share/ovirt-engine/scripts/setup_sequences.py", line 60, in run
function()
  File "/usr/share/ovirt-engine/scripts/plugins/all_in_one_100.py", line
252, in initAPI
raise Exception(ERROR_CREATE_API_OBJECT)
Exception: Error: could not create ovirtsdk API object

2013-07-17 15:52:47::DEBUG::engine-setup::1972::root:: *** The following
params were used as user input:
2013-07-17 15:52:47::DEBUG::engine-setup::1977::root::
override-httpd-config: no
2013-07-17 15:52:47::DEBUG::engine-setup::1977::root:: http-port: 8700
2013-07-17 15:52:47::DEBUG::engine-setup::1977::root:: https-port: 8701
2013-07-17 15:52:47::DEBUG::engine-setup::1977::root:: random-passwords: no
2013-07-17 15:52:47::DEBUG::engine-setup::1977::root:: mac-range:
00:1A:4A:8C:8A:00-00:1A:4A:8C:8A:FF
2013-07-17 15:52:47::DEBUG::engine-setup::1977::root:: host-fqdn:
storage01.mydomain.me
2013-07-17 15:52:47::DEBUG::engine-setup::1977::root:: auth-pass: 
2013-07-17 15:52:47::DEBUG::engine-setup::1977::root:: org-name: mydomain.me
2013-07-17 15:52:47::DEBUG::engine-setup::1977::root:: application-mode:
virt
2013-07-17 15:52:47::DEBUG::engine-setup::1977::root:: default-dc-type:
POSIXFS
2013-07-17 15:52:47::DEBUG::engine-setup::1977::root:: db-remote-install:
local
2013-07-17 15:52:47::DEBUG::engine-setup::1977::root:: db-host: localhost
2013-07-17 15:52:47::DEBUG::engine-setup::1977::root:: db-local-pass:

2013-07-17 15:52:47::DEBUG::engine-setup::1977::root:: nfs-mp:
/var/lib/exports/iso
2013-07-17 15:52:47::DEBUG::engine-setup::1977::root:: iso-domain-name:
ISO_DOMAIN
2013-07-17 15:52:47::DEBUG::engine-setup::1977::root:: config-nfs: yes
2013-07-17 15:52:47::DEBUG::engine-setup::1977::root:: override-firewall:
None
2013-07-17 15:52:47::DEBUG::engine-setup::1977::root:: config-allinone: yes
2013-07-17 15:52:47::DEBUG::engine-setup::1977::root:: storage-path:
/var/lib/images
2013-07-17 15:52:47::DEBUG::engine-setup::1977::root:: superuser-pass:

2013-07-17 15:52:47::ERROR::engine-setup::2392::root:: Traceback (most
recent call last):
  File "/usr/bin/engine-setup", line 2386, in 
main(confFile)
  File "/usr/bin/engine-setup", line 2169, in main
runSequences()
  File "/usr/bin/engine-setup", line 2092, in runSequences
controller.runAllSequences()
  File "/usr/share/ovirt-engine/scripts/setup_controller.py", line 54, in
runAllSequences
sequence.run()
  File "/usr/share/ovirt-engine/scripts/setup_sequences.py", line 154, in
run
step.run()
  File "/usr/share/ovirt-engine/scripts/setup_sequences.py", line 60, in run
function()
  File "/usr/share/ovirt-engine/scripts/plugins/all_in_one_100.py", line
252, in initAPI
raise Exception(ERROR_CREATE_API_OBJECT)
Exception: Error: could not create ovirtsdk API object



After much digging, it seems like the issue is in the certs but it's not
making sense to me why it fails. From the server.log:

2013-07-17 16:37:28,873 INFO  [org.jboss.as.server.deployment.scanner] (MSC
service thread 1-3) JBAS015012: Started FileSystemDeploymentService for
directory /var/lib/ovirt-engine/deployments
2013-07-17 16:37:28,877 ERROR
[org.apache.tomcat.util.net.jsse.JSSESocketFactory] (MSC service thread
1-4) Failed to load keystore type PKCS12 with path
/etc/pki/ovirt-engine/keys/apache.p12 due to
/etc/pki/ovirt-engine/keys/apache.p12 (Permission denied):
java.io.FileNotFoundException: /etc/pki/ovirt-engine/keys/apache.p12
(Permission denied)
at java.io.FileInputStream.open(Native Method) [rt.jar:1.7.0_25]
at java.io.FileInputStream.(FileInputStream.java:138)
[rt.jar:1.7

Re: [Users] error install on centos

2013-05-22 Thread Jim Kinney
The error indicates the 'file' command is not found.

rpm -qa | grep file

On my 6.4 install, I have file-5.04-15.el6.x86_64




On Wed, May 22, 2013 at 10:31 AM,  wrote:

> Hi,
>
> Line 199 of the dbfunctions.sh script is:
>
>isShellScript=$(file $execFile | grep "shell" | wc -l)
>
> So can you check if "grep" and "wc" are installed?
>
> rpm -qa|grep 'grep\|coreutils'
>
> --
> Kind regards,
>
> Jorick Astrego
> Netbulae B.V.
> Site:  http://www.netbulae.eu
>
>
>
> From:Paco qw 
> To:users@ovirt.org
> Date:05/22/2013 11:53
> Subject:[Users] error install on centos
> Sent by:users-boun...@ovirt.org
> --
>
>
>
> Hello everyone.
> Ovirt install on Centos 6.2
> Run engine-setup and get the error.
>
>
> Installing:
> Configuring oVirt Engine... [ DONE ]
> Configuring JVM...  [ DONE ]
> Creating CA...  [ DONE ]
> Updating ovirt-engine service...[ DONE ]
> Setting Database Configuration...   [ DONE ]
> Setting Database Security...[ DONE ]
> Creating Database... [ ERROR ]
> Database creation failed
> Please check log file
> /var/log/ovirt-engine/engine-setup_2011_11_24_05_36_26.log for more
> information
>
> In log engine-db-install
>
> #engine db installer log file on 
> *rhevm8.lab.topsonline.ru*
>
> [engine-db-install] verifying required rpms are installed.
> postgresql-server-8.4.9-1.el6_1.1.x86_64
> postgresql-8.4.9-1.el6_1.1.x86_64
> postgresql-libs-8.4.9-1.el6_1.1.x86_64
> [engine-db-install] verifying postgres service exists.
> [engine-db-install] init postgres db.
> [engine-db-install] psgql db already been initialized.
> [engine-db-install] changing authentication scheme from peer to ident.
> [engine-db-install] changing authentication scheme from ident to trust.
> [engine-db-install] stop postgres service.
> Stopping postgresql service: [  OK  ]
> [engine-db-install] starting postgres service.
> Starting postgresql service: [  OK  ]
> [engine-db-install] validating that postgres service is running...retry 1
>  ?column?
> --
> 1
> (1 row)
>
> [engine-db-install] checking if engine db exists already..
> psql: FATAL:  database "engine" does not exist
> [engine-db-install] engine not installed.
> [engine-db-install] updating db admin credentials
> DROP ROLE
> CREATE ROLE
> [engine-db-install] creating engine db on postgres.
> /usr/share/ovirt-engine/dbscripts ~
> /usr/share/ovirt-engine/dbscripts /usr/share/ovirt-engine/dbscripts
> Creating the database: engine
> dropdb: database removal failed: ERROR:  database "engine" does not exist
> user name is: engine
> Creating tables...
> Creating functions...
> Creating common functions...
> Inserting data  ...
> Inserting pre-defined roles ...
> Running upgrade scripts...
> upgrade script detected a change in Config, View or Stored Procedure...
> ./dbfunctions.sh: line 199: file: command not found
> Running  upgrade sql script upgrade/pre_upgrade/_config.sql ...
> ./dbfunctions.sh: line 199: file: command not found
> Running  upgrade sql script upgrade/pre_upgrade/0010_custom.sql ...
> ./dbfunctions.sh: line 199: file: command not found
> Running  upgrade sql script
> upgrade/pre_upgrade/0020_add_comment_col_to_schema_version.sql ...
> ./dbfunctions.sh: line 199: file: command not found
> Running  upgrade sql script
> upgrade/pre_upgrade/0030_add_materialized_views_table.sql ...
> Dropping materialized views...
> ./dbfunctions.sh: line 199: file: command not found
> Running  upgrade sql script upgrade/03_00_0010_add_group_ids_to_users.sql
> ...
> ./dbfunctions.sh: line 199: file: command not found
> Running  upgrade sql script
> upgrade/03_00_0030_change_storage_format_type_to_str.sql ...
> ./dbfunctions.sh: line 199: file: command not found
> Running  upgrade sql script
> upgrade/03_00_0040_change_vm_dynamic_vm_ip_type.sql ...
> ./dbfunctions.sh: line 199: file: command not found
> Running  upgrade sql script
> upgrade/03_00_0050_make_blank_template_pulic.sql ...
> ./dbfunctions.sh: line 199: file: command not found
> Running  upgrade sql script upgrade/03_00_0060_add_group_everyone.sql ...
> ./dbfunctions.sh: line 199: file: command not found
> Running  upgrade sql script upgrade/03_00_0100_add_device_size_to_luns.sql
> ...
> ./dbfunctions.sh: line 199: file: command not found
> Running  upgrade sql script
> upgrade/03_00_0120_add_update_date_to_vm_templates.sql ...
> ./dbfunctions.sh: line 199: file: command not found
> Running  upgrade sql script
> upgrade/03_00_0130_change_dwh_history_timekeeping_date_type.sql ...
> ./dbfunctions.sh: line 199: file: command not found
> Running  upgrade sql script upgrade/03_00_0150_update_roles.sql ...
> ./dbfunctions.sh: line 199: file: command not found
> Running  upgrade sql script upgr

Re: [Users] [Best practice] NFS export domain served by oVirt manager?

2013-02-15 Thread Jim Kinney
I set up my exports domain on a host node since it had space and the export
process will be rarely used in my case. Since your use will also be seldom,
the only consideration is bandwidth and space. NFS can easily run on the
engine machine as the default ISO domain indicates. One more share will
make little difference in that system's performance.

On Fri, Feb 15, 2013 at 4:01 AM, Nicolas Ecarnot wrote:

> Hi,
>
> Here is a simple question about what is the best practice about the
> location of a NFS export domain.
>
> At present, I'm using a server as the oVirt manager, and this server is
> also a NFS server for the ISO storage domain.
>
> I'm using another server to serve an NFS export domain, but I'm thinking
> of changing that.
>
> Is there any advice against the decision to host the export domain NFS on
> the same server as the manager?
> For the time being, I will mainly use this export storage domain to rarely
> import some p2v imports, but I don't need performance.
>
> Your opinion?
>
> --
> Nicolas Ecarnot
> __**_
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/**mailman/listinfo/users
>



-- 
-- 
James P. Kinney III
*
*Every time you stop a school, you will have to build a jail. What you gain
at one end you lose at the other. It's like feeding a dog on his own tail.
It won't fatten the dog.
- Speech 11/23/1900 Mark Twain
*
http://electjimkinney.org
http://heretothereideas.blogspot.com/
*
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Problem with Win 7 VM creation

2013-02-07 Thread Jim Kinney
I have a iso image of the drivers in my iso storage. Just change CD and use
the driver CD. Be sure to change it back to be the install Cd. The win7
error will look something like "Can't install on that disk" and it looks
like it means the virtual hard drive after the driver installs and it sees
the drive. It really means "I don't have the install Cd anymore to install
from".

 windows...

On Thu, Feb 7, 2013 at 10:31 AM, Juan Jose  wrote:

> Hello everybody and Antoni,
>
> I have changed my NFS server to my engine machine and finally I have had
> to create a Fedora 17 VM machine in my oVirt system and now I'm trying to
> create  a Win 7 VM machine and when I want to Run once my machine, in Boot
> options I don't have the "virtio-win" driver to attach to floppy VM and
> when machine try to install system in virtual hard disk it ask for a driver
> for the disk. How can I install this driver and to be attached to my VM
> floppy?
>
> Many thanks in avanced,
>
> Juanjo.
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>


-- 
-- 
James P. Kinney III
*
*Every time you stop a school, you will have to build a jail. What you gain
at one end you lose at the other. It's like feeding a dog on his own tail.
It won't fatten the dog.
- Speech 11/23/1900 Mark Twain
*
http://electjimkinney.org
http://heretothereideas.blogspot.com/
*
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] error using cli on ovirt 3.1

2013-02-06 Thread Jim Kinney
On Wed, Feb 6, 2013 at 10:18 AM, Jim Kinney  wrote:

> progress. Restored pki files from backup. Still had to reset
> AdminPassword. Able to login to the gui. All hosts are "unresponsive". The
> SPM host is just totally locked (but fine from it's console - idle).
>
> Tried to reinstall one of the hosts and got a new error message:
>
> Error:
>
> vmhost5:
>
>- size must be between 0 and 50
>
>
vmhost2 is locked as SPM host and nothing seems to allow it to be reset.
Found the following in engine.log:

 2013-02-06 10:42:51,809 ERROR
[org.ovirt.engine.core.vdsbroker.vdsbroker.VdsBrokerCommand]
(QuartzScheduler_Worker-64) XML RPC error in command GetCapabilitiesVDS (
Vds: vmhost2 ), the error was: java.util.concurrent.ExecutionException:
java.lang.reflect.InvocationTargetException, SunCertPathBuilderException:
unable to find valid certification path to requested target
2013-02-06 10:42:51,818 ERROR
[org.ovirt.engine.core.engineencryptutils.EncryptionUtils]
(QuartzScheduler_Worker-57) Failed to decryptData must start with zero
2013-02-06 10:42:52,513 ERROR
[org.ovirt.engine.core.engineencryptutils.EncryptionUtils]
(QuartzScheduler_Worker-62) Failed to decryptData must start with zero
2013-02-06 10:42:53,245 ERROR
[org.ovirt.engine.core.engineencryptutils.EncryptionUtils]
(QuartzScheduler_Worker-60) Failed to decryptData must start with zero

This repeats every few seconds.

None of the vmhosts have the usual vdsm running profiles. They all have:

19343 ?S< 0:00 /bin/bash -e /usr/share/vdsm/respawn
--minlifetime 10 --daemon --masterpid /var/run/vdsm/respawn.pid
/usr/share/vdsm/vdsm
19346 ?S
>
> On Wed, Feb 6, 2013 at 9:42 AM, Juan Hernandez wrote:
>
>> On 02/06/2013 03:32 PM, Jim Kinney wrote:
>>
>>> The pki folder is likely to be a problem but the backups folder is
>>> populated. Is there a way to remove client certs from hosts to restore
>>> access with a host add process?
>>>
>>
>> If you don't have the pki folder you have two problems. First is that
>> some data in the database is encrypted, namely the AdminPassword. That you
>> can solve with "engine-config -s AdminPassword=interactive". Second is the
>> certificates of the hosts, the easy way to solve that is to re-install them
>> (from the ovirt-engine GUI, no need to re-install the operating system)
>> that will generate new certificates.
>>
>>
>>> On Feb 6, 2013 9:24 AM, "Juan Hernandez" >> <mailto:jhern...@redhat.com>> wrote:
>>>
>>> On 02/06/2013 03:02 PM, Jim Kinney wrote:
>>>
>>> as things stand now:
>>>
>>> I manually reinstalled 3.1, then dropped the engine database and
>>> restored from the backup. There were some errors at the end.
>>> Even though
>>> I used all the same passwords, the admin@internal account was
>>> not
>>> working. Used engine-config -s LocalAdminPassword='*' to
>>> fix. On log
>>> in, everything is down, offline, unreachable. No hosts can be
>>> contacted.
>>> No storage is connected. Can't add a new host.
>>>
>>> crud.
>>>
>>> I copied the database backup and removed all the db creation part
>>> leaving just the data "copy into..." section (that was fun). Ran
>>> engine-cleanup then engine-setup then tried to restore just the
>>> data.
>>>
>>> no joy there either.
>>>
>>> The system is CentOS 6.3 as are the hosts. This ran wonderfully
>>> until I
>>> goofed trying to get the cli and sdk updated. Without the
>>> database
>>> working, I have no way to know what vm is what in the ISCSI LVM
>>> storage
>>> system to even export to another platform.
>>>
>>> So I'm assuming my next step is panic (or total reinstall from
>>> bare
>>> iron?). I'm setting this up at work and today is my last day as
>>> I'm
>>> moving to a new job at a totally different organization. I'd
>>> hate to
>>> walk out and lose all the windows VMs and templates that were
>>> built over
>>> the last 2 months.
>>>
>>>
>>> Do you still have the original backup of the database and the
>>> contents of the original /etc/pki/ovirt-engine directory? With those
>>> two things it is possible to recover.
>>>
>>> 

Re: [Users] error using cli on ovirt 3.1

2013-02-06 Thread Jim Kinney
progress. Restored pki files from backup. Still had to reset AdminPassword.
Able to login to the gui. All hosts are "unresponsive". The SPM host is
just totally locked (but fine from it's console - idle).

Tried to reinstall one of the hosts and got a new error message:

Error:

vmhost5:

   - size must be between 0 and 50



On Wed, Feb 6, 2013 at 9:42 AM, Juan Hernandez  wrote:

> On 02/06/2013 03:32 PM, Jim Kinney wrote:
>
>> The pki folder is likely to be a problem but the backups folder is
>> populated. Is there a way to remove client certs from hosts to restore
>> access with a host add process?
>>
>
> If you don't have the pki folder you have two problems. First is that some
> data in the database is encrypted, namely the AdminPassword. That you can
> solve with "engine-config -s AdminPassword=interactive". Second is the
> certificates of the hosts, the easy way to solve that is to re-install them
> (from the ovirt-engine GUI, no need to re-install the operating system)
> that will generate new certificates.
>
>
>> On Feb 6, 2013 9:24 AM, "Juan Hernandez" > <mailto:jhern...@redhat.com>> wrote:
>>
>> On 02/06/2013 03:02 PM, Jim Kinney wrote:
>>
>> as things stand now:
>>
>> I manually reinstalled 3.1, then dropped the engine database and
>> restored from the backup. There were some errors at the end.
>> Even though
>> I used all the same passwords, the admin@internal account was not
>> working. Used engine-config -s LocalAdminPassword='*' to
>> fix. On log
>> in, everything is down, offline, unreachable. No hosts can be
>> contacted.
>> No storage is connected. Can't add a new host.
>>
>> crud.
>>
>> I copied the database backup and removed all the db creation part
>> leaving just the data "copy into..." section (that was fun). Ran
>> engine-cleanup then engine-setup then tried to restore just the
>> data.
>>
>> no joy there either.
>>
>> The system is CentOS 6.3 as are the hosts. This ran wonderfully
>> until I
>> goofed trying to get the cli and sdk updated. Without the database
>> working, I have no way to know what vm is what in the ISCSI LVM
>> storage
>> system to even export to another platform.
>>
>> So I'm assuming my next step is panic (or total reinstall from
>> bare
>> iron?). I'm setting this up at work and today is my last day as
>> I'm
>> moving to a new job at a totally different organization. I'd hate
>> to
>> walk out and lose all the windows VMs and templates that were
>> built over
>> the last 2 months.
>>
>>
>> Do you still have the original backup of the database and the
>> contents of the original /etc/pki/ovirt-engine directory? With those
>> two things it is possible to recover.
>>
>> I would suggest the following procedure:
>>
>> 1. Make a clean installation of 3.1, exactly the same version that
>> you had before trying to update (make a backup of the database and
>> of the /etc/pki/ovirt-engine directory before, just in case). During
>> this installation use the answers that you used during the initial
>> installation (specially the passwords).
>>
>> 2. Stop the engine, then drop and recover the database as you
>> already did.
>>
>> 3. Restore the contents of the /etc/pki/ovirt-engine directory.
>>
>> 4. Start the engine.
>>
>> You should be able to log in with the same credentials that you used
>> in the original installation.
>>
>>
>> On Wed, Feb 6, 2013 at 8:43 AM, Jim Kinney > <mailto:jim.kin...@gmail.com>
>> <mailto:jim.kin...@gmail.com <mailto:jim.kin...@gmail.com>>**>
>> wrote:
>>
>>  added 3.2 lines to dre ovirt yum repo (and disabled 3.1 -
>> probably
>>  not good) and did engine-upgrade.
>>
>>  Process choked at opening the CA cert and proceeded to
>> "rollback".
>>  Didn't actually roll back as 3.1 repo was disabled.
>>
>>  System still has 3.2 installed. Did yum update to pull in the
>>  cli/sdk 3.2 (wish I had done that first!).
>>
>>  Engine starts but fails to 

Re: [Users] error using cli on ovirt 3.1

2013-02-06 Thread Jim Kinney
The pki folder is likely to be a problem but the backups folder is
populated. Is there a way to remove client certs from hosts to restore
access with a host add process?
On Feb 6, 2013 9:24 AM, "Juan Hernandez"  wrote:

> On 02/06/2013 03:02 PM, Jim Kinney wrote:
>
>> as things stand now:
>>
>> I manually reinstalled 3.1, then dropped the engine database and
>> restored from the backup. There were some errors at the end. Even though
>> I used all the same passwords, the admin@internal account was not
>> working. Used engine-config -s LocalAdminPassword='*' to fix. On log
>> in, everything is down, offline, unreachable. No hosts can be contacted.
>> No storage is connected. Can't add a new host.
>>
>> crud.
>>
>> I copied the database backup and removed all the db creation part
>> leaving just the data "copy into..." section (that was fun). Ran
>> engine-cleanup then engine-setup then tried to restore just the data.
>>
>> no joy there either.
>>
>> The system is CentOS 6.3 as are the hosts. This ran wonderfully until I
>> goofed trying to get the cli and sdk updated. Without the database
>> working, I have no way to know what vm is what in the ISCSI LVM storage
>> system to even export to another platform.
>>
>> So I'm assuming my next step is panic (or total reinstall from bare
>> iron?). I'm setting this up at work and today is my last day as I'm
>> moving to a new job at a totally different organization. I'd hate to
>> walk out and lose all the windows VMs and templates that were built over
>> the last 2 months.
>>
>
> Do you still have the original backup of the database and the contents of
> the original /etc/pki/ovirt-engine directory? With those two things it is
> possible to recover.
>
> I would suggest the following procedure:
>
> 1. Make a clean installation of 3.1, exactly the same version that you had
> before trying to update (make a backup of the database and of the
> /etc/pki/ovirt-engine directory before, just in case). During this
> installation use the answers that you used during the initial installation
> (specially the passwords).
>
> 2. Stop the engine, then drop and recover the database as you already did.
>
> 3. Restore the contents of the /etc/pki/ovirt-engine directory.
>
> 4. Start the engine.
>
> You should be able to log in with the same credentials that you used in
> the original installation.
>
>
>> On Wed, Feb 6, 2013 at 8:43 AM, Jim Kinney > <mailto:jim.kin...@gmail.com>> wrote:
>>
>> added 3.2 lines to dre ovirt yum repo (and disabled 3.1 - probably
>> not good) and did engine-upgrade.
>>
>> Process choked at opening the CA cert and proceeded to "rollback".
>> Didn't actually roll back as 3.1 repo was disabled.
>>
>> System still has 3.2 installed. Did yum update to pull in the
>> cli/sdk 3.2 (wish I had done that first!).
>>
>> Engine starts but fails to open CA to run gui. found following in log:
>>
>> 2013-02-05 14:02:40,825 ERROR [org.ovirt.engine.core.
>> engineencryptutils.**EncryptionUtils] (MSC service thread 1-16) Can't
>> load keystore from file "/etc/pki/ovirt-engine/.**keystore".
>> IOException: DerInputStream.getLength(): lengthTag=109, too big.
>> 2013-02-05 14:02:40,826 ERROR
>> [org.ovirt.engine.core.**engineencryptutils.**EncryptionUtils] (MSC
>> service thread 1-16) Failed to decrypt java.io.IOException:
>> DerInputStream.getLength(): lengthTag=109, too big.
>> 2013-02-05 14:02:40,827 ERROR
>> [org.ovirt.engine.core.dal.**dbbroker.generic.**DBConfigUtils] (MSC
>> service thread 1-16) Failed to decrypt value for property
>> TruststorePass will be used encrypted value
>> 2013-02-05 14:02:40,829 WARN
>> [org.ovirt.engine.core.utils.**ConfigUtilsBase] (MSC service thread
>> 1-16) Could not find enum value for option: CertificatePassword
>> 2013-02-05 14:02:40,830 ERROR
>> [org.ovirt.engine.core.**engineencryptutils.**EncryptionUtils] (MSC
>> service thread 1-16) Can't load keystore from file
>> "/etc/pki/ovirt-engine/.**keystore". IOException:
>> DerInputStream.getLength(): lengthTag=109, too big.
>> 2013-02-05 14:02:40,830 ERROR
>> [org.ovirt.engine.core.**engineencryptutils.**EncryptionUtils] (MSC
>> service thread 1-16) Failed to decrypt java.io.IOException:
>> DerInputStream.getLength(): lengthTag=109, too big.
>> 2013-02-05 14:02:40,831 ERROR
>> 

Re: [Users] error using cli on ovirt 3.1

2013-02-06 Thread Jim Kinney
as things stand now:

I manually reinstalled 3.1, then dropped the engine database and restored
from the backup. There were some errors at the end. Even though I used all
the same passwords, the admin@internal account was not working. Used
engine-config -s LocalAdminPassword='*' to fix. On log in, everything
is down, offline, unreachable. No hosts can be contacted. No storage is
connected. Can't add a new host.

crud.

I copied the database backup and removed all the db creation part leaving
just the data "copy into..." section (that was fun). Ran engine-cleanup
then engine-setup then tried to restore just the data.

no joy there either.

The system is CentOS 6.3 as are the hosts. This ran wonderfully until I
goofed trying to get the cli and sdk updated. Without the database working,
I have no way to know what vm is what in the ISCSI LVM storage system to
even export to another platform.

So I'm assuming my next step is panic (or total reinstall from bare iron?).
I'm setting this up at work and today is my last day as I'm moving to a new
job at a totally different organization. I'd hate to walk out and lose all
the windows VMs and templates that were built over the last 2 months.

On Wed, Feb 6, 2013 at 8:43 AM, Jim Kinney  wrote:

> added 3.2 lines to dre ovirt yum repo (and disabled 3.1 - probably not
> good) and did engine-upgrade.
>
> Process choked at opening the CA cert and proceeded to "rollback". Didn't
> actually roll back as 3.1 repo was disabled.
>
> System still has 3.2 installed. Did yum update to pull in the cli/sdk 3.2
> (wish I had done that first!).
>
> Engine starts but fails to open CA to run gui. found following in log:
>
> 2013-02-05 14:02:40,825 ERROR [org.ovirt.engine.core.
> engineencryptutils.EncryptionUtils] (MSC service thread 1-16) Can't load
> keystore from file "/etc/pki/ovirt-engine/.keystore". IOException:
> DerInputStream.getLength(): lengthTag=109, too big.
> 2013-02-05 14:02:40,826 ERROR
> [org.ovirt.engine.core.engineencryptutils.EncryptionUtils] (MSC service
> thread 1-16) Failed to decrypt java.io.IOException:
> DerInputStream.getLength(): lengthTag=109, too big.
> 2013-02-05 14:02:40,827 ERROR
> [org.ovirt.engine.core.dal.dbbroker.generic.DBConfigUtils] (MSC service
> thread 1-16) Failed to decrypt value for property TruststorePass will be
> used encrypted value
> 2013-02-05 14:02:40,829 WARN
> [org.ovirt.engine.core.utils.ConfigUtilsBase] (MSC service thread 1-16)
> Could not find enum value for option: CertificatePassword
> 2013-02-05 14:02:40,830 ERROR
> [org.ovirt.engine.core.engineencryptutils.EncryptionUtils] (MSC service
> thread 1-16) Can't load keystore from file
> "/etc/pki/ovirt-engine/.keystore". IOException: DerInputStream.getLength():
> lengthTag=109, too big.
> 2013-02-05 14:02:40,830 ERROR
> [org.ovirt.engine.core.engineencryptutils.EncryptionUtils] (MSC service
> thread 1-16) Failed to decrypt java.io.IOException:
> DerInputStream.getLength(): lengthTag=109, too big.
> 2013-02-05 14:02:40,831 ERROR
> [org.ovirt.engine.core.dal.dbbroker.generic.DBConfigUtils] (MSC service
> thread 1-16) Failed to decrypt value for property LocalAdminPassword will
> be used encrypted value
> 2013-02-05 14:02:40,833 ERROR
> [org.ovirt.engine.core.engineencryptutils.EncryptionUtils] (MSC service
> thread 1-16) Can't load keystore from file
> "/etc/pki/ovirt-engine/.keystore". IOException: DerInputStream.getLength():
> lengthTag=109, too big.
> 2013-02-05 14:02:40,834 ERROR
> [org.ovirt.engine.core.engineencryptutils.EncryptionUtils] (MSC service
> thread 1-16) Failed to decrypt java.io.IOException:
> DerInputStream.getLength(): lengthTag=109, too big.
>
>
> On Tue, Feb 5, 2013 at 6:11 AM, Michael Pasternak wrote:
>
>>
>> Hi Jim,
>>
>> On 02/04/2013 08:33 PM, Jim Kinney wrote:
>> > I'm trying to setup a way to restart a large group of windows vms on a
>> schedule. I'm getting a connection failure that seems related to the use of
>> https but I'm not sure.
>> >
>> > error: __init__() got an unexpected keyword argument 'source_address'
>>
>> This error is caused by running ovirt-sdk on a older version of python
>> (less then python27),
>> please upgrade your sdk/cli with one shipped in 3.2 (it's backward
>> compatible to 3.1).
>>
>> >
>> > I ran:
>> > ovirt-shell -A  -c
>> >
>> > and my .ovirtshellrc is:
>> >
>> > [ovirt-shell]
>> > username = "admin@internal"
>> > url = https://my.internal.url/api
>> > #insecure = False
>> > #filter = False
>> > #timeout =

Re: [Users] error using cli on ovirt 3.1

2013-02-06 Thread Jim Kinney
added 3.2 lines to dre ovirt yum repo (and disabled 3.1 - probably not
good) and did engine-upgrade.

Process choked at opening the CA cert and proceeded to "rollback". Didn't
actually roll back as 3.1 repo was disabled.

System still has 3.2 installed. Did yum update to pull in the cli/sdk 3.2
(wish I had done that first!).

Engine starts but fails to open CA to run gui. found following in log:

2013-02-05 14:02:40,825 ERROR [org.ovirt.engine.core.
engineencryptutils.EncryptionUtils] (MSC service thread 1-16) Can't load
keystore from file "/etc/pki/ovirt-engine/.keystore". IOException:
DerInputStream.getLength(): lengthTag=109, too big.
2013-02-05 14:02:40,826 ERROR
[org.ovirt.engine.core.engineencryptutils.EncryptionUtils] (MSC service
thread 1-16) Failed to decrypt java.io.IOException:
DerInputStream.getLength(): lengthTag=109, too big.
2013-02-05 14:02:40,827 ERROR
[org.ovirt.engine.core.dal.dbbroker.generic.DBConfigUtils] (MSC service
thread 1-16) Failed to decrypt value for property TruststorePass will be
used encrypted value
2013-02-05 14:02:40,829 WARN  [org.ovirt.engine.core.utils.ConfigUtilsBase]
(MSC service thread 1-16) Could not find enum value for option:
CertificatePassword
2013-02-05 14:02:40,830 ERROR
[org.ovirt.engine.core.engineencryptutils.EncryptionUtils] (MSC service
thread 1-16) Can't load keystore from file
"/etc/pki/ovirt-engine/.keystore". IOException: DerInputStream.getLength():
lengthTag=109, too big.
2013-02-05 14:02:40,830 ERROR
[org.ovirt.engine.core.engineencryptutils.EncryptionUtils] (MSC service
thread 1-16) Failed to decrypt java.io.IOException:
DerInputStream.getLength(): lengthTag=109, too big.
2013-02-05 14:02:40,831 ERROR
[org.ovirt.engine.core.dal.dbbroker.generic.DBConfigUtils] (MSC service
thread 1-16) Failed to decrypt value for property LocalAdminPassword will
be used encrypted value
2013-02-05 14:02:40,833 ERROR
[org.ovirt.engine.core.engineencryptutils.EncryptionUtils] (MSC service
thread 1-16) Can't load keystore from file
"/etc/pki/ovirt-engine/.keystore". IOException: DerInputStream.getLength():
lengthTag=109, too big.
2013-02-05 14:02:40,834 ERROR
[org.ovirt.engine.core.engineencryptutils.EncryptionUtils] (MSC service
thread 1-16) Failed to decrypt java.io.IOException:
DerInputStream.getLength(): lengthTag=109, too big.


On Tue, Feb 5, 2013 at 6:11 AM, Michael Pasternak wrote:

>
> Hi Jim,
>
> On 02/04/2013 08:33 PM, Jim Kinney wrote:
> > I'm trying to setup a way to restart a large group of windows vms on a
> schedule. I'm getting a connection failure that seems related to the use of
> https but I'm not sure.
> >
> > error: __init__() got an unexpected keyword argument 'source_address'
>
> This error is caused by running ovirt-sdk on a older version of python
> (less then python27),
> please upgrade your sdk/cli with one shipped in 3.2 (it's backward
> compatible to 3.1).
>
> >
> > I ran:
> > ovirt-shell -A  -c
> >
> > and my .ovirtshellrc is:
> >
> > [ovirt-shell]
> > username = "admin@internal"
> > url = https://my.internal.url/api
> > #insecure = False
> > #filter = False
> > #timeout = -1
> > password = **
> >
> >
> > I tried putting the ca_cert =  but that clearly was not
> allowed in .ovirtshellrc
>
> not related, but supported in 3.2 cli.
>
> >
> > ideas?
> > --
> > --
> > James P. Kinney III
> > 
> > Every time you stop a school, you will have to build a jail. What
> you gain at one end you lose at the other. It's like feeding a dog on his
> own tail. It won't fatten
> > the dog.
> > - Speech 11/23/1900 Mark Twain
> > 
> > http://electjimkinney.org
> > http://heretothereideas.blogspot.com/
> > 
> >
> >
> >
> > ___
> > Users mailing list
> > Users@ovirt.org
> > http://lists.ovirt.org/mailman/listinfo/users
>
>
> --
>
> Michael Pasternak
> RedHat, ENG-Virtualization R&D
>



-- 
-- 
James P. Kinney III
*
*Every time you stop a school, you will have to build a jail. What you gain
at one end you lose at the other. It's like feeding a dog on his own tail.
It won't fatten the dog.
- Speech 11/23/1900 Mark Twain
*
http://electjimkinney.org
http://heretothereideas.blogspot.com/
*
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] error using cli on ovirt 3.1

2013-02-04 Thread Jim Kinney
I'm trying to setup a way to restart a large group of windows vms on a
schedule. I'm getting a connection failure that seems related to the use of
https but I'm not sure.

error: __init__() got an unexpected keyword argument 'source_address'

I ran:
ovirt-shell -A  -c

and my .ovirtshellrc is:

[ovirt-shell]
username = "admin@internal"
url = https://my.internal.url/api
#insecure = False
#filter = False
#timeout = -1
password = **


I tried putting the ca_cert =  but that clearly was not
allowed in .ovirtshellrc

ideas?
-- 
-- 
James P. Kinney III
*
*Every time you stop a school, you will have to build a jail. What you gain
at one end you lose at the other. It's like feeding a dog on his own tail.
It won't fatten the dog.
- Speech 11/23/1900 Mark Twain
*
http://electjimkinney.org
http://heretothereideas.blogspot.com/
*
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] mark VM to start on boot

2013-01-18 Thread Jim Kinney
How do I mark a VM to startup if a node fails?

2 hosts in cluster, windows domain controller on one host, backup on second
host. Both are marked high priority.
"Bad Things" happen and both hosts get rebooted. I want those domain
controllers to automatically restart.

I'm assuming the failure of the hosts did not knock down the manager. (I
have them on separate floors, power, etc).
-- 
-- 
James P. Kinney III
*
*Every time you stop a school, you will have to build a jail. What you gain
at one end you lose at the other. It's like feeding a dog on his own tail.
It won't fatten the dog.
- Speech 11/23/1900 Mark Twain
*
http://electjimkinney.org
http://heretothereideas.blogspot.com/
*
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] windows 8 guest support

2013-01-16 Thread Jim Kinney
I have same issue with Windows 8 32-bit.

HOWEVER! 64-bit does install fine and work well. No qxl driver will load
and no vsd process will run (wrong windows version error - working on git
source compile now).

On Wed, Jan 16, 2013 at 10:31 AM, Jithin Raju  wrote:

> Hi Itamar,
>
> I tried installing windows8 enterprise 32 bit as ovirt guest but
> bootloader failed to load with error 0x5d .
> host machine support vt & vt-d.
> Same thing is happening while installing windows 8 in centos 6.2 host.
> windows8 is not listed in guest support option in ovirt 3.1/rhel 6.3.
>
> some google results showed that its because windows 8 is not supporting
> IDE.
> There is no option for sata controller in any of the above virtualization
> solutions.
> If its happening due to some other thing could you please let me know the
> how to make it work.
>
>
> Thanks,
> Jithin
>
>
> On Wed, Jan 16, 2013 at 5:46 PM, Itamar Heim  wrote:
>
>> On 01/16/2013 02:14 PM, Jithin Raju wrote:
>>
>>> Hi All,
>>>
>>> Windows 8 guest is supported in ovirt?
>>> Any plan since it has some issues with qemu sata support.
>>>
>>
>> can you please elaborate on the issue?
>>
>
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>


-- 
-- 
James P. Kinney III
*
*Every time you stop a school, you will have to build a jail. What you gain
at one end you lose at the other. It's like feeding a dog on his own tail.
It won't fatten the dog.
- Speech 11/23/1900 Mark Twain
*
http://electjimkinney.org
http://heretothereideas.blogspot.com/
*
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] hypervisor install fails to detect proper CPU type

2013-01-14 Thread Jim Kinney
I installed the F17 version of the hypervisor and was unable to join the
new node to the cluster. The failure was "wrong CPU type for cluster". The
system has an Intel Xeon x5660 CPU (Westmere family). There is another
system of the same class in the same cluster NOT using the hypervisor
(using a CentOS 6.3 install with dre-repo).

I reinstalled the failing system with CentOS and all is well now joining
the system to the cluster.

-- 
-- 
James P. Kinney III
*
*Every time you stop a school, you will have to build a jail. What you gain
at one end you lose at the other. It's like feeding a dog on his own tail.
It won't fatten the dog.
- Speech 11/23/1900 Mark Twain
*
http://electjimkinney.org
http://heretothereideas.blogspot.com/
*
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] What do you want to see in oVirt next?

2013-01-14 Thread Jim Kinney
I would also like to see the ability to share template storage across all
datacenters seamlessly.

Sharing the templates between multiple datacenters would extremely useful
especially as long as the stand-alone hosts are in their own datacenter.

-- 
-- 
James P. Kinney III
*
*Every time you stop a school, you will have to build a jail. What you gain
at one end you lose at the other. It's like feeding a dog on his own tail.
It won't fatten the dog.
- Speech 11/23/1900 Mark Twain
*
http://electjimkinney.org
http://heretothereideas.blogspot.com/
*
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] Fedora 18 beta - no ovirt :-(

2012-12-13 Thread Jim Kinney
I see oVirt in the f18 development  SRPMs but not in the i686 or
x86_64 on the beta release. Did it slip?

-- 
--
James P. Kinney III

Every time you stop a school, you will have to build a jail. What you
gain at one end you lose at the other. It's like feeding a dog on his
own tail. It won't fatten the dog.
- Speech 11/23/1900 Mark Twain

http://electjimkinney.org
http://heretothereideas.blogspot.com/
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] web gui and bonded nic changes

2012-12-13 Thread Jim Kinney
I hit a snag last night. I needed to remove a nic from a host bond in
ovirtmanage to create a new bridge line for user access to VMs. The process
hung the box and I had to go put hands on the physical console (more reason
to get the ipmi network setup!). The error message was "can't add eth3 to
bond. already bonded" (or close). It seems the only way to remove a nic
from a bond is to unload the bonding module. Apparently the ovirt process
doesn't call a modprobe -r bonding during a network reset on the managed
hosts. stop network, unload bonding, start network worked fine from the
console.

-- 
-- 
James P. Kinney III
*
*Every time you stop a school, you will have to build a jail. What you gain
at one end you lose at the other. It's like feeding a dog on his own tail.
It won't fatten the dog.
- Speech 11/23/1900 Mark Twain
*
http://electjimkinney.org
http://heretothereideas.blogspot.com/
*
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] guest agent

2012-12-12 Thread Jim Kinney
That's the one I was looking at using as source (src.rpm) as my hosts are
CentOS-6.3.

On Wed, Dec 12, 2012 at 2:57 PM, Jason Brooks  wrote:

>
>
> - Original Message -
> > From: "Jonathan Horne" 
> > To: users@ovirt.org
> > Sent: Wednesday, December 12, 2012 10:39:40 AM
> > Subject: [Users] guest agent
> >
> > i saw in another thread about ovirt-guest-agent, but this is the
> > first i have seen of anything about this.  i would like to know
> > more, but yum info ovirt-guest-agent doesn't feed me anything.  i
> > see a qemu-guest-agent, is that the same thing and does it need to
> > be installed on all my VMs?
>
> For ovirt 3.1 + F17, you'll find it in here:
> http://resources.ovirt.org/releases/3.1/rpm/Fedora/17/x86_64/.
>
> You don't have to have it installed on your VMs, but it comes in handy,
> mainly for reporting the VM's IP address through the web interface.
>
> There's a service associated with the agent that you'll want to start, I
> think it's just called "ovirt-guest-agent"
>
> Jason
>
>
> >
> > thanks,
> > jonathan
> >
> > 
> > This is a PRIVATE message. If you are not the intended recipient,
> > please delete without copying and kindly advise us by e-mail of the
> > mistake in delivery. NOTE: Regardless of content, this e-mail shall
> > not operate to bind SKOPOS to any order or other contract unless
> > pursuant to explicit written agreement or government initiative
> > expressly permitting the use of e-mail for such purpose.
> >
> > ___
> > 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
>
>


-- 
-- 
James P. Kinney III
*
*Every time you stop a school, you will have to build a jail. What you gain
at one end you lose at the other. It's like feeding a dog on his own tail.
It won't fatten the dog.
- Speech 11/23/1900 Mark Twain
*
http://electjimkinney.org
http://heretothereideas.blogspot.com/
*
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] guest agent

2012-12-12 Thread Jim Kinney
That was me, I think.

Where I work also has a partnership with RedHat so we have the RHEL agent
tools. I was planning to do a compile of the ovirt-released guest agent
tools but have not had the time so I fudged and used RedHat's :-)

The only difference is the RHEL version seems to also have a qxl (?) video
driver (carry-over from older rhev-manager I think). The rest is
python-based tools. There's a way to do a binary-only executable from the
python script that is the agent (multiple bits - agent (talks to OS and
virtIOserial), spice (talks to spice and OS) and spice-agent (talks through
agent to window manager, etc)) but I haven't had the time to work out the
build issues yet.

As of now, there's not an "official" ovirt-guest-agent package that I know
of either.

On Wed, Dec 12, 2012 at 1:39 PM, Jonathan Horne  wrote:

>   i saw in another thread about ovirt-guest-agent, but this is the first
> i have seen of anything about this.  i would like to know more, but yum
> info ovirt-guest-agent doesn't feed me anything.  i see a qemu-guest-agent,
> is that the same thing and does it need to be installed on all my VMs?
>
>  thanks,
> jonathan
>
> --
> This is a PRIVATE message. If you are not the intended recipient, please
> delete without copying and kindly advise us by e-mail of the mistake in
> delivery. NOTE: Regardless of content, this e-mail shall not operate to
> bind SKOPOS to any order or other contract unless pursuant to explicit
> written agreement or government initiative expressly permitting the use of
> e-mail for such purpose.
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>


-- 
-- 
James P. Kinney III
*
*Every time you stop a school, you will have to build a jail. What you gain
at one end you lose at the other. It's like feeding a dog on his own tail.
It won't fatten the dog.
- Speech 11/23/1900 Mark Twain
*
http://electjimkinney.org
http://heretothereideas.blogspot.com/
*
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] mislabelled template source

2012-12-12 Thread Jim Kinney
On Wed, Dec 12, 2012 at 11:03 AM, Eli Mesika  wrote:

> 
> >
> > Yes. I used the web admin gui.
>
> can you try to browse to
> http[s]://:/api/vms
>
> Look at the result and see if you got the same from the API to figure out
> if this is a UI issue
>
> According to api/vms, everything of type server was built using

while all desktop types show the correct template (or at least a template
ID that's not "blank").


Usual process: from a blank template - install OS (windows/linux) from iso.
Save that vm as _raw template once agent tools loaded (no OS patches
applied). Use the _raw template to build a new VM which gets all
current patches. Save that as a new template.

so far, no VM shows a heritage other than "blank" if it was built with a
preallocated drive space from a template other than blank.
-- 
-- 
James P. Kinney III
*
*Every time you stop a school, you will have to build a jail. What you gain
at one end you lose at the other. It's like feeding a dog on his own tail.
It won't fatten the dog.
- Speech 11/23/1900 Mark Twain
*
http://electjimkinney.org
http://heretothereideas.blogspot.com/
*
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] mislabelled template source

2012-12-11 Thread Jim Kinney
On Tue, Dec 11, 2012 at 4:10 AM, Eli Mesika  wrote:

>
>
> - Original Message -
> > From: "Jim Kinney" 
> > To: users@ovirt.org
> > Sent: Sunday, December 9, 2012 7:22:32 PM
> > Subject: [Users] mislabelled template source
> >
> >
> > Greetings,
> >
> > I've built several new templates from the blank template and a ISO
> > install of various OS's. However, when I built a new VM using the
> > new template(s), the new VM still says it's based from the blank
> > template. I expected it to say it was from the "template-foo" U
> > specified. The VM is correctly built from the template so I think
> > it's a generation/database issue.
>
> Hi Jim
> Did you created the VM from the Web Admin UI or from the API ?
>

Hi Eli,

Yes. I used the web admin gui.

>
> >
> > --
> > --
> > James P. Kinney III
> >
> > Every time you stop a school, you will have to build a jail. What you
> > gain at one end you lose at the other. It's like feeding a dog on
> > his own tail. It won't fatten the dog.
> > - Speech 11/23/1900 Mark Twain
> >
> > http://electjimkinney.org
> > http://heretothereideas.blogspot.com/
> >
> >
> > ___
> > Users mailing list
> > Users@ovirt.org
> > http://lists.ovirt.org/mailman/listinfo/users
> >
>



-- 
-- 
James P. Kinney III
*
*Every time you stop a school, you will have to build a jail. What you gain
at one end you lose at the other. It's like feeding a dog on his own tail.
It won't fatten the dog.
- Speech 11/23/1900 Mark Twain
*
http://electjimkinney.org
http://heretothereideas.blogspot.com/
*
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] template source always "Blank"

2012-12-09 Thread Jim Kinney
That _is_ what I did!

Hmm. Makes it an external process to track VM lineage without that data.

So use the thin-provision only to allow this tracking. And this works with
windows VMs? will test shortly.

On Sun, Dec 9, 2012 at 12:41 PM, Itamar Heim  wrote:

> On 12/09/2012 07:28 PM, Jim Kinney wrote:
>
>> Greetings,
>>
>> I've built several new templates from the blank template and a ISO
>> install of various OS's. However, when I built a new VM using the new
>> template(s), the new VM still says it's based from the blank template. I
>> expected it to say it was from the "template-foo" U specified. The VM is
>> correctly built from the template so I think it's a generation/database
>> issue.
>>
>>
> I'm guessing you used 'clone' (default for new server) rather than 'thinly
> provisioned' (default for new desktop).
> clone means the template disk is copied/cloned for better performance,
> rather than COW (less space).
> when the disk is cloned, there is no longer a relation to the original
> template at storage level.
>
>
>> --
>> --
>> James P. Kinney III
>> 
>> Every time you stop a school, you will have to build a jail. What
>>
>> you gain at one end you lose at the other. It's like feeding a dog on
>> his own tail. It won't fatten the dog.
>> - Speech 11/23/1900 Mark Twain
>> 
>> http://electjimkinney.org
>> http://heretothereideas.**blogspot.com/<http://heretothereideas.blogspot.com/>
>> 
>>
>>
>> __**_
>> Users mailing list
>> Users@ovirt.org
>> http://lists.ovirt.org/**mailman/listinfo/users<http://lists.ovirt.org/mailman/listinfo/users>
>>
>>
>
>


-- 
-- 
James P. Kinney III
*
*Every time you stop a school, you will have to build a jail. What you gain
at one end you lose at the other. It's like feeding a dog on his own tail.
It won't fatten the dog.
- Speech 11/23/1900 Mark Twain
*
http://electjimkinney.org
http://heretothereideas.blogspot.com/
*
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] mislabelled template source

2012-12-09 Thread Jim Kinney
Greetings,

I've built several new templates from the blank template and a ISO install
of various OS's. However, when I built a new VM using the new template(s),
the new VM still says it's based from the blank template. I expected it to
say it was from the "template-foo" U specified. The VM is correctly built
from the template so I think it's a generation/database issue.

-- 
-- 
James P. Kinney III
*
*Every time you stop a school, you will have to build a jail. What you gain
at one end you lose at the other. It's like feeding a dog on his own tail.
It won't fatten the dog.
- Speech 11/23/1900 Mark Twain
*
http://electjimkinney.org
http://heretothereideas.blogspot.com/
*
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] template source always "Blank"

2012-12-09 Thread Jim Kinney
Greetings,

I've built several new templates from the blank template and a ISO install
of various OS's. However, when I built a new VM using the new template(s),
the new VM still says it's based from the blank template. I expected it to
say it was from the "template-foo" U specified. The VM is correctly built
from the template so I think it's a generation/database issue.


-- 
-- 
James P. Kinney III
*
*Every time you stop a school, you will have to build a jail. What you gain
at one end you lose at the other. It's like feeding a dog on his own tail.
It won't fatten the dog.
- Speech 11/23/1900 Mark Twain
*
http://electjimkinney.org
http://heretothereideas.blogspot.com/
*
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users