[Bug 1562931] [NEW] Cinder deploy from source: Could not load template cinder.conf

Ryan Beisner 1562931 at bugs.launchpad.net
Mon Mar 28 16:17:35 UTC 2016


Public bug reported:

Cinder deploy from source:  Could not load template cinder.conf

With the following commit, the templates/cinder.conf no longer exists.

Rollup templates to drop unsupported releases
https://github.com/openstack/charm-cinder/commit/a9a5e1660091506f5c206acec5a5d3cb48c4bdbe

The deploy from source (git_post_install) will need to be updated to render the template which corresponds to the OpenStack release being deployed.
ie. It is currently hard-coded @ https://github.com/openstack/charm-cinder/blob/master/hooks/cinder_utils.py#L749

2016-03-28 01:14:46 ERROR juju-log Could not load template cinder.conf from /var/lib/juju/agents/unit-cinder-0/charm/templates.
2016-03-28 01:14:46 INFO install Traceback (most recent call last):
2016-03-28 01:14:46 INFO install   File "/var/lib/juju/agents/unit-cinder-0/charm/hooks/install.real", line 557, in <module>
2016-03-28 01:14:46 INFO install     hooks.execute(sys.argv)
2016-03-28 01:14:46 INFO install   File "/var/lib/juju/agents/unit-cinder-0/charm/hooks/charmhelpers/core/hookenv.py", line 717, in execute
2016-03-28 01:14:46 INFO install     self._hooks[hook_name]()
2016-03-28 01:14:46 INFO install   File "/var/lib/juju/agents/unit-cinder-0/charm/hooks/install.real", line 122, in install
2016-03-28 01:14:46 INFO install     git_install(config('openstack-origin-git'))
2016-03-28 01:14:46 INFO install   File "/var/lib/juju/agents/unit-cinder-0/charm/hooks/cinder_utils.py", line 654, in git_install
2016-03-28 01:14:46 INFO install     git_post_install(projects_yaml)
2016-03-28 01:14:46 INFO install   File "/var/lib/juju/agents/unit-cinder-0/charm/hooks/cinder_utils.py", line 750, in git_post_install
2016-03-28 01:14:46 INFO install     group='cinder', perms=0o644)
2016-03-28 01:14:46 INFO install   File "/var/lib/juju/agents/unit-cinder-0/charm/hooks/charmhelpers/core/templating.py", line 72, in render
2016-03-28 01:14:46 INFO install     raise e
2016-03-28 01:14:46 INFO install jinja2.exceptions.TemplateNotFound: cinder.conf
2016-03-28 01:14:46 INFO juju.worker.uniter.context context.go:579 handling reboot
2016-03-28 01:14:46 ERROR juju.worker.uniter.operation runhook.go:107 hook "install" failed: exit status 1

** Affects: cinder (Juju Charms Collection)
     Importance: Undecided
         Status: New


** Tags: uosci

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to cinder in Juju Charms Collection.
Matching subscriptions: charm-bugs
https://bugs.launchpad.net/bugs/1562931

Title:
  Cinder deploy from source:  Could not load template cinder.conf

Status in cinder package in Juju Charms Collection:
  New

Bug description:
  Cinder deploy from source:  Could not load template cinder.conf

  With the following commit, the templates/cinder.conf no longer exists.

  Rollup templates to drop unsupported releases
  https://github.com/openstack/charm-cinder/commit/a9a5e1660091506f5c206acec5a5d3cb48c4bdbe

  The deploy from source (git_post_install) will need to be updated to render the template which corresponds to the OpenStack release being deployed.
  ie. It is currently hard-coded @ https://github.com/openstack/charm-cinder/blob/master/hooks/cinder_utils.py#L749

  2016-03-28 01:14:46 ERROR juju-log Could not load template cinder.conf from /var/lib/juju/agents/unit-cinder-0/charm/templates.
  2016-03-28 01:14:46 INFO install Traceback (most recent call last):
  2016-03-28 01:14:46 INFO install   File "/var/lib/juju/agents/unit-cinder-0/charm/hooks/install.real", line 557, in <module>
  2016-03-28 01:14:46 INFO install     hooks.execute(sys.argv)
  2016-03-28 01:14:46 INFO install   File "/var/lib/juju/agents/unit-cinder-0/charm/hooks/charmhelpers/core/hookenv.py", line 717, in execute
  2016-03-28 01:14:46 INFO install     self._hooks[hook_name]()
  2016-03-28 01:14:46 INFO install   File "/var/lib/juju/agents/unit-cinder-0/charm/hooks/install.real", line 122, in install
  2016-03-28 01:14:46 INFO install     git_install(config('openstack-origin-git'))
  2016-03-28 01:14:46 INFO install   File "/var/lib/juju/agents/unit-cinder-0/charm/hooks/cinder_utils.py", line 654, in git_install
  2016-03-28 01:14:46 INFO install     git_post_install(projects_yaml)
  2016-03-28 01:14:46 INFO install   File "/var/lib/juju/agents/unit-cinder-0/charm/hooks/cinder_utils.py", line 750, in git_post_install
  2016-03-28 01:14:46 INFO install     group='cinder', perms=0o644)
  2016-03-28 01:14:46 INFO install   File "/var/lib/juju/agents/unit-cinder-0/charm/hooks/charmhelpers/core/templating.py", line 72, in render
  2016-03-28 01:14:46 INFO install     raise e
  2016-03-28 01:14:46 INFO install jinja2.exceptions.TemplateNotFound: cinder.conf
  2016-03-28 01:14:46 INFO juju.worker.uniter.context context.go:579 handling reboot
  2016-03-28 01:14:46 ERROR juju.worker.uniter.operation runhook.go:107 hook "install" failed: exit status 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/charms/+source/cinder/+bug/1562931/+subscriptions



More information about the Ubuntu-openstack-bugs mailing list