Skip to content

Instantly share code, notes, and snippets.

@JarenGlover
Last active August 29, 2015 14:07
Show Gist options
  • Save JarenGlover/6d0e17d43effe0e1cfba to your computer and use it in GitHub Desktop.
Save JarenGlover/6d0e17d43effe0e1cfba to your computer and use it in GitHub Desktop.
CoreOS - OSx + Vagrant
6:13 pm est update
core@core-01 ~ $ curl -L http://127.0.0.1:4001/v1/keys/message -d value="Hello world"
{"errorCode":300,"message":"Raft Internal Error","index":1}
core@core-01 ~ $ /bin/etcd
[etcd] Sep 28 22:12:41.106 WARNING | Using the directory core-01.etcd as the etcd curation directory because a directory was not specified.
[etcd] Sep 28 22:12:41.107 INFO | The path core-01.etcd/log is in btrfs
[etcd] Sep 28 22:12:41.108 INFO | Set NOCOW to path core-01.etcd/log succeeded
[etcd] Sep 28 22:12:41.109 INFO | core-01 is starting a new cluster
[etcd] Sep 28 22:12:41.111 INFO | etcd server [name core-01, listen on :4001, advertised url http://127.0.0.1:4001]
[etcd] Sep 28 22:12:41.111 CRITICAL | Failed to create listener: listen tcp :4001: bind: address already in use
core@core-01 ~ $ curl -L http://127.0.0.1:4001/v1/keys/message -d value="Hello world"
{"errorCode":300,"message":"Raft Internal Error","index":1}
++++++
core@core-01 ~ $ fleetctl list-machines
E0928 22:00:20.265635 00700 client.go:200] Unable to get result for {Get /_coreos.com/fleet/machines}, retrying in 100ms
E0928 22:00:20.369882 00700 client.go:200] Unable to get result for {Get /_coreos.com/fleet/machines}, retrying in 200ms
E0928 22:00:20.575840 00700 client.go:200] Unable to get result for {Get /_coreos.com/fleet/machines}, retrying in 400ms
E0928 22:00:20.980446 00700 client.go:200] Unable to get result for {Get /_coreos.com/fleet/machines}, retrying in 800ms
E0928 22:00:21.786132 00700 client.go:200] Unable to get result for {Get /_coreos.com/fleet/machines}, retrying in 1s
E0928 22:00:22.795069 00700 client.go:200] Unable to get result for {Get /_coreos.com/fleet/machines}, retrying in 1s
E0928 22:00:23.263800 00700 fleetctl.go:151] error attempting to check latest fleet version in Registry: timeout reached
E0928 22:00:23.268870 00700 client.go:200] Unable to get result for {Get /_coreos.com/fleet/machines}, retrying in 100ms
E0928 22:00:23.374824 00700 client.go:200] Unable to get result for {Get /_coreos.com/fleet/machines}, retrying in 200ms
E0928 22:00:23.580876 00700 client.go:200] Unable to get result for {Get /_coreos.com/fleet/machines}, retrying in 400ms
E0928 22:00:23.985409 00700 client.go:200] Unable to get result for {Get /_coreos.com/fleet/machines}, retrying in 800ms
====
core@core-01 ~ $ systemctl status fleet
● fleet.service - fleet
Loaded: loaded (/usr/lib64/systemd/system/fleet.service; disabled)
Drop-In: /run/systemd/system/fleet.service.d
└─20-cloudinit.conf
Active: active (running) since Sun 2014-09-28 21:58:24 UTC; 7min ago
Main PID: 554 (fleet)
CGroup: /system.slice/fleet.service
└─554 /usr/bin/fleet
Sep 28 22:04:50 core-01 fleet[554]: I0928 22:04:50.018834 00554 client.go:284] Response 500 Internal Server Error from http://localhost:4001/ unusable
Sep 28 22:04:50 core-01 fleet[554]: E0928 22:04:50.018871 00554 client.go:200] Unable to get result for {Update /_coreos.com/fleet/machines/4518e0e1fd2c4e51a909306e9d6df2da/object}, retrying in 800ms
Sep 28 22:04:50 core-01 fleet[554]: I0928 22:04:50.314057 00554 client.go:284] Response 500 Internal Server Error from http://localhost:4001/ unusable
Sep 28 22:04:50 core-01 fleet[554]: E0928 22:04:50.314088 00554 client.go:200] Unable to get result for {Create /_coreos.com/fleet/machines/4518e0e1fd2c4e51a909306e9d6df2da/object}, retrying in 100ms
Sep 28 22:04:50 core-01 fleet[554]: I0928 22:04:50.416106 00554 client.go:284] Response 500 Internal Server Error from http://localhost:4001/ unusable
Sep 28 22:04:50 core-01 fleet[554]: E0928 22:04:50.416136 00554 client.go:200] Unable to get result for {Create /_coreos.com/fleet/machines/4518e0e1fd2c4e51a909306e9d6df2da/object}, retrying in 200ms
Sep 28 22:04:50 core-01 fleet[554]: I0928 22:04:50.618122 00554 client.go:284] Response 500 Internal Server Error from http://localhost:4001/ unusable
Sep 28 22:04:50 core-01 fleet[554]: E0928 22:04:50.618160 00554 client.go:200] Unable to get result for {Create /_coreos.com/fleet/machines/4518e0e1fd2c4e51a909306e9d6df2da/object}, retrying in 400ms
Sep 28 22:04:51 core-01 fleet[554]: I0928 22:04:51.020012 00554 client.go:284] Response 500 Internal Server Error from http://localhost:4001/ unusable
Sep 28 22:04:51 core-01 fleet[554]: E0928 22:04:51.020043 00554 client.go:200] Unable to get result for {Create /_coreos.com/fleet/machines/4518e0e1fd2c4e51a909306e9d6df2da/object}, retrying in 800ms
core@core-01 ~ $
==
core@core-01 ~ $ systemctl status etcd
● etcd.service - etcd
Loaded: loaded (/usr/lib64/systemd/system/etcd.service; disabled)
Drop-In: /run/systemd/system/etcd.service.d
└─20-cloudinit.conf
Active: active (running) since Sun 2014-09-28 21:58:24 UTC; 6min ago
Main PID: 550 (etcd)
CGroup: /system.slice/etcd.service
└─550 /usr/bin/etcd
Sep 28 21:58:26 core-01 etcd[550]: [etcd] Sep 28 21:58:26.470 INFO | etcd server [name 4518e0e1fd2c4e51a909306e9d6df2da, listen on :4001, advertised url http://172.17.8.101:4001]
Sep 28 21:58:26 core-01 etcd[550]: [etcd] Sep 28 21:58:26.471 INFO | peer server [name 4518e0e1fd2c4e51a909306e9d6df2da, listen on :7001, advertised url http://172.17.8.101:7001]
Sep 28 21:58:26 core-01 etcd[550]: [etcd] Sep 28 21:58:26.471 INFO | 4518e0e1fd2c4e51a909306e9d6df2da starting in peer mode
Sep 28 21:58:26 core-01 etcd[550]: [etcd] Sep 28 21:58:26.471 INFO | 4518e0e1fd2c4e51a909306e9d6df2da: state changed from 'initialized' to 'follower'.
Sep 28 21:58:26 core-01 etcd[550]: [etcd] Sep 28 21:58:26.855 INFO | 4518e0e1fd2c4e51a909306e9d6df2da: state changed from 'follower' to 'candidate'.
Sep 28 21:58:26 core-01 etcd[550]: [etcd] Sep 28 21:58:26.856 INFO | removed during cluster re-configuration
Sep 28 21:58:26 core-01 etcd[550]: [etcd] Sep 28 21:58:26.856 INFO | 4518e0e1fd2c4e51a909306e9d6df2da: state changed from 'candidate' to 'follower'.
Sep 28 21:58:26 core-01 etcd[550]: [etcd] Sep 28 21:58:26.856 INFO | 4518e0e1fd2c4e51a909306e9d6df2da: term #18446744073709551615 started.
Sep 28 21:58:26 core-01 etcd[550]: [etcd] Sep 28 21:58:26.856 INFO | 4518e0e1fd2c4e51a909306e9d6df2da: state changed from 'follower' to 'stopped'.
Sep 28 21:58:26 core-01 etcd[550]: [etcd] Sep 28 21:58:26.856 INFO | 4518e0e1fd2c4e51a909306e9d6df2da: state changed from 'stopped' to 'stopped'.
core@core-01 ~ $
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment