Re: [ovirt-users] necessity to run yum update ovirt-engine-setup to update ovirt 3.4

2014-04-10 Thread Itamar Heim

On 04/09/2014 09:18 PM, Tamer Lima wrote:

hello,

upgrade from  ovirt 3.3 to 3.4
following the steps on ovirt.org/OVirt_3.4_Release_Notes
http://ovirt.org/OVirt_3.4_Release_Notes

I tried update from yum, without success

yum update {ovirt-engine-setup, ovirt-engine , ovirt-release and
ovirt-release-el6 }


Then I tried the following command and it worked fine: engine-setup

Now my ovirt works fine, my cluster is running virtual machines on
compatibility mode 3.3  although ovirt is now 3.4

Then I ask : What is the necessity to execute *yum update
ovirt-engine-setup* if when I execute only *engine-setup* this script
search for updates ?


to make sure you are running the latest engine-setup code.







Failed command list execution
For each command /yum update {ovirt-engine-setup, ovirt-engine ,
ovirt-release and ovirt-release-el6 }/ the result was the same :

Loaded plugins: downloadonly, fastestmirror, refresh-packagekit,
security, versionlock
Loading mirror speeds from cached hostfile
  * base: mirror.globo.com http://mirror.globo.com
  * epel: mirror.globo.com http://mirror.globo.com
  * extras: mirror.globo.com http://mirror.globo.com
  * ovirt-epel: mirror.globo.com http://mirror.globo.com
  * updates: mirror.globo.com http://mirror.globo.com
Setting up Update Process
*No Packages marked for Update*






My ovirt.repo contains 3.4
:
[root@srv-0202 yum.repos.d]# more ovirt.repo

[ovirt-stable]
name=Latest oVirt Releases
baseurl=http://ovirt.org/releases/stable/rpm/EL/$releasever/
enabled=1
skip_if_unavailable=1
gpgcheck=0

# Latest oVirt 3.4 releases

[ovirt-3.4-stable]
name=Latest oVirt 3.4.z Releases
baseurl=http://ovirt.org/releases/3.4/rpm/EL/$releasever/
enabled=1
skip_if_unavailable=1
gpgcheck=0

[ovirt-3.4-prerelease]
name=Latest oVirt 3.4 Pre Releases (Beta to Release Candidate)
baseurl=http://resources.ovirt.org/releases/3.4_pre/rpm/EL/$releasever/
enabled=0
skip_if_unavailable=1
gpgcheck=0

# Latest oVirt 3.3 releases

[ovirt-3.3-stable]
name=Latest oVirt 3.3.z Releases
baseurl=http://resources.ovirt.org/releases/3.3/rpm/EL/$releasever/
enabled=1
skip_if_unavailable=1
gpgcheck=0

[ovirt-3.3-prerelease]
name=Latest oVirt 3.3.z Pre Releases (Beta to Release Candidate)
baseurl=http://resources.ovirt.org/releases/3.3_pre/rpm/EL/$releasever/
enabled=0
skip_if_unavailable=1
gpgcheck=0

# Note: for nightly builds see ovirt-nightly.repo



Running engine-setup
[root@srv-0202 ~]# engine-setup
[ INFO  ] Stage: Initializing
[ INFO  ] Stage: Environment setup
   Configuration files:
['/etc/ovirt-engine-setup.conf.d/10-packaging-aio.conf',
'/etc/ovirt-engine-setup.conf.d/10-pa ckaging.conf',
'/etc/ovirt-engine-setup.conf.d/20-setup-aio.conf',
'/etc/ovirt-engine-setup.conf.d/20-setup-ovirt-post.conf']
   Log file:
/var/log/ovirt-engine/setup/ovirt-engine-setup-20140409114215.log
   Version: otopi-1.2.0 (otopi-1.2.0-1.el6)
[ INFO  ] Stage: Environment packages setup
[ INFO  ] Stage: Programs detection
[ INFO  ] Stage: Environment setup
[ INFO  ] Stage: Environment customization

   --== PRODUCT OPTIONS ==--


   --== PACKAGES ==--

