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

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

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

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


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


Re: [Users] Help with a VM

2013-11-07 Thread Pavel Zhukov
On Thursday, November 07, 2013 08:51:10 PM Josué Delgado wrote:
 Hello all,
 
 
 Need help to understand why a VM don’t boot. I took a screen shoot and
 upload it here:
 https://www.dropbox.com/s/4vjjli3r0i5984l/Screenshot%202013-11-07%2020.43.3
 5.png
 
Kernel 2.6.18 (RHEL5/Centos5) is not able to boot even with invocation. 
(like qemu-kvm -kernel vmlinuz -initrd initd.img)

Please see: https://bugzilla.redhat.com/967652

 I’m using Fedora 18 with Ovirt 3.2. Is there’s some that can help me
 understand what i need to do (logs, debug tools etc).
 
 
 Many tnkx in advance.
 
 Regards,
 
 JD
 
 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users
-- 
Pavel
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Nic names : always start by eth0

2013-07-30 Thread Pavel Zhukov
Hi 

You have toremove HWADDR value from theifcfg-ethX and rules string
from /etc/udev/rules.d/70-persistent-net.rules files. 
It'll work fine if you have only one NIC per machine. 


-- 
Best regards, Pavel Zhukov 
Software Maintenance Engineer
RHCE, RHCVA
Tel: +420.532294671
mailto:pzhu...@redhat.com

On Tue, 30 Jul 2013, gregoire.le...@retenodus.net wrote:

| Hello,
| 
| I have an ovirt cluster which runs CentOS VM. I have a template to
| create VM. On this template, there are two interfaces, eth0 and
| eth1.
| When I create a VM using this template, the new interfaces are named
| eth2 and eth3. It can be pretty annoying and I would like to know if
| it would be possible to always start by eth0 ?
| 
| If I remember the discussion on IRC, it would be necessary to clean
| old udev rules (in centos it seems to be
| /etc/udev/rules.d/70-persistent-net.rules)
| 
| Thanks,
| Regards,
| Grégoire
| ___
| Users mailing list
| Users@ovirt.org
| http://lists.ovirt.org/mailman/listinfo/users
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Fail to attach user to VM from VMPool when VM's are prestarted

2013-04-15 Thread Pavel Zhukov
User cannot access console only if VM has been started by the user.
It's done for security reasons. For example User2 cannot access
User1's pool VM. 

-- 
Best regards, Pavel Zhukov 
mailto:pa...@zhukoff.net
On Mon, 15 Apr 2013, Karli Sjöberg wrote:

 Hey all,
 
 after finally being able to use SPICE console through the User portal, I have
 created a VMPool to start testing out oVirt´s VDI capabilities. One bug I´ve
 noticed is that if you set VM's to be prestarted, users cannot Take VM at
 all, it bombs out with error: Failed to attach User testuser to VM from VM
 Pool Testing (User: testuser). Without having VM's prestarted makes the
 process complete as expected, but then users have to wait for VM to start
 before having access to the console. I´ve pasted snippets from engine.log out
 on pastebin.
 
 Successful Take with coldstart:
 http://pastebin.com/4Aw9DHmd
 
 Failed Take with prestart:
 http://pastebin.com/ES5F3sD1
 
 # rpm -qa | grep engine
 ovirt-engine-config-3.1.0-4.fc17.noarch
 ovirt-engine-dbscripts-3.1.0-4.fc17.noarch
 ovirt-engine-restapi-3.1.0-4.fc17.noarch
 ovirt-engine-genericapi-3.1.0-4.fc17.noarch
 ovirt-engine-webadmin-portal-3.1.0-4.fc17.noarch
 ovirt-engine-setup-3.1.0-4.fc17.noarch
 ovirt-engine-sdk-3.2.0.2-1.fc17.noarch
 ovirt-engine-backend-3.1.0-4.fc17.noarch
 ovirt-engine-tools-common-3.1.0-4.fc17.noarch
 ovirt-engine-3.1.0-4.fc17.noarch
 ovirt-engine-userportal-3.1.0-4.fc17.noarch
 ovirt-engine-notification-service-3.1.0-4.fc17.noarch
 
 Is there anything else I can bring to help iron out this kink?
 
 --
 
 Med Vänliga Hälsningar
 ---
 Karli Sjöberg
 Swedish University of Agricultural Sciences
 Box 7079 (Visiting Address Kronåsvägen 8)
 S-750 07 Uppsala, Sweden
 Phone:  +46-(0)18-67 15 66
 karli.sjob...@slu.se

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

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


Re: [Users] ovirtmgmt

2013-02-27 Thread Pavel Zhukov
Just remove IP address/netmask/gateway from the em1's config and add 
BRIDGE='ovirtmgmt' there. 
Be ensure that BOOTPROTO='none' and NM_CONTROLLED='no' are
configured

