Re: [ovirt-users] Why cloud-init fail

2014-09-18 Thread John Xue
Sorry, my VM has template and it is desktop, or I can test the patch.
But I'm waiting v3.5.
Thank you!

On Wed, Sep 17, 2014 at 3:44 PM, Shahar Havivi  wrote:
> On 17.09.14 10:10, Shahar Havivi wrote:
>> On 17.09.14 15:03, John Xue wrote:
>> > Hi, All
>> >
>> > I try to config cloud-init. according the guide:
>> > http://www.ovirt.org/Features/Cloud-Init_Integration
>> > install cloud-init in the guest vm, configure cloud-init option, but I
>> > can't save the configure in "Edit Virtual Machine" -> "Initial Run" ->
>> > any option. after click OK, and back to check my settings, all are
>> > lost. boot the guest vm, no settings are deployed.
>> > my version is: oVirt Engine Version: 3.4.3-1.el6
>> It's looks like a bug,
>> Can you please see if there are errors in the engine.log
>> suppose to be in /var/log/ovirt-engine/engine.log.
>>
>> Thanks,
>>   Shahar Haivvi.
> There is a fix for that in 3.5...
> https://bugzilla.redhat.com/1126195
>
> It should work for you if the VM has no template and the VM is "Optimized for"
> Server. (its in new/edit VM Dialog).
>
>   Shahar Havivi.
>> >
>> > Thank you!
>> >
>> > --
>> > Regards,
>> > John Xue
>> > ___
>> > Users mailing list
>> > Users@ovirt.org
>> > http://lists.ovirt.org/mailman/listinfo/users



-- 
Regards,
John Xue
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Why cloud-init fail

2014-09-17 Thread John Xue
Hi, All

I try to config cloud-init. according the guide:
http://www.ovirt.org/Features/Cloud-Init_Integration
install cloud-init in the guest vm, configure cloud-init option, but I
can't save the configure in "Edit Virtual Machine" -> "Initial Run" ->
any option. after click OK, and back to check my settings, all are
lost. boot the guest vm, no settings are deployed.
my version is: oVirt Engine Version: 3.4.3-1.el6

Thank you!

-- 
Regards,
John Xue
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Can't understand Template Sub Version

2014-09-16 Thread John Xue
On Tue, Sep 16, 2014 at 2:44 PM, Omer Frenkel  wrote:
>
>
> - Original Message -
>> From: "John Xue" 
>> To: users@ovirt.org
>> Sent: Monday, September 15, 2014 10:43:49 AM
>> Subject: [ovirt-users] Can't understand Template Sub Version
>>
>> Hi, All
>>
>> I'm using oVirt Engine Version: 3.4.3-1.el6, but I can't
>> understand this function. I have 3 question:
>>
>> 1 How to change a vm to use other template sub version?
>>  I don't want to build a new vm from new template version.
>> 2 How to update a pool to use other template sub version?
>>  I'm using non latest version, and shutdown all vm of this pool,
>> but I still can't change template version.
>
> there is a gap, user cannot update the template version of already created vm 
> or pool
> there is an open RFE for that:
> Bug 1140569 - [RFE] Provide UI ability to change "Template versioning" policy 
> for existing pools
>
> regarding 1 - please note that template versions are only relevant for 
> stateless vms, not all vms,
> since upgrading to new version means re-creating the vm disks, according to 
> new version.
>
>> 3 How to create a pool with disable stateless function?
>>  In the property of template vm, I'm sure I don't enable
>> "stateless". But in the testing, I found all the vm are stateless vm.
>> How to disable it, or I'll lost all config and personal data.
>>
>>  Thank you very much!
>>
>
> vm pools are stateless by definition, it creates you pool of vms that users 
> can "take from the pool", use it to do whatever they like,
> and once "returned" to the pool, all the user specific changes are gone, 
> hence stateless.
>
> you can work with pools in 2 modes:
> automatic - vm returned to the pool when user shut it down.
> manual - admin need to manually return the vm to the pool, this way the state 
> for the user is saved also between shut-downs, until the admin action.

