lp:~rogpeppe/juju-core/510-errorf-errgo

Created by Roger Peppe and last modified
Get this branch:
bzr branch lp:~rogpeppe/juju-core/510-errorf-errgo
Only Roger Peppe can upload to this branch. If you are Roger Peppe please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Roger Peppe
Project:
juju-core
Status:
Development

Recent revisions

2373. By Roger Peppe

gofmt

2372. By Roger Peppe

Error DeepEquals fixes

2371. By Roger Peppe

a couple of manual fixes

2370. By Roger Peppe

revert Trace

2369. By Roger Peppe

sortimports

2368. By Roger Peppe

goimports -w .

2367. By Roger Peppe

all: errfix -r errgo-new

2366. By Martin Packman

[r=gz] cmd: Clarify deprecation hint for --verbose flag

A user in #juju was just confused by the message saying
not to use verbose but to use show-log instead, as it's
a flag, --show-log, not a command show-log. The wording
change in this branch should make it more obvious.

https://codereview.appspot.com/68180045/

R=axwalk

2365. By John A Meinel

[r=fwereade] Add the version of the Juju agent as it starts up.

We have a lot of logs that we come across, and it would be helpful if the agent version was more obvious. You can dig it of a SetTools call somewhere later in the file, but it seems pretty obvious to see it at "agent started" time.

So this adds that line for Machine and Unit agents.

2364. By Andrew Wilkins

[r=axwalk],[bug=1281071],[bug=1284020] Implement rsyslog TLS support

This changes the rsyslog configuration
we generate to use TLS. We install the
rsyslog-gnutls package and generate a
new CA cert, server cert and key
specifically for rsyslog.

This completely changes the way rsyslog
configuration is managed. Now, instead
of writing at bootstrap time and having
an upgrade step, we have a worker that
writes the syslog config whenever syslog
parameters change. The state server will
generate certificates and propagate the
CA cert to other agents via environ config.

There are some other miscellaneous changes:
  - we now use reliable forwarding, as
    otherwise the machine agent and unit
    agent will restart rsyslog while
    log messages are buffered causing
    message loss
  - dedicated upgrades for rsyslog are
    redundant and removed. The new worker
    upgrades machine and unit agent rsyslog
    automatically.
  - syslog-port can now be changed, and must
    be changed to work around the privilege
    drop race in rsyslog 5.x (this is the
    sole motivation)
  - the local provider symlinks machine-0.log
    into /var/log/juju$namespace so that we
    do not need any configuration other than
    the existing namespace to determine log
    location

Fixes lp:1281071
Fixes lp:1284020

https://codereview.appspot.com/68930045/

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:~go-bot/juju-core/trunk
This branch contains Public information 
Everyone can see this information.

Subscribers