*[ INFO  ] Checking for product updates...*
*  Setup has found updates for some packages, do you wish to
update them now? (Yes, No) [Yes]: yes*
[ INFO  ] Checking for an update for Setup...

   --== NETWORK CONFIGURATION ==--

   Setup can automatically configure the firewall on this system.
   Note: automatic configuration of the firewall may overwrite
current settings.
   Do you want Setup to configure the firewall? (Yes, No) [Yes]: no

   --== DATABASE CONFIGURATION ==--


   --== OVIRT ENGINE CONFIGURATION ==--

   Skipping storing options as database already prepared

   --== PKI CONFIGURATION ==--

   PKI is already configured

   --== APACHE CONFIGURATION ==--


   --== SYSTEM CONFIGURATION ==--


   --== MISC CONFIGURATION ==--


   --== END OF CONFIGURATION ==--

[ INFO  ] Stage: Setup validation
   During execution engine service will be stopped (OK, Cancel)
[OK]:
[ INFO  ] Cleaning stale zombie tasks

   --== CONFIGURATION PREVIEW ==--

   Engine database name: engine
   Engine database secured connection  : False
   Engine database host: localhost
   Engine database user name   : engine
   Engine database host name validation: False
   Engine database port: 5432
   NFS setup   : True
   Firewall manager: iptables
   Update Firewall : False
   Configure WebSocket Proxy   : True
   Host FQDN   : srv-0202.ltitd.br
http://srv-0202.ltitd.br
   NFS mount point   

Re: [ovirt-users] necessity to run yum update ovirt-engine-setup to update ovirt 3.4

2014-04-10 Thread Alon Bar-Lev


- Original Message -
 From: Tamer Lima tamer.amer...@gmail.com
 To: users@ovirt.org
 Sent: Wednesday, April 9, 2014 9:18:51 PM
 Subject: [ovirt-users] necessity to run yum update ovirt-engine-setup to  
 update ovirt 3.4

snip

 
 Then I ask : What is the necessity to execute yum update ovirt-engine-setup
 if when I execute only engine-setup this script search for updates ?

it is an egg and chicken... as the engine-setup comes from ovirt-engine-setup, 
it cannot update the package while running and effect running process.

so if you run the engine-setup of V1, and within the package is updated to V2, 
V2 has no effect as V1 keeps running.

there may be a very complex solutions for this issue, including delegate the 
state to another instance of setup, but for now, the simplest method is to 
update the setup packages before upgrading the product.

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


Re: [ovirt-users] necessity to run yum update ovirt-engine-setup to update ovirt 3.4

2014-04-10 Thread Yedidyah Bar David
- Original Message -
 From: Tamer Lima tamer.amer...@gmail.com
 To: users@ovirt.org
 Sent: Wednesday, April 9, 2014 9:18:51 PM
 Subject: [ovirt-users] necessity to run yum update ovirt-engine-setup to  
 update ovirt 3.4
 
 hello,
 
 upgrade from ovirt 3.3 to 3.4
 following the steps on ovirt.org/OVirt_3.4_Release_Notes
 
 I tried update from yum, without success
 
 
 
 yum update {ovirt-engine-setup, ovirt-engine , ovirt-release and
 ovirt-release-el6 }

Where do you see instructions to update ovirt-engine? You cannot update
it directly because it's version-locked. This is done to ensure that
you do not run a newer engine with an older database - the main task
engine-setup does during an upgrade is updating the database.

 
 Then I tried the following command and it worked fine: engine-setup

Didn't it tell you that there are updates to Setup and that you should
first 'yum update ovirt-engine-setup'? Probably during your attempts
you did update it.

 
 Now my ovirt works fine, my cluster is running virtual machines on
 compatibility mode 3.3 although ovirt is now 3.4

Great :-)

 
 Then I ask : What is the necessity to execute yum update ovirt-engine-setup
 if when I execute only engine-setup this script search for updates ?