Thank you!  After testing, manual pool works best for my needs. I hope
ovirt document guide us how to manual return vm to the pool, since I
need to google it. if I have a 100 vm pool, and need to update them, I
need to remove user assignment one by one, any good idea to do that?

>
>> --
>> Regards,
>> John Xue
>> ___
>> Users mailing list
>> Users@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>>



-- 
Regards,
John Xue
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Can't understand Template Sub Version

2014-09-15 Thread John Xue
Sorry, add the email title.

On Mon, Sep 15, 2014 at 3:43 PM, John Xue  wrote:
> Hi, All
>
> I'm using oVirt Engine Version: 3.4.3-1.el6, but I can't
> understand this function. I have 3 question:
>
> 1 How to change a vm to use other template sub version?
>  I don't want to build a new vm from new template version.
> 2 How to update a pool to use other template sub version?
>  I'm using non latest version, and shutdown all vm of this pool,
> but I still can't change template version.
> 3 How to create a pool with disable stateless function?
>  In the property of template vm, I'm sure I don't enable
> "stateless". But in the testing, I found all the vm are stateless vm.
> How to disable it, or I'll lost all config and personal data.
>
>  Thank you very much!
>
> --
> Regards,
> John Xue



-- 
Regards,
John Xue
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Can't understand Template Sub Version

2014-09-15 Thread John Xue
Hi, All

I'm using oVirt Engine Version: 3.4.3-1.el6, but I can't
understand this function. I have 3 question:

1 How to change a vm to use other template sub version?
 I don't want to build a new vm from new template version.
2 How to update a pool to use other template sub version?
 I'm using non latest version, and shutdown all vm of this pool,
but I still can't change template version.
3 How to create a pool with disable stateless function?
 In the property of template vm, I'm sure I don't enable
"stateless". But in the testing, I found all the vm are stateless vm.
How to disable it, or I'll lost all config and personal data.

 Thank you very much!

-- 
Regards,
John Xue
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] How to import vm template

2014-09-11 Thread John Xue
Hi, All

 I have configured an export NFS storage on old ovirt and export a
vm template succeed. But how to import it to another new ovirt?

-- 
Regards,
John Xue
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] oVirt Node as vm

2014-06-22 Thread John Xue
Yes, exactly!

On Fri, Jun 20, 2014 at 4:04 PM, Stefan Sahlender  wrote:
> Hello John,
>
> thanks for your hint.
>
> Just for understanding, step by step installation means basically a
> minimal redhat / centos install and then adding the ovirt repo and run
>>>yum install vdsm vdsm-cli<< like described here:
>
> http://www.ovirt.org/Installing_VDSM_from_rpm
>
> or?
>
> Regards
>
> Am 20.06.2014 07:39, schrieb John Xue:
>> I have the same problem. Finally, I am not using oVirth Node ISO, I
>> setup one step by step. And the key point is enable promiscuous mode
>> on your ESXi vswitch, or you cann't ping double nested guest.
>>
>> On Fri, Jun 20, 2014 at 2:57 AM, Stefan Sahlender  wrote:
>>> Hello,
>>>
>>> I want to run oVirt Node as vm to learn a little bit about ovirt. But
>>> I'm facing some problems.
>>>
>>> I understand that oVirt Node maybe needs to see the vmx feature from the
>>> cpu so that kvm will work.
>>>
>>> But I can't get the oVirt Node ISO booting at all.
>>>
>>> I tried it in VirtualBox ... since it doesn't support nested
>>> virtualization I understand why it doesn't boot ... perhaps.
>>>
>>> But I tried it also on ESX and in the configuration i said that the
>>> virtualization features of the CPU should be passed through. If I boot a
>>> Live CD with that configuration see with cat /proc/cpuinfo that vmx is
>>> available.
>>>
>>> When I boot the oVirt Node ISO it just hangs after the 30 seconds count
>>> down ...I just see the background from the boot menu and it hangs the
>>> forever.
>>>
>>> Anybody else facing the same problem. Or is it just not possible to run
>>> oVirt Node as VM?
>>>
>>> Thanks for your replies.
>>>
>>> Regards
>>>
>>>
>>> ___
>>> 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



-- 
Regards,
John Xue
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] oVirt Node as vm

