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

regression on scw create with multiple volumes #142

Closed
moul opened this issue Aug 28, 2015 · 1 comment
Closed

regression on scw create with multiple volumes #142

moul opened this issue Aug 28, 2015 · 1 comment
Assignees

Comments

@moul
Copy link
Contributor

moul commented Aug 28, 2015

v1.3.0

$ scw -D create --bootscript=rescue --volume=5G --env="AUTHORIZED_KEY=coucou" --name=coucou 1GB
DEBU[0000] POST https://api.scaleway.com/volumes payload={"name":"5G","size":5000000000,"volume_type":"l_ssd","organization":"00000000-0000-1000-0000-000000000000"}
DEBU[0000] POST https://api.scaleway.com/volumes payload={"name":"1GB","size":1000000000,"volume_type":"l_ssd","organization":"00000000-0000-1000-0000-000000000000"}
DEBU[0001] POST https://api.scaleway.com/servers payload={"name":"coucou","volumes":{"0":"11111111-1111-1111-1111-111111111111","1":"22222222-2222-1222-2222-222222222222"},"bootscript":"33333333-3333-1333-3333-333333333333","tags":["AUTHORIZED_KEY=coucou"],"organization":"00000000-0000-1000-0000-000000000000"}
44444444-4444-1444-4444-444444444444

v1.4.0

scw -D create --bootscript=rescue --volume=5G --env="AUTHORIZED_KEY=coucou" --name=coucou 1GB
DEBU[0000] curl -X POST -d "{\"name\":\"1GB\",\"size\":1000000000,\"volume_type\":\"l_ssd\",\"organization\":\"00000000-0000-1000-0000-000000000000\"}" -H "X-Auth-Token: 00000000-0000-0000-0000-000000000000" -H "Content-Type: application/json" https://api.scaleway.com/volumes
DEBU[0001] curl -X POST -d "{\"name\":\"coucou\",\"volumes\":{\"0\":\"11111111-1111-1111-1111-111111111111\"},\"dynamic_ip_required\":true,\"bootscript\":\"22222222-2222-1222-2222-222222222222\",\"organization\":\"00000000-0000-1000-0000-000000000000\"}" -H "X-Auth-Token: 00000000-0000-0000-0000-000000000000" -H "Content-Type: application/json" https://api.scaleway.com/servers
33333333-3333-1333-3333-333333333333
@moul moul added the bug label Aug 28, 2015
@moul moul self-assigned this Aug 28, 2015
moul added a commit to moul/scaleway-cli that referenced this issue Aug 28, 2015
moul added a commit that referenced this issue Aug 28, 2015
Fixed regression on scw create (#142)
@moul
Copy link
Contributor Author

moul commented Aug 28, 2015

Fixed, now we need to add a unit test for this

@moul moul closed this as completed Mar 17, 2016
@moul moul removed the bug label Mar 17, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant