update to ganeti 2.5.0~rc5 from 2.4.5 RPM (not .tar.gz)

34 views
Skip to first unread message

Randy Rodriguez

unread,
Mar 1, 2012, 4:16:12 PM3/1/12
to gan...@googlegroups.com
The way I first installed ganeti was via an RPM file made available to CentOS 6, since that's what I run.
Now, I'm trying to update to 2.5.0~rc5 (for dual cdrom support), and after following the steps outlined in the documentation, gnt-cluster --version is still returning 2.4.5.
Perhaps this is because I installed via RPM to begin with. How can I update to 2.5.0~rc5 from the .tar.gz now that the RPM is installed?

Iustin Pop

unread,
Mar 1, 2012, 6:13:10 PM3/1/12
to gan...@googlegroups.com

You will have to wait for/use updated RPMs, or first uninstall the RPMs
and then install from the .tar.gz.

regards,
iustin

Jun Futagawa

unread,
Mar 2, 2012, 2:12:35 AM3/2/12
to gan...@googlegroups.com
Hi,

I built Ganeti 2.5.0~rc5 RPM file.
http://jfut.integ.jp/linux/ganeti/

Regards,

Jun Futagawa

Randy Rodriguez

unread,
Mar 2, 2012, 10:58:31 AM3/2/12
to gan...@googlegroups.com
Awesome! Thanks. Going to give it a shot now.

Randy Rodriguez

unread,
Mar 2, 2012, 11:11:39 AM3/2/12
to gan...@googlegroups.com
So, I tried both rpm -Uvh and rpm -ivh on the new .rpm file and gnt-cluster --version still shows me 2.4.5, even after running /usr/lib/ganeti/tools/cfgupgrade --verbose
What am I doing wrong?

Martín Beauchamp

unread,
Mar 2, 2012, 3:19:52 PM3/2/12
to gan...@googlegroups.com
Hey Jun,

Thanks for continuing to make life easier for the Redhat folks!

Best,
Martín 

--
Martín Beauchamp
Systems Engineer
Park Slope Food Coop, Inc.

Jun Futagawa

unread,
Mar 3, 2012, 12:44:13 AM3/3/12
to gan...@googlegroups.com
Hi,

On 2012/03/03 1:11, Randy Rodriguez wrote:

> So, I tried both rpm -Uvh and rpm -ivh on the new .rpm file and gnt-cluster --version still shows me 2.4.5, even after running /usr/lib/ganeti/tools/cfgupgrade --verbose
> What am I doing wrong?

I think that your system have both .tar.gz and RPM files.
Please try the followings.

- remove .rpm based files
# rpm -e ganeti

- search ganeti code files (installed from .tar.gz) and remove them
# /etc/cron.daily/mlocate.cron
# locate ganeti | grep python
/usr/lib/python2.6/site-packages/ganeti
/usr/lib/python2.6/site-packages/ganeti/__init__.py
...
or
/usr/local/lib/python2.6/site-packages/ganeti
/usr/local/lib/python2.6/site-packages/ganeti/__init__.py
...
# rm /usr/lib/python2.6/site-packages/ganeti -rf
# rm /usr/local/lib/python2.6/site-packages/ganeti -rf

- install .rpm
# rpm -ivh ganeti-2.5.0.rc5-1.el6.noarch.rpm

Regards,

--
Jun Futagawa

Jun Futagawa

unread,
Mar 3, 2012, 3:02:53 AM3/3/12
to gan...@googlegroups.com
Hi Mart�n,

On 2012/03/03 5:19, Mart�n Beauchamp wrote:

> Hey Jun,
>
> Thanks for continuing to make life easier for the Redhat folks!

You are welcome.

Thanks to the Ganeti development team!

Jun Futagawa

Randy Rodriguez

unread,
Mar 6, 2012, 9:36:41 AM3/6/12
to gan...@googlegroups.com
Ok so I followed your instructions Jun, installed the rpm. Now when I try to start Ganeti, I get this:
[root@ganeti-master home]# service ganeti status
ganeti: unrecognized service

Where is the Ganeti file now located?
Message has been deleted

Randy Rodriguez

unread,
Mar 6, 2012, 11:43:17 AM3/6/12
to gan...@googlegroups.com
The new RPM doesn't install properly on my machine:

[root@ganeti-master home]# rpm -ivh ganeti-2.5.0.rc5-1.el6.src.rpm
   1:ganeti                 ########################################### [100%]
[root@ganeti-master home]# rpm -qa | grep ganeti
[root@ganeti-master home]#

Henceforth, I cannot install the debootstrap RPM and continue moving forward.

I'm going to try installing via the tarball.

Randy Rodriguez

unread,
Mar 6, 2012, 1:08:51 PM3/6/12
to gan...@googlegroups.com
Didn't work... the ganeti.initd file is Debian based. I tried the ganeti.init file on jfut.integ.jp, which appears to be modified for RedHat distros, but it didn't spawn any process, nor inform me of any errors:

[root@ganeti-master home]# /etc/init.d/ganeti start
[root@ganeti-master home]# /etc/init.d/ganeti status
[root@ganeti-master home]# ps aux | grep ganeti
root      3718  0.0  0.0 103292   840 pts/0    S+   12:02   0:00 grep ganeti
Reply all
Reply to author
Forward
0 new messages