-- 
Pavel

On Tue, 26 Feb 2013, victor nunes wrote:

| 
| goodnight
| 
| I installed 3.2 and oVirt vdsm on the same machine (fedora 18) with the 
command
| .
| yum install oVirt-engine-setup-plugin-allinone and then
| engine-setup - config-allinone = yes
| 
| then, the configuration was successful, however now I am having problems with 
| interfaces.
| 
| I have two interfaces, `em1` (this interface was that I had configured a 
static
| ip it) `and` ovirtmgmt, both with the same ip address.
| 
| If I erase the # 1, I just can not access the oVirt,
| 
| what can I do to solve this interface problem?
| --
| “Encarada do ponto de vista da juventude, a vida parece um futuro
| indefinidamente longo, ao passo que, na velhice, ela parece um passado
| deveras curto. Assim, a vida no seu início se apresenta do mesmo modo
| que as coisas quando as olhamos através de um binóculo usado ao contrário; 
mas,
| ao
| seu final, ela se parece com as coisas  tal qual são vistas quando o binóculo
| é usado de modo normal. Um homem precisa ter envelhecido e vivido
| bastante para perceber como a vida é curta”.   
| 
|          (Poema de Arthur Schopenhauer)

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

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


Re: [Users] How do Networks and Vlan-tagging work in oVirt ?

2013-02-14 Thread Pavel Zhukov
Looks like that vdsm parses null value in the gateway=null as True and raise
Exception. 
Can you raise a bugreport? 

-- 
Best regards, Pavel Zhukov 
mailto:pzhu...@redhat.com

On Wed, 13 Feb 2013, Matt . wrote:

