[opensuse-cloud] Cinder not starting after update to Newton
Hello, I updated my openstack deployment from Liberty to Newton. However after the update Cinder api is not starting anymore. Tha Api.log says ### api.log ERROR cinder ServiceTooOld: One of the services is in Liberty version. We do not provide backward compatibility with Liberty now, you need to upgrade to Mitaka first. ### api.log I forced a reinstall of the cinder package. I have removed the cinder packages and reinstalled them. However this error remains. All openstack packages come from the Newton repository. Not sure what other packages I should update to lose this message. Anybody any idea? BR, Jeroen OpenSuse 42.1 Openstack newton from repository: /Cloud:/OpenStack:/Newton/openSUSE_Leap_42.1 -- To unsubscribe, e-mail: opensuse-cloud+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-cloud+owner@opensuse.org
Jeroen Groenewegen van der Weyden <groen692@grosc.com> wrote:
Hello,
I updated my openstack deployment from Liberty to Newton.
However after the update Cinder api is not starting anymore. Tha Api.log says
### api.log
ERROR cinder ServiceTooOld: One of the services is in Liberty version. We do not provide backward compatibility with Liberty now, you need to upgrade to Mitaka first. ### api.log
I forced a reinstall of the cinder package. I have removed the cinder packages and reinstalled them. However this error remains. All openstack packages come from the Newton repository.
Not sure what other packages I should update to lose this message. Anybody any idea?
As suggested on #opensuse-cloud IRC, if more obvious lines of investigation don't yield fruit, you could take the brute force approach by locating the exact file where this error comes from, e.g. via something like grep -r 'One of the services is' /usr/lib*/python* and then try to understand why it's happening based on that. -- To unsubscribe, e-mail: opensuse-cloud+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-cloud+owner@opensuse.org
Hi, I have been looking around some more. I have cinder configured with a ceph backend ( Which was working ) When I configure cinder to use LVM as a backend, cinder starts normally when put back the config in cinder.conf for the ceph backend it does not start rpm -qf /usr/lib/python2.7/site-packages/cinder/volume/drivers/rbd.py python-cinder-9.0.0.0~rc2~dev21-1.1.noarch Anybody any idea? BR, Jeroen Op 11-10-2016 om 00:37 schreef Adam Spiers:
Jeroen Groenewegen van der Weyden <groen692@grosc.com> wrote:
Hello,
I updated my openstack deployment from Liberty to Newton.
However after the update Cinder api is not starting anymore. Tha Api.log says
### api.log
ERROR cinder ServiceTooOld: One of the services is in Liberty version. We do not provide backward compatibility with Liberty now, you need to upgrade to Mitaka first. ### api.log
I forced a reinstall of the cinder package. I have removed the cinder packages and reinstalled them. However this error remains. All openstack packages come from the Newton repository.
Not sure what other packages I should update to lose this message. Anybody any idea? As suggested on #opensuse-cloud IRC, if more obvious lines of investigation don't yield fruit, you could take the brute force approach by locating the exact file where this error comes from, e.g. via something like
grep -r 'One of the services is' /usr/lib*/python*
and then try to understand why it's happening based on that.
-- To unsubscribe, e-mail: opensuse-cloud+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-cloud+owner@opensuse.org
Hi, have you seen the know issues in the release notes? http://docs.openstack.org/releasenotes/cinder/newton.html#id4 maybe it's related? Not sure. Best, Tom On Mon, Oct 10, 2016 at 11:05:40AM +0200, Jeroen Groenewegen van der Weyden wrote:
Hello,
I updated my openstack deployment from Liberty to Newton.
However after the update Cinder api is not starting anymore. Tha Api.log says
### api.log
ERROR cinder ServiceTooOld: One of the services is in Liberty version. We do not provide backward compatibility with Liberty now, you need to upgrade to Mitaka first. ### api.log
I forced a reinstall of the cinder package. I have removed the cinder packages and reinstalled them. However this error remains. All openstack packages come from the Newton repository.
Not sure what other packages I should update to lose this message. Anybody any idea?
BR,
Jeroen
OpenSuse 42.1
Openstack newton from repository: /Cloud:/OpenStack:/Newton/openSUSE_Leap_42.1
-- To unsubscribe, e-mail: opensuse-cloud+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-cloud+owner@opensuse.org
-- To unsubscribe, e-mail: opensuse-cloud+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-cloud+owner@opensuse.org
Hi Thomas, You solved my cinder problem. Thank you #cinder-manage service list Option "verbose" from group "DEFAULT" is deprecated for removal. Its value may be silently ignored in the future. 2016-10-12 09:59:46.183 22249 DEBUG oslo_db.sqlalchemy.engines [req-78fb3de9-c75e-428d-bda5-ee14872c006f - - - - -] MySQL server mode set to STRICT_TRANS_TABLES,STRICT_ALL_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,TRADITIONAL,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION _check_effective_sql_mode /usr/lib/python2.7/site-packages/oslo_db/sqlalchemy/engines.py:261 Binary Host Zone Status State Updated At RPC Version Object Version Cluster cinder-scheduler controller nova enabled XXX 2016-10-12 06:29:17 3.0 1.11 cinder-volume controller nova enabled XXX 2016-10-08 09:59:26 None None cinder-volume controller@ceph nova enabled XXX 2016-10-12 06:49:17 3.0 1.11 afterwards I removed the service with version none with command #cinder-manage service remove cinder-volume controller All cinder services are starting now. BR, Jeroen Op 11-10-2016 om 18:32 schreef Thomas Bechtold:
Hi,
have you seen the know issues in the release notes?
http://docs.openstack.org/releasenotes/cinder/newton.html#id4
maybe it's related? Not sure.
Best,
Tom
On Mon, Oct 10, 2016 at 11:05:40AM +0200, Jeroen Groenewegen van der Weyden wrote:
Hello,
I updated my openstack deployment from Liberty to Newton.
However after the update Cinder api is not starting anymore. Tha Api.log says
### api.log
ERROR cinder ServiceTooOld: One of the services is in Liberty version. We do not provide backward compatibility with Liberty now, you need to upgrade to Mitaka first. ### api.log
I forced a reinstall of the cinder package. I have removed the cinder packages and reinstalled them. However this error remains. All openstack packages come from the Newton repository.
Not sure what other packages I should update to lose this message. Anybody any idea?
BR,
Jeroen
OpenSuse 42.1
Openstack newton from repository: /Cloud:/OpenStack:/Newton/openSUSE_Leap_42.1
-- To unsubscribe, e-mail: opensuse-cloud+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-cloud+owner@opensuse.org
-- To unsubscribe, e-mail: opensuse-cloud+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-cloud+owner@opensuse.org
Hi list, I'm working with cloud-init and I'm trying to update the /etc/hosts file via cloud-init (currently version 0.7.8 on openSUSE Leap 42.1). I know there are plenty workarounds, but as there is a module for that, I would like to use it. So I added a line in the respective template file: ---cut here--- leap1:~ # cat /etc/cloud/templates/hosts.suse.tmpl ## template:jinja [...] # The following lines are desirable for IPv4 capable hosts {{ fqdn }} {{ hostname }} 127.0.0.1 localhost set-hostname:~ # cat /etc/hosts # Your system has configured 'manage_etc_hosts' as True. # As a result, if you wish for changes to this file to persist # then you will need to either # a.) make changes to the master file in /etc/cloud/templates/hosts.suse.tmpl # b.) change or remove the value of 'manage_etc_hosts' in # /etc/cloud/cloud.cfg or cloud-config from user-data # # The following lines are desirable for IPv4 capable hosts leap1.novalocal leap1 127.0.0.1 localhost ---cut here--- This works fine, the file is updated successfully. Only it's missing the ip address, which is mandatory to make a command like "hostname -f" work without network access. But every string I have tried (e.g. "local-ipv4" from meta-data) led to an error: [...] reraise(exc_type, exc_value, tb)#012 File "<template>", line 15, in top-level template code#012TypeError: unsupported operand type(s) for -: 'StrictUndefined' and 'StrictUndefined' 2016-11-14 15:19:03,184 - main.py[WARNING]: Ran update_etc_hosts but it failed! So I searched the web and found [1], I'm not the first one who tries to use that function. Scott Moser posted a fix in 2013 [2] but it seems that it never got merged. I applied his changes and tested it successfully, is there any chance this will get to upstream? This is really useful to us. Regards, Eugen [1] https://bugs.launchpad.net/cloud-init/+bug/1020695 [2] https://code.launchpad.net/~smoser/cloud-init/lp1020695/+merge/163216 -- Eugen Block voice : +49-40-559 51 75 NDE Netzdesign und -entwicklung AG fax : +49-40-559 51 77 Postfach 61 03 15 D-22423 Hamburg e-mail : eblock@nde.ag Vorsitzende des Aufsichtsrates: Angelika Mozdzen Sitz und Registergericht: Hamburg, HRB 90934 Vorstand: Jens-U. Mozdzen USt-IdNr. DE 814 013 983 -- To unsubscribe, e-mail: opensuse-cloud+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-cloud+owner@opensuse.org
participants (4)
-
Adam Spiers
-
Eugen Block
-
Jeroen Groenewegen van der Weyden
-
Thomas Bechtold