2014-06-19 Thread John Xue
I have the same problem. Finally, I am not using oVirth Node ISO, I
setup one step by step. And the key point is enable promiscuous mode
on your ESXi vswitch, or you cann't ping double nested guest.

On Fri, Jun 20, 2014 at 2:57 AM, Stefan Sahlender  wrote:
> Hello,
>
> I want to run oVirt Node as vm to learn a little bit about ovirt. But
> I'm facing some problems.
>
> I understand that oVirt Node maybe needs to see the vmx feature from the
> cpu so that kvm will work.
>
> But I can't get the oVirt Node ISO booting at all.
>
> I tried it in VirtualBox ... since it doesn't support nested
> virtualization I understand why it doesn't boot ... perhaps.
>
> But I tried it also on ESX and in the configuration i said that the
> virtualization features of the CPU should be passed through. If I boot a
> Live CD with that configuration see with cat /proc/cpuinfo that vmx is
> available.
>
> When I boot the oVirt Node ISO it just hangs after the 30 seconds count
> down ...I just see the background from the boot menu and it hangs the
> forever.
>
> Anybody else facing the same problem. Or is it just not possible to run
> oVirt Node as VM?
>
> Thanks for your replies.
>
> Regards
>
>
> _______
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users



-- 
Regards,
John Xue
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] How to change a pool's template

2014-06-11 Thread John Xue
Hello

I'm a new guy in ovirt 3.3.5, I try to change a pool's template. When
I edit the pool, the option "Based of Template" is gay. How to do
that? I don't want to delete and rebuild again.

Thank you!

-- 
Regards,
John Xue
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] fail to shutdown ubuntu guest

2014-06-11 Thread John Xue
Hello,

I try to grace shutdown my ubuntu guest from user or admin portal, but
all are fail. I can saw a shutdown option dialog in guest, so I think
maybe some shutdown parameter are miss in ovirth guest agent for
ubuntu 14.04.

Thanks

-- 
Regards,
John Xue
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] How to create more than 1 vm from template

2014-06-08 Thread John Xue
On Mon, Jun 9, 2014 at 1:45 PM, John Xue  wrote:
> Dear all,
>
>As you know, we can create 1 vm from template, but how to create many vm
> at the same time? We call it is a pool.
>
> --
> Regards,
> John Xue



-- 
Regards,
John Xue
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] How to create more than 1 vm from template

2014-06-08 Thread John Xue
Dear all,

   As you know, we can create 1 vm from template, but how to create many vm
at the same time? We call it is a pool.

-- 
Regards,
John Xue
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Cann't ping guest from outside

2014-06-06 Thread John Xue
I find the answer, hope for someone like me.

you need enable promiscuous on vswitch of ESXi.

Thank you!


On Fri, Jun 6, 2014 at 12:09 PM, John Xue  wrote:

> Anyone help me?
>
>
> On Wed, Jun 4, 2014 at 11:43 AM, John Xue  wrote:
>
>> I am testing ovirth, my test environment are:
>>
>> Host: nested virtualization ESXi5.5+CentOS 6.4_x86_64
>> Guest: Ubuntu14.04_i386
>>
>> Now, ping
>> CentOS <-> guest and outside are OK
>> Outside <-> gest Fail
>>
>> I am using bridge connection, I try to tcpdump
>>
>> [root@centos vdsm]# brctl show
>> bridge namebridge id   STP
>> enabled interfaces
>> ;vdsmdummy; 8000.   no
>> rhevm 8000.005056ae45e5
>> no   eth0
>>
>>vnet0
>> [root@centos vdsm]# brctl showmacs rhevm
>> port no mac addris local?   ageing timer
>> 2 fe:1a:4a:0c:14:41   yes0.00
>> [root@centos vdsm]# ifconfig|grep HWaddr
>> eth0  Link encap:Ethernet  HWaddr 00:50:56:AE:45:E5
>> rhevm Link encap:Ethernet  HWaddr 00:50:56:AE:45:E5
>> vnet0 Link encap:Ethernet  HWaddr FE:1A:4A:0C:14:41
>> [root@centos vdsm]# service iptables stop
>> [root@centos vdsm]# tcpdump
>> 11:34:59.267379 ARP, Request who-has GUESTIP tell OUTSIDEPCIP, length 46
>> 11:34:59.268017 ARP, Reply GUESTIP is-at 00:1a:4a:0c:14:41 (oui
>> Unknown), length 28
>>
>> I can see only arp working, how do I check this problem? and how vdsm
>> convert from FE:1A:4A:0C:14:41 to guest mac 00:1a:4a:0c:14:41?
>>
>> Thank you!
>>
>> --
>> Regards,
>> John Xue
>>
>
>
>
> --
> Regards,
> John Xue
>



