Upgrade fails moving syslog config files "invalid argument"

Bug #1468815 reported by Martin Packman
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
juju-core
Fix Released
High
Unassigned
1.24
Fix Released
Critical
Eric Snow
1.25
Fix Released
High
Unassigned

Bug Description

The fix for bug 1464335 which changed the rsyslog upgrade steps breaks upgrade.

<http://reports.vapour.ws/releases/2814/job/aws-upgrade-trusty-amd64/attempt/2165>

machines:
  "0":
    agent-state: error
    agent-state-info: |-
      upgrade to 1.24.2 failed (giving up): move syslog config from LogDir to DataDir: error(s) while moving old syslog config files: invalid argument
      invalid argument
      invalid argument
      invalid argument
      invalid argument
    agent-version: 1.24.2

From machine-0.log:

2015-06-25 03:35:40 INFO juju.upgrade upgrade.go:133 running upgrade step: move syslog config from LogDir to DataDir
2015-06-25 03:35:40 DEBUG juju.upgrade steps124.go:98 Copying "/var/log/juju/ca-cert.pem" to "/etc/juju/ca-cert.pem"
2015-06-25 03:35:40 DEBUG juju.upgrade steps124.go:98 Copying "/var/log/juju/rsyslog-cert.pem" to "/etc/juju/rsyslog-cert.pem"
2015-06-25 03:35:40 DEBUG juju.upgrade steps124.go:98 Copying "/var/log/juju/rsyslog-key.pem" to "/etc/juju/rsyslog-key.pem"
2015-06-25 03:35:40 DEBUG juju.upgrade steps124.go:98 Copying "/var/log/juju/logrotate.conf" to "/etc/juju/logrotate.conf"
2015-06-25 03:35:40 DEBUG juju.upgrade steps124.go:98 Copying "/var/log/juju/logrotate.run" to "/etc/juju/logrotate.run"
2015-06-25 03:35:40 ERROR juju.upgrade upgrade.go:135 upgrade step "move syslog config from LogDir to DataDir" failed: error(s) while moving old syslog config files: invalid argument
invalid argument
invalid argument
invalid argument
invalid argument
2015-06-25 03:35:40 ERROR juju.cmd.jujud upgrade.go:359 upgrade from 1.23.3 to 1.24.2 for "machine-0" failed (will retry): move syslog config from LogDir to DataDir: error(s) while moving old syslog config files: invalid argument
invalid argument
invalid argument
invalid argument
invalid argument

Bad revision is 70d9e74126b93ce4c837e277a2dd96fd1674bf7f:

<http://reviews.vapour.ws/r/1963/>
<https://github.com/juju/juju/pull/2591>
<>

Revision history for this message
Eric Snow (ericsnowcurrently) wrote :
no longer affects: juju-core
Changed in juju-core:
milestone: none → 1.25.0
status: New → Triaged
importance: Undecided → Critical
Curtis Hovey (sinzui)
Changed in juju-core:
importance: Critical → High
Curtis Hovey (sinzui)
Changed in juju-core:
milestone: 1.25-alpha1 → 1.25-beta1
Revision history for this message
Eric Snow (ericsnowcurrently) wrote :

I'm pretty sure this has been complete resolved through other bugs reports.

Changed in juju-core:
milestone: 1.25-beta1 → 1.26-alpha1
Revision history for this message
Eric Snow (ericsnowcurrently) wrote :

This has been resolved via other bug fixes.

Changed in juju-core:
status: Triaged → 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.