OSError: [Errno 2] No such file or directory: '/etc/init/nova-consoleauth.override'

Bug #1484605 reported by Nobuto Murata
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
nova-cloud-controller (Juju Charms Collection)
Fix Released
Medium
Nobuto Murata

Bug Description

config-changed hook with single-nova-consoleauth=false and console-access-protocol=novnc is not idempotent.

2015-08-13 16:29:55 INFO config-changed Traceback (most recent call last):
2015-08-13 16:29:55 INFO config-changed File "/var/lib/juju/agents/unit-nova-cloud-controller-0/charm/hooks/config-changed", line 1045, in <module>
2015-08-13 16:29:55 INFO config-changed main()
2015-08-13 16:29:55 INFO config-changed File "/var/lib/juju/agents/unit-nova-cloud-controller-0/charm/hooks/config-changed", line 1039, in main
2015-08-13 16:29:55 INFO config-changed hooks.execute(sys.argv)
2015-08-13 16:29:55 INFO config-changed File "/var/lib/juju/agents/unit-nova-cloud-controller-0/charm/hooks/charmhelpers/core/hookenv.py", line 691, in execute
2015-08-13 16:29:55 INFO config-changed self._hooks[hook_name]()
2015-08-13 16:29:55 INFO config-changed File "/var/lib/juju/agents/unit-nova-cloud-controller-0/charm/hooks/nova_cc_utils.py", line 999, in wrapped_f
2015-08-13 16:29:55 INFO config-changed f(*args)
2015-08-13 16:29:55 INFO config-changed File "/var/lib/juju/agents/unit-nova-cloud-controller-0/charm/hooks/charmhelpers/core/host.py", line 356, in wrapped_f
2015-08-13 16:29:55 INFO config-changed f(*args, **kwargs)
2015-08-13 16:29:55 INFO config-changed File "/var/lib/juju/agents/unit-nova-cloud-controller-0/charm/hooks/config-changed", line 211, in config_changed
2015-08-13 16:29:55 INFO config-changed update_nova_consoleauth_config()
2015-08-13 16:29:55 INFO config-changed File "/var/lib/juju/agents/unit-nova-cloud-controller-0/charm/hooks/config-changed", line 1032, in update_nova_consoleauth_config
2015-08-13 16:29:55 INFO config-changed os.remove(NOVA_CONSOLEAUTH_OVERRIDE)
2015-08-13 16:29:55 INFO config-changed OSError: [Errno 2] No such file or directory: '/etc/init/nova-consoleauth.override'
2015-08-13 16:29:55 INFO juju.worker.uniter.context context.go:359 handling reboot
2015-08-13 16:29:55 ERROR juju.worker.uniter.operation runhook.go:86 hook "config-changed" failed: exit status 1

Nobuto Murata (nobuto)
tags: added: cpec
Nobuto Murata (nobuto)
Changed in nova-cloud-controller (Juju Charms Collection):
assignee: nobody → Nobuto Murata (nobuto)
Nobuto Murata (nobuto)
Changed in nova-cloud-controller (Juju Charms Collection):
status: New → In Progress
Nobuto Murata (nobuto)
description: updated
Felipe Reyes (freyes)
tags: added: backport-potential sts
Changed in nova-cloud-controller (Juju Charms Collection):
milestone: none → 15.10
importance: Undecided → Medium
status: In Progress → Fix Committed
Revision history for this message
Matt Rae (mattrae) wrote :

Will this be fixed the current stable nova-cloud-controller charm? At this point it appears the to only be in the next branch.

Changed in nova-cloud-controller (Juju Charms Collection):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.