nova-hyperv: ["Failed to run config-changed: Cannot find path 'C:\\Juju\\lib\\juju\\agents\\unit-nova-hyperv-0\\charm\\templates\\juno\\ml2_conf.ini' because it does not exist."]

Bug #1517261 reported by Larry Michel
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
juju-core
Invalid
Undecided
Unassigned
Juju Charms Collection
New
Undecided
Gabriel Samfira

Bug Description

We're seeing failure below for nova-hyperv and juju 1.24.7.

unit-nova-hyperv-0[2424]: 2015-11-17 21:44:45 INFO unit.nova-hyperv/0.juju-log server.go:254 Renaming switch
unit-nova-hyperv-0[2424]: 2015-11-17 21:44:45 INFO worker.uniter.jujuc server.go:158 running hook tool "juju-log.exe" ["renamed switch"]
unit-nova-hyperv-0[2424]: 2015-11-17 21:44:45 DEBUG worker.uniter.jujuc server.go:159 hook context id "nova-hyperv/0-config-changed-3742234485022034548"; dir "C:\\Juju\\lib\\juju\\agents\\unit-nova-hyperv-0\\charm"
unit-nova-hyperv-0[2424]: 2015-11-17 21:44:45 INFO unit.nova-hyperv/0.juju-log server.go:254 renamed switch
unit-mongodb-0[955]: 2015-11-17 20:55:08 DEBUG juju.worker.leadership tracker.go:138 mongodb/0 renewing lease for mongodb leadership
unit-mongodb-0[955]: 2015-11-17 20:55:08 DEBUG juju.worker.leadership tracker.go:165 checking mongodb/0 for mongodb leadership
unit-mongodb-0[955]: 2015-11-17 20:55:09 DEBUG juju.worker.leadership tracker.go:180 mongodb/0 confirmed for mongodb leadership until 2015-11-17 20:56:08.816949479 +0000 UTC
unit-mongodb-0[955]: 2015-11-17 20:55:09 INFO juju.worker.leadership tracker.go:182 mongodb/0 will renew mongodb leadership at 2015-11-17 20:55:38.816949479 +0000 UTC
unit-nova-hyperv-0[2424]: 2015-11-17 21:44:46 INFO unit.nova-hyperv/0.config-changed logger.go:40 True
unit-nova-hyperv-0[2424]: 2015-11-17 21:44:46 INFO worker.uniter.jujuc server.go:158 running hook tool "config-get.exe" ["--format=json" "network-type"]
unit-nova-hyperv-0[2424]: 2015-11-17 21:44:46 DEBUG worker.uniter.jujuc server.go:159 hook context id "nova-hyperv/0-config-changed-3742234485022034548"; dir "C:\\Juju\\lib\\juju\\agents\\unit-nova-hyperv-0\\charm"
unit-nova-hyperv-0[2424]: 2015-11-17 21:44:46 INFO worker.uniter.jujuc server.go:158 running hook tool "config-get.exe" ["--format=json" "openstack-version"]
unit-nova-hyperv-0[2424]: 2015-11-17 21:44:46 DEBUG worker.uniter.jujuc server.go:159 hook context id "nova-hyperv/0-config-changed-3742234485022034548"; dir "C:\\Juju\\lib\\juju\\agents\\unit-nova-hyperv-0\\charm"
unit-nova-hyperv-0[2424]: 2015-11-17 21:44:46 INFO worker.uniter.jujuc server.go:158 running hook tool "config-get.exe" ["--format=json" "openstack-version"]
unit-nova-hyperv-0[2424]: 2015-11-17 21:44:46 DEBUG worker.uniter.jujuc server.go:159 hook context id "nova-hyperv/0-config-changed-3742234485022034548"; dir "C:\\Juju\\lib\\juju\\agents\\unit-nova-hyperv-0\\charm"
unit-nova-hyperv-0[2424]: 2015-11-17 21:44:46 INFO worker.uniter.jujuc server.go:158 running hook tool "juju-log.exe" ["Failed to run config-changed: Cannot find path 'C:\\Juju\\lib\\juju\\agents\\unit-nova-hyperv-0\\charm\\templates\\juno\\ml2_conf.ini' because it does not exist."]
unit-nova-hyperv-0[2424]: 2015-11-17 21:44:46 DEBUG worker.uniter.jujuc server.go:159 hook context id "nova-hyperv/0-config-changed-3742234485022034548"; dir "C:\\Juju\\lib\\juju\\agents\\unit-nova-hyperv-0\\charm"
unit-nova-hyperv-0[2424]: 2015-11-17 21:44:46 INFO unit.nova-hyperv/0.juju-log server.go:254 Failed to run config-changed: Cannot find path 'C:\Juju\lib\juju\agents\unit-nova-hyperv-0\charm\templates\juno\ml2_conf.ini' because it does not exist.
unit-nova-hyperv-0[2424]: 2015-11-17 21:44:47 INFO juju.worker.uniter.context context.go:543 handling reboot
unit-nova-hyperv-0[2424]: 2015-11-17 21:44:47 ERROR juju.worker.uniter.operation runhook.go:103 hook "config-changed" failed: exit status 1
unit-nova-hyperv-0[2424]: 2015-11-17 21:44:47 DEBUG juju.worker.uniter modes.go:31 [AGENT-STATUS] failed: run config-changed hook
unit-nova-hyperv-0[2424]: 2015-11-17 21:44:47 INFO juju.worker.uniter modes.go:553 ModeAbide exiting
unit-nova-hyperv-0[2424]: 2015-11-17 21:44:47 INFO juju.worker.uniter modes.go:551 ModeHookError starting
unit-nova-hyperv-0[2424]: 2015-11-17 21:44:47 DEBUG juju.worker.uniter.filter filter.go:597 want resolved event
unit-nova-hyperv-0[2424]: 2015-11-17 21:44:47 DEBUG juju.worker.uniter.filter filter.go:591 want forced upgrade true
unit-nova-hyperv-0[2424]: 2015-11-17 21:44:47 DEBUG juju.worker.uniter.filter filter.go:727 no new charm event
unit-nova-hyperv-0[2424]: 2015-11-17 21:44:47 DEBUG juju.worker.uniter modes.go:31 [AGENT-STATUS] error: hook failed: "config-changed"
unit-nova-hyperv-0[2424]: 2015-11-17 21:44:47 DEBUG juju.worker.leadership tracker.go:154 nova-hyperv/0 got wait request for nova-hyperv leadership loss

