Activity log for bug #1426728

Date Who What changed Old value New value Message
2015-02-28 17:02:35 Charles Butler bug added bug
2015-02-28 17:06:46 Charles Butler 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" unit-win-drupal-0[240]: 2015-02-28 16:58:51 INFO unit.win-service/0.install logger.go:40 char:9 unit-win-drupal-0[240]: 2015-02-28 16:58:51 INFO unit.win-service/0.install logger.go:40 + Install-WindowsFeatures $WINDOWS_FEATURES unit-win-drupal-0[240]: 2015-02-28 16:58:51 INFO unit.win-service/0.install logger.go:40 + ~~~~~~~~~~~~~~~~~~~~~~~ unit-win-drupal-0[240]: 2015-02-28 16:58:51 INFO unit.win-service/0.install logger.go:40 + CategoryInfo : ObjectNotFound: (Install-WindowsFeatures:String) unit-win-drupal-0[240]: 2015-02-28 16:58:51 INFO unit.win-service/0.install logger.go:40 [], ParentContainsErrorRecordException unit-win-drupal-0[240]: 2015-02-28 16:58:51 INFO unit.win-service/0.install logger.go:40 + FullyQualifiedErrorId : CommandNotFoundException unit-win-drupal-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. When deploying a charm on windows, it appears the return code's are not being respected - and the charm never enters an "error state" 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.
2015-02-28 19:18:38 Charles Butler 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" 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. 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.
2015-03-02 15:48:59 Curtis Hovey juju-core: status New Triaged
2015-03-02 15:49:01 Curtis Hovey juju-core: importance Undecided Medium
2016-07-20 15:13:41 Larry Michel tags juju-agent windows juju-agent oil windows
2016-07-20 15:15:05 Larry Michel tags juju-agent oil windows juju-agent oil oil-2.0 windows
2016-08-15 22:46:18 Anastasia juju-core: importance Medium High
2016-08-15 22:46:20 Anastasia juju-core: milestone 2.0.0
2016-08-23 00:10:20 Canonical Juju QA Bot affects juju-core juju
2016-08-23 00:10:20 Canonical Juju QA Bot juju: milestone 2.0.0
2016-08-23 00:10:22 Canonical Juju QA Bot juju: milestone 2.0.0
2016-09-08 21:27:41 Anastasia juju: milestone 2.0.0 2.0.1
2016-10-28 13:27:00 Curtis Hovey juju: milestone 2.0.1
2022-06-10 09:18:42 Joseph Phillips juju: importance High Low
2022-06-10 09:18:45 Joseph Phillips juju: status Triaged Won't Fix