-- 
Regards,
John Xue
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Cann't ping guest from outside

2014-06-05 Thread John Xue
Anyone help me?


On Wed, Jun 4, 2014 at 11:43 AM, John Xue  wrote:

> I am testing ovirth, my test environment are:
>
> Host: nested virtualization ESXi5.5+CentOS 6.4_x86_64
> Guest: Ubuntu14.04_i386
>
> Now, ping
> CentOS <-> guest and outside are OK
> Outside <-> gest Fail
>
> I am using bridge connection, I try to tcpdump
>
> [root@centos vdsm]# brctl show
> bridge namebridge id   STP enabled
> interfaces
> ;vdsmdummy; 8000.   no
> rhevm 8000.005056ae45e5   no
> eth0
>
>  vnet0
> [root@centos vdsm]# brctl showmacs rhevm
> port no mac addris local?   ageing timer
> 2 fe:1a:4a:0c:14:41   yes0.00
> [root@centos vdsm]# ifconfig|grep HWaddr
> eth0  Link encap:Ethernet  HWaddr 00:50:56:AE:45:E5
> rhevm Link encap:Ethernet  HWaddr 00:50:56:AE:45:E5
> vnet0 Link encap:Ethernet  HWaddr FE:1A:4A:0C:14:41
> [root@centos vdsm]# service iptables stop
> [root@centos vdsm]# tcpdump
> 11:34:59.267379 ARP, Request who-has GUESTIP tell OUTSIDEPCIP, length 46
> 11:34:59.268017 ARP, Reply GUESTIP is-at 00:1a:4a:0c:14:41 (oui Unknown),
> length 28
>
> I can see only arp working, how do I check this problem? and how vdsm
> convert from FE:1A:4A:0C:14:41 to guest mac 00:1a:4a:0c:14:41?
>
> Thank you!
>
> --
> Regards,
> John Xue
>



-- 
Regards,
John Xue
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Cann't ping guest from outside

2014-06-03 Thread John Xue
I am testing ovirth, my test environment are:

Host: nested virtualization ESXi5.5+CentOS 6.4_x86_64
Guest: Ubuntu14.04_i386

Now, ping
CentOS <-> guest and outside are OK
Outside <-> gest Fail

I am using bridge connection, I try to tcpdump

[root@centos vdsm]# brctl show
bridge namebridge id   STP enabled
interfaces
;vdsmdummy; 8000.   no
rhevm 8000.005056ae45e5   no
eth0

 vnet0
[root@centos vdsm]# brctl showmacs rhevm
port no mac addris local?   ageing timer
2 fe:1a:4a:0c:14:41   yes0.00
[root@centos vdsm]# ifconfig|grep HWaddr
eth0  Link encap:Ethernet  HWaddr 00:50:56:AE:45:E5
rhevm Link encap:Ethernet  HWaddr 00:50:56:AE:45:E5
vnet0 Link encap:Ethernet  HWaddr FE:1A:4A:0C:14:41
[root@centos vdsm]# service iptables stop
[root@centos vdsm]# tcpdump
11:34:59.267379 ARP, Request who-has GUESTIP tell OUTSIDEPCIP, length 46
11:34:59.268017 ARP, Reply GUESTIP is-at 00:1a:4a:0c:14:41 (oui Unknown),
length 28

I can see only arp working, how do I check this problem? and how vdsm
convert from FE:1A:4A:0C:14:41 to guest mac 00:1a:4a:0c:14:41?

Thank you!

-- 
Regards,
John Xue
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users