engine-setup searches for both updates to the engine and to Setup itself.
If it finds updates to Setup, it tells you to manually update it with yum.
If it finds other updates it asks you to confirm updating and then updates.

 
 
 
 
 
 Failed command list execution
 For each command yum update {ovirt-engine-setup, ovirt-engine , ovirt-release
 and ovirt-release-el6 } the result was the same :
 
 
 
 Loaded plugins: downloadonly, fastestmirror, refresh-packagekit, security,
 versionlock
 Loading mirror speeds from cached hostfile
 * base: mirror.globo.com
 * epel: mirror.globo.com
 * extras: mirror.globo.com
 * ovirt-epel: mirror.globo.com
 * updates: mirror.globo.com
 Setting up Update Process
 No Packages marked for Update


Most probably you did update ovirt-engine-setup at some point.
If you want to further debug this, please look at and/or post your yum.log.

Best regards,
-- 
Didi
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] necessity to run yum update ovirt-engine-setup to update ovirt 3.4

2014-04-10 Thread Yedidyah Bar David
(Mail sent to me privately; replying also to the list)

- Original Message -
 From: Tamer Lima tamer.amer...@gmail.com
 To: Yedidyah Bar David d...@redhat.com
 Sent: Thursday, April 10, 2014 4:30:11 PM
 Subject: Re: [ovirt-users] necessity to run yum update ovirt-engine-setup to 
 update ovirt 3.4
 
 Hello, mister
 
 
 
 On Thu, Apr 10, 2014 at 3:29 AM, Yedidyah Bar David d...@redhat.com wrote:
 
  - Original Message -
   From: Tamer Lima tamer.amer...@gmail.com
   To: users@ovirt.org
   Sent: Wednesday, April 9, 2014 9:18:51 PM
   Subject: [ovirt-users] necessity to run yum update ovirt-engine-setup to
   update ovirt 3.4
  
   hello,
  
   upgrade from ovirt 3.3 to 3.4
   following the steps on ovirt.org/OVirt_3.4_Release_Notes
  
   I tried update from yum, without success
  
  
  
   yum update {ovirt-engine-setup, ovirt-engine , ovirt-release and
   ovirt-release-el6 }
 
  Where do you see instructions to update ovirt-engine? You cannot update
  it directly because it's version-locked. This is done to ensure that
  you do not run a newer engine with an older database - the main task
  engine-setup does during an upgrade is updating the database.
 
 
 I followed this anchor :
 http://www.ovirt.org/OVirt_3.4_Release_Notes#Fedora_.2F_CentOS_.2F_RHEL
 
 
 
 If you're upgrading from oVirt 3.3 you should just execute:
 
 # yum update ovirt-engine-setup
 # engine-setup
 
 ==
 
 
 
  
   Then I tried the following command and it worked fine: engine-setup
 
  Didn't it tell you that there are updates to Setup and that you should
  first 'yum update ovirt-engine-setup'? Probably during your attempts
  you did update it.
 
 
 Well, according the output on prompt shell, there was no update : No
 Packages marked for Update