These are pipeline parameters:

++ export OPENSTACK_RELEASE=juno
++ OPENSTACK_RELEASE=juno
++ export COMPUTE=nova-hyperv
++ COMPUTE=nova-hyperv
++ export BLOCK_STORAGE=cinder-vnx
++ BLOCK_STORAGE=cinder-vnx
++ export IMAGE_STORAGE=glance-swift
++ IMAGE_STORAGE=glance-swift
++ export PIPELINE_ID=1de29e6e-cc40-4882-a4d9-d449cb67bbca
++ PIPELINE_ID=1de29e6e-cc40-4882-a4d9-d449cb67bbca
++ export BACKEND_DATABASE=galera-cluster
++ BACKEND_DATABASE=galera-cluster
++ export NETWORKING=neutron-openvswitch-hyperv-ovs
++ NETWORKING=neutron-openvswitch-hyperv-ovs
++ export UBUNTU_RELEASE=trusty
++ UBUNTU_RELEASE=trusty

Attaching all machines log.

Tags: oil
Revision history for this message
Larry Michel (lmic) wrote :
Changed in juju-core:
status: New → Invalid
Changed in charms:
assignee: nobody → Gabriel Samfira (gabriel-samfira)
Revision history for this message
Larry Michel (lmic) wrote :

This seems to only affect builds with ovs.

Revision history for this message
Gabriel Samfira (gabriel-samfira) wrote :

Hi Larry!

I recently pushed quite a big update to nova-hyperv, that cleaned up the code a bit and added liberty support, and better ovs support. Can you please give that a shot and let me know how it works for you?

https://code.launchpad.net/~cloudbaseit/charms/win2012hvr2/nova-hyperv/trunk

Also, please note that OVS is available for windows starting only with Kilo.

Cheers,
Gabriel

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.