Windows Charms are unable to raise error state

Bug #1426728 reported by Charles Butler
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Won't Fix
Low
Unassigned

Bug Description

When deploying a charm on windows, it appears the return code's are not being respected - and the charm never enters an "error state"

juju rev: 1.21.3

unit-win-service-0[240]: 2015-02-28 16:58:51 INFO unit.win-service/0.install logger.go:40 char:9
unit-win-service-0[240]: 2015-02-28 16:58:51 INFO unit.win-service/0.install logger.go:40 + Install-WindowsFeatures $WINDOWS_FEATURES
unit-win-service-0[240]: 2015-02-28 16:58:51 INFO unit.win-service/0.install logger.go:40 + ~~~~~~~~~~~~~~~~~~~~~~~
unit-win-service-0[240]: 2015-02-28 16:58:51 INFO unit.win-service/0.install logger.go:40 + CategoryInfo : ObjectNotFound: (Install-WindowsFeatures:String)
unit-win-service-0[240]: 2015-02-28 16:58:51 INFO unit.win-service/0.install logger.go:40 [], ParentContainsErrorRecordException
unit-win-service-0[240]: 2015-02-28 16:58:51 INFO unit.win-service/0.install logger.go:40 + FullyQualifiedErrorId : CommandNotFoundException
unit-win-service-0[240]: 2015-02-28 16:58:51 INFO unit.win-service/0.install logger.go:40

The following error was found in the logs, and the service was green. I believe this is due to juju-agent still expecting the return code to be > 0, and I'm not 100% sure how this actually interacts on windows.

description: updated
description: updated
Curtis Hovey (sinzui)
Changed in juju-core:
status: New → Triaged
importance: Undecided → Medium
Larry Michel (lmic)
tags: added: oil
tags: added: oil-2.0
Changed in juju-core:
importance: Medium → High
milestone: none → 2.0.0
affects: juju-core → juju
Changed in juju:
milestone: 2.0.0 → none
milestone: none → 2.0.0
Changed in juju:
milestone: 2.0.0 → 2.0.1
Curtis Hovey (sinzui)
Changed in juju:
milestone: 2.0.1 → none
Revision history for this message
Joseph Phillips (manadart) wrote :

Marked won't fix to age and the fact that Windows workloads are in line for deprecation.

Changed in juju:
importance: High → Low
status: Triaged → Won't Fix
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.