Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No error when scw exec fails #42

Closed
NoKriK opened this issue Jun 5, 2015 · 0 comments
Closed

No error when scw exec fails #42

NoKriK opened this issue Jun 5, 2015 · 0 comments
Assignees

Comments

@NoKriK
Copy link

NoKriK commented Jun 5, 2015

To reproduce: Try to exec something when the server is starting

➜  ~  scw create Ubuntu_Utopic_14_10
29ba8d8f-5b6c-49a8-8100-cef936aa336b
➜  ~  scw start 29ba8d8f-5b6c-49a8-8100-cef936aa336b
29ba8d8f-5b6c-49a8-8100-cef936aa336b
➜  ~  scw exec 29ba8d8f-5b6c-49a8-8100-cef936aa336b
usage: scw exec [OPTIONS] SERVER COMMAND [ARGS...]. See 'scw exec --help'.
➜  ~  scw exec 29ba8d8f-5b6c-49a8-8100-cef936aa336b ls
➜  ~  scw exec 29ba8d8f-5b6c-49a8-8100-cef936aa336b ls -l
➜  ~  scw exec 29ba8d8f-5b6c-49a8-8100-cef936aa336b ls -la
➜  ~  scw exec 29ba8d8f-5b6c-49a8-8100-cef936aa336b bash
root@determined-thompson:~#
root@determined-thompson:~#
root@determined-thompson:~# exit
➜  ~  scw exec 29ba8d8f-5b6c-49a8-8100-cef936aa336b ls -la
total 28
drwx------  4 root root 4096 Jun  5 14:52 .
drwxr-xr-x 21 root root 4096 Mar 17 15:18 ..
-rw-r--r--  1 root root 3106 Feb 20  2014 .bashrc
drwx------  2 root root 4096 Jun  5 14:52 .cache
-rw-r--r--  1 root root  140 Feb 20  2014 .profile
-rw-rw-r--  1 root root 1240 Mar 17 14:45 .s3cfg.sample
drwx------  2 root root 4096 Jun  5 14:51 .ssh
➜  ~  scw exec 29ba8d8f-5b6c-49a8-8100-cef936aa336b ls -la
total 28
drwx------  4 root root 4096 Jun  5 14:52 .
drwxr-xr-x 21 root root 4096 Mar 17 15:18 ..
-rw-r--r--  1 root root 3106 Feb 20  2014 .bashrc
drwx------  2 root root 4096 Jun  5 14:52 .cache
-rw-r--r--  1 root root  140 Feb 20  2014 .profile
-rw-rw-r--  1 root root 1240 Mar 17 14:45 .s3cfg.sample
drwx------  2 root root 4096 Jun  5 14:51 .ssh
➜  ~  scw exec 29ba8d8f-5b6c-49a8-8100-cef936aa336b bash
root@determined-thompson:~#
@moul moul self-assigned this Jun 5, 2015
@moul moul closed this as completed in 6958660 Jun 5, 2015
clement-gilbert pushed a commit to clement-gilbert/scaleway-cli that referenced this issue Mar 3, 2022
breaks if the server is in a stopped state, in which case the
information is not available.

fixes scaleway#42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants