Skip to content
This repository has been archived by the owner on Jul 1, 2023. It is now read-only.

Dmitri/sanity tests #67

Merged
merged 42 commits into from
Jan 27, 2016
Merged

Dmitri/sanity tests #67

merged 42 commits into from
Jan 27, 2016

Conversation

a-palchikov
Copy link
Contributor

This is just to start the review - some things are still moving - PR contains a fair share of FIXMEs.
I started with the --peers flag and implemented it as a list but this will probably be problematic and easier to use if it took a comma-separated value - todo.
Otherwise, the serf has been factored out - this is really a good idea.

  - component statuses
  - etcd
  - systemd/monit
  - added named reporter to not have to specify checker name in
    Checker.Check
  - removed Context in favour of separate two arguments: reporter /
    config
Moved systemd/monit checkers from lib/monitoring -> agent/monitoring.
available).
Extended monitoring.Reporter interface with a method that accepts an
monitoring.Event.
 - agent is concerned with serf integration / defining health interfaces
 - monitoring package implements the health checkers for agent
Removed serf agent IPC in favour of grpc-based RPC mechanism.
encoding/decoding.
Completed status query to properly report `degraded` status for both
nodes and whole cluster.
Changed status query to report `running` services for completeness (if
the output is complete, `failed` states can be filtered but not
the other way around).
useful external utilization of serf by unnecessarily coupling it to planet.
Revisited the agent to use serf RPC for events and membership.
Rewrote query to use agent RPC to request status of other members.
 - serf and its dependencies
 - sqlx
Merged with master.
Fixed a passwd/group host->container modification problem when the
container passwd/group files were appended to instead of being
rewritten.
Extended planet-agent systemd unit file to include command line for
health agent.

Conflicts:
	Godeps/Godeps.json
	Godeps/_workspace/src/github.com/pborman/uuid/sql.go
	Godeps/_workspace/src/golang.org/x/net/context/context.go
	build.assets/makefiles/common-docker.mk
	build.assets/makefiles/master/k8s-master/k8s-e2e.mk
	tool/planet/agent.go
	tool/planet/cfg.go
	tool/planet/main.go
	tool/planet/start.go
status reports when both cluster-level as well local status queries are
made.
Changed planet-agent / serf systemd unit files to explicitly bind to
public-ip.
localhost communiction while still being able to inter-communicate
within cluster.
Fixed (hopefully, until a proper go-systemd update) systemd checker
leaking systemd dbus.Conn instances.
Moved default pretty-printing to an option for `planet status` to be
backwards-compatible with the previous command line intreface.
Fixed the unconditional DNS bootstrap -> only bootstrap on current master.
healthy cluster status with unhealthy nodes and added extra test case.
Removed old status function that delegated to another planet instance
in favour of agent RPC call.
@a-palchikov a-palchikov merged commit d21500a into master Jan 27, 2016
@a-palchikov a-palchikov deleted the dmitri/sanity-tests branch January 27, 2016 21:26
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant