Josh Curl
c0c8179813
ros config get
shows default values
2016-03-31 21:31:46 -07:00
Darren Shepherd
e53155d023
Merge pull request #784 from joshwget/up-to-date-upgrade-warning
...
Warn if upgrading to the currently running version
2016-03-31 11:51:52 -07:00
Darren Shepherd
bd13cb4f00
Merge pull request #793 from joshwget/stage-when-enabled
...
Stage services when they are enabled
2016-03-31 11:49:24 -07:00
Darren Shepherd
e483ade336
Merge pull request #832 from joshwget/local-upgrade-image
...
Only pull upgrade image if not found locally
2016-03-31 11:45:30 -07:00
Darren Shepherd
d5b33086e6
Merge pull request #840 from joshwget/delete-container-before-upgrade
...
Delete previous upgrade container before upgrading
2016-03-31 11:44:09 -07:00
Josh Curl
047884d4aa
Delete previous upgrade container before upgrading
2016-03-29 11:53:40 -07:00
Ivan Mikushin
ee9c21c5f1
Use docker images for the current architecture (vs just for amd64)
...
Fix #828 , #835
2016-03-29 10:29:56 -07:00
Josh Curl
b965a2c0e3
Only pull upgrade image if not found locally
2016-03-28 11:27:27 -07:00
Ivan Mikushin
5a8d0e7f34
Add --append to ros os upgrade
to pass kernel args for --kexec
2016-03-22 12:16:06 -07:00
Wang Long
6617eab12f
print proper tips when running ros
or system-docker
without using sudo
...
`ros` and `system-docker` command requires user to be the root user,
when we running them without using sudo, it will print the follow:
[rancher@rancher ~]$ ros os list
ERRO[0000] Failed to read /var/lib/rancher/conf/cloud-config.d: open
/var/lib/rancher/conf/cloud-config.d: permission denied
ERRO[0000] Error reading config files err=open
/var/lib/rancher/conf/cloud-config.yml: permission denied
files=[/var/lib/rancher/conf/cloud-config.yml]
ERRO[0000] Failed [1/4] 25%
ERRO[0000] Failed to load config
......
......
FATA[0000] open /var/lib/rancher/conf/cloud-config.yml: permission
denied
and
[rancher@rancher ~]$ system-docker restart docker
Failed to kill container(docker): Cannot connect to the Docker daemon.
Is the docker daemon running on this host?
this patch make the tips more clear and simple.
Signed-off-by: Wang Long <long.wanglong@huawei.com>
2016-03-16 17:50:54 +08:00
Josh Curl
2f10f9052a
Stage services when they are enabled
2016-02-29 19:29:07 -08:00
Josh Curl
9d46ab4df8
Kexec upgrade
2016-02-27 15:30:53 -08:00
Josh Curl
82ec567d52
Warn if upgrading to the currently running version
2016-02-27 09:00:50 -08:00
Darren Shepherd
c8f0d7cdaf
Merge pull request #779 from imikushin/dry
...
generate os-config.yml
2016-02-26 19:00:51 -07:00
Ivan Mikushin
8b72377a3c
generate os-config.yml
2016-02-26 17:46:55 -08:00
Josh Curl
6f94672044
Only run upgrade container once
2016-02-26 14:29:35 -08:00
Darren Shepherd
c7cbb1660a
Merge pull request #782 from joshwget/clean-up-upgrade-container
...
Clean up upgrade container
2016-02-26 15:11:54 -07:00
Josh Curl
2fb203997d
Clean up upgrade container
2016-02-25 14:02:58 -08:00
Josh Curl
99450ccdd4
Rename SELinux tools image
2016-02-23 08:59:58 -08:00
Josh Curl
d1abe590dd
SELinux tools command
2016-02-22 21:35:15 -08:00
Darren Shepherd
28bd8b0ccb
Fix ros dev panic
2016-02-04 09:25:36 -07:00
Ivan Mikushin
3e44413aa9
Default dirs for TLS cert generation
...
/etc/docker/tls - for server
/home/rancher/.docker - for client
2015-12-11 13:41:19 +05:00
Darren Shepherd
23c8f5eaec
Merge pull request #678 from imikushin/ros-tls-gen
...
fix `ros tls generate`
2015-12-09 20:40:48 -07:00
Ivan Mikushin
b757709253
fix ros tls generate
...
`ros tls generate -s` used to leave empty strings in rancher.docker.{ca_cert,ca_key} config keys, so the documented setup workflow would not work.
2015-12-08 18:12:01 +05:00
Ivan Mikushin
5a363ab97d
migrate to upstream libcompose in one and a half go
2015-12-07 18:17:57 +05:00
Wang Long
9e15059789
Replace rancherio with rancher
...
Signed-off-by: Wang Long <long.wanglong@huawei.com>
2015-10-12 19:50:57 +08:00
Darren Shepherd
2966ef8e5d
Fix loading network files from ros service
compose commands
2015-10-02 00:57:13 -07:00
Darren Shepherd
397b2a9822
Move ros compose to ros service sub commands
2015-10-01 15:48:19 -07:00
Ivan Mikushin
338abb758f
Reshuffle cloud-config
...
Read files cloud-config.d in alphanumeric order, then cloud-config.yml
`ros config` writes to cloud-config.yml (and cloud-config.d/private.yml - only private keys)
Add (c *CloudConfig) Save() method, use it to save the changed config
Read and apply metadata as part of LoadConfig()
Simplify ros config export logic
2015-09-30 23:59:22 +05:00
Darren Shepherd
e25c59f1ab
Create ros compose
command
2015-09-22 11:17:15 -07:00
Ivan Mikushin
5934852e80
rename rancher.user_docker to rancher.docker in cloud-config
2015-09-14 11:50:39 +05:00
Darren Shepherd
72be1d11e6
Revert "Revert "Storage""
...
This reverts commit 7b2bf93271
.
2015-08-27 12:24:26 -07:00
Ivan Mikushin
7b2bf93271
Revert "Storage"
2015-08-27 18:33:26 +05:00
Ivan Mikushin
94269475c2
Merge pull request #529 from ibuildthecloud/storage
...
Storage
2015-08-27 17:24:25 +05:00
Darren Shepherd
ab6eb58167
Run user docker with a configurable storage context
2015-08-27 02:52:12 -07:00
Ivan Mikushin
e486b7e218
ros install
2015-08-25 17:20:40 +05:00
Ivan Mikushin
642c557c73
do not save/use bad cloud-config
2015-08-20 19:20:51 +05:00
Ivan Mikushin
aa1af05d46
do not panic
2015-08-20 18:06:48 +05:00
Darren Shepherd
9d76b79ac3
Refactor to use libcompose
2015-08-06 00:05:25 -07:00
Jan Broer
2b1bf67c86
Fixes runtime error when ros env
is called without argument(s)
2015-08-06 01:11:22 +02:00
Ivan Mikushin
7ad60c07bd
make cloud-config the configuration mechanism for RancherOS
2015-08-05 19:48:25 +05:00
Ivan Mikushin
d33698d17b
move auto-formatter drive selection logic to os-autoformat container
...
and get rid of:
- machine-rancheros.iso,
- special case in build-images,
- some bootstrap.go code
2015-07-22 17:47:24 +05:00
Ivan Mikushin
b7b52c65a1
ros dev spec
...
find device using blkid spec
2015-07-21 13:34:55 +05:00
Ivan Mikushin
4bf30683e7
build based on os-config.yml
...
WIP: build scripts
2015-06-29 12:03:41 +05:00
Ivan Mikushin
dff70f8362
latest rancher-compose, default.go -> os-config.yml
...
also, gofmt
2015-06-29 12:00:41 +05:00
wlan0
a748fde371
Fixes #209 : ensure that service is in /var/lib/rancher/conf if specified through a file
2015-05-04 13:28:47 -07:00
Darren Shepherd
4b20a83579
Merge pull request #267 from wlan0/bugfix3
...
add ability to delete dynamically added services
2015-05-06 14:21:01 -07:00
wlan0
486cd66d08
Fixes #151 : Better error messages for incorrect use of options
2015-05-03 22:43:38 -07:00
Darren Shepherd
420d3290c8
Add flag to not reboot after OS upgrade
2015-05-02 23:07:01 -07:00
wlan0
dcc89dfbc6
remove default directory from tls generate cmd
2015-04-29 04:38:43 -07:00
Ivan Mikushin
d62eb3de5d
rancherctl env subcommand
...
Usage:
rancherctl env <command>
Executes <command> with environment from rancher.environment. Real env vars override those from rancher.environment.
2015-04-29 15:43:06 +05:00
wlan0
1c4765f3ba
add ability to delete dynamically added services
2015-04-29 03:32:48 -07:00
Darren Shepherd
ae0c42cef3
Fix broken OS upgrade
2015-04-16 12:04:14 -07:00
Darren Shepherd
0b5eb352ba
Services in compose format
2015-04-15 23:17:01 -07:00
Darren Shepherd
b1c519ebe0
Force os-installer container to use json-file logger
2015-04-15 23:17:01 -07:00
Darren Shepherd
be8fa8e5b7
Services as compose format
2015-04-15 23:17:00 -07:00
Darren Shepherd
0abe9f995a
Merge pull request #163 from deniseschannon/master
...
Update os.go
2015-04-15 02:42:38 -07:00
Denise
4c37d94aab
Update os.go
2015-04-13 11:46:38 -07:00
Dan Arnould
3bc8f95639
Add 'rancherctl os version' command
2015-04-11 16:40:42 +01:00
Darren Shepherd
b6d3b1bccb
Fix rancherctl service enable/list
2015-04-10 07:28:28 -07:00
Darren Shepherd
bedb10c85e
Rename addon to service
2015-04-06 07:28:17 -07:00
Darren Shepherd
c7ae14cc13
Refactor configuration to compose syntax
2015-04-04 05:42:48 -07:00
Darren Shepherd
0aeda8d1b0
Add prompting to reboot
2015-03-20 11:37:28 -07:00
Darren Shepherd
932709e3ba
Add logging and -f to upgrade
2015-03-19 14:58:50 -07:00
Darren Shepherd
5877e586b8
Refactor default configuration
2015-03-18 06:45:22 -07:00
Darren Shepherd
63a1c50f27
Refactor TLS command
2015-03-18 06:45:22 -07:00
Darren Shepherd
bffd9865ea
OS upgrade and list
2015-03-18 06:45:21 -07:00
Darren Shepherd
444e8cf9a2
Refactor tls command
2015-03-18 06:45:21 -07:00
Darren Shepherd
ac2459ba37
Refactor configuration
2015-03-18 06:45:21 -07:00
Darren Shepherd
0f8eb3e21d
Fix typos in addon help messages
2015-03-18 06:45:21 -07:00
Darren Shepherd
1c5ac9f410
gofmt
2015-02-23 12:00:33 -07:00
Darren Shepherd
c0cee91cd1
Add addon to rancherctl
2015-02-22 20:59:44 -07:00
Darren
6800fdfb67
Merge pull request #31 from sidharthamani/master
...
add upgrade framework for rancherctl os command
2015-02-21 19:40:44 -07:00
sidharthamani
0b31dc7e3b
move tlsconf to rancherctl
2015-02-21 13:42:42 -08:00
sidharthamani
594db8fd8c
add upgrade framework for rancherctl os command
2015-02-21 12:21:56 -08:00
Darren Shepherd
d63c875d13
Don't print reboot message
2015-02-21 00:34:01 -07:00
Darren Shepherd
e8abf31e94
Check that docker wait exits with 0
2015-02-19 14:16:26 -07:00
Darren Shepherd
ace2fa1f65
gofmt change
2015-02-19 13:47:06 -07:00
sidharthamani
fb237dbebe
add cloud-init support
2015-02-18 19:46:22 -08:00
Darren Shepherd
529ce4336d
Implement rancherctl config import
2015-02-17 18:42:26 -07:00
Darren Shepherd
d26cf6485c
Implement rancherctl config set
2015-02-17 17:01:38 -07:00
Darren Shepherd
31201786cd
Cleanup rancherctl config get
code
2015-02-17 17:01:38 -07:00
Darren Shepherd
e877d5804f
Implement rancherctl config get
2015-02-17 15:32:15 -07:00
Darren Shepherd
d3b42ca16c
Implement config export
2015-02-17 14:31:37 -07:00