Obviously, if it's already updated by your cron.

 
 
   
   Now my ovirt works fine, my cluster is running virtual machines on
   compatibility mode 3.3 although ovirt is now 3.4
 
  Great :-)
 
  
   Then I ask : What is the necessity to execute yum update
  ovirt-engine-setup
   if when I execute only engine-setup this script search for updates ?
 
  engine-setup searches for both updates to the engine and to Setup itself.
  If it finds updates to Setup, it tells you to manually update it with yum.
  If it finds other updates it asks you to confirm updating and then updates.
 
  
  
 
 
 ok. thanks .
 
  
  
  
   Failed command list execution
   For each command yum update {ovirt-engine-setup, ovirt-engine ,
  ovirt-release
   and ovirt-release-el6 } the result was the same :
  
  
  
   Loaded plugins: downloadonly, fastestmirror, refresh-packagekit,
  security,
   versionlock
   Loading mirror speeds from cached hostfile
   * base: mirror.globo.com
   * epel: mirror.globo.com
   * extras: mirror.globo.com
   * ovirt-epel: mirror.globo.com
   * updates: mirror.globo.com
   Setting up Update Process
   No Packages marked for Update
 
 
  Most probably you did update ovirt-engine-setup at some point.
  If you want to further debug this, please look at and/or post your yum.log.
 
 
 you are right. thanks. on april,6 my yumcron updated ovirt to 3.4.  (just
 update, not setup)
 
 
 [root@srv-0202 ~]# more  /var/log/yum.log  | grep ovirt
 Feb 27 13:08:05 Installed: ovirt-release-11.0.2-1.noarch
 Feb 27 13:52:17 Installed: ovirt-engine-sdk-python-3.3.3.0-1.el6.noarch
 Feb 27 13:52:18 Installed: ovirt-host-deploy-1.1.3-1.el6.noarch
 Feb 27 13:52:22 Installed: ovirt-image-uploader-3.3.3-1.el6.noarch
 Feb 27 13:52:22 Installed: ovirt-iso-uploader-3.3.3-1.el6.noarch
 Feb 27 13:52:23 Installed: ovirt-engine-lib-3.3.3-2.el6.noarch
 Feb 27 13:52:23 Installed: ovirt-engine-websocket-proxy-3.3.3-2.el6.noarch
 Feb 27 13:52:36 Installed: ovirt-log-collector-3.3.3-1.el6.noarch
 Feb 27 13:52:36 Installed: ovirt-host-deploy-java-1.1.3-1.el6.noarch
 Feb 27 13:53:16 Installed: ovirt-engine-cli-3.3.0.6-1.el6.noarch
 Feb 27 13:53:19 Installed: ovirt-engine-userportal-3.3.3-2.el6.noarch
 Feb 27 13:53:26 Installed: ovirt-engine-webadmin-portal-3.3.3-2.el6.noarch
 Feb 27 13:53:26 Installed: ovirt-engine-dbscripts-3.3.3-2.el6.noarch
 Feb 27 13:53:26 Installed: ovirt-engine-restapi-3.3.3-2.el6.noarch
 Feb 27 13:53:26 Installed: ovirt-engine-tools-3.3.3-2.el6.noarch
 Feb 27 13:53:26 Installed: ovirt-engine-setup-3.3.3-2.el6.noarch
 Feb 27 13:53:27 Installed: ovirt-engine-backend-3.3.3-2.el6.noarch
 Feb 27 13:53:27 Installed: ovirt-engine-3.3.3-2.el6.noarch
 Feb 27 13:53:59 Installed: ovirt-host-deploy-offline-1.1.3-1.el6.noarch
 Feb 27 13:53:59 Installed:
 ovirt-engine-setup-plugin-allinone-3.3.3-2.el6.noarch
 
 Apr 06 04:21:12 Updated: ovirt-engine-sdk-python-3.4.0.6-1.el6.noarch
 Apr 06 04:21:12 Updated: ovirt-engine-lib-3.4.0-1.el6.noarch
 Apr 06 04:21:13 Installed: ovirt-engine-setup-base-3.4.0-1.el6.noarch
 Apr 06 04:21:13 Updated: ovirt-host-deploy-1.2.0-1.el6.noarch
 Apr 06 04:21:38 Installed:
 ovirt-engine-setup-plugin-websocket-proxy-3.4.0

[ovirt-users] necessity to run yum update ovirt-engine-setup to update ovirt 3.4

2014-04-09 Thread Tamer Lima
hello,

upgrade from  ovirt 3.3 to 3.4
following the steps on ovirt.org/OVirt_3.4_Release_Notes

I tried update from yum, without success

yum update {ovirt-engine-setup, ovirt-engine , ovirt-release and
ovirt-release-el6 }


Then I tried the following command and it worked fine: engine-setup

Now my ovirt works fine, my cluster is running virtual machines on
compatibility mode 3.3  although ovirt is now 3.4

Then I ask : What is the necessity to execute *yum update
ovirt-engine-setup* if when I execute only *engine-setup* this script
search for updates ?





Failed command list execution
For each command *yum update {ovirt-engine-setup, ovirt-engine ,
ovirt-release and ovirt-release-el6 }* the result was the same :

Loaded plugins: downloadonly, fastestmirror, refresh-packagekit, security,
versionlock
Loading mirror speeds from cached hostfile
 * base: mirror.globo.com
 * epel: mirror.globo.com
 * extras: mirror.globo.com
 * ovirt-epel: mirror.globo.com
 * updates: mirror.globo.com
Setting up Update Process
*No Packages marked for Update*






My ovirt.repo contains 3.4
:
[root@srv-0202 yum.repos.d]# more ovirt.repo

[ovirt-stable]
name=Latest oVirt Releases
baseurl=http://ovirt.org/releases/stable/rpm/EL/$releasever/
enabled=1
skip_if_unavailable=1
gpgcheck=0

# Latest oVirt 3.4 releases

[ovirt-3.4-stable]
name=Latest oVirt 3.4.z Releases
baseurl=http://ovirt.org/releases/3.4/rpm/EL/$releasever/
enabled=1
skip_if_unavailable=1
gpgcheck=0

[ovirt-3.4-prerelease]
name=Latest oVirt 3.4 Pre Releases (Beta to Release Candidate)
baseurl=http://resources.ovirt.org/releases/3.4_pre/rpm/EL/$releasever/
enabled=0
skip_if_unavailable=1
gpgcheck=0

# Latest oVirt 3.3 releases

[ovirt-3.3-stable]
name=Latest oVirt 3.3.z Releases
baseurl=http://resources.ovirt.org/releases/3.3/rpm/EL/$releasever/
enabled=1
skip_if_unavailable=1
gpgcheck=0

[ovirt-3.3-prerelease]
name=Latest oVirt 3.3.z Pre Releases (Beta to Release Candidate)
baseurl=http://resources.ovirt.org/releases/3.3_pre/rpm/EL/$releasever/
enabled=0
skip_if_unavailable=1
gpgcheck=0

# Note: for nightly builds see ovirt-nightly.repo



Running engine-setup
[root@srv-0202 ~]# engine-setup
[ INFO  ] Stage: Initializing
[ INFO  ] Stage: Environment setup
  Configuration files:
['/etc/ovirt-engine-setup.conf.d/10-packaging-aio.conf',
'/etc/ovirt-engine-setup.conf.d/10-pa ckaging.conf',
'/etc/ovirt-engine-setup.conf.d/20-setup-aio.conf',
'/etc/ovirt-engine-setup.conf.d/20-setup-ovirt-post.conf']
  Log file:
/var/log/ovirt-engine/setup/ovirt-engine-setup-20140409114215.log
  Version: otopi-1.2.0 (otopi-1.2.0-1.el6)
[ INFO  ] Stage: Environment packages setup
[ INFO  ] Stage: Programs detection
[ INFO  ] Stage: Environment setup
[ INFO  ] Stage: Environment customization

  --== PRODUCT OPTIONS ==--


  --== PACKAGES ==--

*[ INFO  ] Checking for product updates...*
*  Setup has found updates for some packages, do you wish to update
them now? (Yes, No) [Yes]: yes*
[ INFO  ] Checking for an update for Setup...

  --== NETWORK CONFIGURATION ==--

  Setup can automatically configure the firewall on this system.
  Note: automatic configuration of the firewall may overwrite
current settings.
  Do you want Setup to configure the firewall? (Yes, No) [Yes]: no

  --== DATABASE CONFIGURATION ==--


  --== OVIRT ENGINE CONFIGURATION ==--

  Skipping storing options as database already prepared

  --== PKI CONFIGURATION ==--

  PKI is already configured

  --== APACHE CONFIGURATION ==--


  --== SYSTEM CONFIGURATION ==--


  --== MISC CONFIGURATION ==--


  --== END OF CONFIGURATION ==--

[ INFO  ] Stage: Setup validation
  During execution engine service will be stopped (OK, Cancel) [OK]:
[ INFO  ] Cleaning stale zombie tasks

  --== CONFIGURATION PREVIEW ==--

  Engine database name: engine
  Engine database secured connection  : False
  Engine database host: localhost
  Engine database user name   : engine
  Engine database host name validation: False
  Engine database port: 5432
  NFS setup   : True
  Firewall manager: iptables
  Update Firewall : False
  Configure WebSocket Proxy   : True
  Host FQDN   : srv-0202.ltitd.br
  NFS mount point : /var/lib/exports/iso
  Set application as default page : True
  Configure Apache SSL: True
  Upgrade packages: True

  Please confirm installation settings (OK, Cancel) [OK]:
[ INFO  ] Cleaning async tasks and compensations
[ INFO  ] Checking the Engine database