| Thanks indeed, I'm with Nicolas, also working on a nice setup with this
| information!
| 
| Here is some more logging:
| 
| The error came after I added WAN_02_02 with no IP.
| 
| 2013-02-13 10:55:00,455 INFO 
| [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
| (QuartzScheduler_Worker-9) [41071339] No string for VDS_ACTIVATE_ASYNC type.
| Use default Log
| 2013-02-13 10:55:00,456 INFO  [org.ovirt.engine.core.bll.AutoRecoveryManager]
| (QuartzScheduler_Worker-9) [41071339] Autorecovering 0 storage domains
| 2013-02-13 10:59:05,376 INFO  
[org.ovirt.engine.core.bll.LoginAdminUserCommand]
| (ajp--127.0.0.1-8702-10) Running command: LoginAdminUserCommand internal:
| false.
| 2013-02-13 10:59:06,266 ERROR [org.ovirt.engine.core.utils.ServletUtils]
| (ajp--127.0.0.1-8702-5) Can't read file /usr/share/ovirt-engine/docs/
| DocumentationPath.csv for request /docs/DocumentationPath.csv, will send a
| 404 error response.
| 2013-02-13 10:59:43,948 INFO 
| [org.ovirt.engine.core.bll.network.host.SetupNetworksCommand]
| (ajp--127.0.0.1-8702-19) [683f2e62] Running command: SetupNetworksCommand
| internal: false. Entities affected :  ID: 033febb8-4f52-4253-bb6d-a8807816affd
| Type: VDS
| 2013-02-13 10:59:43,951 INFO 
| [org.ovirt.engine.core.vdsbroker.vdsbroker.SetupNetworksVDSCommand]
| (ajp--127.0.0.1-8702-19) [683f2e62] START, SetupNetworksVDSCommand(HostName =
| KVM-02, HostId = 033febb8-4f52-4253-bb6d-a8807816affd, force=false,
| checkConnectivity=true, conectivityTimeout=120,
|     networks=[WAN_02_02 {id=6f38699a-3dea-4a96-987e-035e4041afdf, description=
| null, subnet=null, gateway=null, type=null, vlanId=null, stp=false,
| dataCenterId=56272dcf-0a66-489d-9a1e-4a1965207b64, mtu=0, vmNetwork=false,
| cluster=NetworkCluster {id={clusterId=null, networkId=null}, status=
| OPERATIONAL, display=false, required=true}}],
|     bonds=[],
|     interfaces=[eth3 {id=3b31007b-a0f5-472b-8906-9170ea00be96, vdsId=
| 033febb8-4f52-4253-bb6d-a8807816affd, name=eth3, macAddress=00:1c:c4:d8:cb:34,
| networkName=officevms, bondName=null, bootProtocol=STATIC_IP, address=
| 172.16.20.0, subnet=255.255.255.0, gateway=null, mtu=1500, bridged=true, 
speed=
| 1000, type=0, networkImplementationDetails={inSync=true, managed=true}},
|         eth1 {id=4760e6c8-73d0-41c3-9a39-1ebc48e08879, vdsId=
| 033febb8-4f52-4253-bb6d-a8807816affd, name=eth1, macAddress=00:1f:29:5a:5a:b5,
| networkName=vmstorage, bondName=null, bootProtocol=STATIC_IP, address=
| 172.16.12.20, subnet=255.255.255.0, gateway=null, mtu=1500, bridged=true, 
speed
| =1000, type=0, networkImplementationDetails={inSync=true, managed=true}},
|         eth2 {id=713f2687-6d84-4010-9076-fbfc67cf6831, vdsId=
| 033febb8-4f52-4253-bb6d-a8807816affd, name=eth2, macAddress=00:1c:c4:d8:cb:36,
| networkName=WAN_02_02, bondName=null, bootProtocol=NONE, address=, subnet=,
| gateway=null, mtu=0, bridged=false, speed=1000, type=0,
| networkImplementationDetails=null},
|         eth0 {id=1d3c9fef-8f9f-4f32-96c0-11c39f6c2e89, vdsId=
| 033febb8-4f52-4253-bb6d-a8807816affd, name=eth0, macAddress=00:1f:29:5a:5a:b4,
| networkName=ovirtmgmt, bondName=null, bootProtocol=STATIC_IP, address=
| 172.16.8.20, subnet=255.255.255.0, gateway=172.16.8.254, mtu=1500, bridged=
| true, speed=1000, type=2, networkImplementationDetails={inSync=true, managed=
| true}}],
|     removedNetworks=[],
|     removedBonds=[]), log id: 1ff9ba0e
| 2013-02-13 10:59:43,960 INFO 
| [org.ovirt.engine.core.vdsbroker.vdsbroker.SetupNetworksVDSCommand]
| (ajp--127.0.0.1-8702-19) [683f2e62] FINISH, SetupNetworksVDSCommand, log id:
| 1ff9ba0e
| 2013-02-13 10:59:44,975 ERROR
| [org.ovirt.engine.core.vdsbroker.vdsbroker.BrokerCommandBase]
| (ajp--127.0.0.1-8702-19) [683f2e62]
| org.ovirt.engine.core.vdsbroker.vdsbroker.VDSNetworkException:
| VDSGenericException: VDSNetworkException: Specified netmask or gateway but not
| ip
| 2013-02-13 10:59:44,976 ERROR [org.ovirt.engine.core.vdsbroker.VDSCommandBase]
| (ajp--127.0.0.1-8702-19) [683f2e62] Command SetupNetworksVDS execution failed.
| Exception: VDSNetworkException: VDSGenericException: VDSNetworkException:
| Specified netmask or gateway but not ip
| 2013-02-13 10:59:44,977 ERROR
| [org.ovirt.engine.core.bll.network.host.SetupNetworksCommand]
| (ajp--127.0.0.1-8702-19) [683f2e62] Command
| org.ovirt.engine.core.bll.network.host.SetupNetworksCommand throw Vdc Bll
| exception. With error message VdcBLLException:
| org.ovirt.engine.core.vdsbroker.vdsbroker.VDSNetworkException:
| VDSGenericException: VDSNetworkException: Specified netmask or gateway but not
| ip
| 2013-02-13 11:00:00,002 INFO  [org.ovirt.engine.core.bll.AutoRecoveryManager]
| (QuartzScheduler_Worker-3) [33d15439] Autorecovering 1 hosts
| 2013-02-13 11:00:00,002 INFO

Re: [Users] How do Networks and Vlan-tagging work in oVirt ?

2013-02-12 Thread Pavel Zhukov
Hello. 

Basically Ovirt operates with VLANs by creating tagged devices
ethX.ID and attaching them to the bridge named network_name. 

For example: ovirt has ovirtmgmg, spice and 3 vm's networks: ovirtmgm 
(VLAN100), 
spice (VLAN101), vmnet1-3 (VLAN 201-203)
Bridges for each networks will be created and attached:

ovirtmgmteth0.100
spiceeth0.101
vmnet1   eth0.201
 vnet1  -- VM will be attached here
vmnet2   eth0.202
 vnet2  -- VM will be attached here
vmnet3   eth0.203
 vnet3  -- VM will be attached here
and so on. 

A VM is attached using the tun interface to the VM network

You don't have to assign IP address to the bridge of any VM networks. IP 
addresses are required only for
ovirtmgmt and display networks. 

-- 
Best regards, Pavel Zhukov 
mailto:pa...@zhukoff.net
On Mon, 11 Feb 2013, Matt . wrote:

 I'm struggeling setting up my network in oVirt at the moment as I would like 
 to
 seperate specific VM's from other devices/clients in my network.
 
 I have decent setup switching network using Vlans, this is also the fact for
 ovirt and the storage nodes where teh ports are seperated between storage and
 management.
 
 Because I want to manage which client can acces which VM I need Vlan tagging.
 The question is where are we going to do this, on the VM itself or on the
 network I attach the VM's Nic to.
 
 Because of the lacking documentation at this point it's not clear, so I would
 like to figure out and maybe change the wiki there.
 
 I also cannot understand why I can set an IP to a network and only the subnet
 where I also can set DHCP which puts also the gateway.
 
 I'm not able to set None or DHCP and can only add a network with IP, but what
 IP and why ? Or just a 192.16.x.0 with a 255.255.255.0 subnet ?
 
 I hope someone can clear this a little bit more out.
 
 Thanks!

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

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


Re: [Users] Unable to install ovirt node on IBM system X blade server

2012-11-19 Thread Pavel Zhukov
I've tested F17 on IBM bladeservers (HS20,HS21,HS22,HS22V) It's been
installed correctly with UEFI as well as with legacy. 
Unfortunately I cannot check bladecenter with ovirt-node right now.  
Which bladeserver have you tested?
-- 
Best regards, Pavel Zhukov 
mailto:pa...@zhukoff.net
On Sun, 18 Nov 2012, Nicholas Kesick wrote:

 Node is based on Fedora 17, so if you have the same problem with
 both, that means it is likely upstream on the Fedora end of things. Fedora 18
 is due to have support for UEFI, but release has been delayed until Jan 8th at
 the earliest. If Fedora 18 works, I'd say you'll likely be able to use an 
 oVirt
 Node based on F18.
  
 Any way to disable UEFI on your server?
  
 - Nick
  
 ━━━
 From: kurmakw...@gmail.com
 Date: Sun, 18 Nov 2012 22:39:53 +0530
 To: users@ovirt.org
 Subject: Re: [Users] Unable to install ovirt node on IBM system X blade server
 
 Hello Ovirt Users,
 
 Did anyone else also faced same issue or ovirt node not getting installed and
 servers just reboots when option to install / upgrade / reinstall is used.
 
 Its on IBM system X server with UEFI. I've tried both latest Ovirt node and
 Fedora 17 also. Both gives same behavior or just reboot in loop and nothing
 else. I am unable to take ovirt further in my office at this moment.
 
 Kindly advice.
 
 Regards,
 Keyur
 
 On Fri, Nov 16, 2012 at 8:09 PM, Keyur Makwana kurmakw...@gmail.com wrote:
 
 Hello All,
 
 Same is the case with Fedora install on this IBM server I am using.
 
 Regards,
 Keyur
 
 
 On Fri, Nov 16, 2012 at 12:31 PM, Keyur Makwana kurmakw...@gmail.com
 wrote:
 
 Hi All,
 
 I've been trying to install latest ovirt node on IBM system X blade
 server (UEFI based server) but not even able to start the 
 installation.
 
 I'm using latest image ovirt-node-iso-2.5.5-0.1.fc17.iso from http://
 ovirt.org/releases/3.1/tools/
 
 Server boots up and detects the ISO, gives me initial screen of 
 Install
 or Upgrade / Reinstall etc. but the moment default install is selected
 (or it goes into default if initial screen is not interrupted for 30
 seconds.) - it just waits for 3-4 seconds and the server is rebooted.
 These problem of server reboot persist with any available option to
 install on the screen.
 
 Note : I was able to successfully install RHEV-H and it worked fine.
 Not sure why ovirt node installation is not even starting and goes 
 into
 infinite reboot loop with doing anything. 
 
 Out of curiosity - I tried this version of node as well http://
 jenkins.ovirt.org/job/ovirt-node-iso/lastSuccessfulBuild/artifact/
 ovirt-node-iso-2.5.999-999.20121115114700git3d0fec5.446.fc17.iso but
 that too resulted in same behavior.
 
 Request Ovirt experts to assist and help resolve this issue.
 
 Thanks  Regards,
 Keyur
 
 
 
 
 
 
 ___ Users mailing list
 Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

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

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


Re: [Users] User management broken in 3.0 ?

2012-08-02 Thread Pavel Zhukov
Hi Alex,
Please use DS for user management. 
Freeipa works fine for me 

-- 
Best regards, Pavel Zhukov 
mailto:pa...@zhukoff.net
On Fri, 03 Aug 2012, Alex Leonhardt wrote:

 Hi there,
 
 I've been using 3.0 for some testing recently and was very confused by how to
 manage new users !? It doesnt seem to be possible to add more local users at
 all ? Or is there a document you can point me at ?
 
 Alex
 

 ___
 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