From 073b35fc16535bcbfa8a4b8817efdbc18f7ab546 Mon Sep 17 00:00:00 2001 From: jawher Date: Tue, 5 May 2020 15:56:17 +0200 Subject: [PATCH] Check IP --- .../namespaces/instance/v1/custom_server.go | 18 +- .../instance/v1/custom_server_test.go | 32 +- ...-server-terminate-with-block.cassette.yaml | 1929 +++++++++++++++++ ...server-terminate-with-block.stderr.golden} | 0 ...server-terminate-with-block.stdout.golden} | 0 ...st-server-terminate-with-ip.cassette.yaml} | 282 +-- ...est-server-terminate-with-ip.stderr.golden | 1 + ...st-server-terminate-with-ip.stdout.golden} | 0 ...rver-terminate-without-block.cassette.yaml | 586 +++-- ...rver-terminate-without-block.stderr.golden | 2 +- ...server-terminate-without-ip.cassette.yaml} | 375 ++-- ...-server-terminate-without-ip.stdout.golden | 1 + 12 files changed, 2702 insertions(+), 524 deletions(-) create mode 100644 internal/namespaces/instance/v1/testdata/test-server-terminate-with-block.cassette.yaml rename internal/namespaces/instance/v1/testdata/{test-server-terminate-with-ips.stderr.golden => test-server-terminate-with-block.stderr.golden} (100%) rename internal/namespaces/instance/v1/testdata/{test-server-terminate-with-ips.stdout.golden => test-server-terminate-with-block.stdout.golden} (100%) rename internal/namespaces/instance/v1/testdata/{test-server-terminate-without-ips.cassette.yaml => test-server-terminate-with-ip.cassette.yaml} (93%) create mode 100644 internal/namespaces/instance/v1/testdata/test-server-terminate-with-ip.stderr.golden rename internal/namespaces/instance/v1/testdata/{test-server-terminate-without-ips.stdout.golden => test-server-terminate-with-ip.stdout.golden} (100%) rename internal/namespaces/instance/v1/testdata/{test-server-terminate-with-ips.cassette.yaml => test-server-terminate-without-ip.cassette.yaml} (89%) create mode 100644 internal/namespaces/instance/v1/testdata/test-server-terminate-without-ip.stdout.golden diff --git a/internal/namespaces/instance/v1/custom_server.go b/internal/namespaces/instance/v1/custom_server.go index 69b70dda29..91aa0b8d83 100644 --- a/internal/namespaces/instance/v1/custom_server.go +++ b/internal/namespaces/instance/v1/custom_server.go @@ -910,12 +910,12 @@ func serverTerminateCommand() *core.Command { return nil, err } - preserveBlockVolumes, err := shouldPreserveBlockVolumes(server, terminateServerArgs.WithBlock) + deleteBlockVolumes, err := shouldDeleteBlockVolumes(server, terminateServerArgs.WithBlock) if err != nil { return nil, err } - if preserveBlockVolumes { + if !deleteBlockVolumes { // detach block storage volumes before terminating the instance to preserve them var multiErr error for _, volume := range server.Server.Volumes { @@ -949,11 +949,13 @@ func serverTerminateCommand() *core.Command { var multiErr error if terminateServerArgs.WithIP && server.Server.PublicIP != nil && !server.Server.PublicIP.Dynamic { + fmt.Printf("delete IP...\n") err = api.DeleteIP(&instance.DeleteIPRequest{ Zone: terminateServerArgs.Zone, IP: server.Server.PublicIP.ID, }) if err != nil { + fmt.Printf("failed to delete iop: %+v\n", err) multiErr = multierror.Append(multiErr, err) } else { _, _ = interactive.Printf("successfully deleted ip %s\n", server.Server.PublicIP.Address.String()) @@ -965,23 +967,23 @@ func serverTerminateCommand() *core.Command { } } -func shouldPreserveBlockVolumes(server *instance.GetServerResponse, terminateWithBlock withBlock) (bool, error) { +func shouldDeleteBlockVolumes(server *instance.GetServerResponse, terminateWithBlock withBlock) (bool, error) { switch terminateWithBlock { case withBlockTrue: - return false, nil - case withBlockFalse: return true, nil + case withBlockFalse: + return false, nil case withBlockPrompt: + // Only prompt user if at least one block volume is attached to the instance for _, volume := range server.Server.Volumes { if volume.VolumeType != instance.VolumeTypeBSSD { continue } - deleteVolumes, err := interactive.PromptBoolWithConfig(&interactive.PromptBoolConfig{ - Prompt: "Do you want to also delete the block volumes attached to this instance ?", + return interactive.PromptBoolWithConfig(&interactive.PromptBoolConfig{ + Prompt: "Do you also want to delete block volumes attached to this instance ?", DefaultValue: false, }) - return !deleteVolumes, err } return false, nil default: diff --git a/internal/namespaces/instance/v1/custom_server_test.go b/internal/namespaces/instance/v1/custom_server_test.go index 0c7f9c7f13..50aabf3747 100644 --- a/internal/namespaces/instance/v1/custom_server_test.go +++ b/internal/namespaces/instance/v1/custom_server_test.go @@ -284,25 +284,42 @@ func Test_ServerDelete(t *testing.T) { func Test_ServerTerminate(t *testing.T) { interactive.IsInteractive = true - t.Run("without IPs", core.Test(&core.TestConfig{ + t.Run("without IP", core.Test(&core.TestConfig{ Commands: GetCommands(), BeforeFunc: core.ExecStoreBeforeCmd("Server", "scw instance server create image=ubuntu-bionic -w"), Cmd: `scw instance server terminate {{ .Server.ID }}`, Check: core.TestCheckCombine( core.TestCheckGolden(), core.TestCheckExitCode(0), + func(t *testing.T, ctx *core.CheckFuncCtx) { + api := instance.NewAPI(ctx.Client) + server := ctx.Meta["Server"].(*instance.Server) + _, err := api.GetIP(&instance.GetIPRequest{ + IP: server.PublicIP.ID, + }) + assert.NoError(t, err) + }, ), AfterFunc: core.ExecAfterCmd(`scw instance ip delete {{ index .Server.PublicIP.ID }}`), DisableParallel: true, })) - t.Run("with IPs", core.Test(&core.TestConfig{ + t.Run("with IP", core.Test(&core.TestConfig{ Commands: GetCommands(), BeforeFunc: core.ExecStoreBeforeCmd("Server", "scw instance server create image=ubuntu-bionic -w"), Cmd: `scw instance server terminate {{ .Server.ID }} with-ip=true`, Check: core.TestCheckCombine( core.TestCheckGolden(), core.TestCheckExitCode(0), + func(t *testing.T, ctx *core.CheckFuncCtx) { + api := instance.NewAPI(ctx.Client) + server := ctx.Meta["Server"].(*instance.Server) + _, err := api.GetIP(&instance.GetIPRequest{ + IP: server.PublicIP.ID, + }) + require.IsType(t, &scw.ResponseError{}, err) + assert.Equal(t, 403, err.(*scw.ResponseError).StatusCode) + }, ), DisableParallel: true, })) @@ -319,6 +336,17 @@ func Test_ServerTerminate(t *testing.T) { DisableParallel: true, })) + t.Run("with block", core.Test(&core.TestConfig{ + Commands: GetCommands(), + BeforeFunc: core.ExecStoreBeforeCmd("Server", "scw instance server create image=ubuntu-bionic additional-volumes.0=block:10G -w"), + Cmd: `scw instance server terminate {{ .Server.ID }} with-ip=true with-block=true`, + Check: core.TestCheckCombine( + core.TestCheckGolden(), + core.TestCheckExitCode(0), + ), + DisableParallel: true, + })) + interactive.IsInteractive = false } diff --git a/internal/namespaces/instance/v1/testdata/test-server-terminate-with-block.cassette.yaml b/internal/namespaces/instance/v1/testdata/test-server-terminate-with-block.cassette.yaml new file mode 100644 index 0000000000..53356f2e23 --- /dev/null +++ b/internal/namespaces/instance/v1/testdata/test-server-terminate-with-block.cassette.yaml @@ -0,0 +1,1929 @@ +--- +version: 1 +interactions: +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14.2; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/marketplace/v1/images?page=1 + method: GET + response: + body: '{"images": [{"valid_until": null, "description": "Ubuntu is the ideal distribution + for scale-out computing, Ubuntu Server helps you make the most of your infrastructure.", + "creation_date": "2018-04-27T14:07:25.221998+00:00", "logo": "https://marketplace-logos.s3.nl-ams.scw.cloud/ubuntu.png", + "id": "b381b2bf-804a-4b12-91f6-9f4ff273462f", "categories": ["distribution"], + "name": "Ubuntu Bionic", "modification_date": "2019-03-26T14:00:51.745705+00:00", + "versions": [{"creation_date": "2019-03-05T16:39:34.893732+00:00", "modification_date": + "2019-03-05T16:39:34.893732+00:00", "id": "e640c621-305b-45f5-975f-a3f80c1cec66", + "local_images": [{"compatible_commercial_types": ["GP1-XS", "DEV1-M", "DEV1-L", + "START1-XS", "DEV1-S", "RENDER-S", "GP1-XL", "C2S", "X64-15GB", "DEV1-XL", "C2L", + "C2M", "VC1S", "START1-S", "X64-30GB", "GP1-L", "GP1-M", "GP1-S", "START1-L", + "START1-M", "VC1L", "VC1M", "X64-120GB", "X64-60GB"], "arch": "x86_64", "id": + "f974feac-abae-4365-b988-8ec7d1cec10d", "zone": "par1"}, {"compatible_commercial_types": + ["C1"], "arch": "arm", "id": "f63fe42a-900f-4a5e-ba99-ab0e59469b7e", "zone": + "par1"}, {"compatible_commercial_types": ["ARM64-8GB", "ARM64-2GB", "ARM64-32GB", + "ARM64-128GB", "ARM64-4GB", "ARM64-64GB", "ARM64-16GB"], "arch": "arm64", "id": + "b4bdbee1-e1f1-4436-8de4-bdb1b6ba4803", "zone": "par1"}, {"compatible_commercial_types": + ["GP1-XS", "DEV1-M", "DEV1-L", "START1-XS", "DEV1-S", "GP1-XL", "C2S", "X64-15GB", + "DEV1-XL", "C2L", "C2M", "VC1S", "START1-S", "X64-30GB", "GP1-L", "GP1-M", "GP1-S", + "START1-L", "START1-M", "VC1L", "VC1M", "X64-120GB", "X64-60GB"], "arch": "x86_64", + "id": "9444d178-2285-4842-ac35-5e86eda8da91", "zone": "ams1"}, {"compatible_commercial_types": + [], "arch": "arm", "id": "a5076337-734f-4b99-95ed-9a5bc73b9b09", "zone": "ams1"}, + {"compatible_commercial_types": ["ARM64-4GB", "ARM64-128GB", "ARM64-16GB", "ARM64-32GB", + "ARM64-8GB", "ARM64-2GB", "ARM64-64GB"], "arch": "arm64", "id": "7663c62b-40e3-4e6b-a835-70723ec2050b", + "zone": "ams1"}], "name": "2019-03-05T16:39:34.377275"}], "current_public_version": + "e640c621-305b-45f5-975f-a3f80c1cec66", "label": "ubuntu_bionic", "organization": + {"id": "6d6b64e5-6bad-4cc6-b7ef-2030884c3e11", "name": "mtouron@ocs.online.net"}}, + {"valid_until": null, "description": "Ubuntu is the ideal distribution for scale-out + computing, Ubuntu Server helps you make the most of your infrastructure.", "creation_date": + "2016-04-22T13:27:33.769932+00:00", "logo": "https://marketplace-logos.s3.nl-ams.scw.cloud/ubuntu.png", + "id": "acf93867-88d9-40ee-99ea-6b2bb1ee8f0c", "categories": ["distribution"], + "name": "Ubuntu Xenial", "modification_date": "2020-01-20T09:04:40.661026+00:00", + "versions": [{"creation_date": "2020-01-17T14:31:06.041118+00:00", "modification_date": + "2020-01-17T14:31:06.041118+00:00", "id": "24cd2ef0-bbc5-4b1a-8b08-99f617eab446", + "local_images": [{"compatible_commercial_types": ["GP1-XS", "DEV1-M", "DEV1-L", + "START1-XS", "DEV1-S", "RENDER-S", "GP1-XL", "C2S", "X64-15GB", "DEV1-XL", "C2L", + "C2M", "VC1S", "START1-S", "X64-30GB", "GP1-L", "GP1-M", "GP1-S", "START1-L", + "START1-M", "VC1L", "VC1M", "X64-120GB", "X64-60GB"], "arch": "x86_64", "id": + "3d6804e0-086e-4a06-8124-7240a657668d", "zone": "par1"}, {"compatible_commercial_types": + ["ARM64-8GB", "ARM64-2GB", "ARM64-32GB", "ARM64-128GB", "ARM64-4GB", "ARM64-64GB", + "ARM64-16GB"], "arch": "arm64", "id": "245e5cea-a9b4-4a36-9055-27185afe8690", + "zone": "ams1"}, {"compatible_commercial_types": [], "arch": "arm", "id": "c40fbabc-efc8-4e04-91ea-5e1e22daece1", + "zone": "ams1"}, {"compatible_commercial_types": ["ARM64-8GB", "ARM64-2GB", + "ARM64-32GB", "ARM64-128GB", "ARM64-4GB", "ARM64-64GB", "ARM64-16GB"], "arch": + "arm64", "id": "bd859e89-fb2d-466a-a546-383630a1ead1", "zone": "par1"}, {"compatible_commercial_types": + ["GP1-XS", "DEV1-M", "DEV1-L", "START1-XS", "DEV1-S", "GP1-XL", "C2S", "X64-15GB", + "DEV1-XL", "C2L", "C2M", "VC1S", "START1-S", "X64-30GB", "GP1-L", "GP1-M", "GP1-S", + "START1-L", "START1-M", "VC1L", "VC1M", "X64-120GB", "X64-60GB"], "arch": "x86_64", + "id": "6c34a3f3-5e8a-455b-9bc2-f07c4c35bf89", "zone": "ams1"}, {"compatible_commercial_types": + ["C1"], "arch": "arm", "id": "a5f6bb77-3d64-4f7f-abe0-72492b1bc020", "zone": + "par1"}], "name": "2020-01-17T14:31:06.031136"}], "current_public_version": + "24cd2ef0-bbc5-4b1a-8b08-99f617eab446", "label": "ubuntu_xenial", "organization": + {"id": "6d6b64e5-6bad-4cc6-b7ef-2030884c3e11", "name": "mtouron@ocs.online.net"}}, + {"valid_until": null, "description": "Debian is a free, powerful and stable + operating system.", "creation_date": "2017-06-26T15:37:13.460764+00:00", "logo": + "https://marketplace-logos.s3.nl-ams.scw.cloud/debian.png", "id": "c94b5df7-e698-4ac9-b273-565d18f5f8d2", + "categories": ["distribution"], "name": "Debian Stretch", "modification_date": + "2020-01-20T09:04:42.765883+00:00", "versions": [{"creation_date": "2020-01-15T11:38:06.396694+00:00", + "modification_date": "2020-01-15T11:38:06.396694+00:00", "id": "8342f5d0-46aa-46e7-8a6f-f41188c97fba", + "local_images": [{"compatible_commercial_types": ["GP1-XS", "DEV1-M", "DEV1-L", + "START1-XS", "DEV1-S", "RENDER-S", "GP1-XL", "C2S", "X64-15GB", "DEV1-XL", "C2L", + "C2M", "VC1S", "START1-S", "X64-30GB", "GP1-L", "GP1-M", "GP1-S", "START1-L", + "START1-M", "VC1L", "VC1M", "X64-120GB", "X64-60GB"], "arch": "x86_64", "id": + "5f7ab0cd-d10e-49a0-91c8-315ed8a6a1a4", "zone": "par1"}, {"compatible_commercial_types": + [], "arch": "arm", "id": "d954dc33-c52e-4960-93e1-b69c85d169be", "zone": "ams1"}, + {"compatible_commercial_types": ["GP1-XS", "DEV1-M", "DEV1-L", "START1-XS", + "DEV1-S", "GP1-XL", "C2S", "X64-15GB", "DEV1-XL", "C2L", "C2M", "VC1S", "START1-S", + "X64-30GB", "GP1-L", "GP1-M", "GP1-S", "START1-L", "START1-M", "VC1L", "VC1M", + "X64-120GB", "X64-60GB"], "arch": "x86_64", "id": "22a1bd8d-4498-4800-a8e5-4bc85001176c", + "zone": "ams1"}, {"compatible_commercial_types": ["ARM64-8GB", "ARM64-2GB", + "ARM64-32GB", "ARM64-128GB", "ARM64-4GB", "ARM64-64GB", "ARM64-16GB"], "arch": + "arm64", "id": "37938de8-e3be-479a-895d-095158f76212", "zone": "ams1"}, {"compatible_commercial_types": + ["C1"], "arch": "arm", "id": "86740237-62fc-4538-9b70-4373942f53d3", "zone": + "par1"}, {"compatible_commercial_types": ["ARM64-8GB", "ARM64-2GB", "ARM64-32GB", + "ARM64-128GB", "ARM64-4GB", "ARM64-64GB", "ARM64-16GB"], "arch": "arm64", "id": + "bd6ba96e-d4c4-41f9-88e2-8dad3e6f085b", "zone": "par1"}], "name": "2020-01-15T11:38:06.390074"}], + "current_public_version": "8342f5d0-46aa-46e7-8a6f-f41188c97fba", "label": "debian_stretch", + "organization": {"id": "6d6b64e5-6bad-4cc6-b7ef-2030884c3e11", "name": "mtouron@ocs.online.net"}}, + {"valid_until": null, "description": "Debian is a free, powerful and stable + operating system.", "creation_date": "2016-03-05T14:52:36.322319+00:00", "logo": + "https://marketplace-logos.s3.nl-ams.scw.cloud/debian.png", "id": "fb619bdf-834e-4c71-b7b8-15b5546d18bd", + "categories": ["distribution"], "name": "Debian Jessie", "modification_date": + "2019-03-26T14:00:50.449502+00:00", "versions": [{"creation_date": "2018-04-10T22:31:04.322822+00:00", + "modification_date": "2018-04-10T22:31:04.322822+00:00", "id": "d3846a7b-8219-4938-ad96-cc2173e22481", + "local_images": [{"compatible_commercial_types": ["C1"], "arch": "arm", "id": + "2dfad6d2-e527-4e93-8eb1-8dc57803b310", "zone": "par1"}, {"compatible_commercial_types": + ["ARM64-8GB", "ARM64-2GB", "ARM64-32GB", "ARM64-128GB", "ARM64-4GB", "ARM64-64GB", + "ARM64-16GB"], "arch": "arm64", "id": "610f68d5-cbad-4923-98ae-782af8f3b527", + "zone": "par1"}, {"compatible_commercial_types": ["ARM64-4GB", "ARM64-128GB", + "ARM64-16GB", "ARM64-32GB", "ARM64-8GB", "ARM64-2GB", "ARM64-64GB"], "arch": + "arm64", "id": "dc22e553-2d2e-4689-94f8-8817db824202", "zone": "ams1"}, {"compatible_commercial_types": + ["X64-120GB", "C2M", "START1-S", "VC1S", "C2L", "X64-15GB", "C2S", "X64-30GB", + "START1-L", "START1-M", "X64-60GB", "VC1L", "VC1M"], "arch": "x86_64", "id": + "2e570f53-199e-47cc-95dd-f7bc392496e3", "zone": "ams1"}, {"compatible_commercial_types": + ["GP1-XS", "DEV1-L", "RENDER-S", "GP1-XL", "C2S", "X64-15GB", "DEV1-XL", "C2L", + "C2M", "VC1S", "START1-S", "X64-30GB", "GP1-L", "GP1-M", "GP1-S", "START1-L", + "START1-M", "VC1L", "VC1M", "X64-120GB", "X64-60GB"], "arch": "x86_64", "id": + "abf9e3a2-7171-4764-91ef-57f30b21193d", "zone": "par1"}, {"compatible_commercial_types": + [], "arch": "arm", "id": "69cbdd54-88a1-4458-b75e-662a0848a7ce", "zone": "ams1"}], + "name": "2018-04-10T22:31:04.321157"}], "current_public_version": "d3846a7b-8219-4938-ad96-cc2173e22481", + "label": "debian_jessie", "organization": {"id": "6d6b64e5-6bad-4cc6-b7ef-2030884c3e11", + "name": "mtouron@ocs.online.net"}}, {"valid_until": null, "description": "The + CentOS Project is a community-driven free software effort focused on delivering + a robust open source ecosystem.", "creation_date": "2019-03-06T11:27:48.406290+00:00", + "logo": "https://marketplace-logos.s3.nl-ams.scw.cloud/centos.png", "id": "1d47b370-ac63-43b1-9f34-7328675e5e18", + "categories": ["distribution"], "name": "CentOS 7.6", "modification_date": "2019-03-26T14:00:50.839069+00:00", + "versions": [{"creation_date": "2019-03-18T09:29:00.247544+00:00", "modification_date": + "2019-03-18T09:29:00.247544+00:00", "id": "53138072-3099-4566-8b18-de7b2739696a", + "local_images": [{"compatible_commercial_types": ["X64-120GB", "C2M", "START1-S", + "VC1S", "START1-XS", "C2L", "X64-15GB", "C2S", "X64-30GB", "START1-L", "START1-M", + "X64-60GB", "VC1L", "VC1M"], "arch": "x86_64", "id": "05794ee5-c6d2-4d69-86dd-f1fc9032921d", + "zone": "ams1"}, {"compatible_commercial_types": ["GP1-XS", "DEV1-M", "DEV1-L", + "START1-XS", "DEV1-S", "RENDER-S", "GP1-XL", "C2S", "X64-15GB", "DEV1-XL", "C2L", + "C2M", "VC1S", "START1-S", "X64-30GB", "GP1-L", "GP1-M", "GP1-S", "START1-L", + "START1-M", "VC1L", "VC1M", "X64-120GB", "X64-60GB"], "arch": "x86_64", "id": + "0f44b130-2bc7-4f82-993e-de9d1042c56e", "zone": "par1"}], "name": "2019-03-18T09:29:00.168590"}], + "current_public_version": "53138072-3099-4566-8b18-de7b2739696a", "label": "centos_7.6", + "organization": {"id": "11111111-1111-4111-8111-111111111111", "name": "OCS"}}, + {"valid_until": null, "description": "The CentOS Project is a community-driven + free software effort focused on delivering a robust open source ecosystem.", + "creation_date": "2018-04-19T10:12:28.968536+00:00", "logo": "https://marketplace-logos.s3.nl-ams.scw.cloud/centos.png", + "id": "98fc244a-ed4c-4523-bd17-b9c4070b8e7e", "categories": ["distribution"], + "name": "CentOS 7.4", "modification_date": "2019-03-26T14:00:53.445597+00:00", + "versions": [{"creation_date": "2018-04-20T13:55:06.824033+00:00", "modification_date": + "2018-04-20T13:55:06.824033+00:00", "id": "31be34e5-074d-4c63-8c77-454459f77c3f", + "local_images": [{"compatible_commercial_types": ["GP1-XS", "DEV1-L", "RENDER-S", + "GP1-XL", "C2S", "X64-15GB", "DEV1-XL", "C2L", "C2M", "VC1S", "START1-S", "X64-30GB", + "GP1-L", "GP1-M", "GP1-S", "START1-L", "START1-M", "VC1L", "VC1M", "X64-120GB", + "X64-60GB"], "arch": "x86_64", "id": "ec8b431e-ad39-4523-8b94-f3fa7f3cbd06", + "zone": "par1"}, {"compatible_commercial_types": ["X64-120GB", "C2M", "START1-S", + "VC1S", "C2L", "X64-15GB", "C2S", "X64-30GB", "START1-L", "START1-M", "X64-60GB", + "VC1L", "VC1M"], "arch": "x86_64", "id": "7220ac63-bac8-484b-9d44-93e3bd01f5a6", + "zone": "ams1"}], "name": "2018-04-20T13:55:06.817954"}], "current_public_version": + "31be34e5-074d-4c63-8c77-454459f77c3f", "label": "centos_7.4", "organization": + {"id": "6d6b64e5-6bad-4cc6-b7ef-2030884c3e11", "name": "mtouron@ocs.online.net"}}, + {"valid_until": null, "description": "Fedora is a powerful, flexible operating + system that includes the best and latest datacenter technologies. It puts you + in control of all your infrastructure and services.", "creation_date": "2019-03-06T09:07:51.652433+00:00", + "logo": "https://marketplace-logos.s3.nl-ams.scw.cloud/fedora.png", "id": "69adec15-f1a7-469a-9ba5-868577832521", + "categories": ["distribution"], "name": "Fedora 29", "modification_date": "2019-03-26T14:00:51.848785+00:00", + "versions": [{"creation_date": "2019-03-06T09:08:01.112958+00:00", "modification_date": + "2019-03-06T09:08:01.112958+00:00", "id": "a0f02365-f1af-48cb-b82d-75853a4e05e1", + "local_images": [{"compatible_commercial_types": ["GP1-XS", "DEV1-M", "DEV1-L", + "START1-XS", "DEV1-S", "RENDER-S", "GP1-XL", "C2S", "X64-15GB", "DEV1-XL", "C2L", + "C2M", "VC1S", "START1-S", "X64-30GB", "GP1-L", "GP1-M", "GP1-S", "START1-L", + "START1-M", "VC1L", "VC1M", "X64-120GB", "X64-60GB"], "arch": "x86_64", "id": + "541f4562-5417-4b59-85d6-caaf64c1f127", "zone": "par1"}, {"compatible_commercial_types": + ["X64-120GB", "C2M", "START1-S", "VC1S", "START1-XS", "C2L", "X64-15GB", "C2S", + "X64-30GB", "START1-L", "START1-M", "X64-60GB", "VC1L", "VC1M"], "arch": "x86_64", + "id": "3c0f706e-0947-47a3-88a3-595c29f7567a", "zone": "ams1"}], "name": "2019-03-06T09:08:01.016040"}], + "current_public_version": "a0f02365-f1af-48cb-b82d-75853a4e05e1", "label": "fedora_29", + "organization": {"id": "11111111-1111-4111-8111-111111111111", "name": "OCS"}}, + {"valid_until": null, "description": "Fedora is a powerful, flexible operating + system that includes the best and latest datacenter technologies. It puts you + in control of all your infrastructure and services.", "creation_date": "2018-05-03T09:51:57.274011+00:00", + "logo": "https://marketplace-logos.s3.nl-ams.scw.cloud/fedora.png", "id": "30d0f04f-6422-4b74-9ce9-1c2267419978", + "categories": ["distribution"], "name": "Fedora 28", "modification_date": "2019-03-26T14:00:50.156015+00:00", + "versions": [{"creation_date": "2018-05-03T12:01:10.147973+00:00", "modification_date": + "2018-05-03T12:01:10.147973+00:00", "id": "49e33199-28cc-44d6-bb2e-a6147944ad5c", + "local_images": [{"compatible_commercial_types": ["X64-120GB", "C2M", "START1-S", + "VC1S", "C2L", "X64-15GB", "C2S", "X64-30GB", "START1-L", "START1-M", "X64-60GB", + "VC1L", "VC1M"], "arch": "x86_64", "id": "830aad94-24e5-4363-b2c3-e62921bd9294", + "zone": "ams1"}, {"compatible_commercial_types": ["GP1-XS", "DEV1-L", "RENDER-S", + "GP1-XL", "C2S", "X64-15GB", "DEV1-XL", "C2L", "C2M", "VC1S", "START1-S", "X64-30GB", + "GP1-L", "GP1-M", "GP1-S", "START1-L", "START1-M", "VC1L", "VC1M", "X64-120GB", + "X64-60GB"], "arch": "x86_64", "id": "c9cd1782-2159-44b8-83b1-9c48ed6c8a63", + "zone": "par1"}], "name": "2018-05-03T12:01:10.135200"}], "current_public_version": + "49e33199-28cc-44d6-bb2e-a6147944ad5c", "label": "fedora_28", "organization": + {"id": "6d6b64e5-6bad-4cc6-b7ef-2030884c3e11", "name": "mtouron@ocs.online.net"}}, + {"valid_until": null, "description": "Fedora is a powerful, flexible operating + system that includes the best and latest datacenter technologies. It puts you + in control of all your infrastructure and services.", "creation_date": "2018-04-19T10:14:08.648100+00:00", + "logo": "https://marketplace-logos.s3.nl-ams.scw.cloud/fedora.png", "id": "4bff4f37-3ef9-457e-9e8d-4a786cb2a5f2", + "categories": ["distribution"], "name": "Fedora 27", "modification_date": "2019-03-26T14:00:53.140907+00:00", + "versions": [{"creation_date": "2018-09-06T10:51:13.009967+00:00", "modification_date": + "2018-09-06T10:51:13.009967+00:00", "id": "45b5823f-8ddf-4ea8-b106-33d2df127cdf", + "local_images": [{"compatible_commercial_types": ["GP1-XS", "DEV1-L", "RENDER-S", + "GP1-XL", "C2S", "X64-15GB", "DEV1-XL", "C2L", "C2M", "VC1S", "START1-S", "X64-30GB", + "GP1-L", "GP1-M", "GP1-S", "START1-L", "START1-M", "VC1L", "VC1M", "X64-120GB", + "X64-60GB"], "arch": "x86_64", "id": "097a100e-fd2f-4918-8a5b-d86de5a489be", + "zone": "par1"}, {"compatible_commercial_types": ["X64-120GB", "C2M", "START1-S", + "VC1S", "C2L", "X64-15GB", "C2S", "X64-30GB", "START1-L", "START1-M", "X64-60GB", + "VC1L", "VC1M"], "arch": "x86_64", "id": "73f0bcd8-a152-4665-ac09-1b105905a475", + "zone": "ams1"}], "name": "2018-09-06T10:51:13.011044"}], "current_public_version": + "45b5823f-8ddf-4ea8-b106-33d2df127cdf", "label": "fedora_27", "organization": + {"id": "6d6b64e5-6bad-4cc6-b7ef-2030884c3e11", "name": "mtouron@ocs.online.net"}}, + {"valid_until": null, "description": "Arch Linux is an independently developed + Linux distribution versatile enough to suit any role.", "creation_date": "2016-03-07T20:55:32.213089+00:00", + "logo": "https://marketplace-logos.s3.nl-ams.scw.cloud/archlinux.png", "id": + "8f60c5dd-e659-48da-97e3-fb7de42195f5", "categories": ["distribution"], "name": + "Arch Linux", "modification_date": "2019-03-26T14:00:49.327070+00:00", "versions": + [{"creation_date": "2018-04-20T15:59:04.594929+00:00", "modification_date": + "2018-04-20T15:59:04.594929+00:00", "id": "f7696517-bc49-448b-9869-f2c84e7c2a96", + "local_images": [{"compatible_commercial_types": ["GP1-XS", "DEV1-L", "RENDER-S", + "GP1-XL", "C2S", "X64-15GB", "DEV1-XL", "C2L", "C2M", "VC1S", "START1-S", "X64-30GB", + "GP1-L", "GP1-M", "GP1-S", "START1-L", "START1-M", "VC1L", "VC1M", "X64-120GB", + "X64-60GB"], "arch": "x86_64", "id": "f21defd0-9fd9-4fb2-a29a-22844a6be3cd", + "zone": "par1"}, {"compatible_commercial_types": ["X64-120GB", "C2M", "START1-S", + "VC1S", "C2L", "X64-15GB", "C2S", "X64-30GB", "START1-L", "START1-M", "X64-60GB", + "VC1L", "VC1M"], "arch": "x86_64", "id": "3c904f73-080e-4c6f-8b28-8426cfdcb3c7", + "zone": "ams1"}], "name": "2018-04-20T15:59:04.593811"}], "current_public_version": + "f7696517-bc49-448b-9869-f2c84e7c2a96", "label": "arch_linux", "organization": + {"id": "6d6b64e5-6bad-4cc6-b7ef-2030884c3e11", "name": "mtouron@ocs.online.net"}}, + {"valid_until": null, "description": "Alpine Linux is security-oriented, lightweight + Linux distribution based on musl libc and busybox.", "creation_date": "2016-03-05T14:49:50.255568+00:00", + "logo": "https://marketplace-logos.s3.nl-ams.scw.cloud/alpinelinux.png", "id": + "c0649a2a-e6bf-4712-9303-8d967153209c", "categories": ["distribution"], "name": + "Alpine Linux", "modification_date": "2019-03-26T14:00:54.425917+00:00", "versions": + [{"creation_date": "2018-04-26T10:18:10.201002+00:00", "modification_date": + "2018-04-26T10:18:10.201002+00:00", "id": "be2293b6-9eba-4497-9659-2cfb927483b5", + "local_images": [{"compatible_commercial_types": ["GP1-XS", "DEV1-L", "RENDER-S", + "GP1-XL", "C2S", "X64-15GB", "DEV1-XL", "C2L", "C2M", "VC1S", "START1-S", "X64-30GB", + "GP1-L", "GP1-M", "GP1-S", "START1-L", "START1-M", "VC1L", "VC1M", "X64-120GB", + "X64-60GB"], "arch": "x86_64", "id": "24141068-1043-4885-bf2b-8290f617e273", + "zone": "par1"}, {"compatible_commercial_types": ["X64-120GB", "C2M", "START1-S", + "VC1S", "C2L", "X64-15GB", "C2S", "X64-30GB", "START1-L", "START1-M", "X64-60GB", + "VC1L", "VC1M"], "arch": "x86_64", "id": "241b0bb3-9eed-4a7b-b0fd-71c45452ac95", + "zone": "ams1"}], "name": "2018-04-26T10:18:10.196011"}], "current_public_version": + "be2293b6-9eba-4497-9659-2cfb927483b5", "label": "alpine_linux", "organization": + {"id": "6d6b64e5-6bad-4cc6-b7ef-2030884c3e11", "name": "mtouron@ocs.online.net"}}, + {"valid_until": null, "description": "Debian is a free operating system, developed + by thousands of volunteers from all over the world who collaborate via the Internet.", + "creation_date": "2019-07-16T13:55:36.377559+00:00", "logo": "https://marketplace-logos.s3.nl-ams.scw.cloud/debian.png", + "id": "7bdc1afb-231f-486a-9b85-1b0478bc0e4a", "categories": ["distribution"], + "name": "Debian Buster", "modification_date": "2020-01-20T09:04:41.730609+00:00", + "versions": [{"creation_date": "2020-01-15T11:52:04.860098+00:00", "modification_date": + "2020-01-15T11:52:04.860098+00:00", "id": "763b45ed-2e31-4ba0-9beb-efb195503a2d", + "local_images": [{"compatible_commercial_types": ["ARM64-8GB", "ARM64-2GB", + "ARM64-32GB", "ARM64-128GB", "ARM64-4GB", "ARM64-64GB", "ARM64-16GB"], "arch": + "arm64", "id": "61010e34-7f1e-402b-a253-028a714a6678", "zone": "ams1"}, {"compatible_commercial_types": + ["GP1-XS", "DEV1-M", "DEV1-L", "START1-XS", "DEV1-S", "GP1-XL", "C2S", "X64-15GB", + "DEV1-XL", "C2L", "C2M", "VC1S", "START1-S", "X64-30GB", "GP1-L", "GP1-M", "GP1-S", + "START1-L", "START1-M", "VC1L", "VC1M", "X64-120GB", "X64-60GB"], "arch": "x86_64", + "id": "4720c10f-59e3-4e20-915b-dcee1fc34c11", "zone": "ams1"}, {"compatible_commercial_types": + ["ARM64-8GB", "ARM64-2GB", "ARM64-32GB", "ARM64-128GB", "ARM64-4GB", "ARM64-64GB", + "ARM64-16GB"], "arch": "arm64", "id": "9d6e8a2c-31a9-439c-a4c5-9fba1c5b96ed", + "zone": "par1"}, {"compatible_commercial_types": ["GP1-XS", "DEV1-M", "DEV1-L", + "START1-XS", "DEV1-S", "RENDER-S", "GP1-XL", "C2S", "X64-15GB", "DEV1-XL", "C2L", + "C2M", "VC1S", "START1-S", "X64-30GB", "GP1-L", "GP1-M", "GP1-S", "START1-L", + "START1-M", "VC1L", "VC1M", "X64-120GB", "X64-60GB"], "arch": "x86_64", "id": + "cc9188b3-3938-47d7-b091-c9ecad1fe507", "zone": "par1"}], "name": "2020-01-15T11:52:04.849401"}], + "current_public_version": "763b45ed-2e31-4ba0-9beb-efb195503a2d", "label": "debian_buster", + "organization": {"id": "51b656e3-4865-41e8-adbc-0c45bdd780db", "name": "Instances + User Resources Build System"}}, {"valid_until": null, "description": "Docker + is an open platform for developers and sysadmins to build, ship, and run distributed + applications.", "creation_date": "2016-03-05T15:11:26.847640+00:00", "logo": + "https://marketplace-logos.s3.nl-ams.scw.cloud/docker.png", "id": "c1b530d8-0ca0-45c4-80db-ba06608287b2", + "categories": ["instantapp"], "name": "Docker", "modification_date": "2019-03-26T14:00:49.524465+00:00", + "versions": [{"creation_date": "2019-03-07T17:07:39.090644+00:00", "modification_date": + "2019-03-07T17:07:39.090644+00:00", "id": "bf30c937-6e89-4019-ad2a-92156a62cf3e", + "local_images": [{"compatible_commercial_types": ["GP1-XS", "DEV1-M", "DEV1-L", + "START1-XS", "DEV1-S", "RENDER-S", "GP1-XL", "C2S", "X64-15GB", "DEV1-XL", "C2L", + "C2M", "VC1S", "START1-S", "X64-30GB", "GP1-L", "GP1-M", "GP1-S", "START1-L", + "START1-M", "VC1L", "VC1M", "X64-120GB", "X64-60GB"], "arch": "x86_64", "id": + "89c80d27-ddf4-4ffa-8215-b335cce3fd05", "zone": "par1"}, {"compatible_commercial_types": + ["ARM64-4GB", "ARM64-128GB", "ARM64-16GB", "ARM64-32GB", "ARM64-8GB", "ARM64-2GB", + "ARM64-64GB"], "arch": "arm64", "id": "99e2a9c6-f0b9-42b6-8823-8b0d86ffe9bf", + "zone": "ams1"}, {"compatible_commercial_types": ["C1"], "arch": "arm", "id": + "45a7e942-1fb0-48c0-bbf6-0acb9af24604", "zone": "par1"}, {"compatible_commercial_types": + ["ARM64-8GB", "ARM64-2GB", "ARM64-32GB", "ARM64-128GB", "ARM64-4GB", "ARM64-64GB", + "ARM64-16GB"], "arch": "arm64", "id": "c669011a-ee16-42b6-b0c3-ecd19e419539", + "zone": "par1"}, {"compatible_commercial_types": ["X64-120GB", "C2M", "START1-S", + "VC1S", "START1-XS", "C2L", "X64-15GB", "C2S", "X64-30GB", "START1-L", "START1-M", + "X64-60GB", "VC1L", "VC1M"], "arch": "x86_64", "id": "dcf35840-c007-4c8b-a48b-227cfd8a347b", + "zone": "ams1"}], "name": "2019-03-07T17:07:39.004809"}], "current_public_version": + "bf30c937-6e89-4019-ad2a-92156a62cf3e", "label": "docker", "organization": {"id": + "6d6b64e5-6bad-4cc6-b7ef-2030884c3e11", "name": "mtouron@ocs.online.net"}}, + {"valid_until": null, "description": "GitLab is a web-based Git repository manager + with wiki and issue tracking features.", "creation_date": "2016-03-07T21:06:22.770864+00:00", + "logo": "https://marketplace-logos.s3.nl-ams.scw.cloud/gitlab.png", "id": "233074b9-e2ba-4e78-818e-dd4930ce6bee", + "categories": ["instantapp"], "name": "GitLab", "modification_date": "2019-04-09T13:31:04.022755+00:00", + "versions": [{"creation_date": "2019-04-09T13:31:03.648676+00:00", "modification_date": + "2019-04-09T13:31:03.648676+00:00", "id": "a389c94b-8b19-4528-a4f6-0b7cac3425e9", + "local_images": [{"compatible_commercial_types": ["X64-120GB", "C2M", "START1-S", + "VC1S", "START1-XS", "C2L", "X64-15GB", "C2S", "X64-30GB", "START1-L", "START1-M", + "X64-60GB", "VC1L", "VC1M"], "arch": "x86_64", "id": "06a2a6e9-922d-4353-9472-bbb1f79fda63", + "zone": "ams1"}, {"compatible_commercial_types": ["GP1-XS", "DEV1-M", "DEV1-L", + "START1-XS", "DEV1-S", "RENDER-S", "GP1-XL", "C2S", "X64-15GB", "DEV1-XL", "C2L", + "C2M", "VC1S", "START1-S", "X64-30GB", "GP1-L", "GP1-M", "GP1-S", "START1-L", + "START1-M", "VC1L", "VC1M", "X64-120GB", "X64-60GB"], "arch": "x86_64", "id": + "4527e41c-0e90-43a8-857e-d9584bf8467f", "zone": "par1"}], "name": "2019-04-09T13:31:03.352588"}], + "current_public_version": "a389c94b-8b19-4528-a4f6-0b7cac3425e9", "label": "gitlab", + "organization": {"id": "6d6b64e5-6bad-4cc6-b7ef-2030884c3e11", "name": "mtouron@ocs.online.net"}}, + {"valid_until": null, "description": "A painless self-hosted Git service.", + "creation_date": "2016-03-07T21:00:44.946716+00:00", "logo": "https://marketplace-logos.s3.nl-ams.scw.cloud/gogs.png", + "id": "90d512b8-e4b7-4821-98e9-78241d73a7e6", "categories": ["instantapp"], + "name": "Gogs", "modification_date": "2019-03-26T14:00:54.513196+00:00", "versions": + [{"creation_date": "2018-05-16T15:11:25.881343+00:00", "modification_date": + "2018-05-16T15:11:25.881343+00:00", "id": "1b9e22e3-6a29-4f42-acfd-281ad086ee1d", + "local_images": [{"compatible_commercial_types": ["GP1-XS", "DEV1-L", "RENDER-S", + "GP1-XL", "C2S", "X64-15GB", "DEV1-XL", "C2L", "C2M", "VC1S", "START1-S", "X64-30GB", + "GP1-L", "GP1-M", "GP1-S", "START1-L", "START1-M", "VC1L", "VC1M", "X64-120GB", + "X64-60GB"], "arch": "x86_64", "id": "776705c4-be8e-4a27-b740-2e8bbba518c5", + "zone": "par1"}, {"compatible_commercial_types": ["C1"], "arch": "arm", "id": + "a513a250-e6e9-4687-892e-9d10b29e3972", "zone": "par1"}, {"compatible_commercial_types": + ["X64-120GB", "C2M", "START1-S", "VC1S", "C2L", "X64-15GB", "C2S", "X64-30GB", + "START1-L", "START1-M", "X64-60GB", "VC1L", "VC1M"], "arch": "x86_64", "id": + "d1341ece-ffda-4386-ad3a-27d60b650401", "zone": "ams1"}, {"compatible_commercial_types": + [], "arch": "arm", "id": "69b8bc0e-7771-42af-a4ad-ca756c31a18a", "zone": "ams1"}], + "name": "2018-05-16T15:11:25.303762"}], "current_public_version": "1b9e22e3-6a29-4f42-acfd-281ad086ee1d", + "label": "gogs", "organization": {"id": "6d6b64e5-6bad-4cc6-b7ef-2030884c3e11", + "name": "mtouron@ocs.online.net"}}, {"valid_until": null, "description": "Go + is an open source programming language that makes it easy to build simple, reliable, + and efficient software.A dynamic, open source programming language with a focus + on simplicity and productivity.", "creation_date": "2016-03-08T07:01:11.482482+00:00", + "logo": "https://marketplace-logos.s3.nl-ams.scw.cloud/golang.png", "id": "6c8d25c0-cb6f-4220-98aa-830b7e479ba5", + "categories": ["instantapp"], "name": "Golang", "modification_date": "2019-03-26T14:00:52.861225+00:00", + "versions": [{"creation_date": "2018-04-18T08:00:48.175340+00:00", "modification_date": + "2018-04-18T08:00:48.175340+00:00", "id": "880194c8-53ce-4b6b-a274-4f79307e2f8e", + "local_images": [{"compatible_commercial_types": ["GP1-XS", "DEV1-L", "RENDER-S", + "GP1-XL", "C2S", "X64-15GB", "DEV1-XL", "C2L", "C2M", "VC1S", "START1-S", "X64-30GB", + "GP1-L", "GP1-M", "GP1-S", "START1-L", "START1-M", "VC1L", "VC1M", "X64-120GB", + "X64-60GB"], "arch": "x86_64", "id": "43213956-c7a3-44b8-9d96-d51fa7457969", + "zone": "par1"}, {"compatible_commercial_types": ["ARM64-4GB", "ARM64-128GB", + "ARM64-16GB", "ARM64-32GB", "ARM64-8GB", "ARM64-2GB", "ARM64-64GB"], "arch": + "arm64", "id": "5ffb52aa-ea55-4596-9d0f-e403701b6624", "zone": "ams1"}, {"compatible_commercial_types": + ["C1"], "arch": "arm", "id": "bef7a6af-1bab-490a-a6cb-6a07c1b9ac7b", "zone": + "par1"}, {"compatible_commercial_types": [], "arch": "arm", "id": "f0b7d9b8-aa31-45b4-9f7e-a68aa164ce6f", + "zone": "ams1"}, {"compatible_commercial_types": ["ARM64-8GB", "ARM64-2GB", + "ARM64-32GB", "ARM64-128GB", "ARM64-4GB", "ARM64-64GB", "ARM64-16GB"], "arch": + "arm64", "id": "76ca1eb7-f68f-4770-a7a1-ab7665ae3297", "zone": "par1"}, {"compatible_commercial_types": + ["X64-120GB", "C2M", "START1-S", "VC1S", "C2L", "X64-15GB", "C2S", "X64-30GB", + "START1-L", "START1-M", "X64-60GB", "VC1L", "VC1M"], "arch": "x86_64", "id": + "0d954c34-341c-483a-be1c-71cf197343ed", "zone": "ams1"}], "name": "2018-04-18T08:00:48.129246"}], + "current_public_version": "880194c8-53ce-4b6b-a274-4f79307e2f8e", "label": "golang", + "organization": {"id": "6d6b64e5-6bad-4cc6-b7ef-2030884c3e11", "name": "mtouron@ocs.online.net"}}, + {"valid_until": null, "description": "Java is a computer programming language + that is concurrent, class-based, object-oriented, and specifically designed + to have as few implementation dependencies as possible.", "creation_date": "2016-03-07T21:07:46.908969+00:00", + "logo": "https://marketplace-logos.s3.nl-ams.scw.cloud/java.png", "id": "d72d1b73-7460-446b-91fb-b451d079aa4d", + "categories": ["instantapp"], "name": "Java", "modification_date": "2019-03-26T14:00:49.430836+00:00", + "versions": [{"creation_date": "2018-04-18T10:11:18.535736+00:00", "modification_date": + "2018-04-18T10:11:18.535736+00:00", "id": "f3f69cca-aadb-4e5e-94b0-254ce05a6639", + "local_images": [{"compatible_commercial_types": ["ARM64-4GB", "ARM64-128GB", + "ARM64-16GB", "ARM64-32GB", "ARM64-8GB", "ARM64-2GB", "ARM64-64GB"], "arch": + "arm64", "id": "c50cb4b2-bf7b-47e2-ab5f-3a9d3d4c1aef", "zone": "ams1"}, {"compatible_commercial_types": + ["X64-120GB", "C2M", "START1-S", "VC1S", "C2L", "X64-15GB", "C2S", "X64-30GB", + "START1-L", "START1-M", "X64-60GB", "VC1L", "VC1M"], "arch": "x86_64", "id": + "98c93894-26a8-463b-a72b-c9d2b531b95d", "zone": "ams1"}, {"compatible_commercial_types": + [], "arch": "arm", "id": "43c43b5e-1e4f-4905-baef-71df3c565b4d", "zone": "ams1"}, + {"compatible_commercial_types": ["GP1-XS", "DEV1-L", "RENDER-S", "GP1-XL", "C2S", + "X64-15GB", "DEV1-XL", "C2L", "C2M", "VC1S", "START1-S", "X64-30GB", "GP1-L", + "GP1-M", "GP1-S", "START1-L", "START1-M", "VC1L", "VC1M", "X64-120GB", "X64-60GB"], + "arch": "x86_64", "id": "0c3f9f03-f490-444b-a05e-f342e917fed0", "zone": "par1"}, + {"compatible_commercial_types": ["C1"], "arch": "arm", "id": "5e07622b-ad8b-4f65-b55f-cca18c3c0bbf", + "zone": "par1"}, {"compatible_commercial_types": ["ARM64-8GB", "ARM64-2GB", + "ARM64-32GB", "ARM64-128GB", "ARM64-4GB", "ARM64-64GB", "ARM64-16GB"], "arch": + "arm64", "id": "c0330755-e5d0-4c2c-ad0e-70687e1dccbb", "zone": "par1"}], "name": + "2018-04-18T10:11:18.477156"}], "current_public_version": "f3f69cca-aadb-4e5e-94b0-254ce05a6639", + "label": "java", "organization": {"id": "6d6b64e5-6bad-4cc6-b7ef-2030884c3e11", + "name": "mtouron@ocs.online.net"}}, {"valid_until": null, "description": "LEMP + stack is a version where Apache has been replaced with the more lightweight + web server Nginx.", "creation_date": "2016-03-07T21:06:53.552980+00:00", "logo": + "https://marketplace-logos.s3.nl-ams.scw.cloud/lemp.png", "id": "986ba672-b489-4f66-9e3b-90194ac336d4", + "categories": ["instantapp"], "name": "LEMP stack", "modification_date": "2019-04-09T13:31:12.129567+00:00", + "versions": [{"creation_date": "2019-04-09T13:31:11.315416+00:00", "modification_date": + "2019-04-09T13:31:11.315416+00:00", "id": "a2e5ed1a-6f01-4f20-aabd-4115c67df590", + "local_images": [{"compatible_commercial_types": ["C1"], "arch": "arm", "id": + "32332006-1420-4260-97c7-c1da586f68cd", "zone": "par1"}, {"compatible_commercial_types": + ["X64-120GB", "C2M", "START1-S", "VC1S", "START1-XS", "C2L", "X64-15GB", "C2S", + "X64-30GB", "START1-L", "START1-M", "X64-60GB", "VC1L", "VC1M"], "arch": "x86_64", + "id": "d16622f6-32c1-4d16-a3ca-38b23d3a25fb", "zone": "ams1"}, {"compatible_commercial_types": + ["GP1-XS", "DEV1-M", "DEV1-L", "START1-XS", "DEV1-S", "RENDER-S", "GP1-XL", + "C2S", "X64-15GB", "DEV1-XL", "C2L", "C2M", "VC1S", "START1-S", "X64-30GB", + "GP1-L", "GP1-M", "GP1-S", "START1-L", "START1-M", "VC1L", "VC1M", "X64-120GB", + "X64-60GB"], "arch": "x86_64", "id": "1bd37d60-4494-485f-9a82-0a211005489c", + "zone": "par1"}, {"compatible_commercial_types": ["ARM64-4GB", "ARM64-128GB", + "ARM64-16GB", "ARM64-32GB", "ARM64-8GB", "ARM64-2GB", "ARM64-64GB"], "arch": + "arm64", "id": "415d3727-0013-419a-abc6-1a688b096730", "zone": "ams1"}, {"compatible_commercial_types": + ["ARM64-8GB", "ARM64-2GB", "ARM64-32GB", "ARM64-128GB", "ARM64-4GB", "ARM64-64GB", + "ARM64-16GB"], "arch": "arm64", "id": "26c3727a-5b77-4b26-89c9-445ea2006f07", + "zone": "par1"}, {"compatible_commercial_types": [], "arch": "arm", "id": "155ab61a-e069-4acb-bae3-e8217c5c0376", + "zone": "ams1"}], "name": "2019-04-09T13:31:10.613803"}], "current_public_version": + "a2e5ed1a-6f01-4f20-aabd-4115c67df590", "label": "lemp_stack", "organization": + {"id": "6d6b64e5-6bad-4cc6-b7ef-2030884c3e11", "name": "mtouron@ocs.online.net"}}, + {"valid_until": null, "description": "self-hosted Slack-alternative", "creation_date": + "2016-07-11T14:52:57.803007+00:00", "logo": "https://marketplace-logos.s3.nl-ams.scw.cloud/mattermost.png", + "id": "98ad7ccb-cc7f-4828-9da3-113e9c1bd2db", "categories": ["instantapp"], + "name": "Mattermost", "modification_date": "2019-03-26T14:00:51.938920+00:00", + "versions": [{"creation_date": "2018-05-03T10:27:55.610920+00:00", "modification_date": + "2018-05-03T10:27:55.610920+00:00", "id": "42371bf7-c1ca-4889-a6d4-43febda865ca", + "local_images": [{"compatible_commercial_types": ["GP1-XS", "DEV1-L", "RENDER-S", + "GP1-XL", "C2S", "X64-15GB", "DEV1-XL", "C2L", "C2M", "VC1S", "START1-S", "X64-30GB", + "GP1-L", "GP1-M", "GP1-S", "START1-L", "START1-M", "VC1L", "VC1M", "X64-120GB", + "X64-60GB"], "arch": "x86_64", "id": "486e128c-fde7-42d7-9200-5d91b8dc2761", + "zone": "par1"}, {"compatible_commercial_types": ["X64-120GB", "C2M", "START1-S", + "VC1S", "C2L", "X64-15GB", "C2S", "X64-30GB", "START1-L", "START1-M", "X64-60GB", + "VC1L", "VC1M"], "arch": "x86_64", "id": "eb2ed407-177c-4195-a4ca-f3baa85e62ed", + "zone": "ams1"}], "name": "2018-05-03T10:27:55.021511"}], "current_public_version": + "42371bf7-c1ca-4889-a6d4-43febda865ca", "label": "mattermost", "organization": + {"id": "6d6b64e5-6bad-4cc6-b7ef-2030884c3e11", "name": "mtouron@ocs.online.net"}}, + {"valid_until": null, "description": "Nextcloud is an open source, self-hosted + file share and communication platform.", "creation_date": "2019-04-16T12:22:56.930842+00:00", + "logo": "http://marketplace-logos.s3.nl-ams.scw.cloud/nextcloud.png", "id": + "7d4a7cb1-1fd5-4a64-920b-c79f47367254", "categories": ["instantapp"], "name": + "NextCloud", "modification_date": "2019-04-16T12:25:38.758921+00:00", "versions": + [{"creation_date": "2019-04-16T12:25:38.052537+00:00", "modification_date": + "2019-04-16T12:25:38.052537+00:00", "id": "2fe66cc6-8985-4b5f-8325-83acc0589436", + "local_images": [{"compatible_commercial_types": ["ARM64-4GB", "ARM64-128GB", + "ARM64-16GB", "ARM64-32GB", "ARM64-8GB", "ARM64-2GB", "ARM64-64GB"], "arch": + "arm64", "id": "e9af0a24-4312-4305-9386-b3a79e02f92d", "zone": "ams1"}, {"compatible_commercial_types": + [], "arch": "arm", "id": "c38073cf-ee40-4dc2-8059-ec2845f38f46", "zone": "ams1"}, + {"compatible_commercial_types": ["X64-120GB", "C2M", "START1-S", "VC1S", "START1-XS", + "C2L", "X64-15GB", "C2S", "X64-30GB", "START1-L", "START1-M", "X64-60GB", "VC1L", + "VC1M"], "arch": "x86_64", "id": "b9e319f5-ac4c-400d-8ff6-a6a769755190", "zone": + "ams1"}, {"compatible_commercial_types": ["ARM64-8GB", "ARM64-2GB", "ARM64-32GB", + "ARM64-128GB", "ARM64-4GB", "ARM64-64GB", "ARM64-16GB"], "arch": "arm64", "id": + "0390c3e0-186d-4b24-8d0d-0e08b74fb59a", "zone": "par1"}, {"compatible_commercial_types": + ["C1"], "arch": "arm", "id": "900971a4-3a3e-4ef9-b92f-b33c366c9f5c", "zone": + "par1"}, {"compatible_commercial_types": ["GP1-XS", "DEV1-M", "DEV1-L", "START1-XS", + "DEV1-S", "RENDER-S", "GP1-XL", "C2S", "X64-15GB", "DEV1-XL", "C2L", "C2M", + "VC1S", "START1-S", "X64-30GB", "GP1-L", "GP1-M", "GP1-S", "START1-L", "START1-M", + "VC1L", "VC1M", "X64-120GB", "X64-60GB"], "arch": "x86_64", "id": "7b7d4dde-6fe1-4586-a5a5-ae1af2ca2605", + "zone": "par1"}], "name": "2019-04-16T12:25:37.374676"}], "current_public_version": + "2fe66cc6-8985-4b5f-8325-83acc0589436", "label": "nextcloud", "organization": + {"id": "11111111-1111-4111-8111-111111111111", "name": "OCS"}}, {"valid_until": + null, "description": "Node.js is an open source, cross-platform runtime environment + for server-side and networking applications.", "creation_date": "2016-03-07T21:06:07.014951+00:00", + "logo": "https://marketplace-logos.s3.nl-ams.scw.cloud/nodejs.png", "id": "d11d7cc2-6ec8-4f95-a286-24fb5bac9e39", + "categories": ["instantapp"], "name": "Node.js", "modification_date": "2019-03-26T14:00:51.148549+00:00", + "versions": [{"creation_date": "2018-04-18T10:07:15.744660+00:00", "modification_date": + "2018-04-18T10:07:15.744660+00:00", "id": "af308511-bcb3-4583-b0e0-79dbb1eea63e", + "local_images": [{"compatible_commercial_types": [], "arch": "arm", "id": "a8020f20-8a66-43f3-8253-35941db3d237", + "zone": "ams1"}, {"compatible_commercial_types": ["ARM64-4GB", "ARM64-128GB", + "ARM64-16GB", "ARM64-32GB", "ARM64-8GB", "ARM64-2GB", "ARM64-64GB"], "arch": + "arm64", "id": "3cc79cc6-4649-46d9-a2b6-698f1236e1d0", "zone": "ams1"}, {"compatible_commercial_types": + ["X64-120GB", "C2M", "START1-S", "VC1S", "C2L", "X64-15GB", "C2S", "X64-30GB", + "START1-L", "START1-M", "X64-60GB", "VC1L", "VC1M"], "arch": "x86_64", "id": + "c9fb2bed-a9b8-4e1a-bf15-db8e763fe7a7", "zone": "ams1"}, {"compatible_commercial_types": + ["GP1-XS", "DEV1-L", "RENDER-S", "GP1-XL", "C2S", "X64-15GB", "DEV1-XL", "C2L", + "C2M", "VC1S", "START1-S", "X64-30GB", "GP1-L", "GP1-M", "GP1-S", "START1-L", + "START1-M", "VC1L", "VC1M", "X64-120GB", "X64-60GB"], "arch": "x86_64", "id": + "f01db1d0-092a-47de-a32e-09bd6bda7715", "zone": "par1"}, {"compatible_commercial_types": + ["C1"], "arch": "arm", "id": "6f2e99e8-da99-4990-b689-7294e8a604fa", "zone": + "par1"}, {"compatible_commercial_types": ["ARM64-8GB", "ARM64-2GB", "ARM64-32GB", + "ARM64-128GB", "ARM64-4GB", "ARM64-64GB", "ARM64-16GB"], "arch": "arm64", "id": + "03980aee-14cd-44f1-be3c-508c8b8a19e6", "zone": "par1"}], "name": "2018-04-18T10:07:15.691016"}], + "current_public_version": "af308511-bcb3-4583-b0e0-79dbb1eea63e", "label": "node.js", + "organization": {"id": "6d6b64e5-6bad-4cc6-b7ef-2030884c3e11", "name": "mtouron@ocs.online.net"}}, + {"valid_until": null, "description": "Surf the web in a secure and anonymous + way with OpenVPN InstantApp.", "creation_date": "2016-03-07T21:04:57.667667+00:00", + "logo": "https://marketplace-logos.s3.nl-ams.scw.cloud/openvpn.png", "id": "b6f4edc8-21e6-4aa2-8f52-1030cf6d4dd8", + "categories": ["instantapp"], "name": "OpenVPN", "modification_date": "2019-03-26T14:00:52.955853+00:00", + "versions": [{"creation_date": "2019-03-25T13:06:02.622633+00:00", "modification_date": + "2019-03-25T13:06:02.622633+00:00", "id": "d812e374-1169-4c91-aa90-c72acceeecb2", + "local_images": [{"compatible_commercial_types": ["ARM64-4GB", "ARM64-128GB", + "ARM64-16GB", "ARM64-32GB", "ARM64-8GB", "ARM64-2GB", "ARM64-64GB"], "arch": + "arm64", "id": "b15ddb1a-0611-412e-881a-3aed1b36392b", "zone": "ams1"}, {"compatible_commercial_types": + ["GP1-XS", "DEV1-M", "DEV1-L", "START1-XS", "DEV1-S", "RENDER-S", "GP1-XL", + "C2S", "X64-15GB", "DEV1-XL", "C2L", "C2M", "VC1S", "START1-S", "X64-30GB", + "GP1-L", "GP1-M", "GP1-S", "START1-L", "START1-M", "VC1L", "VC1M", "X64-120GB", + "X64-60GB"], "arch": "x86_64", "id": "02906ae8-bf44-4dd0-bd05-6312dd9fa234", + "zone": "par1"}, {"compatible_commercial_types": [], "arch": "arm", "id": "3aa3622c-45d4-4388-9618-cce6974c71a0", + "zone": "ams1"}, {"compatible_commercial_types": ["C1"], "arch": "arm", "id": + "a5430536-2a51-425d-8613-ef84dae91e27", "zone": "par1"}, {"compatible_commercial_types": + ["X64-120GB", "C2M", "START1-S", "VC1S", "START1-XS", "C2L", "X64-15GB", "C2S", + "X64-30GB", "START1-L", "START1-M", "X64-60GB", "VC1L", "VC1M"], "arch": "x86_64", + "id": "51573d2d-301f-4d24-b0d6-f151728c82f5", "zone": "ams1"}, {"compatible_commercial_types": + ["ARM64-8GB", "ARM64-2GB", "ARM64-32GB", "ARM64-128GB", "ARM64-4GB", "ARM64-64GB", + "ARM64-16GB"], "arch": "arm64", "id": "cac79531-98d5-48fa-aba1-8250214b88a3", + "zone": "par1"}], "name": "2019-03-25T13:06:01.961936"}], "current_public_version": + "d812e374-1169-4c91-aa90-c72acceeecb2", "label": "openvpn", "organization": + {"id": "6d6b64e5-6bad-4cc6-b7ef-2030884c3e11", "name": "mtouron@ocs.online.net"}}, + {"valid_until": null, "description": "ownCloud lets you sync & share your files, + calendar, contacts and more. Access your data from all your devices, on an open + platform you can extend and modify.", "creation_date": "2016-03-07T21:05:14.365925+00:00", + "logo": "https://marketplace-logos.s3.nl-ams.scw.cloud/owncloud.png", "id": + "e22a5d54-ecb5-4fdd-a130-a473737ff7ab", "categories": ["instantapp"], "name": + "ownCloud", "modification_date": "2019-03-26T14:00:52.457272+00:00", "versions": + [{"creation_date": "2018-04-18T10:09:39.010195+00:00", "modification_date": + "2018-04-18T10:09:39.010195+00:00", "id": "c9c02a9c-e072-48af-aefd-bf6be9028022", + "local_images": [{"compatible_commercial_types": [], "arch": "arm", "id": "a5fb716a-1c60-4740-a179-98ce315ca3d7", + "zone": "ams1"}, {"compatible_commercial_types": ["C1"], "arch": "arm", "id": + "2fdbbbb4-3b63-403b-9604-27713971efd6", "zone": "par1"}, {"compatible_commercial_types": + ["X64-120GB", "C2M", "START1-S", "VC1S", "C2L", "X64-15GB", "C2S", "X64-30GB", + "START1-L", "START1-M", "X64-60GB", "VC1L", "VC1M"], "arch": "x86_64", "id": + "4208a611-a789-40ea-ac0e-fb3001ee39a9", "zone": "ams1"}, {"compatible_commercial_types": + ["GP1-XS", "DEV1-L", "RENDER-S", "GP1-XL", "C2S", "X64-15GB", "DEV1-XL", "C2L", + "C2M", "VC1S", "START1-S", "X64-30GB", "GP1-L", "GP1-M", "GP1-S", "START1-L", + "START1-M", "VC1L", "VC1M", "X64-120GB", "X64-60GB"], "arch": "x86_64", "id": + "93de8eae-535f-47bd-88fa-84af7b5eaf76", "zone": "par1"}], "name": "2018-04-18T10:09:38.952503"}], + "current_public_version": "c9c02a9c-e072-48af-aefd-bf6be9028022", "label": "owncloud", + "organization": {"id": "6d6b64e5-6bad-4cc6-b7ef-2030884c3e11", "name": "mtouron@ocs.online.net"}}, + {"valid_until": null, "description": "PrestaShop is a free, open source e-commerce + solution.", "creation_date": "2016-03-07T21:01:47.997930+00:00", "logo": "https://marketplace-logos.s3.nl-ams.scw.cloud/prestashop.png", + "id": "58a551e0-1b8b-4c83-82e7-1b4602ad43d1", "categories": ["instantapp"], + "name": "PrestaShop", "modification_date": "2019-03-26T14:00:50.067950+00:00", + "versions": [{"creation_date": "2018-05-16T14:57:16.059809+00:00", "modification_date": + "2018-05-16T14:57:16.059809+00:00", "id": "6c459ab1-4f1a-4f87-b92e-c00849c93fde", + "local_images": [{"compatible_commercial_types": ["GP1-XS", "DEV1-L", "RENDER-S", + "GP1-XL", "C2S", "X64-15GB", "DEV1-XL", "C2L", "C2M", "VC1S", "START1-S", "X64-30GB", + "GP1-L", "GP1-M", "GP1-S", "START1-L", "START1-M", "VC1L", "VC1M", "X64-120GB", + "X64-60GB"], "arch": "x86_64", "id": "4d07fcfa-ccda-4945-81aa-8de2206b39c0", + "zone": "par1"}, {"compatible_commercial_types": ["C1"], "arch": "arm", "id": + "73db574d-d5a0-49d5-b6ca-dd662895fac3", "zone": "par1"}, {"compatible_commercial_types": + ["ARM64-8GB", "ARM64-2GB", "ARM64-32GB", "ARM64-128GB", "ARM64-4GB", "ARM64-64GB", + "ARM64-16GB"], "arch": "arm64", "id": "c97dc20f-8066-4d56-aabf-2b75162c0f9f", + "zone": "par1"}, {"compatible_commercial_types": ["X64-120GB", "C2M", "START1-S", + "VC1S", "C2L", "X64-15GB", "C2S", "X64-30GB", "START1-L", "START1-M", "X64-60GB", + "VC1L", "VC1M"], "arch": "x86_64", "id": "c78c3206-eb2b-4217-ad7c-0aca98dec145", + "zone": "ams1"}, {"compatible_commercial_types": ["ARM64-4GB", "ARM64-128GB", + "ARM64-16GB", "ARM64-32GB", "ARM64-8GB", "ARM64-2GB", "ARM64-64GB"], "arch": + "arm64", "id": "7f91941c-f06a-4103-91a4-793f03b11fda", "zone": "ams1"}, {"compatible_commercial_types": + [], "arch": "arm", "id": "271a9c1f-73ef-4943-bac7-799130228040", "zone": "ams1"}], + "name": "2018-05-16T14:57:15.505378"}], "current_public_version": "6c459ab1-4f1a-4f87-b92e-c00849c93fde", + "label": "prestashop", "organization": {"id": "6d6b64e5-6bad-4cc6-b7ef-2030884c3e11", + "name": "mtouron@ocs.online.net"}}, {"valid_until": null, "description": "The + intended audience of this InstantApp is Python developers who want to bootstrap + or test a Python application easily, in seconds.", "creation_date": "2016-03-07T21:05:46.642023+00:00", + "logo": "https://marketplace-logos.s3.nl-ams.scw.cloud/python.png", "id": "5c0f7971-c308-442e-82ab-2eb147439bd7", + "categories": ["instantapp"], "name": "Python", "modification_date": "2019-03-26T14:00:49.970905+00:00", + "versions": [{"creation_date": "2018-04-17T16:43:36.089412+00:00", "modification_date": + "2018-04-17T16:43:36.089412+00:00", "id": "2642a982-e61d-4a58-8105-8838a69a85e3", + "local_images": [{"compatible_commercial_types": ["GP1-XS", "DEV1-L", "RENDER-S", + "GP1-XL", "C2S", "X64-15GB", "DEV1-XL", "C2L", "C2M", "VC1S", "START1-S", "X64-30GB", + "GP1-L", "GP1-M", "GP1-S", "START1-L", "START1-M", "VC1L", "VC1M", "X64-120GB", + "X64-60GB"], "arch": "x86_64", "id": "70b9c9cf-c2d9-4a80-b450-a7aef8226d96", + "zone": "par1"}, {"compatible_commercial_types": ["X64-120GB", "C2M", "START1-S", + "VC1S", "C2L", "X64-15GB", "C2S", "X64-30GB", "START1-L", "START1-M", "X64-60GB", + "VC1L", "VC1M"], "arch": "x86_64", "id": "5218fa4e-8239-4831-ac2a-c96e23f387a2", + "zone": "ams1"}, {"compatible_commercial_types": ["C1"], "arch": "arm", "id": + "f205e2a6-621a-4534-a5d1-36f6cf1f8376", "zone": "par1"}, {"compatible_commercial_types": + [], "arch": "arm", "id": "613a5226-3d97-4f0e-abe2-99385a050784", "zone": "ams1"}], + "name": "2018-04-17T16:43:36.031203"}], "current_public_version": "2642a982-e61d-4a58-8105-8838a69a85e3", + "label": "python", "organization": {"id": "6d6b64e5-6bad-4cc6-b7ef-2030884c3e11", + "name": "mtouron@ocs.online.net"}}, {"valid_until": null, "description": "A + dynamic, open source programming language with a focus on simplicity and productivity.", + "creation_date": "2016-03-07T22:15:25.347873+00:00", "logo": "https://marketplace-logos.s3.nl-ams.scw.cloud/ruby.png", + "id": "42866fbe-9168-4f77-8271-09beb6049a07", "categories": ["instantapp"], + "name": "Ruby", "modification_date": "2019-03-26T14:00:54.119256+00:00", "versions": + [{"creation_date": "2018-04-18T10:21:49.119857+00:00", "modification_date": + "2018-04-18T10:21:49.119857+00:00", "id": "5b8c935b-5047-43fd-a423-045dae3e0d78", + "local_images": [{"compatible_commercial_types": ["GP1-XS", "DEV1-L", "RENDER-S", + "GP1-XL", "C2S", "X64-15GB", "DEV1-XL", "C2L", "C2M", "VC1S", "START1-S", "X64-30GB", + "GP1-L", "GP1-M", "GP1-S", "START1-L", "START1-M", "VC1L", "VC1M", "X64-120GB", + "X64-60GB"], "arch": "x86_64", "id": "09c71ada-00c6-43de-ad44-c77c5b857a05", + "zone": "par1"}, {"compatible_commercial_types": ["X64-120GB", "C2M", "START1-S", + "VC1S", "C2L", "X64-15GB", "C2S", "X64-30GB", "START1-L", "START1-M", "X64-60GB", + "VC1L", "VC1M"], "arch": "x86_64", "id": "24f2e8ee-80f1-4a8d-83c4-74ed8cd80ed0", + "zone": "ams1"}, {"compatible_commercial_types": ["C1"], "arch": "arm", "id": + "e2479a13-414b-4a0c-ba50-d01e67ee8600", "zone": "par1"}, {"compatible_commercial_types": + [], "arch": "arm", "id": "f83a03fa-58eb-4b35-bda9-1a42b6d6d90d", "zone": "ams1"}], + "name": "2018-04-18T10:21:49.057120"}], "current_public_version": "5b8c935b-5047-43fd-a423-045dae3e0d78", + "label": "ruby", "organization": {"id": "6d6b64e5-6bad-4cc6-b7ef-2030884c3e11", + "name": "mtouron@ocs.online.net"}}, {"valid_until": null, "description": "The + torrents InstantApp spawns a private server to upload and download your digital + files.", "creation_date": "2016-03-07T21:08:02.980958+00:00", "logo": "https://marketplace-logos.s3.nl-ams.scw.cloud/seedbox.png", + "id": "4e18f1fc-0b66-4692-a38d-bfa4c94f29de", "categories": ["instantapp"], + "name": "Torrents", "modification_date": "2019-03-26T14:00:51.427329+00:00", + "versions": [{"creation_date": "2019-03-25T13:04:02.099902+00:00", "modification_date": + "2019-03-25T13:04:02.099902+00:00", "id": "53d2e4fb-20df-4ba9-8d65-29256f2be480", + "local_images": [{"compatible_commercial_types": ["ARM64-4GB", "ARM64-128GB", + "ARM64-16GB", "ARM64-32GB", "ARM64-8GB", "ARM64-2GB", "ARM64-64GB"], "arch": + "arm64", "id": "41d0db97-4822-4642-96ec-6f3fbcfc167c", "zone": "ams1"}, {"compatible_commercial_types": + [], "arch": "arm", "id": "3fbe5f72-81da-4a0a-91ef-36ab68fc801e", "zone": "ams1"}, + {"compatible_commercial_types": ["X64-120GB", "C2M", "START1-S", "VC1S", "START1-XS", + "C2L", "X64-15GB", "C2S", "X64-30GB", "START1-L", "START1-M", "X64-60GB", "VC1L", + "VC1M"], "arch": "x86_64", "id": "1aed7396-79dc-431d-af03-d3dde35d195f", "zone": + "ams1"}, {"compatible_commercial_types": ["ARM64-8GB", "ARM64-2GB", "ARM64-32GB", + "ARM64-128GB", "ARM64-4GB", "ARM64-64GB", "ARM64-16GB"], "arch": "arm64", "id": + "398875b6-de43-4946-976f-ba5189954912", "zone": "par1"}, {"compatible_commercial_types": + ["C1"], "arch": "arm", "id": "a3160162-3d72-4632-8e42-4849a1280743", "zone": + "par1"}, {"compatible_commercial_types": ["GP1-XS", "DEV1-M", "DEV1-L", "START1-XS", + "DEV1-S", "RENDER-S", "GP1-XL", "C2S", "X64-15GB", "DEV1-XL", "C2L", "C2M", + "VC1S", "START1-S", "X64-30GB", "GP1-L", "GP1-M", "GP1-S", "START1-L", "START1-M", + "VC1L", "VC1M", "X64-120GB", "X64-60GB"], "arch": "x86_64", "id": "f5d116e3-2b58-44cf-a83a-cd0682135473", + "zone": "par1"}], "name": "2019-03-25T13:04:01.408435"}], "current_public_version": + "53d2e4fb-20df-4ba9-8d65-29256f2be480", "label": "torrents", "organization": + {"id": "6d6b64e5-6bad-4cc6-b7ef-2030884c3e11", "name": "mtouron@ocs.online.net"}}, + {"valid_until": null, "description": "Ubuntu is the ideal distribution for scale-out + computing, Ubuntu Server helps you make the most of your infrastructure.", "creation_date": + "2020-02-17T15:50:48.980694+00:00", "logo": "https://marketplace-logos.s3.nl-ams.scw.cloud/ubuntu.png", + "id": "3f1b9623-71ba-4fe3-b994-27fcdaa850ba", "categories": ["distribution"], + "name": "Ubuntu 20.04 Focal Fossa", "modification_date": "2020-04-28T15:23:46.153257+00:00", + "versions": [{"creation_date": "2020-04-28T15:08:03.947699+00:00", "modification_date": + "2020-04-28T15:08:03.947699+00:00", "id": "61cf23b2-447a-48d4-9cfe-02b965fa651b", + "local_images": [{"compatible_commercial_types": ["VC1S", "VC1M", "VC1L", "START1-XS", + "START1-S", "START1-M", "START1-L", "X64-15GB", "X64-30GB", "X64-60GB", "X64-120GB", + "GP1-XS", "GP1-S", "GP1-M", "GP1-L", "GP1-XL", "DEV1-S", "DEV1-M", "DEV1-L", + "DEV1-XL"], "arch": "x86_64", "id": "03e798ba-0c65-485b-82f1-828588f8da58", + "zone": "ams1"}, {"compatible_commercial_types": ["VC1S", "VC1M", "VC1L", "START1-XS", + "START1-S", "START1-M", "START1-L", "X64-15GB", "X64-30GB", "X64-60GB", "X64-120GB", + "GP1-XS", "GP1-S", "GP1-M", "GP1-L", "GP1-XL", "DEV1-S", "DEV1-M", "DEV1-L", + "DEV1-XL"], "arch": "x86_64", "id": "ce6c9d21-0ff3-4355-b385-c930c9f22d9d", + "zone": "par1"}], "name": "2020-04-28T15:08:03.913957+00:00"}], "current_public_version": + "61cf23b2-447a-48d4-9cfe-02b965fa651b", "label": "ubuntu_focal", "organization": + {"id": "51b656e3-4865-41e8-adbc-0c45bdd780db", "name": "Instances User Resources + Build System"}}, {"valid_until": null, "description": "Ubuntu Bionic for Machine + Learning 10.1", "creation_date": "2019-03-06T17:24:56.871317+00:00", "logo": + "https://marketplace-logos.s3.nl-ams.scw.cloud/ubuntu.png", "id": "e0808ca5-1e0a-4070-8aff-d2e49e9600c1", + "categories": ["Machine Learning"], "name": "Ubuntu Bionic ML 10.1", "modification_date": + "2020-02-17T12:56:29.417410+00:00", "versions": [{"creation_date": "2020-02-17T12:50:10.150196+00:00", + "modification_date": "2020-02-17T12:50:10.150196+00:00", "id": "50a39102-80cf-4c9b-aed8-919e745df9d5", + "local_images": [{"compatible_commercial_types": ["RENDER-S"], "arch": "x86_64", + "id": "8fa4f46b-2cb2-40df-813a-727df120b9e4", "zone": "par1"}], "name": "2020-02-17T12:50:10.040529"}], + "current_public_version": "50a39102-80cf-4c9b-aed8-919e745df9d5", "label": "ubuntu_bionic_ml_10.1", + "organization": {"id": "11111111-1111-4111-8111-111111111111", "name": "OCS"}}, + {"valid_until": null, "description": "Ubuntu Bionic for Machine Learning 9.2", + "creation_date": "2019-03-06T17:24:29.909001+00:00", "logo": "https://marketplace-logos.s3.nl-ams.scw.cloud/ubuntu.png", + "id": "7e48e55a-7b46-4e4f-b2d2-6b7316cdca8c", "categories": ["Machine Learning"], + "name": "Ubuntu Bionic ML 9.2", "modification_date": "2020-02-17T12:55:53.623681+00:00", + "versions": [{"creation_date": "2020-02-17T12:39:31.681271+00:00", "modification_date": + "2020-02-17T12:39:31.681271+00:00", "id": "d0602033-62f8-455a-be55-0930291bb43f", + "local_images": [{"compatible_commercial_types": ["RENDER-S"], "arch": "x86_64", + "id": "1dad4207-f91a-48c3-9fac-6620e90b9434", "zone": "par1"}], "name": "2020-02-17T12:39:31.572184"}], + "current_public_version": "d0602033-62f8-455a-be55-0930291bb43f", "label": "ubuntu_bionic_ml_9.2", + "organization": {"id": "11111111-1111-4111-8111-111111111111", "name": "OCS"}}, + {"valid_until": null, "description": "WordPress is the most popular web software + you can use to create a beautiful website or blog.", "creation_date": "2016-03-07T21:03:59.783534+00:00", + "logo": "https://marketplace-logos.s3.nl-ams.scw.cloud/wordpress.png", "id": + "215a50f9-0ba8-4e9c-a4e7-10caf50e3586", "categories": ["instantapp"], "name": + "WordPress", "modification_date": "2019-03-26T14:00:50.250657+00:00", "versions": + [{"creation_date": "2019-03-08T08:58:28.971149+00:00", "modification_date": + "2019-03-08T08:58:28.971149+00:00", "id": "3fb22e1f-de7f-4787-9bf8-32770151a45e", + "local_images": [{"compatible_commercial_types": ["GP1-XS", "DEV1-M", "DEV1-L", + "START1-XS", "DEV1-S", "RENDER-S", "GP1-XL", "C2S", "X64-15GB", "DEV1-XL", "C2L", + "C2M", "VC1S", "START1-S", "X64-30GB", "GP1-L", "GP1-M", "GP1-S", "START1-L", + "START1-M", "VC1L", "VC1M", "X64-120GB", "X64-60GB"], "arch": "x86_64", "id": + "8523fb41-500a-4f21-998b-890908da6119", "zone": "par1"}, {"compatible_commercial_types": + ["C1"], "arch": "arm", "id": "5645133b-67a3-4644-9941-16f7e2b428ea", "zone": + "par1"}, {"compatible_commercial_types": ["ARM64-8GB", "ARM64-2GB", "ARM64-32GB", + "ARM64-128GB", "ARM64-4GB", "ARM64-64GB", "ARM64-16GB"], "arch": "arm64", "id": + "757fac76-5265-46f8-8a1f-00c0fb270010", "zone": "par1"}, {"compatible_commercial_types": + ["X64-120GB", "C2M", "START1-S", "VC1S", "START1-XS", "C2L", "X64-15GB", "C2S", + "X64-30GB", "START1-L", "START1-M", "X64-60GB", "VC1L", "VC1M"], "arch": "x86_64", + "id": "7a892c1a-bbdc-491f-9974-4008e3708664", "zone": "ams1"}, {"compatible_commercial_types": + ["ARM64-4GB", "ARM64-128GB", "ARM64-16GB", "ARM64-32GB", "ARM64-8GB", "ARM64-2GB", + "ARM64-64GB"], "arch": "arm64", "id": "726334eb-0733-4b6a-becd-769ff9bfe16d", + "zone": "ams1"}], "name": "2019-03-08T08:58:28.893091"}], "current_public_version": + "3fb22e1f-de7f-4787-9bf8-32770151a45e", "label": "wordpress", "organization": + {"id": "6d6b64e5-6bad-4cc6-b7ef-2030884c3e11", "name": "mtouron@ocs.online.net"}}]}' + headers: + Cache-Control: + - no-cache + Content-Length: + - "53980" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Tue, 05 May 2020 13:40:50 GMT + Link: + - ; rel="last" + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 98a0b2b2-0a78-4da0-879b-a3d996a27949 + X-Total-Count: + - "31" + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14.2; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/images/f974feac-abae-4365-b988-8ec7d1cec10d + method: GET + response: + body: '{"image": {"id": "f974feac-abae-4365-b988-8ec7d1cec10d", "name": "Ubuntu + Bionic Beaver", "organization": "51b656e3-4865-41e8-adbc-0c45bdd780db", "root_volume": + {"id": "dd5f5c10-23b1-4c9c-8445-eb6740957c84", "name": "snapshot-de728daa-0bf6-4c64-abf5-a9477e791c83-2019-03-05_10:13", + "volume_type": "l_ssd", "size": 10000000000}, "extra_volumes": {}, "public": + true, "arch": "x86_64", "creation_date": "2019-03-05T10:13:15.974944+00:00", + "modification_date": "2019-03-05T13:32:29.274319+00:00", "default_bootscript": + {"id": "15fbd2f7-a0f9-412b-8502-6a44da8d98b8", "public": false, "title": "x86_64 + mainline 4.9.93 rev1", "architecture": "x86_64", "organization": "11111111-1111-4111-8111-111111111111", + "kernel": "http://169.254.42.24/kernel/x86_64-mainline-lts-4.9-4.9.93-rev1/vmlinuz-4.9.93", + "dtb": "", "initrd": "http://169.254.42.24/initrd/initrd-Linux-x86_64-v3.14.6.gz", + "bootcmdargs": "LINUX_COMMON scaleway boot=local nbd.max_part=16", "default": + false, "zone": "fr-par-1"}, "from_server": null, "state": "available", "zone": + "fr-par-1"}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - "1044" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Tue, 05 May 2020 13:40:50 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - d7ff6448-d5e4-4fa1-a71a-8e481417005a + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14.2; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/products/servers + method: GET + response: + body: '{"servers": {"ARM64-128GB": {"alt_names": [], "arch": "arm64", "ncpus": + 64, "ram": 137438953472, "gpu": null, "volumes_constraint": {"min_size": 500000000000, + "max_size": 1000000000000}, "per_volume_constraint": {"l_ssd": {"min_size": + 1000000000, "max_size": 200000000000}}, "baremetal": false, "monthly_price": + 279.99, "hourly_price": 0.56, "capabilities": {"boot_types": ["bootscript", + "rescue", "local"], "default_boot_type": "bootscript", "hot_snapshots_local_volume": + true, "placement_groups": true, "block_storage": false, "private_network": 0}, + "network": {"ipv6_support": true, "sum_internal_bandwidth": null, "sum_internet_bandwidth": + 1073741824, "interfaces": [{"internal_bandwidth": null, "internet_bandwidth": + 1073741824}]}}, "ARM64-16GB": {"alt_names": [], "arch": "arm64", "ncpus": 16, + "ram": 17179869184, "gpu": null, "volumes_constraint": {"min_size": 200000000000, + "max_size": 400000000000}, "per_volume_constraint": {"l_ssd": {"min_size": 1000000000, + "max_size": 200000000000}}, "baremetal": false, "monthly_price": 34.99, "hourly_price": + 0.07, "capabilities": {"boot_types": ["bootscript", "rescue", "local"], "default_boot_type": + "bootscript", "hot_snapshots_local_volume": true, "placement_groups": true, + "block_storage": false, "private_network": 0}, "network": {"ipv6_support": true, + "sum_internal_bandwidth": null, "sum_internet_bandwidth": 524288000, "interfaces": + [{"internal_bandwidth": null, "internet_bandwidth": 524288000}]}}, "ARM64-2GB": + {"alt_names": [], "arch": "arm64", "ncpus": 4, "ram": 2147483648, "gpu": null, + "volumes_constraint": {"min_size": 50000000000, "max_size": 50000000000}, "per_volume_constraint": + {"l_ssd": {"min_size": 1000000000, "max_size": 200000000000}}, "baremetal": + false, "monthly_price": 2.99, "hourly_price": 0.006, "capabilities": {"boot_types": + ["bootscript", "rescue", "local"], "default_boot_type": "bootscript", "hot_snapshots_local_volume": + true, "placement_groups": true, "block_storage": false, "private_network": 0}, + "network": {"ipv6_support": true, "sum_internal_bandwidth": null, "sum_internet_bandwidth": + 209715200, "interfaces": [{"internal_bandwidth": null, "internet_bandwidth": + 209715200}]}}, "ARM64-32GB": {"alt_names": [], "arch": "arm64", "ncpus": 32, + "ram": 34359738368, "gpu": null, "volumes_constraint": {"min_size": 300000000000, + "max_size": 600000000000}, "per_volume_constraint": {"l_ssd": {"min_size": 1000000000, + "max_size": 200000000000}}, "baremetal": false, "monthly_price": 69.99, "hourly_price": + 0.14, "capabilities": {"boot_types": ["bootscript", "rescue", "local"], "default_boot_type": + "bootscript", "hot_snapshots_local_volume": true, "placement_groups": true, + "block_storage": false, "private_network": 0}, "network": {"ipv6_support": true, + "sum_internal_bandwidth": null, "sum_internet_bandwidth": 524288000, "interfaces": + [{"internal_bandwidth": null, "internet_bandwidth": 524288000}]}}, "ARM64-4GB": + {"alt_names": [], "arch": "arm64", "ncpus": 6, "ram": 4294967296, "gpu": null, + "volumes_constraint": {"min_size": 100000000000, "max_size": 100000000000}, + "per_volume_constraint": {"l_ssd": {"min_size": 1000000000, "max_size": 200000000000}}, + "baremetal": false, "monthly_price": 5.99, "hourly_price": 0.012, "capabilities": + {"boot_types": ["bootscript", "rescue", "local"], "default_boot_type": "bootscript", + "hot_snapshots_local_volume": true, "placement_groups": true, "block_storage": + false, "private_network": 0}, "network": {"ipv6_support": true, "sum_internal_bandwidth": + null, "sum_internet_bandwidth": 209715200, "interfaces": [{"internal_bandwidth": + null, "internet_bandwidth": 209715200}]}}, "ARM64-64GB": {"alt_names": [], "arch": + "arm64", "ncpus": 48, "ram": 68719476736, "gpu": null, "volumes_constraint": + {"min_size": 400000000000, "max_size": 800000000000}, "per_volume_constraint": + {"l_ssd": {"min_size": 1000000000, "max_size": 200000000000}}, "baremetal": + false, "monthly_price": 139.99, "hourly_price": 0.28, "capabilities": {"boot_types": + ["bootscript", "rescue", "local"], "default_boot_type": "bootscript", "hot_snapshots_local_volume": + true, "placement_groups": true, "block_storage": false, "private_network": 0}, + "network": {"ipv6_support": true, "sum_internal_bandwidth": null, "sum_internet_bandwidth": + 1073741824, "interfaces": [{"internal_bandwidth": null, "internet_bandwidth": + 1073741824}]}}, "ARM64-8GB": {"alt_names": [], "arch": "arm64", "ncpus": 8, + "ram": 8589934592, "gpu": null, "volumes_constraint": {"min_size": 200000000000, + "max_size": 200000000000}, "per_volume_constraint": {"l_ssd": {"min_size": 1000000000, + "max_size": 200000000000}}, "baremetal": false, "monthly_price": 11.99, "hourly_price": + 0.024, "capabilities": {"boot_types": ["bootscript", "rescue", "local"], "default_boot_type": + "bootscript", "hot_snapshots_local_volume": true, "placement_groups": true, + "block_storage": false, "private_network": 0}, "network": {"ipv6_support": true, + "sum_internal_bandwidth": null, "sum_internet_bandwidth": 209715200, "interfaces": + [{"internal_bandwidth": null, "internet_bandwidth": 209715200}]}}, "C1": {"alt_names": + [], "arch": "arm", "ncpus": 4, "ram": 2147483648, "gpu": null, "volumes_constraint": + {"min_size": 50000000000, "max_size": 1000000000000}, "per_volume_constraint": + {"l_ssd": {"min_size": 1000000000, "max_size": 200000000000}}, "baremetal": + true, "monthly_price": 2.99, "hourly_price": 0.006, "capabilities": {"boot_types": + ["bootscript", "rescue"], "default_boot_type": "bootscript", "hot_snapshots_local_volume": + false, "placement_groups": false, "block_storage": false, "private_network": + 0}, "network": {"ipv6_support": false, "sum_internal_bandwidth": 1073741824, + "sum_internet_bandwidth": 209715200, "interfaces": [{"internal_bandwidth": 1073741824, + "internet_bandwidth": 209715200}]}}, "C2L": {"alt_names": [], "arch": "x86_64", + "ncpus": 8, "ram": 34359738368, "gpu": null, "volumes_constraint": {"min_size": + 50000000000, "max_size": 1000000000000}, "per_volume_constraint": {"l_ssd": + {"min_size": 1000000000, "max_size": 200000000000}}, "baremetal": true, "monthly_price": + 23.99, "hourly_price": 0.048, "capabilities": {"boot_types": ["bootscript", + "rescue"], "default_boot_type": "bootscript", "hot_snapshots_local_volume": + false, "placement_groups": false, "block_storage": false, "private_network": + 0}, "network": {"ipv6_support": true, "sum_internal_bandwidth": 5368709120, + "sum_internet_bandwidth": 629145600, "interfaces": [{"internal_bandwidth": 2684354560, + "internet_bandwidth": 629145600}, {"internal_bandwidth": 2684354560, "internet_bandwidth": + null}]}}, "C2M": {"alt_names": [], "arch": "x86_64", "ncpus": 8, "ram": 17179869184, + "gpu": null, "volumes_constraint": {"min_size": 50000000000, "max_size": 1000000000000}, + "per_volume_constraint": {"l_ssd": {"min_size": 1000000000, "max_size": 200000000000}}, + "baremetal": true, "monthly_price": 17.99, "hourly_price": 0.036, "capabilities": + {"boot_types": ["bootscript", "rescue"], "default_boot_type": "bootscript", + "hot_snapshots_local_volume": false, "placement_groups": false, "block_storage": + false, "private_network": 0}, "network": {"ipv6_support": true, "sum_internal_bandwidth": + 5368709120, "sum_internet_bandwidth": 524288000, "interfaces": [{"internal_bandwidth": + 2684354560, "internet_bandwidth": 524288000}, {"internal_bandwidth": 2684354560, + "internet_bandwidth": null}]}}, "C2S": {"alt_names": [], "arch": "x86_64", "ncpus": + 4, "ram": 8589934592, "gpu": null, "volumes_constraint": {"min_size": 50000000000, + "max_size": 1000000000000}, "per_volume_constraint": {"l_ssd": {"min_size": + 1000000000, "max_size": 200000000000}}, "baremetal": true, "monthly_price": + 11.99, "hourly_price": 0.024, "capabilities": {"boot_types": ["bootscript", + "rescue"], "default_boot_type": "bootscript", "hot_snapshots_local_volume": + false, "placement_groups": false, "block_storage": false, "private_network": + 0}, "network": {"ipv6_support": true, "sum_internal_bandwidth": 2684354560, + "sum_internet_bandwidth": 314572800, "interfaces": [{"internal_bandwidth": 2684354560, + "internet_bandwidth": 314572800}]}}, "DEV1-L": {"alt_names": [], "arch": "x86_64", + "ncpus": 4, "ram": 8589934592, "gpu": null, "volumes_constraint": {"min_size": + 80000000000, "max_size": 80000000000}, "per_volume_constraint": {"l_ssd": {"min_size": + 1000000000, "max_size": 800000000000}}, "baremetal": false, "monthly_price": + 15.99, "hourly_price": 0.032, "capabilities": {"boot_types": ["bootscript", + "rescue", "local"], "default_boot_type": "local", "hot_snapshots_local_volume": + true, "placement_groups": true, "block_storage": true, "private_network": 8}, + "network": {"ipv6_support": true, "sum_internal_bandwidth": 419430400, "sum_internet_bandwidth": + 419430400, "interfaces": [{"internal_bandwidth": 419430400, "internet_bandwidth": + null}, {"internal_bandwidth": null, "internet_bandwidth": 419430400}]}}, "DEV1-M": + {"alt_names": [], "arch": "x86_64", "ncpus": 3, "ram": 4294967296, "gpu": null, + "volumes_constraint": {"min_size": 40000000000, "max_size": 40000000000}, "per_volume_constraint": + {"l_ssd": {"min_size": 1000000000, "max_size": 800000000000}}, "baremetal": + false, "monthly_price": 7.99, "hourly_price": 0.016, "capabilities": {"boot_types": + ["bootscript", "rescue", "local"], "default_boot_type": "local", "hot_snapshots_local_volume": + true, "placement_groups": true, "block_storage": true, "private_network": 8}, + "network": {"ipv6_support": true, "sum_internal_bandwidth": 314572800, "sum_internet_bandwidth": + 314572800, "interfaces": [{"internal_bandwidth": 314572800, "internet_bandwidth": + null}, {"internal_bandwidth": null, "internet_bandwidth": 314572800}]}}, "DEV1-S": + {"alt_names": [], "arch": "x86_64", "ncpus": 2, "ram": 2147483648, "gpu": null, + "volumes_constraint": {"min_size": 20000000000, "max_size": 20000000000}, "per_volume_constraint": + {"l_ssd": {"min_size": 1000000000, "max_size": 800000000000}}, "baremetal": + false, "monthly_price": 2.99, "hourly_price": 0.006, "capabilities": {"boot_types": + ["bootscript", "rescue", "local"], "default_boot_type": "local", "hot_snapshots_local_volume": + true, "placement_groups": true, "block_storage": true, "private_network": 8}, + "network": {"ipv6_support": true, "sum_internal_bandwidth": 209715200, "sum_internet_bandwidth": + 209715200, "interfaces": [{"internal_bandwidth": 209715200, "internet_bandwidth": + null}, {"internal_bandwidth": null, "internet_bandwidth": 209715200}]}}, "DEV1-XL": + {"alt_names": [], "arch": "x86_64", "ncpus": 4, "ram": 12884901888, "gpu": null, + "volumes_constraint": {"min_size": 120000000000, "max_size": 120000000000}, + "per_volume_constraint": {"l_ssd": {"min_size": 1000000000, "max_size": 800000000000}}, + "baremetal": false, "monthly_price": 23.99, "hourly_price": 0.048, "capabilities": + {"boot_types": ["bootscript", "rescue", "local"], "default_boot_type": "local", + "hot_snapshots_local_volume": true, "placement_groups": true, "block_storage": + true, "private_network": 8}, "network": {"ipv6_support": true, "sum_internal_bandwidth": + 524288000, "sum_internet_bandwidth": 524288000, "interfaces": [{"internal_bandwidth": + 524288000, "internet_bandwidth": null}, {"internal_bandwidth": null, "internet_bandwidth": + 524288000}]}}, "GP1-L": {"alt_names": [], "arch": "x86_64", "ncpus": 32, "ram": + 137438953472, "gpu": null, "volumes_constraint": {"min_size": 600000000000, + "max_size": 600000000000}, "per_volume_constraint": {"l_ssd": {"min_size": 1000000000, + "max_size": 800000000000}}, "baremetal": false, "monthly_price": 299.0, "hourly_price": + 0.598, "capabilities": {"boot_types": ["bootscript", "rescue", "local"], "default_boot_type": + "local", "hot_snapshots_local_volume": true, "placement_groups": true, "block_storage": + true, "private_network": 8}, "network": {"ipv6_support": true, "sum_internal_bandwidth": + 5368709120, "sum_internet_bandwidth": 5368709120, "interfaces": [{"internal_bandwidth": + 5368709120, "internet_bandwidth": null}, {"internal_bandwidth": null, "internet_bandwidth": + 5368709120}]}}, "GP1-M": {"alt_names": [], "arch": "x86_64", "ncpus": 16, "ram": + 68719476736, "gpu": null, "volumes_constraint": {"min_size": 600000000000, "max_size": + 600000000000}, "per_volume_constraint": {"l_ssd": {"min_size": 1000000000, "max_size": + 800000000000}}, "baremetal": false, "monthly_price": 159.0, "hourly_price": + 0.318, "capabilities": {"boot_types": ["bootscript", "rescue", "local"], "default_boot_type": + "local", "hot_snapshots_local_volume": true, "placement_groups": true, "block_storage": + true, "private_network": 8}, "network": {"ipv6_support": true, "sum_internal_bandwidth": + 1610612736, "sum_internet_bandwidth": 1610612736, "interfaces": [{"internal_bandwidth": + 1610612736, "internet_bandwidth": null}, {"internal_bandwidth": null, "internet_bandwidth": + 1610612736}]}}, "GP1-S": {"alt_names": [], "arch": "x86_64", "ncpus": 8, "ram": + 34359738368, "gpu": null, "volumes_constraint": {"min_size": 300000000000, "max_size": + 300000000000}, "per_volume_constraint": {"l_ssd": {"min_size": 1000000000, "max_size": + 800000000000}}, "baremetal": false, "monthly_price": 79.0, "hourly_price": 0.158, + "capabilities": {"boot_types": ["bootscript", "rescue", "local"], "default_boot_type": + "local", "hot_snapshots_local_volume": true, "placement_groups": true, "block_storage": + true, "private_network": 8}, "network": {"ipv6_support": true, "sum_internal_bandwidth": + 838860800, "sum_internet_bandwidth": 838860800, "interfaces": [{"internal_bandwidth": + 838860800, "internet_bandwidth": null}, {"internal_bandwidth": null, "internet_bandwidth": + 838860800}]}}, "GP1-XL": {"alt_names": [], "arch": "x86_64", "ncpus": 48, "ram": + 274877906944, "gpu": null, "volumes_constraint": {"min_size": 600000000000, + "max_size": 600000000000}, "per_volume_constraint": {"l_ssd": {"min_size": 1000000000, + "max_size": 800000000000}}, "baremetal": false, "monthly_price": 569.0, "hourly_price": + 1.138, "capabilities": {"boot_types": ["bootscript", "rescue", "local"], "default_boot_type": + "local", "hot_snapshots_local_volume": true, "placement_groups": true, "block_storage": + true, "private_network": 8}, "network": {"ipv6_support": true, "sum_internal_bandwidth": + 10737418240, "sum_internet_bandwidth": 10737418240, "interfaces": [{"internal_bandwidth": + 10737418240, "internet_bandwidth": null}, {"internal_bandwidth": null, "internet_bandwidth": + 10737418240}]}}, "GP1-XS": {"alt_names": [], "arch": "x86_64", "ncpus": 4, "ram": + 17179869184, "gpu": null, "volumes_constraint": {"min_size": 150000000000, "max_size": + 150000000000}, "per_volume_constraint": {"l_ssd": {"min_size": 1000000000, "max_size": + 800000000000}}, "baremetal": false, "monthly_price": 39.0, "hourly_price": 0.078, + "capabilities": {"boot_types": ["bootscript", "rescue", "local"], "default_boot_type": + "local", "hot_snapshots_local_volume": true, "placement_groups": true, "block_storage": + true, "private_network": 8}, "network": {"ipv6_support": true, "sum_internal_bandwidth": + 524288000, "sum_internet_bandwidth": 524288000, "interfaces": [{"internal_bandwidth": + 524288000, "internet_bandwidth": null}, {"internal_bandwidth": null, "internet_bandwidth": + 524288000}]}}, "RENDER-S": {"alt_names": [], "arch": "x86_64", "ncpus": 10, + "ram": 48318382080, "gpu": 1, "volumes_constraint": {"min_size": 400000000000, + "max_size": 400000000000}, "per_volume_constraint": {"l_ssd": {"min_size": 1000000000, + "max_size": 800000000000}}, "baremetal": false, "monthly_price": 499.99, "hourly_price": + 1.0, "capabilities": {"boot_types": ["local", "rescue"], "default_boot_type": + "local", "hot_snapshots_local_volume": true, "placement_groups": true, "block_storage": + true, "private_network": 8}, "network": {"ipv6_support": true, "sum_internal_bandwidth": + 1073741824, "sum_internet_bandwidth": 1073741824, "interfaces": [{"internal_bandwidth": + 1073741824, "internet_bandwidth": null}, {"internal_bandwidth": null, "internet_bandwidth": + 1073741824}]}}, "START1-L": {"alt_names": [], "arch": "x86_64", "ncpus": 8, + "ram": 8589934592, "gpu": null, "volumes_constraint": {"min_size": 200000000000, + "max_size": 200000000000}, "per_volume_constraint": {"l_ssd": {"min_size": 1000000000, + "max_size": 200000000000}}, "baremetal": false, "monthly_price": 15.99, "hourly_price": + 0.032, "capabilities": {"boot_types": ["bootscript", "rescue", "local"], "default_boot_type": + "bootscript", "hot_snapshots_local_volume": true, "placement_groups": true, + "block_storage": false, "private_network": 0}, "network": {"ipv6_support": true, + "sum_internal_bandwidth": null, "sum_internet_bandwidth": 419430400, "interfaces": + [{"internal_bandwidth": null, "internet_bandwidth": 419430400}]}}, "START1-M": + {"alt_names": [], "arch": "x86_64", "ncpus": 4, "ram": 4294967296, "gpu": null, + "volumes_constraint": {"min_size": 100000000000, "max_size": 100000000000}, + "per_volume_constraint": {"l_ssd": {"min_size": 1000000000, "max_size": 200000000000}}, + "baremetal": false, "monthly_price": 7.99, "hourly_price": 0.016, "capabilities": + {"boot_types": ["bootscript", "rescue", "local"], "default_boot_type": "bootscript", + "hot_snapshots_local_volume": true, "placement_groups": true, "block_storage": + false, "private_network": 0}, "network": {"ipv6_support": true, "sum_internal_bandwidth": + null, "sum_internet_bandwidth": 314572800, "interfaces": [{"internal_bandwidth": + null, "internet_bandwidth": 314572800}]}}, "START1-S": {"alt_names": [], "arch": + "x86_64", "ncpus": 2, "ram": 2147483648, "gpu": null, "volumes_constraint": + {"min_size": 50000000000, "max_size": 50000000000}, "per_volume_constraint": + {"l_ssd": {"min_size": 1000000000, "max_size": 200000000000}}, "baremetal": + false, "monthly_price": 3.99, "hourly_price": 0.008, "capabilities": {"boot_types": + ["bootscript", "rescue", "local"], "default_boot_type": "bootscript", "hot_snapshots_local_volume": + true, "placement_groups": true, "block_storage": false, "private_network": 0}, + "network": {"ipv6_support": true, "sum_internal_bandwidth": null, "sum_internet_bandwidth": + 209715200, "interfaces": [{"internal_bandwidth": null, "internet_bandwidth": + 209715200}]}}, "START1-XS": {"alt_names": [], "arch": "x86_64", "ncpus": 1, + "ram": 1073741824, "gpu": null, "volumes_constraint": {"min_size": 25000000000, + "max_size": 25000000000}, "per_volume_constraint": {"l_ssd": {"min_size": 1000000000, + "max_size": 200000000000}}, "baremetal": false, "monthly_price": 1.99, "hourly_price": + 0.004, "capabilities": {"boot_types": ["bootscript", "rescue", "local"], "default_boot_type": + "bootscript", "hot_snapshots_local_volume": true, "placement_groups": true, + "block_storage": false, "private_network": 0}, "network": {"ipv6_support": true, + "sum_internal_bandwidth": null, "sum_internet_bandwidth": 104857600, "interfaces": + [{"internal_bandwidth": null, "internet_bandwidth": 104857600}]}}, "VC1L": {"alt_names": + ["X64-8GB"], "arch": "x86_64", "ncpus": 6, "ram": 8589934592, "gpu": null, "volumes_constraint": + {"min_size": 200000000000, "max_size": 200000000000}, "per_volume_constraint": + {"l_ssd": {"min_size": 1000000000, "max_size": 200000000000}}, "baremetal": + false, "monthly_price": 9.99, "hourly_price": 0.02, "capabilities": {"boot_types": + ["bootscript", "rescue", "local"], "default_boot_type": "bootscript", "hot_snapshots_local_volume": + true, "placement_groups": true, "block_storage": false, "private_network": 0}, + "network": {"ipv6_support": true, "sum_internal_bandwidth": null, "sum_internet_bandwidth": + 209715200, "interfaces": [{"internal_bandwidth": null, "internet_bandwidth": + 209715200}]}}, "VC1M": {"alt_names": ["X64-4GB"], "arch": "x86_64", "ncpus": + 4, "ram": 4294967296, "gpu": null, "volumes_constraint": {"min_size": 100000000000, + "max_size": 100000000000}, "per_volume_constraint": {"l_ssd": {"min_size": 1000000000, + "max_size": 200000000000}}, "baremetal": false, "monthly_price": 5.99, "hourly_price": + 0.012, "capabilities": {"boot_types": ["bootscript", "rescue", "local"], "default_boot_type": + "bootscript", "hot_snapshots_local_volume": true, "placement_groups": true, + "block_storage": false, "private_network": 0}, "network": {"ipv6_support": true, + "sum_internal_bandwidth": null, "sum_internet_bandwidth": 209715200, "interfaces": + [{"internal_bandwidth": null, "internet_bandwidth": 209715200}]}}, "VC1S": {"alt_names": + ["X64-2GB"], "arch": "x86_64", "ncpus": 2, "ram": 2147483648, "gpu": null, "volumes_constraint": + {"min_size": 50000000000, "max_size": 50000000000}, "per_volume_constraint": + {"l_ssd": {"min_size": 1000000000, "max_size": 200000000000}}, "baremetal": + false, "monthly_price": 2.99, "hourly_price": 0.006, "capabilities": {"boot_types": + ["bootscript", "rescue", "local"], "default_boot_type": "bootscript", "hot_snapshots_local_volume": + true, "placement_groups": true, "block_storage": false, "private_network": 0}, + "network": {"ipv6_support": true, "sum_internal_bandwidth": null, "sum_internet_bandwidth": + 209715200, "interfaces": [{"internal_bandwidth": null, "internet_bandwidth": + 209715200}]}}, "X64-120GB": {"alt_names": [], "arch": "x86_64", "ncpus": 12, + "ram": 128849018880, "gpu": null, "volumes_constraint": {"min_size": 500000000000, + "max_size": 1000000000000}, "per_volume_constraint": {"l_ssd": {"min_size": + 1000000000, "max_size": 200000000000}}, "baremetal": false, "monthly_price": + 179.99, "hourly_price": 0.36, "capabilities": {"boot_types": ["bootscript", + "rescue", "local"], "default_boot_type": "bootscript", "hot_snapshots_local_volume": + true, "placement_groups": true, "block_storage": false, "private_network": 0}, + "network": {"ipv6_support": true, "sum_internal_bandwidth": null, "sum_internet_bandwidth": + 1073741824, "interfaces": [{"internal_bandwidth": null, "internet_bandwidth": + 1073741824}]}}, "X64-15GB": {"alt_names": [], "arch": "x86_64", "ncpus": 6, + "ram": 16106127360, "gpu": null, "volumes_constraint": {"min_size": 200000000000, + "max_size": 200000000000}, "per_volume_constraint": {"l_ssd": {"min_size": 1000000000, + "max_size": 200000000000}}, "baremetal": false, "monthly_price": 24.99, "hourly_price": + 0.05, "capabilities": {"boot_types": ["bootscript", "rescue", "local"], "default_boot_type": + "bootscript", "hot_snapshots_local_volume": true, "placement_groups": true, + "block_storage": false, "private_network": 0}, "network": {"ipv6_support": true, + "sum_internal_bandwidth": null, "sum_internet_bandwidth": 262144000, "interfaces": + [{"internal_bandwidth": null, "internet_bandwidth": 262144000}]}}, "X64-30GB": + {"alt_names": [], "arch": "x86_64", "ncpus": 8, "ram": 32212254720, "gpu": null, + "volumes_constraint": {"min_size": 300000000000, "max_size": 400000000000}, + "per_volume_constraint": {"l_ssd": {"min_size": 1000000000, "max_size": 200000000000}}, + "baremetal": false, "monthly_price": 49.99, "hourly_price": 0.1, "capabilities": + {"boot_types": ["bootscript", "rescue", "local"], "default_boot_type": "bootscript", + "hot_snapshots_local_volume": true, "placement_groups": true, "block_storage": + false, "private_network": 0}, "network": {"ipv6_support": true, "sum_internal_bandwidth": + null, "sum_internet_bandwidth": 524288000, "interfaces": [{"internal_bandwidth": + null, "internet_bandwidth": 524288000}]}}, "X64-60GB": {"alt_names": [], "arch": + "x86_64", "ncpus": 10, "ram": 64424509440, "gpu": null, "volumes_constraint": + {"min_size": 400000000000, "max_size": 700000000000}, "per_volume_constraint": + {"l_ssd": {"min_size": 1000000000, "max_size": 200000000000}}, "baremetal": + false, "monthly_price": 89.99, "hourly_price": 0.18, "capabilities": {"boot_types": + ["bootscript", "rescue", "local"], "default_boot_type": "bootscript", "hot_snapshots_local_volume": + true, "placement_groups": true, "block_storage": false, "private_network": 0}, + "network": {"ipv6_support": true, "sum_internal_bandwidth": null, "sum_internet_bandwidth": + 1073741824, "interfaces": [{"internal_bandwidth": null, "internet_bandwidth": + 1073741824}]}}}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - "23709" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Tue, 05 May 2020 13:40:50 GMT + Link: + - ; rel="last" + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 5da8162e-0f0c-46de-812f-e56fefbf4953 + X-Total-Count: + - "32" + status: 200 OK + code: 200 + duration: "" +- request: + body: '{"organization":"104ff69c-3f34-48f4-b5f0-e516e4ad526b"}' + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14.2; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/ips + method: POST + response: + body: '{"ip": {"id": "65ae2546-5893-40f2-bcc2-aabee4b4dc2f", "address": "51.158.108.20", + "reverse": null, "server": null, "organization": "104ff69c-3f34-48f4-b5f0-e516e4ad526b", + "zone": "fr-par-1", "tags": []}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - "203" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Tue, 05 May 2020 13:40:50 GMT + Location: + - https://cp-par1.scaleway.com/ips/65ae2546-5893-40f2-bcc2-aabee4b4dc2f + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 0f1b8219-0e86-4904-ad77-47bef43fd2d1 + status: 201 Created + code: 201 + duration: "" +- request: + body: '{"name":"cli-srv-silly-wing","commercial_type":"DEV1-S","image":"f974feac-abae-4365-b988-8ec7d1cec10d","volumes":{"1":{"name":"cli-srv-silly-wing-1","size":10000000000,"volume_type":"b_ssd","organization":"104ff69c-3f34-48f4-b5f0-e516e4ad526b"}},"public_ip":"65ae2546-5893-40f2-bcc2-aabee4b4dc2f","organization":"104ff69c-3f34-48f4-b5f0-e516e4ad526b"}' + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14.2; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/servers + method: POST + response: + body: '{"server": {"id": "0411b2d6-6b9c-46e0-b265-49a9c01c600f", "name": "cli-srv-silly-wing", + "arch": "x86_64", "commercial_type": "DEV1-S", "boot_type": "local", "organization": + "104ff69c-3f34-48f4-b5f0-e516e4ad526b", "hostname": "cli-srv-silly-wing", "image": + {"id": "f974feac-abae-4365-b988-8ec7d1cec10d", "name": "Ubuntu Bionic Beaver", + "organization": "51b656e3-4865-41e8-adbc-0c45bdd780db", "root_volume": {"id": + "dd5f5c10-23b1-4c9c-8445-eb6740957c84", "name": "snapshot-de728daa-0bf6-4c64-abf5-a9477e791c83-2019-03-05_10:13", + "volume_type": "l_ssd", "size": 10000000000}, "extra_volumes": {}, "public": + true, "arch": "x86_64", "creation_date": "2019-03-05T10:13:15.974944+00:00", + "modification_date": "2019-03-05T13:32:29.274319+00:00", "default_bootscript": + {"id": "15fbd2f7-a0f9-412b-8502-6a44da8d98b8", "public": false, "title": "x86_64 + mainline 4.9.93 rev1", "architecture": "x86_64", "organization": "11111111-1111-4111-8111-111111111111", + "kernel": "http://169.254.42.24/kernel/x86_64-mainline-lts-4.9-4.9.93-rev1/vmlinuz-4.9.93", + "dtb": "", "initrd": "http://169.254.42.24/initrd/initrd-Linux-x86_64-v3.14.6.gz", + "bootcmdargs": "LINUX_COMMON scaleway boot=local nbd.max_part=16", "default": + false, "zone": "fr-par-1"}, "from_server": null, "state": "available", "zone": + "fr-par-1"}, "volumes": {"1": {"id": "45f741d5-a9f5-48b8-9307-f5c6fa1616c8", + "name": "cli-srv-silly-wing-1", "volume_type": "b_ssd", "export_uri": null, + "organization": "104ff69c-3f34-48f4-b5f0-e516e4ad526b", "server": {"id": "0411b2d6-6b9c-46e0-b265-49a9c01c600f", + "name": "cli-srv-silly-wing"}, "size": 10000000000, "state": "available", "creation_date": + "2020-05-05T13:40:51.304223+00:00", "modification_date": "2020-05-05T13:40:51.683825+00:00", + "zone": "fr-par-1"}, "0": {"id": "8492ea1e-2ea3-45a8-8890-3948ee21458d", "name": + "snapshot-de728daa-0bf6-4c64-abf5-a9477e791c83-2019-03-05_10:13", "volume_type": + "l_ssd", "export_uri": null, "organization": "104ff69c-3f34-48f4-b5f0-e516e4ad526b", + "server": {"id": "0411b2d6-6b9c-46e0-b265-49a9c01c600f", "name": "cli-srv-silly-wing"}, + "size": 20000000000, "state": "available", "creation_date": "2020-05-05T13:40:51.304223+00:00", + "modification_date": "2020-05-05T13:40:51.683852+00:00", "zone": "fr-par-1"}}, + "tags": [], "state": "stopped", "protected": false, "state_detail": "", "public_ip": + {"id": "65ae2546-5893-40f2-bcc2-aabee4b4dc2f", "address": "51.158.108.20", "dynamic": + false}, "ipv6": null, "extra_networks": [], "dynamic_ip_required": false, "enable_ipv6": + false, "private_ip": null, "creation_date": "2020-05-05T13:40:51.304223+00:00", + "modification_date": "2020-05-05T13:40:51.710504+00:00", "bootscript": {"id": + "15fbd2f7-a0f9-412b-8502-6a44da8d98b8", "public": false, "title": "x86_64 mainline + 4.9.93 rev1", "architecture": "x86_64", "organization": "11111111-1111-4111-8111-111111111111", + "kernel": "http://169.254.42.24/kernel/x86_64-mainline-lts-4.9-4.9.93-rev1/vmlinuz-4.9.93", + "dtb": "", "initrd": "http://169.254.42.24/initrd/initrd-Linux-x86_64-v3.14.6.gz", + "bootcmdargs": "LINUX_COMMON scaleway boot=local nbd.max_part=16", "default": + false, "zone": "fr-par-1"}, "security_group": {"id": "00783f68-b80e-4f04-8520-bfc3249380be", + "name": "Default security group"}, "location": null, "maintenances": [], "allowed_actions": + ["poweron", "backup"], "placement_group": null, "private_nics": [], "zone": + "fr-par-1"}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - "3361" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Tue, 05 May 2020 13:40:51 GMT + Location: + - https://cp-par1.scaleway.com/servers/0411b2d6-6b9c-46e0-b265-49a9c01c600f + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 978e7da8-7b02-42c2-ac35-e500584a94ef + status: 201 Created + code: 201 + duration: "" +- request: + body: '{"action":"poweron"}' + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14.2; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/servers/0411b2d6-6b9c-46e0-b265-49a9c01c600f/action + method: POST + response: + body: '{"task": {"status": "pending", "description": "server_batch_poweron", "href_result": + "/servers/0411b2d6-6b9c-46e0-b265-49a9c01c600f", "terminated_at": null, "href_from": + "/servers/0411b2d6-6b9c-46e0-b265-49a9c01c600f/action", "started_at": "2020-05-05T13:40:52.076373+00:00", + "id": "a738a681-b581-40bd-8ddd-161657e43e45"}}' + headers: + Content-Length: + - "322" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Tue, 05 May 2020 13:40:51 GMT + Location: + - https://cp-par1.scaleway.com/tasks/a738a681-b581-40bd-8ddd-161657e43e45 + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - be93b00f-d2bd-479f-909b-8c1db9e90313 + status: 202 Accepted + code: 202 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14.2; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/servers/0411b2d6-6b9c-46e0-b265-49a9c01c600f + method: GET + response: + body: '{"server": {"id": "0411b2d6-6b9c-46e0-b265-49a9c01c600f", "name": "cli-srv-silly-wing", + "arch": "x86_64", "commercial_type": "DEV1-S", "boot_type": "local", "organization": + "104ff69c-3f34-48f4-b5f0-e516e4ad526b", "hostname": "cli-srv-silly-wing", "image": + {"id": "f974feac-abae-4365-b988-8ec7d1cec10d", "name": "Ubuntu Bionic Beaver", + "organization": "51b656e3-4865-41e8-adbc-0c45bdd780db", "root_volume": {"id": + "dd5f5c10-23b1-4c9c-8445-eb6740957c84", "name": "snapshot-de728daa-0bf6-4c64-abf5-a9477e791c83-2019-03-05_10:13", + "volume_type": "l_ssd", "size": 10000000000}, "extra_volumes": {}, "public": + true, "arch": "x86_64", "creation_date": "2019-03-05T10:13:15.974944+00:00", + "modification_date": "2019-03-05T13:32:29.274319+00:00", "default_bootscript": + {"id": "15fbd2f7-a0f9-412b-8502-6a44da8d98b8", "public": false, "title": "x86_64 + mainline 4.9.93 rev1", "architecture": "x86_64", "organization": "11111111-1111-4111-8111-111111111111", + "kernel": "http://169.254.42.24/kernel/x86_64-mainline-lts-4.9-4.9.93-rev1/vmlinuz-4.9.93", + "dtb": "", "initrd": "http://169.254.42.24/initrd/initrd-Linux-x86_64-v3.14.6.gz", + "bootcmdargs": "LINUX_COMMON scaleway boot=local nbd.max_part=16", "default": + false, "zone": "fr-par-1"}, "from_server": null, "state": "available", "zone": + "fr-par-1"}, "volumes": {"1": {"id": "45f741d5-a9f5-48b8-9307-f5c6fa1616c8", + "name": "cli-srv-silly-wing-1", "volume_type": "b_ssd", "export_uri": null, + "organization": "104ff69c-3f34-48f4-b5f0-e516e4ad526b", "server": {"id": "0411b2d6-6b9c-46e0-b265-49a9c01c600f", + "name": "cli-srv-silly-wing"}, "size": 10000000000, "state": "available", "creation_date": + "2020-05-05T13:40:51.304223+00:00", "modification_date": "2020-05-05T13:40:51.683825+00:00", + "zone": "fr-par-1"}, "0": {"id": "8492ea1e-2ea3-45a8-8890-3948ee21458d", "name": + "snapshot-de728daa-0bf6-4c64-abf5-a9477e791c83-2019-03-05_10:13", "volume_type": + "l_ssd", "export_uri": null, "organization": "104ff69c-3f34-48f4-b5f0-e516e4ad526b", + "server": {"id": "0411b2d6-6b9c-46e0-b265-49a9c01c600f", "name": "cli-srv-silly-wing"}, + "size": 20000000000, "state": "available", "creation_date": "2020-05-05T13:40:51.304223+00:00", + "modification_date": "2020-05-05T13:40:51.683852+00:00", "zone": "fr-par-1"}}, + "tags": [], "state": "starting", "protected": false, "state_detail": "allocating + node", "public_ip": {"id": "65ae2546-5893-40f2-bcc2-aabee4b4dc2f", "address": + "51.158.108.20", "dynamic": false}, "ipv6": null, "extra_networks": [], "dynamic_ip_required": + false, "enable_ipv6": false, "private_ip": null, "creation_date": "2020-05-05T13:40:51.304223+00:00", + "modification_date": "2020-05-05T13:40:51.784838+00:00", "bootscript": {"id": + "15fbd2f7-a0f9-412b-8502-6a44da8d98b8", "public": false, "title": "x86_64 mainline + 4.9.93 rev1", "architecture": "x86_64", "organization": "11111111-1111-4111-8111-111111111111", + "kernel": "http://169.254.42.24/kernel/x86_64-mainline-lts-4.9-4.9.93-rev1/vmlinuz-4.9.93", + "dtb": "", "initrd": "http://169.254.42.24/initrd/initrd-Linux-x86_64-v3.14.6.gz", + "bootcmdargs": "LINUX_COMMON scaleway boot=local nbd.max_part=16", "default": + false, "zone": "fr-par-1"}, "security_group": {"id": "00783f68-b80e-4f04-8520-bfc3249380be", + "name": "Default security group"}, "location": null, "maintenances": [], "allowed_actions": + ["stop_in_place", "backup"], "placement_group": null, "private_nics": [], "zone": + "fr-par-1"}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - "3383" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Tue, 05 May 2020 13:40:52 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - ad452e7d-34c7-490e-ae58-e13d83264b40 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14.2; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/servers/0411b2d6-6b9c-46e0-b265-49a9c01c600f + method: GET + response: + body: '{"server": {"id": "0411b2d6-6b9c-46e0-b265-49a9c01c600f", "name": "cli-srv-silly-wing", + "arch": "x86_64", "commercial_type": "DEV1-S", "boot_type": "local", "organization": + "104ff69c-3f34-48f4-b5f0-e516e4ad526b", "hostname": "cli-srv-silly-wing", "image": + {"id": "f974feac-abae-4365-b988-8ec7d1cec10d", "name": "Ubuntu Bionic Beaver", + "organization": "51b656e3-4865-41e8-adbc-0c45bdd780db", "root_volume": {"id": + "dd5f5c10-23b1-4c9c-8445-eb6740957c84", "name": "snapshot-de728daa-0bf6-4c64-abf5-a9477e791c83-2019-03-05_10:13", + "volume_type": "l_ssd", "size": 10000000000}, "extra_volumes": {}, "public": + true, "arch": "x86_64", "creation_date": "2019-03-05T10:13:15.974944+00:00", + "modification_date": "2019-03-05T13:32:29.274319+00:00", "default_bootscript": + {"id": "15fbd2f7-a0f9-412b-8502-6a44da8d98b8", "public": false, "title": "x86_64 + mainline 4.9.93 rev1", "architecture": "x86_64", "organization": "11111111-1111-4111-8111-111111111111", + "kernel": "http://169.254.42.24/kernel/x86_64-mainline-lts-4.9-4.9.93-rev1/vmlinuz-4.9.93", + "dtb": "", "initrd": "http://169.254.42.24/initrd/initrd-Linux-x86_64-v3.14.6.gz", + "bootcmdargs": "LINUX_COMMON scaleway boot=local nbd.max_part=16", "default": + false, "zone": "fr-par-1"}, "from_server": null, "state": "available", "zone": + "fr-par-1"}, "volumes": {"1": {"id": "45f741d5-a9f5-48b8-9307-f5c6fa1616c8", + "name": "cli-srv-silly-wing-1", "volume_type": "b_ssd", "export_uri": null, + "organization": "104ff69c-3f34-48f4-b5f0-e516e4ad526b", "server": {"id": "0411b2d6-6b9c-46e0-b265-49a9c01c600f", + "name": "cli-srv-silly-wing"}, "size": 10000000000, "state": "available", "creation_date": + "2020-05-05T13:40:51.304223+00:00", "modification_date": "2020-05-05T13:40:51.683825+00:00", + "zone": "fr-par-1"}, "0": {"id": "8492ea1e-2ea3-45a8-8890-3948ee21458d", "name": + "snapshot-de728daa-0bf6-4c64-abf5-a9477e791c83-2019-03-05_10:13", "volume_type": + "l_ssd", "export_uri": null, "organization": "104ff69c-3f34-48f4-b5f0-e516e4ad526b", + "server": {"id": "0411b2d6-6b9c-46e0-b265-49a9c01c600f", "name": "cli-srv-silly-wing"}, + "size": 20000000000, "state": "available", "creation_date": "2020-05-05T13:40:51.304223+00:00", + "modification_date": "2020-05-05T13:40:51.683852+00:00", "zone": "fr-par-1"}}, + "tags": [], "state": "starting", "protected": false, "state_detail": "provisioning + node", "public_ip": {"id": "65ae2546-5893-40f2-bcc2-aabee4b4dc2f", "address": + "51.158.108.20", "dynamic": false}, "ipv6": null, "extra_networks": [], "dynamic_ip_required": + false, "enable_ipv6": false, "private_ip": "10.65.32.13", "creation_date": "2020-05-05T13:40:51.304223+00:00", + "modification_date": "2020-05-05T13:40:51.784838+00:00", "bootscript": {"id": + "15fbd2f7-a0f9-412b-8502-6a44da8d98b8", "public": false, "title": "x86_64 mainline + 4.9.93 rev1", "architecture": "x86_64", "organization": "11111111-1111-4111-8111-111111111111", + "kernel": "http://169.254.42.24/kernel/x86_64-mainline-lts-4.9-4.9.93-rev1/vmlinuz-4.9.93", + "dtb": "", "initrd": "http://169.254.42.24/initrd/initrd-Linux-x86_64-v3.14.6.gz", + "bootcmdargs": "LINUX_COMMON scaleway boot=local nbd.max_part=16", "default": + false, "zone": "fr-par-1"}, "security_group": {"id": "00783f68-b80e-4f04-8520-bfc3249380be", + "name": "Default security group"}, "location": {"zone_id": "par1", "platform_id": + "14", "cluster_id": "18", "hypervisor_id": "1301", "node_id": "7"}, "maintenances": + [], "allowed_actions": ["stop_in_place", "backup"], "placement_group": null, + "private_nics": [], "zone": "fr-par-1"}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - "3491" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Tue, 05 May 2020 13:40:57 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 7db237f4-3e58-47a1-867e-adf3971df9d7 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14.2; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/servers/0411b2d6-6b9c-46e0-b265-49a9c01c600f + method: GET + response: + body: '{"server": {"id": "0411b2d6-6b9c-46e0-b265-49a9c01c600f", "name": "cli-srv-silly-wing", + "arch": "x86_64", "commercial_type": "DEV1-S", "boot_type": "local", "organization": + "104ff69c-3f34-48f4-b5f0-e516e4ad526b", "hostname": "cli-srv-silly-wing", "image": + {"id": "f974feac-abae-4365-b988-8ec7d1cec10d", "name": "Ubuntu Bionic Beaver", + "organization": "51b656e3-4865-41e8-adbc-0c45bdd780db", "root_volume": {"id": + "dd5f5c10-23b1-4c9c-8445-eb6740957c84", "name": "snapshot-de728daa-0bf6-4c64-abf5-a9477e791c83-2019-03-05_10:13", + "volume_type": "l_ssd", "size": 10000000000}, "extra_volumes": {}, "public": + true, "arch": "x86_64", "creation_date": "2019-03-05T10:13:15.974944+00:00", + "modification_date": "2019-03-05T13:32:29.274319+00:00", "default_bootscript": + {"id": "15fbd2f7-a0f9-412b-8502-6a44da8d98b8", "public": false, "title": "x86_64 + mainline 4.9.93 rev1", "architecture": "x86_64", "organization": "11111111-1111-4111-8111-111111111111", + "kernel": "http://169.254.42.24/kernel/x86_64-mainline-lts-4.9-4.9.93-rev1/vmlinuz-4.9.93", + "dtb": "", "initrd": "http://169.254.42.24/initrd/initrd-Linux-x86_64-v3.14.6.gz", + "bootcmdargs": "LINUX_COMMON scaleway boot=local nbd.max_part=16", "default": + false, "zone": "fr-par-1"}, "from_server": null, "state": "available", "zone": + "fr-par-1"}, "volumes": {"1": {"id": "45f741d5-a9f5-48b8-9307-f5c6fa1616c8", + "name": "cli-srv-silly-wing-1", "volume_type": "b_ssd", "export_uri": null, + "organization": "104ff69c-3f34-48f4-b5f0-e516e4ad526b", "server": {"id": "0411b2d6-6b9c-46e0-b265-49a9c01c600f", + "name": "cli-srv-silly-wing"}, "size": 10000000000, "state": "available", "creation_date": + "2020-05-05T13:40:51.304223+00:00", "modification_date": "2020-05-05T13:40:51.683825+00:00", + "zone": "fr-par-1"}, "0": {"id": "8492ea1e-2ea3-45a8-8890-3948ee21458d", "name": + "snapshot-de728daa-0bf6-4c64-abf5-a9477e791c83-2019-03-05_10:13", "volume_type": + "l_ssd", "export_uri": null, "organization": "104ff69c-3f34-48f4-b5f0-e516e4ad526b", + "server": {"id": "0411b2d6-6b9c-46e0-b265-49a9c01c600f", "name": "cli-srv-silly-wing"}, + "size": 20000000000, "state": "available", "creation_date": "2020-05-05T13:40:51.304223+00:00", + "modification_date": "2020-05-05T13:40:51.683852+00:00", "zone": "fr-par-1"}}, + "tags": [], "state": "starting", "protected": false, "state_detail": "provisioning + node", "public_ip": {"id": "65ae2546-5893-40f2-bcc2-aabee4b4dc2f", "address": + "51.158.108.20", "dynamic": false}, "ipv6": null, "extra_networks": [], "dynamic_ip_required": + false, "enable_ipv6": false, "private_ip": "10.65.32.13", "creation_date": "2020-05-05T13:40:51.304223+00:00", + "modification_date": "2020-05-05T13:40:51.784838+00:00", "bootscript": {"id": + "15fbd2f7-a0f9-412b-8502-6a44da8d98b8", "public": false, "title": "x86_64 mainline + 4.9.93 rev1", "architecture": "x86_64", "organization": "11111111-1111-4111-8111-111111111111", + "kernel": "http://169.254.42.24/kernel/x86_64-mainline-lts-4.9-4.9.93-rev1/vmlinuz-4.9.93", + "dtb": "", "initrd": "http://169.254.42.24/initrd/initrd-Linux-x86_64-v3.14.6.gz", + "bootcmdargs": "LINUX_COMMON scaleway boot=local nbd.max_part=16", "default": + false, "zone": "fr-par-1"}, "security_group": {"id": "00783f68-b80e-4f04-8520-bfc3249380be", + "name": "Default security group"}, "location": {"zone_id": "par1", "platform_id": + "14", "cluster_id": "18", "hypervisor_id": "1301", "node_id": "7"}, "maintenances": + [], "allowed_actions": ["stop_in_place", "backup"], "placement_group": null, + "private_nics": [], "zone": "fr-par-1"}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - "3491" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Tue, 05 May 2020 13:41:02 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 19eb9a22-fa4e-4c7f-b551-2b76976e0756 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14.2; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/servers/0411b2d6-6b9c-46e0-b265-49a9c01c600f + method: GET + response: + body: '{"server": {"id": "0411b2d6-6b9c-46e0-b265-49a9c01c600f", "name": "cli-srv-silly-wing", + "arch": "x86_64", "commercial_type": "DEV1-S", "boot_type": "local", "organization": + "104ff69c-3f34-48f4-b5f0-e516e4ad526b", "hostname": "cli-srv-silly-wing", "image": + {"id": "f974feac-abae-4365-b988-8ec7d1cec10d", "name": "Ubuntu Bionic Beaver", + "organization": "51b656e3-4865-41e8-adbc-0c45bdd780db", "root_volume": {"id": + "dd5f5c10-23b1-4c9c-8445-eb6740957c84", "name": "snapshot-de728daa-0bf6-4c64-abf5-a9477e791c83-2019-03-05_10:13", + "volume_type": "l_ssd", "size": 10000000000}, "extra_volumes": {}, "public": + true, "arch": "x86_64", "creation_date": "2019-03-05T10:13:15.974944+00:00", + "modification_date": "2019-03-05T13:32:29.274319+00:00", "default_bootscript": + {"id": "15fbd2f7-a0f9-412b-8502-6a44da8d98b8", "public": false, "title": "x86_64 + mainline 4.9.93 rev1", "architecture": "x86_64", "organization": "11111111-1111-4111-8111-111111111111", + "kernel": "http://169.254.42.24/kernel/x86_64-mainline-lts-4.9-4.9.93-rev1/vmlinuz-4.9.93", + "dtb": "", "initrd": "http://169.254.42.24/initrd/initrd-Linux-x86_64-v3.14.6.gz", + "bootcmdargs": "LINUX_COMMON scaleway boot=local nbd.max_part=16", "default": + false, "zone": "fr-par-1"}, "from_server": null, "state": "available", "zone": + "fr-par-1"}, "volumes": {"1": {"id": "45f741d5-a9f5-48b8-9307-f5c6fa1616c8", + "name": "cli-srv-silly-wing-1", "volume_type": "b_ssd", "export_uri": null, + "organization": "104ff69c-3f34-48f4-b5f0-e516e4ad526b", "server": {"id": "0411b2d6-6b9c-46e0-b265-49a9c01c600f", + "name": "cli-srv-silly-wing"}, "size": 10000000000, "state": "available", "creation_date": + "2020-05-05T13:40:51.304223+00:00", "modification_date": "2020-05-05T13:40:51.683825+00:00", + "zone": "fr-par-1"}, "0": {"id": "8492ea1e-2ea3-45a8-8890-3948ee21458d", "name": + "snapshot-de728daa-0bf6-4c64-abf5-a9477e791c83-2019-03-05_10:13", "volume_type": + "l_ssd", "export_uri": null, "organization": "104ff69c-3f34-48f4-b5f0-e516e4ad526b", + "server": {"id": "0411b2d6-6b9c-46e0-b265-49a9c01c600f", "name": "cli-srv-silly-wing"}, + "size": 20000000000, "state": "available", "creation_date": "2020-05-05T13:40:51.304223+00:00", + "modification_date": "2020-05-05T13:40:51.683852+00:00", "zone": "fr-par-1"}}, + "tags": [], "state": "starting", "protected": false, "state_detail": "provisioning + node", "public_ip": {"id": "65ae2546-5893-40f2-bcc2-aabee4b4dc2f", "address": + "51.158.108.20", "dynamic": false}, "ipv6": null, "extra_networks": [], "dynamic_ip_required": + false, "enable_ipv6": false, "private_ip": "10.65.32.13", "creation_date": "2020-05-05T13:40:51.304223+00:00", + "modification_date": "2020-05-05T13:40:51.784838+00:00", "bootscript": {"id": + "15fbd2f7-a0f9-412b-8502-6a44da8d98b8", "public": false, "title": "x86_64 mainline + 4.9.93 rev1", "architecture": "x86_64", "organization": "11111111-1111-4111-8111-111111111111", + "kernel": "http://169.254.42.24/kernel/x86_64-mainline-lts-4.9-4.9.93-rev1/vmlinuz-4.9.93", + "dtb": "", "initrd": "http://169.254.42.24/initrd/initrd-Linux-x86_64-v3.14.6.gz", + "bootcmdargs": "LINUX_COMMON scaleway boot=local nbd.max_part=16", "default": + false, "zone": "fr-par-1"}, "security_group": {"id": "00783f68-b80e-4f04-8520-bfc3249380be", + "name": "Default security group"}, "location": {"zone_id": "par1", "platform_id": + "14", "cluster_id": "18", "hypervisor_id": "1301", "node_id": "7"}, "maintenances": + [], "allowed_actions": ["stop_in_place", "backup"], "placement_group": null, + "private_nics": [], "zone": "fr-par-1"}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - "3491" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Tue, 05 May 2020 13:41:07 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 11aa55e2-f991-4781-b489-3ca841d6de49 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14.2; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/servers/0411b2d6-6b9c-46e0-b265-49a9c01c600f + method: GET + response: + body: '{"server": {"id": "0411b2d6-6b9c-46e0-b265-49a9c01c600f", "name": "cli-srv-silly-wing", + "arch": "x86_64", "commercial_type": "DEV1-S", "boot_type": "local", "organization": + "104ff69c-3f34-48f4-b5f0-e516e4ad526b", "hostname": "cli-srv-silly-wing", "image": + {"id": "f974feac-abae-4365-b988-8ec7d1cec10d", "name": "Ubuntu Bionic Beaver", + "organization": "51b656e3-4865-41e8-adbc-0c45bdd780db", "root_volume": {"id": + "dd5f5c10-23b1-4c9c-8445-eb6740957c84", "name": "snapshot-de728daa-0bf6-4c64-abf5-a9477e791c83-2019-03-05_10:13", + "volume_type": "l_ssd", "size": 10000000000}, "extra_volumes": {}, "public": + true, "arch": "x86_64", "creation_date": "2019-03-05T10:13:15.974944+00:00", + "modification_date": "2019-03-05T13:32:29.274319+00:00", "default_bootscript": + {"id": "15fbd2f7-a0f9-412b-8502-6a44da8d98b8", "public": false, "title": "x86_64 + mainline 4.9.93 rev1", "architecture": "x86_64", "organization": "11111111-1111-4111-8111-111111111111", + "kernel": "http://169.254.42.24/kernel/x86_64-mainline-lts-4.9-4.9.93-rev1/vmlinuz-4.9.93", + "dtb": "", "initrd": "http://169.254.42.24/initrd/initrd-Linux-x86_64-v3.14.6.gz", + "bootcmdargs": "LINUX_COMMON scaleway boot=local nbd.max_part=16", "default": + false, "zone": "fr-par-1"}, "from_server": null, "state": "available", "zone": + "fr-par-1"}, "volumes": {"1": {"id": "45f741d5-a9f5-48b8-9307-f5c6fa1616c8", + "name": "cli-srv-silly-wing-1", "volume_type": "b_ssd", "export_uri": null, + "organization": "104ff69c-3f34-48f4-b5f0-e516e4ad526b", "server": {"id": "0411b2d6-6b9c-46e0-b265-49a9c01c600f", + "name": "cli-srv-silly-wing"}, "size": 10000000000, "state": "available", "creation_date": + "2020-05-05T13:40:51.304223+00:00", "modification_date": "2020-05-05T13:40:51.683825+00:00", + "zone": "fr-par-1"}, "0": {"id": "8492ea1e-2ea3-45a8-8890-3948ee21458d", "name": + "snapshot-de728daa-0bf6-4c64-abf5-a9477e791c83-2019-03-05_10:13", "volume_type": + "l_ssd", "export_uri": null, "organization": "104ff69c-3f34-48f4-b5f0-e516e4ad526b", + "server": {"id": "0411b2d6-6b9c-46e0-b265-49a9c01c600f", "name": "cli-srv-silly-wing"}, + "size": 20000000000, "state": "available", "creation_date": "2020-05-05T13:40:51.304223+00:00", + "modification_date": "2020-05-05T13:40:51.683852+00:00", "zone": "fr-par-1"}}, + "tags": [], "state": "starting", "protected": false, "state_detail": "provisioning + node", "public_ip": {"id": "65ae2546-5893-40f2-bcc2-aabee4b4dc2f", "address": + "51.158.108.20", "dynamic": false}, "ipv6": null, "extra_networks": [], "dynamic_ip_required": + false, "enable_ipv6": false, "private_ip": "10.65.32.13", "creation_date": "2020-05-05T13:40:51.304223+00:00", + "modification_date": "2020-05-05T13:40:51.784838+00:00", "bootscript": {"id": + "15fbd2f7-a0f9-412b-8502-6a44da8d98b8", "public": false, "title": "x86_64 mainline + 4.9.93 rev1", "architecture": "x86_64", "organization": "11111111-1111-4111-8111-111111111111", + "kernel": "http://169.254.42.24/kernel/x86_64-mainline-lts-4.9-4.9.93-rev1/vmlinuz-4.9.93", + "dtb": "", "initrd": "http://169.254.42.24/initrd/initrd-Linux-x86_64-v3.14.6.gz", + "bootcmdargs": "LINUX_COMMON scaleway boot=local nbd.max_part=16", "default": + false, "zone": "fr-par-1"}, "security_group": {"id": "00783f68-b80e-4f04-8520-bfc3249380be", + "name": "Default security group"}, "location": {"zone_id": "par1", "platform_id": + "14", "cluster_id": "18", "hypervisor_id": "1301", "node_id": "7"}, "maintenances": + [], "allowed_actions": ["stop_in_place", "backup"], "placement_group": null, + "private_nics": [], "zone": "fr-par-1"}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - "3491" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Tue, 05 May 2020 13:41:12 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 0daf2391-eadf-4858-b303-80a3e7a7af59 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14.2; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/servers/0411b2d6-6b9c-46e0-b265-49a9c01c600f + method: GET + response: + body: '{"server": {"id": "0411b2d6-6b9c-46e0-b265-49a9c01c600f", "name": "cli-srv-silly-wing", + "arch": "x86_64", "commercial_type": "DEV1-S", "boot_type": "local", "organization": + "104ff69c-3f34-48f4-b5f0-e516e4ad526b", "hostname": "cli-srv-silly-wing", "image": + {"id": "f974feac-abae-4365-b988-8ec7d1cec10d", "name": "Ubuntu Bionic Beaver", + "organization": "51b656e3-4865-41e8-adbc-0c45bdd780db", "root_volume": {"id": + "dd5f5c10-23b1-4c9c-8445-eb6740957c84", "name": "snapshot-de728daa-0bf6-4c64-abf5-a9477e791c83-2019-03-05_10:13", + "volume_type": "l_ssd", "size": 10000000000}, "extra_volumes": {}, "public": + true, "arch": "x86_64", "creation_date": "2019-03-05T10:13:15.974944+00:00", + "modification_date": "2019-03-05T13:32:29.274319+00:00", "default_bootscript": + {"id": "15fbd2f7-a0f9-412b-8502-6a44da8d98b8", "public": false, "title": "x86_64 + mainline 4.9.93 rev1", "architecture": "x86_64", "organization": "11111111-1111-4111-8111-111111111111", + "kernel": "http://169.254.42.24/kernel/x86_64-mainline-lts-4.9-4.9.93-rev1/vmlinuz-4.9.93", + "dtb": "", "initrd": "http://169.254.42.24/initrd/initrd-Linux-x86_64-v3.14.6.gz", + "bootcmdargs": "LINUX_COMMON scaleway boot=local nbd.max_part=16", "default": + false, "zone": "fr-par-1"}, "from_server": null, "state": "available", "zone": + "fr-par-1"}, "volumes": {"1": {"id": "45f741d5-a9f5-48b8-9307-f5c6fa1616c8", + "name": "cli-srv-silly-wing-1", "volume_type": "b_ssd", "export_uri": null, + "organization": "104ff69c-3f34-48f4-b5f0-e516e4ad526b", "server": {"id": "0411b2d6-6b9c-46e0-b265-49a9c01c600f", + "name": "cli-srv-silly-wing"}, "size": 10000000000, "state": "available", "creation_date": + "2020-05-05T13:40:51.304223+00:00", "modification_date": "2020-05-05T13:40:51.683825+00:00", + "zone": "fr-par-1"}, "0": {"id": "8492ea1e-2ea3-45a8-8890-3948ee21458d", "name": + "snapshot-de728daa-0bf6-4c64-abf5-a9477e791c83-2019-03-05_10:13", "volume_type": + "l_ssd", "export_uri": null, "organization": "104ff69c-3f34-48f4-b5f0-e516e4ad526b", + "server": {"id": "0411b2d6-6b9c-46e0-b265-49a9c01c600f", "name": "cli-srv-silly-wing"}, + "size": 20000000000, "state": "available", "creation_date": "2020-05-05T13:40:51.304223+00:00", + "modification_date": "2020-05-05T13:40:51.683852+00:00", "zone": "fr-par-1"}}, + "tags": [], "state": "starting", "protected": false, "state_detail": "provisioning + node", "public_ip": {"id": "65ae2546-5893-40f2-bcc2-aabee4b4dc2f", "address": + "51.158.108.20", "dynamic": false}, "ipv6": null, "extra_networks": [], "dynamic_ip_required": + false, "enable_ipv6": false, "private_ip": "10.65.32.13", "creation_date": "2020-05-05T13:40:51.304223+00:00", + "modification_date": "2020-05-05T13:40:51.784838+00:00", "bootscript": {"id": + "15fbd2f7-a0f9-412b-8502-6a44da8d98b8", "public": false, "title": "x86_64 mainline + 4.9.93 rev1", "architecture": "x86_64", "organization": "11111111-1111-4111-8111-111111111111", + "kernel": "http://169.254.42.24/kernel/x86_64-mainline-lts-4.9-4.9.93-rev1/vmlinuz-4.9.93", + "dtb": "", "initrd": "http://169.254.42.24/initrd/initrd-Linux-x86_64-v3.14.6.gz", + "bootcmdargs": "LINUX_COMMON scaleway boot=local nbd.max_part=16", "default": + false, "zone": "fr-par-1"}, "security_group": {"id": "00783f68-b80e-4f04-8520-bfc3249380be", + "name": "Default security group"}, "location": {"zone_id": "par1", "platform_id": + "14", "cluster_id": "18", "hypervisor_id": "1301", "node_id": "7"}, "maintenances": + [], "allowed_actions": ["stop_in_place", "backup"], "placement_group": null, + "private_nics": [], "zone": "fr-par-1"}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - "3491" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Tue, 05 May 2020 13:41:17 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 8d2c982c-6d66-4d2f-88c8-a78aeda3c202 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14.2; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/servers/0411b2d6-6b9c-46e0-b265-49a9c01c600f + method: GET + response: + body: '{"server": {"id": "0411b2d6-6b9c-46e0-b265-49a9c01c600f", "name": "cli-srv-silly-wing", + "arch": "x86_64", "commercial_type": "DEV1-S", "boot_type": "local", "organization": + "104ff69c-3f34-48f4-b5f0-e516e4ad526b", "hostname": "cli-srv-silly-wing", "image": + {"id": "f974feac-abae-4365-b988-8ec7d1cec10d", "name": "Ubuntu Bionic Beaver", + "organization": "51b656e3-4865-41e8-adbc-0c45bdd780db", "root_volume": {"id": + "dd5f5c10-23b1-4c9c-8445-eb6740957c84", "name": "snapshot-de728daa-0bf6-4c64-abf5-a9477e791c83-2019-03-05_10:13", + "volume_type": "l_ssd", "size": 10000000000}, "extra_volumes": {}, "public": + true, "arch": "x86_64", "creation_date": "2019-03-05T10:13:15.974944+00:00", + "modification_date": "2019-03-05T13:32:29.274319+00:00", "default_bootscript": + {"id": "15fbd2f7-a0f9-412b-8502-6a44da8d98b8", "public": false, "title": "x86_64 + mainline 4.9.93 rev1", "architecture": "x86_64", "organization": "11111111-1111-4111-8111-111111111111", + "kernel": "http://169.254.42.24/kernel/x86_64-mainline-lts-4.9-4.9.93-rev1/vmlinuz-4.9.93", + "dtb": "", "initrd": "http://169.254.42.24/initrd/initrd-Linux-x86_64-v3.14.6.gz", + "bootcmdargs": "LINUX_COMMON scaleway boot=local nbd.max_part=16", "default": + false, "zone": "fr-par-1"}, "from_server": null, "state": "available", "zone": + "fr-par-1"}, "volumes": {"1": {"id": "45f741d5-a9f5-48b8-9307-f5c6fa1616c8", + "name": "cli-srv-silly-wing-1", "volume_type": "b_ssd", "export_uri": null, + "organization": "104ff69c-3f34-48f4-b5f0-e516e4ad526b", "server": {"id": "0411b2d6-6b9c-46e0-b265-49a9c01c600f", + "name": "cli-srv-silly-wing"}, "size": 10000000000, "state": "available", "creation_date": + "2020-05-05T13:40:51.304223+00:00", "modification_date": "2020-05-05T13:40:51.683825+00:00", + "zone": "fr-par-1"}, "0": {"id": "8492ea1e-2ea3-45a8-8890-3948ee21458d", "name": + "snapshot-de728daa-0bf6-4c64-abf5-a9477e791c83-2019-03-05_10:13", "volume_type": + "l_ssd", "export_uri": null, "organization": "104ff69c-3f34-48f4-b5f0-e516e4ad526b", + "server": {"id": "0411b2d6-6b9c-46e0-b265-49a9c01c600f", "name": "cli-srv-silly-wing"}, + "size": 20000000000, "state": "available", "creation_date": "2020-05-05T13:40:51.304223+00:00", + "modification_date": "2020-05-05T13:40:51.683852+00:00", "zone": "fr-par-1"}}, + "tags": [], "state": "starting", "protected": false, "state_detail": "provisioning + node", "public_ip": {"id": "65ae2546-5893-40f2-bcc2-aabee4b4dc2f", "address": + "51.158.108.20", "dynamic": false}, "ipv6": null, "extra_networks": [], "dynamic_ip_required": + false, "enable_ipv6": false, "private_ip": "10.65.32.13", "creation_date": "2020-05-05T13:40:51.304223+00:00", + "modification_date": "2020-05-05T13:40:51.784838+00:00", "bootscript": {"id": + "15fbd2f7-a0f9-412b-8502-6a44da8d98b8", "public": false, "title": "x86_64 mainline + 4.9.93 rev1", "architecture": "x86_64", "organization": "11111111-1111-4111-8111-111111111111", + "kernel": "http://169.254.42.24/kernel/x86_64-mainline-lts-4.9-4.9.93-rev1/vmlinuz-4.9.93", + "dtb": "", "initrd": "http://169.254.42.24/initrd/initrd-Linux-x86_64-v3.14.6.gz", + "bootcmdargs": "LINUX_COMMON scaleway boot=local nbd.max_part=16", "default": + false, "zone": "fr-par-1"}, "security_group": {"id": "00783f68-b80e-4f04-8520-bfc3249380be", + "name": "Default security group"}, "location": {"zone_id": "par1", "platform_id": + "14", "cluster_id": "18", "hypervisor_id": "1301", "node_id": "7"}, "maintenances": + [], "allowed_actions": ["stop_in_place", "backup"], "placement_group": null, + "private_nics": [], "zone": "fr-par-1"}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - "3491" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Tue, 05 May 2020 13:41:22 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 7ea3320a-c9eb-4138-8329-d4f13ac5a479 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14.2; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/servers/0411b2d6-6b9c-46e0-b265-49a9c01c600f + method: GET + response: + body: '{"server": {"id": "0411b2d6-6b9c-46e0-b265-49a9c01c600f", "name": "cli-srv-silly-wing", + "arch": "x86_64", "commercial_type": "DEV1-S", "boot_type": "local", "organization": + "104ff69c-3f34-48f4-b5f0-e516e4ad526b", "hostname": "cli-srv-silly-wing", "image": + {"id": "f974feac-abae-4365-b988-8ec7d1cec10d", "name": "Ubuntu Bionic Beaver", + "organization": "51b656e3-4865-41e8-adbc-0c45bdd780db", "root_volume": {"id": + "dd5f5c10-23b1-4c9c-8445-eb6740957c84", "name": "snapshot-de728daa-0bf6-4c64-abf5-a9477e791c83-2019-03-05_10:13", + "volume_type": "l_ssd", "size": 10000000000}, "extra_volumes": {}, "public": + true, "arch": "x86_64", "creation_date": "2019-03-05T10:13:15.974944+00:00", + "modification_date": "2019-03-05T13:32:29.274319+00:00", "default_bootscript": + {"id": "15fbd2f7-a0f9-412b-8502-6a44da8d98b8", "public": false, "title": "x86_64 + mainline 4.9.93 rev1", "architecture": "x86_64", "organization": "11111111-1111-4111-8111-111111111111", + "kernel": "http://169.254.42.24/kernel/x86_64-mainline-lts-4.9-4.9.93-rev1/vmlinuz-4.9.93", + "dtb": "", "initrd": "http://169.254.42.24/initrd/initrd-Linux-x86_64-v3.14.6.gz", + "bootcmdargs": "LINUX_COMMON scaleway boot=local nbd.max_part=16", "default": + false, "zone": "fr-par-1"}, "from_server": null, "state": "available", "zone": + "fr-par-1"}, "volumes": {"1": {"id": "45f741d5-a9f5-48b8-9307-f5c6fa1616c8", + "name": "cli-srv-silly-wing-1", "volume_type": "b_ssd", "export_uri": null, + "organization": "104ff69c-3f34-48f4-b5f0-e516e4ad526b", "server": {"id": "0411b2d6-6b9c-46e0-b265-49a9c01c600f", + "name": "cli-srv-silly-wing"}, "size": 10000000000, "state": "available", "creation_date": + "2020-05-05T13:40:51.304223+00:00", "modification_date": "2020-05-05T13:40:51.683825+00:00", + "zone": "fr-par-1"}, "0": {"id": "8492ea1e-2ea3-45a8-8890-3948ee21458d", "name": + "snapshot-de728daa-0bf6-4c64-abf5-a9477e791c83-2019-03-05_10:13", "volume_type": + "l_ssd", "export_uri": null, "organization": "104ff69c-3f34-48f4-b5f0-e516e4ad526b", + "server": {"id": "0411b2d6-6b9c-46e0-b265-49a9c01c600f", "name": "cli-srv-silly-wing"}, + "size": 20000000000, "state": "available", "creation_date": "2020-05-05T13:40:51.304223+00:00", + "modification_date": "2020-05-05T13:40:51.683852+00:00", "zone": "fr-par-1"}}, + "tags": [], "state": "running", "protected": false, "state_detail": "booting + kernel", "public_ip": {"id": "65ae2546-5893-40f2-bcc2-aabee4b4dc2f", "address": + "51.158.108.20", "dynamic": false}, "ipv6": null, "extra_networks": [], "dynamic_ip_required": + false, "enable_ipv6": false, "private_ip": "10.65.32.13", "creation_date": "2020-05-05T13:40:51.304223+00:00", + "modification_date": "2020-05-05T13:41:25.365936+00:00", "bootscript": {"id": + "15fbd2f7-a0f9-412b-8502-6a44da8d98b8", "public": false, "title": "x86_64 mainline + 4.9.93 rev1", "architecture": "x86_64", "organization": "11111111-1111-4111-8111-111111111111", + "kernel": "http://169.254.42.24/kernel/x86_64-mainline-lts-4.9-4.9.93-rev1/vmlinuz-4.9.93", + "dtb": "", "initrd": "http://169.254.42.24/initrd/initrd-Linux-x86_64-v3.14.6.gz", + "bootcmdargs": "LINUX_COMMON scaleway boot=local nbd.max_part=16", "default": + false, "zone": "fr-par-1"}, "security_group": {"id": "00783f68-b80e-4f04-8520-bfc3249380be", + "name": "Default security group"}, "location": {"zone_id": "par1", "platform_id": + "14", "cluster_id": "18", "hypervisor_id": "1301", "node_id": "7"}, "maintenances": + [], "allowed_actions": ["poweroff", "terminate", "reboot", "stop_in_place", + "backup"], "placement_group": null, "private_nics": [], "zone": "fr-par-1"}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - "3522" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Tue, 05 May 2020 13:41:27 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 53a86fca-a260-448e-bf22-ad2771d86d25 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14.2; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/servers/0411b2d6-6b9c-46e0-b265-49a9c01c600f + method: GET + response: + body: '{"server": {"id": "0411b2d6-6b9c-46e0-b265-49a9c01c600f", "name": "cli-srv-silly-wing", + "arch": "x86_64", "commercial_type": "DEV1-S", "boot_type": "local", "organization": + "104ff69c-3f34-48f4-b5f0-e516e4ad526b", "hostname": "cli-srv-silly-wing", "image": + {"id": "f974feac-abae-4365-b988-8ec7d1cec10d", "name": "Ubuntu Bionic Beaver", + "organization": "51b656e3-4865-41e8-adbc-0c45bdd780db", "root_volume": {"id": + "dd5f5c10-23b1-4c9c-8445-eb6740957c84", "name": "snapshot-de728daa-0bf6-4c64-abf5-a9477e791c83-2019-03-05_10:13", + "volume_type": "l_ssd", "size": 10000000000}, "extra_volumes": {}, "public": + true, "arch": "x86_64", "creation_date": "2019-03-05T10:13:15.974944+00:00", + "modification_date": "2019-03-05T13:32:29.274319+00:00", "default_bootscript": + {"id": "15fbd2f7-a0f9-412b-8502-6a44da8d98b8", "public": false, "title": "x86_64 + mainline 4.9.93 rev1", "architecture": "x86_64", "organization": "11111111-1111-4111-8111-111111111111", + "kernel": "http://169.254.42.24/kernel/x86_64-mainline-lts-4.9-4.9.93-rev1/vmlinuz-4.9.93", + "dtb": "", "initrd": "http://169.254.42.24/initrd/initrd-Linux-x86_64-v3.14.6.gz", + "bootcmdargs": "LINUX_COMMON scaleway boot=local nbd.max_part=16", "default": + false, "zone": "fr-par-1"}, "from_server": null, "state": "available", "zone": + "fr-par-1"}, "volumes": {"1": {"id": "45f741d5-a9f5-48b8-9307-f5c6fa1616c8", + "name": "cli-srv-silly-wing-1", "volume_type": "b_ssd", "export_uri": null, + "organization": "104ff69c-3f34-48f4-b5f0-e516e4ad526b", "server": {"id": "0411b2d6-6b9c-46e0-b265-49a9c01c600f", + "name": "cli-srv-silly-wing"}, "size": 10000000000, "state": "available", "creation_date": + "2020-05-05T13:40:51.304223+00:00", "modification_date": "2020-05-05T13:40:51.683825+00:00", + "zone": "fr-par-1"}, "0": {"id": "8492ea1e-2ea3-45a8-8890-3948ee21458d", "name": + "snapshot-de728daa-0bf6-4c64-abf5-a9477e791c83-2019-03-05_10:13", "volume_type": + "l_ssd", "export_uri": null, "organization": "104ff69c-3f34-48f4-b5f0-e516e4ad526b", + "server": {"id": "0411b2d6-6b9c-46e0-b265-49a9c01c600f", "name": "cli-srv-silly-wing"}, + "size": 20000000000, "state": "available", "creation_date": "2020-05-05T13:40:51.304223+00:00", + "modification_date": "2020-05-05T13:40:51.683852+00:00", "zone": "fr-par-1"}}, + "tags": [], "state": "running", "protected": false, "state_detail": "booting + kernel", "public_ip": {"id": "65ae2546-5893-40f2-bcc2-aabee4b4dc2f", "address": + "51.158.108.20", "dynamic": false}, "ipv6": null, "extra_networks": [], "dynamic_ip_required": + false, "enable_ipv6": false, "private_ip": "10.65.32.13", "creation_date": "2020-05-05T13:40:51.304223+00:00", + "modification_date": "2020-05-05T13:41:25.365936+00:00", "bootscript": {"id": + "15fbd2f7-a0f9-412b-8502-6a44da8d98b8", "public": false, "title": "x86_64 mainline + 4.9.93 rev1", "architecture": "x86_64", "organization": "11111111-1111-4111-8111-111111111111", + "kernel": "http://169.254.42.24/kernel/x86_64-mainline-lts-4.9-4.9.93-rev1/vmlinuz-4.9.93", + "dtb": "", "initrd": "http://169.254.42.24/initrd/initrd-Linux-x86_64-v3.14.6.gz", + "bootcmdargs": "LINUX_COMMON scaleway boot=local nbd.max_part=16", "default": + false, "zone": "fr-par-1"}, "security_group": {"id": "00783f68-b80e-4f04-8520-bfc3249380be", + "name": "Default security group"}, "location": {"zone_id": "par1", "platform_id": + "14", "cluster_id": "18", "hypervisor_id": "1301", "node_id": "7"}, "maintenances": + [], "allowed_actions": ["poweroff", "terminate", "reboot", "stop_in_place", + "backup"], "placement_group": null, "private_nics": [], "zone": "fr-par-1"}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - "3522" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Tue, 05 May 2020 13:41:27 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 709f6f60-97c5-4d18-90d7-0907401624ea + status: 200 OK + code: 200 + duration: "" +- request: + body: '{"action":"terminate"}' + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14.2; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/servers/0411b2d6-6b9c-46e0-b265-49a9c01c600f/action + method: POST + response: + body: '{"task": {"status": "pending", "description": "server_terminate", "href_result": + "/servers/0411b2d6-6b9c-46e0-b265-49a9c01c600f", "terminated_at": null, "href_from": + "/servers/0411b2d6-6b9c-46e0-b265-49a9c01c600f/action", "started_at": "2020-05-05T13:41:28.766595+00:00", + "id": "cdc7cff1-05c4-44fb-b67f-d7386cbe5133"}}' + headers: + Content-Length: + - "318" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Tue, 05 May 2020 13:41:28 GMT + Location: + - https://cp-par1.scaleway.com/tasks/cdc7cff1-05c4-44fb-b67f-d7386cbe5133 + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - de930993-e47c-4a64-a506-62162ea42076 + status: 202 Accepted + code: 202 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14.2; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/ips/65ae2546-5893-40f2-bcc2-aabee4b4dc2f + method: DELETE + response: + body: "" + headers: + Cache-Control: + - no-cache + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Tue, 05 May 2020 13:41:28 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - eb6c5736-f230-4ff0-9151-ca169385dcbc + status: 204 No Content + code: 204 + duration: "" diff --git a/internal/namespaces/instance/v1/testdata/test-server-terminate-with-ips.stderr.golden b/internal/namespaces/instance/v1/testdata/test-server-terminate-with-block.stderr.golden similarity index 100% rename from internal/namespaces/instance/v1/testdata/test-server-terminate-with-ips.stderr.golden rename to internal/namespaces/instance/v1/testdata/test-server-terminate-with-block.stderr.golden diff --git a/internal/namespaces/instance/v1/testdata/test-server-terminate-with-ips.stdout.golden b/internal/namespaces/instance/v1/testdata/test-server-terminate-with-block.stdout.golden similarity index 100% rename from internal/namespaces/instance/v1/testdata/test-server-terminate-with-ips.stdout.golden rename to internal/namespaces/instance/v1/testdata/test-server-terminate-with-block.stdout.golden diff --git a/internal/namespaces/instance/v1/testdata/test-server-terminate-without-ips.cassette.yaml b/internal/namespaces/instance/v1/testdata/test-server-terminate-with-ip.cassette.yaml similarity index 93% rename from internal/namespaces/instance/v1/testdata/test-server-terminate-without-ips.cassette.yaml rename to internal/namespaces/instance/v1/testdata/test-server-terminate-with-ip.cassette.yaml index a3f3f030e0..d3037e19a7 100644 --- a/internal/namespaces/instance/v1/testdata/test-server-terminate-without-ips.cassette.yaml +++ b/internal/namespaces/instance/v1/testdata/test-server-terminate-with-ip.cassette.yaml @@ -650,7 +650,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 05 May 2020 07:08:39 GMT + - Tue, 05 May 2020 13:39:42 GMT Link: - ; rel="last" Server: @@ -662,7 +662,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 37535e03-b0d1-4a28-954f-9589b4e5f4df + - c6a1833c-7082-4614-bb8f-b668505b95e4 X-Total-Count: - "31" status: 200 OK @@ -700,7 +700,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 05 May 2020 07:08:39 GMT + - Tue, 05 May 2020 13:39:42 GMT Server: - scaleway_api Strict-Transport-Security: @@ -710,7 +710,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - e9d1fdcf-6352-4e7d-942e-1e8ed590d6cb + - a06e34a9-90a1-412a-ba25-4c2ff847f477 status: 200 OK code: 200 duration: "" @@ -1017,7 +1017,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 05 May 2020 07:08:39 GMT + - Tue, 05 May 2020 13:39:42 GMT Link: - ; rel="last" Server: @@ -1029,7 +1029,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 6b962504-4514-41a0-a54a-9dbaa93ba02c + - 43601e8a-675c-497c-9f43-b6ba923bd949 X-Total-Count: - "32" status: 200 OK @@ -1059,7 +1059,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 05 May 2020 07:08:39 GMT + - Tue, 05 May 2020 13:39:42 GMT Location: - https://cp-par1.scaleway.com/ips/65ae2546-5893-40f2-bcc2-aabee4b4dc2f Server: @@ -1071,12 +1071,12 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - df8fb604-7ae8-4dc6-89bd-33a2d15fa2f5 + - dc104579-209b-4569-becd-76b6d818d583 status: 201 Created code: 201 duration: "" - request: - body: '{"name":"cli-srv-quirky-goldberg","commercial_type":"DEV1-S","image":"f974feac-abae-4365-b988-8ec7d1cec10d","public_ip":"65ae2546-5893-40f2-bcc2-aabee4b4dc2f","organization":"104ff69c-3f34-48f4-b5f0-e516e4ad526b"}' + body: '{"name":"cli-srv-sleepy-dubinsky","commercial_type":"DEV1-S","image":"f974feac-abae-4365-b988-8ec7d1cec10d","public_ip":"65ae2546-5893-40f2-bcc2-aabee4b4dc2f","organization":"104ff69c-3f34-48f4-b5f0-e516e4ad526b"}' form: {} headers: Content-Type: @@ -1086,9 +1086,9 @@ interactions: url: https://api.scaleway.com/instance/v1/zones/fr-par-1/servers method: POST response: - body: '{"server": {"id": "d251549c-36ae-4e8d-90c5-e070819c636a", "name": "cli-srv-quirky-goldberg", + body: '{"server": {"id": "3c76fb41-957c-4c3e-92d1-304a43285b4c", "name": "cli-srv-sleepy-dubinsky", "arch": "x86_64", "commercial_type": "DEV1-S", "boot_type": "local", "organization": - "104ff69c-3f34-48f4-b5f0-e516e4ad526b", "hostname": "cli-srv-quirky-goldberg", + "104ff69c-3f34-48f4-b5f0-e516e4ad526b", "hostname": "cli-srv-sleepy-dubinsky", "image": {"id": "f974feac-abae-4365-b988-8ec7d1cec10d", "name": "Ubuntu Bionic Beaver", "organization": "51b656e3-4865-41e8-adbc-0c45bdd780db", "root_volume": {"id": "dd5f5c10-23b1-4c9c-8445-eb6740957c84", "name": "snapshot-de728daa-0bf6-4c64-abf5-a9477e791c83-2019-03-05_10:13", @@ -1101,17 +1101,17 @@ interactions: "dtb": "", "initrd": "http://169.254.42.24/initrd/initrd-Linux-x86_64-v3.14.6.gz", "bootcmdargs": "LINUX_COMMON scaleway boot=local nbd.max_part=16", "default": false, "zone": "fr-par-1"}, "from_server": null, "state": "available", "zone": - "fr-par-1"}, "volumes": {"0": {"id": "90d79c66-9e0c-435c-9c6b-7059dbbf5a49", + "fr-par-1"}, "volumes": {"0": {"id": "cd8e0fc4-52ae-472f-acf8-feec127738e8", "name": "snapshot-de728daa-0bf6-4c64-abf5-a9477e791c83-2019-03-05_10:13", "volume_type": "l_ssd", "export_uri": null, "organization": "104ff69c-3f34-48f4-b5f0-e516e4ad526b", - "server": {"id": "d251549c-36ae-4e8d-90c5-e070819c636a", "name": "cli-srv-quirky-goldberg"}, - "size": 20000000000, "state": "available", "creation_date": "2020-05-05T07:08:40.064974+00:00", - "modification_date": "2020-05-05T07:08:40.323669+00:00", "zone": "fr-par-1"}}, + "server": {"id": "3c76fb41-957c-4c3e-92d1-304a43285b4c", "name": "cli-srv-sleepy-dubinsky"}, + "size": 20000000000, "state": "available", "creation_date": "2020-05-05T13:39:43.389484+00:00", + "modification_date": "2020-05-05T13:39:43.710668+00:00", "zone": "fr-par-1"}}, "tags": [], "state": "stopped", "protected": false, "state_detail": "", "public_ip": {"id": "65ae2546-5893-40f2-bcc2-aabee4b4dc2f", "address": "51.158.108.20", "dynamic": false}, "ipv6": null, "extra_networks": [], "dynamic_ip_required": false, "enable_ipv6": - false, "private_ip": null, "creation_date": "2020-05-05T07:08:40.064974+00:00", - "modification_date": "2020-05-05T07:08:40.338110+00:00", "bootscript": {"id": + false, "private_ip": null, "creation_date": "2020-05-05T13:39:43.389484+00:00", + "modification_date": "2020-05-05T13:39:43.742193+00:00", "bootscript": {"id": "15fbd2f7-a0f9-412b-8502-6a44da8d98b8", "public": false, "title": "x86_64 mainline 4.9.93 rev1", "architecture": "x86_64", "organization": "11111111-1111-4111-8111-111111111111", "kernel": "http://169.254.42.24/kernel/x86_64-mainline-lts-4.9-4.9.93-rev1/vmlinuz-4.9.93", @@ -1131,9 +1131,9 @@ interactions: Content-Type: - application/json Date: - - Tue, 05 May 2020 07:08:40 GMT + - Tue, 05 May 2020 13:39:43 GMT Location: - - https://cp-par1.scaleway.com/servers/d251549c-36ae-4e8d-90c5-e070819c636a + - https://cp-par1.scaleway.com/servers/3c76fb41-957c-4c3e-92d1-304a43285b4c Server: - scaleway_api Strict-Transport-Security: @@ -1143,7 +1143,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 9a406785-c563-47da-a0ca-b95f074ad95b + - 0486c0d1-f2d0-4fd1-9821-a3159a51de5f status: 201 Created code: 201 duration: "" @@ -1155,13 +1155,13 @@ interactions: - application/json User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14.2; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/servers/d251549c-36ae-4e8d-90c5-e070819c636a/action + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/servers/3c76fb41-957c-4c3e-92d1-304a43285b4c/action method: POST response: body: '{"task": {"status": "pending", "description": "server_batch_poweron", "href_result": - "/servers/d251549c-36ae-4e8d-90c5-e070819c636a", "terminated_at": null, "href_from": - "/servers/d251549c-36ae-4e8d-90c5-e070819c636a/action", "started_at": "2020-05-05T07:08:41.598459+00:00", - "id": "075f86c8-4084-4296-876c-86c92ba83e13"}}' + "/servers/3c76fb41-957c-4c3e-92d1-304a43285b4c", "terminated_at": null, "href_from": + "/servers/3c76fb41-957c-4c3e-92d1-304a43285b4c/action", "started_at": "2020-05-05T13:39:44.608595+00:00", + "id": "56033adc-9f90-4558-a0ca-b957870b91af"}}' headers: Content-Length: - "322" @@ -1170,9 +1170,9 @@ interactions: Content-Type: - application/json Date: - - Tue, 05 May 2020 07:08:41 GMT + - Tue, 05 May 2020 13:39:44 GMT Location: - - https://cp-par1.scaleway.com/tasks/075f86c8-4084-4296-876c-86c92ba83e13 + - https://cp-par1.scaleway.com/tasks/56033adc-9f90-4558-a0ca-b957870b91af Server: - scaleway_api Strict-Transport-Security: @@ -1182,7 +1182,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 38e3b432-e491-4890-a449-dff3700a8886 + - f169b408-2819-4c9e-98f6-945baba3e52d status: 202 Accepted code: 202 duration: "" @@ -1192,12 +1192,12 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14.2; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/servers/d251549c-36ae-4e8d-90c5-e070819c636a + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/servers/3c76fb41-957c-4c3e-92d1-304a43285b4c method: GET response: - body: '{"server": {"id": "d251549c-36ae-4e8d-90c5-e070819c636a", "name": "cli-srv-quirky-goldberg", + body: '{"server": {"id": "3c76fb41-957c-4c3e-92d1-304a43285b4c", "name": "cli-srv-sleepy-dubinsky", "arch": "x86_64", "commercial_type": "DEV1-S", "boot_type": "local", "organization": - "104ff69c-3f34-48f4-b5f0-e516e4ad526b", "hostname": "cli-srv-quirky-goldberg", + "104ff69c-3f34-48f4-b5f0-e516e4ad526b", "hostname": "cli-srv-sleepy-dubinsky", "image": {"id": "f974feac-abae-4365-b988-8ec7d1cec10d", "name": "Ubuntu Bionic Beaver", "organization": "51b656e3-4865-41e8-adbc-0c45bdd780db", "root_volume": {"id": "dd5f5c10-23b1-4c9c-8445-eb6740957c84", "name": "snapshot-de728daa-0bf6-4c64-abf5-a9477e791c83-2019-03-05_10:13", @@ -1210,17 +1210,17 @@ interactions: "dtb": "", "initrd": "http://169.254.42.24/initrd/initrd-Linux-x86_64-v3.14.6.gz", "bootcmdargs": "LINUX_COMMON scaleway boot=local nbd.max_part=16", "default": false, "zone": "fr-par-1"}, "from_server": null, "state": "available", "zone": - "fr-par-1"}, "volumes": {"0": {"id": "90d79c66-9e0c-435c-9c6b-7059dbbf5a49", + "fr-par-1"}, "volumes": {"0": {"id": "cd8e0fc4-52ae-472f-acf8-feec127738e8", "name": "snapshot-de728daa-0bf6-4c64-abf5-a9477e791c83-2019-03-05_10:13", "volume_type": "l_ssd", "export_uri": null, "organization": "104ff69c-3f34-48f4-b5f0-e516e4ad526b", - "server": {"id": "d251549c-36ae-4e8d-90c5-e070819c636a", "name": "cli-srv-quirky-goldberg"}, - "size": 20000000000, "state": "available", "creation_date": "2020-05-05T07:08:40.064974+00:00", - "modification_date": "2020-05-05T07:08:40.323669+00:00", "zone": "fr-par-1"}}, + "server": {"id": "3c76fb41-957c-4c3e-92d1-304a43285b4c", "name": "cli-srv-sleepy-dubinsky"}, + "size": 20000000000, "state": "available", "creation_date": "2020-05-05T13:39:43.389484+00:00", + "modification_date": "2020-05-05T13:39:43.710668+00:00", "zone": "fr-par-1"}}, "tags": [], "state": "starting", "protected": false, "state_detail": "allocating node", "public_ip": {"id": "65ae2546-5893-40f2-bcc2-aabee4b4dc2f", "address": "51.158.108.20", "dynamic": false}, "ipv6": null, "extra_networks": [], "dynamic_ip_required": - false, "enable_ipv6": false, "private_ip": null, "creation_date": "2020-05-05T07:08:40.064974+00:00", - "modification_date": "2020-05-05T07:08:40.389155+00:00", "bootscript": {"id": + false, "enable_ipv6": false, "private_ip": null, "creation_date": "2020-05-05T13:39:43.389484+00:00", + "modification_date": "2020-05-05T13:39:43.858727+00:00", "bootscript": {"id": "15fbd2f7-a0f9-412b-8502-6a44da8d98b8", "public": false, "title": "x86_64 mainline 4.9.93 rev1", "architecture": "x86_64", "organization": "11111111-1111-4111-8111-111111111111", "kernel": "http://169.254.42.24/kernel/x86_64-mainline-lts-4.9-4.9.93-rev1/vmlinuz-4.9.93", @@ -1240,7 +1240,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 05 May 2020 07:08:41 GMT + - Tue, 05 May 2020 13:39:44 GMT Server: - scaleway_api Strict-Transport-Security: @@ -1250,7 +1250,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - ff4397b5-cf5c-4dfc-8615-7fbb12d26ba4 + - 791b3bfa-3e54-4bf5-a4b0-68eee2b64ae6 status: 200 OK code: 200 duration: "" @@ -1260,12 +1260,12 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14.2; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/servers/d251549c-36ae-4e8d-90c5-e070819c636a + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/servers/3c76fb41-957c-4c3e-92d1-304a43285b4c method: GET response: - body: '{"server": {"id": "d251549c-36ae-4e8d-90c5-e070819c636a", "name": "cli-srv-quirky-goldberg", + body: '{"server": {"id": "3c76fb41-957c-4c3e-92d1-304a43285b4c", "name": "cli-srv-sleepy-dubinsky", "arch": "x86_64", "commercial_type": "DEV1-S", "boot_type": "local", "organization": - "104ff69c-3f34-48f4-b5f0-e516e4ad526b", "hostname": "cli-srv-quirky-goldberg", + "104ff69c-3f34-48f4-b5f0-e516e4ad526b", "hostname": "cli-srv-sleepy-dubinsky", "image": {"id": "f974feac-abae-4365-b988-8ec7d1cec10d", "name": "Ubuntu Bionic Beaver", "organization": "51b656e3-4865-41e8-adbc-0c45bdd780db", "root_volume": {"id": "dd5f5c10-23b1-4c9c-8445-eb6740957c84", "name": "snapshot-de728daa-0bf6-4c64-abf5-a9477e791c83-2019-03-05_10:13", @@ -1278,17 +1278,17 @@ interactions: "dtb": "", "initrd": "http://169.254.42.24/initrd/initrd-Linux-x86_64-v3.14.6.gz", "bootcmdargs": "LINUX_COMMON scaleway boot=local nbd.max_part=16", "default": false, "zone": "fr-par-1"}, "from_server": null, "state": "available", "zone": - "fr-par-1"}, "volumes": {"0": {"id": "90d79c66-9e0c-435c-9c6b-7059dbbf5a49", + "fr-par-1"}, "volumes": {"0": {"id": "cd8e0fc4-52ae-472f-acf8-feec127738e8", "name": "snapshot-de728daa-0bf6-4c64-abf5-a9477e791c83-2019-03-05_10:13", "volume_type": "l_ssd", "export_uri": null, "organization": "104ff69c-3f34-48f4-b5f0-e516e4ad526b", - "server": {"id": "d251549c-36ae-4e8d-90c5-e070819c636a", "name": "cli-srv-quirky-goldberg"}, - "size": 20000000000, "state": "available", "creation_date": "2020-05-05T07:08:40.064974+00:00", - "modification_date": "2020-05-05T07:08:40.323669+00:00", "zone": "fr-par-1"}}, + "server": {"id": "3c76fb41-957c-4c3e-92d1-304a43285b4c", "name": "cli-srv-sleepy-dubinsky"}, + "size": 20000000000, "state": "available", "creation_date": "2020-05-05T13:39:43.389484+00:00", + "modification_date": "2020-05-05T13:39:43.710668+00:00", "zone": "fr-par-1"}}, "tags": [], "state": "starting", "protected": false, "state_detail": "provisioning node", "public_ip": {"id": "65ae2546-5893-40f2-bcc2-aabee4b4dc2f", "address": "51.158.108.20", "dynamic": false}, "ipv6": null, "extra_networks": [], "dynamic_ip_required": - false, "enable_ipv6": false, "private_ip": "10.65.6.101", "creation_date": "2020-05-05T07:08:40.064974+00:00", - "modification_date": "2020-05-05T07:08:40.389155+00:00", "bootscript": {"id": + false, "enable_ipv6": false, "private_ip": "10.69.60.25", "creation_date": "2020-05-05T13:39:43.389484+00:00", + "modification_date": "2020-05-05T13:39:43.858727+00:00", "bootscript": {"id": "15fbd2f7-a0f9-412b-8502-6a44da8d98b8", "public": false, "title": "x86_64 mainline 4.9.93 rev1", "architecture": "x86_64", "organization": "11111111-1111-4111-8111-111111111111", "kernel": "http://169.254.42.24/kernel/x86_64-mainline-lts-4.9-4.9.93-rev1/vmlinuz-4.9.93", @@ -1296,20 +1296,20 @@ interactions: "bootcmdargs": "LINUX_COMMON scaleway boot=local nbd.max_part=16", "default": false, "zone": "fr-par-1"}, "security_group": {"id": "00783f68-b80e-4f04-8520-bfc3249380be", "name": "Default security group"}, "location": {"zone_id": "par1", "platform_id": - "14", "cluster_id": "18", "hypervisor_id": "602", "node_id": "51"}, "maintenances": + "14", "cluster_id": "38", "hypervisor_id": "1601", "node_id": "13"}, "maintenances": [], "allowed_actions": ["stop_in_place", "backup"], "placement_group": null, "private_nics": [], "zone": "fr-par-1"}}' headers: Cache-Control: - no-cache Content-Length: - - "3060" + - "3061" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Tue, 05 May 2020 07:08:46 GMT + - Tue, 05 May 2020 13:39:49 GMT Server: - scaleway_api Strict-Transport-Security: @@ -1319,7 +1319,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 9369f664-35c0-4dee-8bf7-acc702ca2232 + - 9c7007fc-17fd-46ce-9499-a76ee4ec1492 status: 200 OK code: 200 duration: "" @@ -1329,12 +1329,12 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14.2; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/servers/d251549c-36ae-4e8d-90c5-e070819c636a + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/servers/3c76fb41-957c-4c3e-92d1-304a43285b4c method: GET response: - body: '{"server": {"id": "d251549c-36ae-4e8d-90c5-e070819c636a", "name": "cli-srv-quirky-goldberg", + body: '{"server": {"id": "3c76fb41-957c-4c3e-92d1-304a43285b4c", "name": "cli-srv-sleepy-dubinsky", "arch": "x86_64", "commercial_type": "DEV1-S", "boot_type": "local", "organization": - "104ff69c-3f34-48f4-b5f0-e516e4ad526b", "hostname": "cli-srv-quirky-goldberg", + "104ff69c-3f34-48f4-b5f0-e516e4ad526b", "hostname": "cli-srv-sleepy-dubinsky", "image": {"id": "f974feac-abae-4365-b988-8ec7d1cec10d", "name": "Ubuntu Bionic Beaver", "organization": "51b656e3-4865-41e8-adbc-0c45bdd780db", "root_volume": {"id": "dd5f5c10-23b1-4c9c-8445-eb6740957c84", "name": "snapshot-de728daa-0bf6-4c64-abf5-a9477e791c83-2019-03-05_10:13", @@ -1347,17 +1347,17 @@ interactions: "dtb": "", "initrd": "http://169.254.42.24/initrd/initrd-Linux-x86_64-v3.14.6.gz", "bootcmdargs": "LINUX_COMMON scaleway boot=local nbd.max_part=16", "default": false, "zone": "fr-par-1"}, "from_server": null, "state": "available", "zone": - "fr-par-1"}, "volumes": {"0": {"id": "90d79c66-9e0c-435c-9c6b-7059dbbf5a49", + "fr-par-1"}, "volumes": {"0": {"id": "cd8e0fc4-52ae-472f-acf8-feec127738e8", "name": "snapshot-de728daa-0bf6-4c64-abf5-a9477e791c83-2019-03-05_10:13", "volume_type": "l_ssd", "export_uri": null, "organization": "104ff69c-3f34-48f4-b5f0-e516e4ad526b", - "server": {"id": "d251549c-36ae-4e8d-90c5-e070819c636a", "name": "cli-srv-quirky-goldberg"}, - "size": 20000000000, "state": "available", "creation_date": "2020-05-05T07:08:40.064974+00:00", - "modification_date": "2020-05-05T07:08:40.323669+00:00", "zone": "fr-par-1"}}, + "server": {"id": "3c76fb41-957c-4c3e-92d1-304a43285b4c", "name": "cli-srv-sleepy-dubinsky"}, + "size": 20000000000, "state": "available", "creation_date": "2020-05-05T13:39:43.389484+00:00", + "modification_date": "2020-05-05T13:39:43.710668+00:00", "zone": "fr-par-1"}}, "tags": [], "state": "starting", "protected": false, "state_detail": "provisioning node", "public_ip": {"id": "65ae2546-5893-40f2-bcc2-aabee4b4dc2f", "address": "51.158.108.20", "dynamic": false}, "ipv6": null, "extra_networks": [], "dynamic_ip_required": - false, "enable_ipv6": false, "private_ip": "10.65.6.101", "creation_date": "2020-05-05T07:08:40.064974+00:00", - "modification_date": "2020-05-05T07:08:40.389155+00:00", "bootscript": {"id": + false, "enable_ipv6": false, "private_ip": "10.69.60.25", "creation_date": "2020-05-05T13:39:43.389484+00:00", + "modification_date": "2020-05-05T13:39:43.858727+00:00", "bootscript": {"id": "15fbd2f7-a0f9-412b-8502-6a44da8d98b8", "public": false, "title": "x86_64 mainline 4.9.93 rev1", "architecture": "x86_64", "organization": "11111111-1111-4111-8111-111111111111", "kernel": "http://169.254.42.24/kernel/x86_64-mainline-lts-4.9-4.9.93-rev1/vmlinuz-4.9.93", @@ -1365,20 +1365,20 @@ interactions: "bootcmdargs": "LINUX_COMMON scaleway boot=local nbd.max_part=16", "default": false, "zone": "fr-par-1"}, "security_group": {"id": "00783f68-b80e-4f04-8520-bfc3249380be", "name": "Default security group"}, "location": {"zone_id": "par1", "platform_id": - "14", "cluster_id": "18", "hypervisor_id": "602", "node_id": "51"}, "maintenances": + "14", "cluster_id": "38", "hypervisor_id": "1601", "node_id": "13"}, "maintenances": [], "allowed_actions": ["stop_in_place", "backup"], "placement_group": null, "private_nics": [], "zone": "fr-par-1"}}' headers: Cache-Control: - no-cache Content-Length: - - "3060" + - "3061" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Tue, 05 May 2020 07:08:51 GMT + - Tue, 05 May 2020 13:39:54 GMT Server: - scaleway_api Strict-Transport-Security: @@ -1388,7 +1388,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 71a546e1-8628-4982-9ffc-c1e69fd78416 + - 1bd5aa52-33cc-47bf-871c-3065ae0aac6d status: 200 OK code: 200 duration: "" @@ -1398,12 +1398,12 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14.2; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/servers/d251549c-36ae-4e8d-90c5-e070819c636a + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/servers/3c76fb41-957c-4c3e-92d1-304a43285b4c method: GET response: - body: '{"server": {"id": "d251549c-36ae-4e8d-90c5-e070819c636a", "name": "cli-srv-quirky-goldberg", + body: '{"server": {"id": "3c76fb41-957c-4c3e-92d1-304a43285b4c", "name": "cli-srv-sleepy-dubinsky", "arch": "x86_64", "commercial_type": "DEV1-S", "boot_type": "local", "organization": - "104ff69c-3f34-48f4-b5f0-e516e4ad526b", "hostname": "cli-srv-quirky-goldberg", + "104ff69c-3f34-48f4-b5f0-e516e4ad526b", "hostname": "cli-srv-sleepy-dubinsky", "image": {"id": "f974feac-abae-4365-b988-8ec7d1cec10d", "name": "Ubuntu Bionic Beaver", "organization": "51b656e3-4865-41e8-adbc-0c45bdd780db", "root_volume": {"id": "dd5f5c10-23b1-4c9c-8445-eb6740957c84", "name": "snapshot-de728daa-0bf6-4c64-abf5-a9477e791c83-2019-03-05_10:13", @@ -1416,17 +1416,17 @@ interactions: "dtb": "", "initrd": "http://169.254.42.24/initrd/initrd-Linux-x86_64-v3.14.6.gz", "bootcmdargs": "LINUX_COMMON scaleway boot=local nbd.max_part=16", "default": false, "zone": "fr-par-1"}, "from_server": null, "state": "available", "zone": - "fr-par-1"}, "volumes": {"0": {"id": "90d79c66-9e0c-435c-9c6b-7059dbbf5a49", + "fr-par-1"}, "volumes": {"0": {"id": "cd8e0fc4-52ae-472f-acf8-feec127738e8", "name": "snapshot-de728daa-0bf6-4c64-abf5-a9477e791c83-2019-03-05_10:13", "volume_type": "l_ssd", "export_uri": null, "organization": "104ff69c-3f34-48f4-b5f0-e516e4ad526b", - "server": {"id": "d251549c-36ae-4e8d-90c5-e070819c636a", "name": "cli-srv-quirky-goldberg"}, - "size": 20000000000, "state": "available", "creation_date": "2020-05-05T07:08:40.064974+00:00", - "modification_date": "2020-05-05T07:08:40.323669+00:00", "zone": "fr-par-1"}}, + "server": {"id": "3c76fb41-957c-4c3e-92d1-304a43285b4c", "name": "cli-srv-sleepy-dubinsky"}, + "size": 20000000000, "state": "available", "creation_date": "2020-05-05T13:39:43.389484+00:00", + "modification_date": "2020-05-05T13:39:43.710668+00:00", "zone": "fr-par-1"}}, "tags": [], "state": "starting", "protected": false, "state_detail": "provisioning node", "public_ip": {"id": "65ae2546-5893-40f2-bcc2-aabee4b4dc2f", "address": "51.158.108.20", "dynamic": false}, "ipv6": null, "extra_networks": [], "dynamic_ip_required": - false, "enable_ipv6": false, "private_ip": "10.65.6.101", "creation_date": "2020-05-05T07:08:40.064974+00:00", - "modification_date": "2020-05-05T07:08:40.389155+00:00", "bootscript": {"id": + false, "enable_ipv6": false, "private_ip": "10.69.60.25", "creation_date": "2020-05-05T13:39:43.389484+00:00", + "modification_date": "2020-05-05T13:39:43.858727+00:00", "bootscript": {"id": "15fbd2f7-a0f9-412b-8502-6a44da8d98b8", "public": false, "title": "x86_64 mainline 4.9.93 rev1", "architecture": "x86_64", "organization": "11111111-1111-4111-8111-111111111111", "kernel": "http://169.254.42.24/kernel/x86_64-mainline-lts-4.9-4.9.93-rev1/vmlinuz-4.9.93", @@ -1434,20 +1434,20 @@ interactions: "bootcmdargs": "LINUX_COMMON scaleway boot=local nbd.max_part=16", "default": false, "zone": "fr-par-1"}, "security_group": {"id": "00783f68-b80e-4f04-8520-bfc3249380be", "name": "Default security group"}, "location": {"zone_id": "par1", "platform_id": - "14", "cluster_id": "18", "hypervisor_id": "602", "node_id": "51"}, "maintenances": + "14", "cluster_id": "38", "hypervisor_id": "1601", "node_id": "13"}, "maintenances": [], "allowed_actions": ["stop_in_place", "backup"], "placement_group": null, "private_nics": [], "zone": "fr-par-1"}}' headers: Cache-Control: - no-cache Content-Length: - - "3060" + - "3061" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Tue, 05 May 2020 07:08:56 GMT + - Tue, 05 May 2020 13:40:00 GMT Server: - scaleway_api Strict-Transport-Security: @@ -1457,7 +1457,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 59ea8f18-f21a-4e2c-9202-930ac2917dee + - 5bd6ffd5-19ad-4139-9b96-ca80ba2a4fba status: 200 OK code: 200 duration: "" @@ -1467,12 +1467,12 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14.2; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/servers/d251549c-36ae-4e8d-90c5-e070819c636a + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/servers/3c76fb41-957c-4c3e-92d1-304a43285b4c method: GET response: - body: '{"server": {"id": "d251549c-36ae-4e8d-90c5-e070819c636a", "name": "cli-srv-quirky-goldberg", + body: '{"server": {"id": "3c76fb41-957c-4c3e-92d1-304a43285b4c", "name": "cli-srv-sleepy-dubinsky", "arch": "x86_64", "commercial_type": "DEV1-S", "boot_type": "local", "organization": - "104ff69c-3f34-48f4-b5f0-e516e4ad526b", "hostname": "cli-srv-quirky-goldberg", + "104ff69c-3f34-48f4-b5f0-e516e4ad526b", "hostname": "cli-srv-sleepy-dubinsky", "image": {"id": "f974feac-abae-4365-b988-8ec7d1cec10d", "name": "Ubuntu Bionic Beaver", "organization": "51b656e3-4865-41e8-adbc-0c45bdd780db", "root_volume": {"id": "dd5f5c10-23b1-4c9c-8445-eb6740957c84", "name": "snapshot-de728daa-0bf6-4c64-abf5-a9477e791c83-2019-03-05_10:13", @@ -1485,17 +1485,17 @@ interactions: "dtb": "", "initrd": "http://169.254.42.24/initrd/initrd-Linux-x86_64-v3.14.6.gz", "bootcmdargs": "LINUX_COMMON scaleway boot=local nbd.max_part=16", "default": false, "zone": "fr-par-1"}, "from_server": null, "state": "available", "zone": - "fr-par-1"}, "volumes": {"0": {"id": "90d79c66-9e0c-435c-9c6b-7059dbbf5a49", + "fr-par-1"}, "volumes": {"0": {"id": "cd8e0fc4-52ae-472f-acf8-feec127738e8", "name": "snapshot-de728daa-0bf6-4c64-abf5-a9477e791c83-2019-03-05_10:13", "volume_type": "l_ssd", "export_uri": null, "organization": "104ff69c-3f34-48f4-b5f0-e516e4ad526b", - "server": {"id": "d251549c-36ae-4e8d-90c5-e070819c636a", "name": "cli-srv-quirky-goldberg"}, - "size": 20000000000, "state": "available", "creation_date": "2020-05-05T07:08:40.064974+00:00", - "modification_date": "2020-05-05T07:08:40.323669+00:00", "zone": "fr-par-1"}}, + "server": {"id": "3c76fb41-957c-4c3e-92d1-304a43285b4c", "name": "cli-srv-sleepy-dubinsky"}, + "size": 20000000000, "state": "available", "creation_date": "2020-05-05T13:39:43.389484+00:00", + "modification_date": "2020-05-05T13:39:43.710668+00:00", "zone": "fr-par-1"}}, "tags": [], "state": "starting", "protected": false, "state_detail": "provisioning node", "public_ip": {"id": "65ae2546-5893-40f2-bcc2-aabee4b4dc2f", "address": "51.158.108.20", "dynamic": false}, "ipv6": null, "extra_networks": [], "dynamic_ip_required": - false, "enable_ipv6": false, "private_ip": "10.65.6.101", "creation_date": "2020-05-05T07:08:40.064974+00:00", - "modification_date": "2020-05-05T07:08:40.389155+00:00", "bootscript": {"id": + false, "enable_ipv6": false, "private_ip": "10.69.60.25", "creation_date": "2020-05-05T13:39:43.389484+00:00", + "modification_date": "2020-05-05T13:39:43.858727+00:00", "bootscript": {"id": "15fbd2f7-a0f9-412b-8502-6a44da8d98b8", "public": false, "title": "x86_64 mainline 4.9.93 rev1", "architecture": "x86_64", "organization": "11111111-1111-4111-8111-111111111111", "kernel": "http://169.254.42.24/kernel/x86_64-mainline-lts-4.9-4.9.93-rev1/vmlinuz-4.9.93", @@ -1503,20 +1503,20 @@ interactions: "bootcmdargs": "LINUX_COMMON scaleway boot=local nbd.max_part=16", "default": false, "zone": "fr-par-1"}, "security_group": {"id": "00783f68-b80e-4f04-8520-bfc3249380be", "name": "Default security group"}, "location": {"zone_id": "par1", "platform_id": - "14", "cluster_id": "18", "hypervisor_id": "602", "node_id": "51"}, "maintenances": + "14", "cluster_id": "38", "hypervisor_id": "1601", "node_id": "13"}, "maintenances": [], "allowed_actions": ["stop_in_place", "backup"], "placement_group": null, "private_nics": [], "zone": "fr-par-1"}}' headers: Cache-Control: - no-cache Content-Length: - - "3060" + - "3061" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Tue, 05 May 2020 07:09:01 GMT + - Tue, 05 May 2020 13:40:05 GMT Server: - scaleway_api Strict-Transport-Security: @@ -1526,7 +1526,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 8ba6754b-500c-45db-be72-302e593afd74 + - f011c803-d78f-4a0f-bbaa-b2d3b43ab62d status: 200 OK code: 200 duration: "" @@ -1536,12 +1536,12 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14.2; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/servers/d251549c-36ae-4e8d-90c5-e070819c636a + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/servers/3c76fb41-957c-4c3e-92d1-304a43285b4c method: GET response: - body: '{"server": {"id": "d251549c-36ae-4e8d-90c5-e070819c636a", "name": "cli-srv-quirky-goldberg", + body: '{"server": {"id": "3c76fb41-957c-4c3e-92d1-304a43285b4c", "name": "cli-srv-sleepy-dubinsky", "arch": "x86_64", "commercial_type": "DEV1-S", "boot_type": "local", "organization": - "104ff69c-3f34-48f4-b5f0-e516e4ad526b", "hostname": "cli-srv-quirky-goldberg", + "104ff69c-3f34-48f4-b5f0-e516e4ad526b", "hostname": "cli-srv-sleepy-dubinsky", "image": {"id": "f974feac-abae-4365-b988-8ec7d1cec10d", "name": "Ubuntu Bionic Beaver", "organization": "51b656e3-4865-41e8-adbc-0c45bdd780db", "root_volume": {"id": "dd5f5c10-23b1-4c9c-8445-eb6740957c84", "name": "snapshot-de728daa-0bf6-4c64-abf5-a9477e791c83-2019-03-05_10:13", @@ -1554,17 +1554,17 @@ interactions: "dtb": "", "initrd": "http://169.254.42.24/initrd/initrd-Linux-x86_64-v3.14.6.gz", "bootcmdargs": "LINUX_COMMON scaleway boot=local nbd.max_part=16", "default": false, "zone": "fr-par-1"}, "from_server": null, "state": "available", "zone": - "fr-par-1"}, "volumes": {"0": {"id": "90d79c66-9e0c-435c-9c6b-7059dbbf5a49", + "fr-par-1"}, "volumes": {"0": {"id": "cd8e0fc4-52ae-472f-acf8-feec127738e8", "name": "snapshot-de728daa-0bf6-4c64-abf5-a9477e791c83-2019-03-05_10:13", "volume_type": "l_ssd", "export_uri": null, "organization": "104ff69c-3f34-48f4-b5f0-e516e4ad526b", - "server": {"id": "d251549c-36ae-4e8d-90c5-e070819c636a", "name": "cli-srv-quirky-goldberg"}, - "size": 20000000000, "state": "available", "creation_date": "2020-05-05T07:08:40.064974+00:00", - "modification_date": "2020-05-05T07:08:40.323669+00:00", "zone": "fr-par-1"}}, + "server": {"id": "3c76fb41-957c-4c3e-92d1-304a43285b4c", "name": "cli-srv-sleepy-dubinsky"}, + "size": 20000000000, "state": "available", "creation_date": "2020-05-05T13:39:43.389484+00:00", + "modification_date": "2020-05-05T13:39:43.710668+00:00", "zone": "fr-par-1"}}, "tags": [], "state": "running", "protected": false, "state_detail": "booting kernel", "public_ip": {"id": "65ae2546-5893-40f2-bcc2-aabee4b4dc2f", "address": "51.158.108.20", "dynamic": false}, "ipv6": null, "extra_networks": [], "dynamic_ip_required": - false, "enable_ipv6": false, "private_ip": "10.65.6.101", "creation_date": "2020-05-05T07:08:40.064974+00:00", - "modification_date": "2020-05-05T07:09:05.841793+00:00", "bootscript": {"id": + false, "enable_ipv6": false, "private_ip": "10.69.60.25", "creation_date": "2020-05-05T13:39:43.389484+00:00", + "modification_date": "2020-05-05T13:40:06.107902+00:00", "bootscript": {"id": "15fbd2f7-a0f9-412b-8502-6a44da8d98b8", "public": false, "title": "x86_64 mainline 4.9.93 rev1", "architecture": "x86_64", "organization": "11111111-1111-4111-8111-111111111111", "kernel": "http://169.254.42.24/kernel/x86_64-mainline-lts-4.9-4.9.93-rev1/vmlinuz-4.9.93", @@ -1572,20 +1572,20 @@ interactions: "bootcmdargs": "LINUX_COMMON scaleway boot=local nbd.max_part=16", "default": false, "zone": "fr-par-1"}, "security_group": {"id": "00783f68-b80e-4f04-8520-bfc3249380be", "name": "Default security group"}, "location": {"zone_id": "par1", "platform_id": - "14", "cluster_id": "18", "hypervisor_id": "602", "node_id": "51"}, "maintenances": + "14", "cluster_id": "38", "hypervisor_id": "1601", "node_id": "13"}, "maintenances": [], "allowed_actions": ["poweroff", "terminate", "reboot", "stop_in_place", "backup"], "placement_group": null, "private_nics": [], "zone": "fr-par-1"}}' headers: Cache-Control: - no-cache Content-Length: - - "3091" + - "3092" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Tue, 05 May 2020 07:09:07 GMT + - Tue, 05 May 2020 13:40:10 GMT Server: - scaleway_api Strict-Transport-Security: @@ -1595,7 +1595,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 2f796725-4282-443a-8486-a777630ff43a + - 3537cb9a-822f-4732-9adf-b6cb07925fd9 status: 200 OK code: 200 duration: "" @@ -1605,12 +1605,12 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14.2; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/servers/d251549c-36ae-4e8d-90c5-e070819c636a + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/servers/3c76fb41-957c-4c3e-92d1-304a43285b4c method: GET response: - body: '{"server": {"id": "d251549c-36ae-4e8d-90c5-e070819c636a", "name": "cli-srv-quirky-goldberg", + body: '{"server": {"id": "3c76fb41-957c-4c3e-92d1-304a43285b4c", "name": "cli-srv-sleepy-dubinsky", "arch": "x86_64", "commercial_type": "DEV1-S", "boot_type": "local", "organization": - "104ff69c-3f34-48f4-b5f0-e516e4ad526b", "hostname": "cli-srv-quirky-goldberg", + "104ff69c-3f34-48f4-b5f0-e516e4ad526b", "hostname": "cli-srv-sleepy-dubinsky", "image": {"id": "f974feac-abae-4365-b988-8ec7d1cec10d", "name": "Ubuntu Bionic Beaver", "organization": "51b656e3-4865-41e8-adbc-0c45bdd780db", "root_volume": {"id": "dd5f5c10-23b1-4c9c-8445-eb6740957c84", "name": "snapshot-de728daa-0bf6-4c64-abf5-a9477e791c83-2019-03-05_10:13", @@ -1623,17 +1623,17 @@ interactions: "dtb": "", "initrd": "http://169.254.42.24/initrd/initrd-Linux-x86_64-v3.14.6.gz", "bootcmdargs": "LINUX_COMMON scaleway boot=local nbd.max_part=16", "default": false, "zone": "fr-par-1"}, "from_server": null, "state": "available", "zone": - "fr-par-1"}, "volumes": {"0": {"id": "90d79c66-9e0c-435c-9c6b-7059dbbf5a49", + "fr-par-1"}, "volumes": {"0": {"id": "cd8e0fc4-52ae-472f-acf8-feec127738e8", "name": "snapshot-de728daa-0bf6-4c64-abf5-a9477e791c83-2019-03-05_10:13", "volume_type": "l_ssd", "export_uri": null, "organization": "104ff69c-3f34-48f4-b5f0-e516e4ad526b", - "server": {"id": "d251549c-36ae-4e8d-90c5-e070819c636a", "name": "cli-srv-quirky-goldberg"}, - "size": 20000000000, "state": "available", "creation_date": "2020-05-05T07:08:40.064974+00:00", - "modification_date": "2020-05-05T07:08:40.323669+00:00", "zone": "fr-par-1"}}, + "server": {"id": "3c76fb41-957c-4c3e-92d1-304a43285b4c", "name": "cli-srv-sleepy-dubinsky"}, + "size": 20000000000, "state": "available", "creation_date": "2020-05-05T13:39:43.389484+00:00", + "modification_date": "2020-05-05T13:39:43.710668+00:00", "zone": "fr-par-1"}}, "tags": [], "state": "running", "protected": false, "state_detail": "booting kernel", "public_ip": {"id": "65ae2546-5893-40f2-bcc2-aabee4b4dc2f", "address": "51.158.108.20", "dynamic": false}, "ipv6": null, "extra_networks": [], "dynamic_ip_required": - false, "enable_ipv6": false, "private_ip": "10.65.6.101", "creation_date": "2020-05-05T07:08:40.064974+00:00", - "modification_date": "2020-05-05T07:09:05.841793+00:00", "bootscript": {"id": + false, "enable_ipv6": false, "private_ip": "10.69.60.25", "creation_date": "2020-05-05T13:39:43.389484+00:00", + "modification_date": "2020-05-05T13:40:06.107902+00:00", "bootscript": {"id": "15fbd2f7-a0f9-412b-8502-6a44da8d98b8", "public": false, "title": "x86_64 mainline 4.9.93 rev1", "architecture": "x86_64", "organization": "11111111-1111-4111-8111-111111111111", "kernel": "http://169.254.42.24/kernel/x86_64-mainline-lts-4.9-4.9.93-rev1/vmlinuz-4.9.93", @@ -1641,20 +1641,20 @@ interactions: "bootcmdargs": "LINUX_COMMON scaleway boot=local nbd.max_part=16", "default": false, "zone": "fr-par-1"}, "security_group": {"id": "00783f68-b80e-4f04-8520-bfc3249380be", "name": "Default security group"}, "location": {"zone_id": "par1", "platform_id": - "14", "cluster_id": "18", "hypervisor_id": "602", "node_id": "51"}, "maintenances": + "14", "cluster_id": "38", "hypervisor_id": "1601", "node_id": "13"}, "maintenances": [], "allowed_actions": ["poweroff", "terminate", "reboot", "stop_in_place", "backup"], "placement_group": null, "private_nics": [], "zone": "fr-par-1"}}' headers: Cache-Control: - no-cache Content-Length: - - "3091" + - "3092" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Tue, 05 May 2020 07:09:07 GMT + - Tue, 05 May 2020 13:40:10 GMT Server: - scaleway_api Strict-Transport-Security: @@ -1664,7 +1664,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - d9cdbf9d-876c-4b57-a0d7-50a3ce5b8f20 + - 65164a1d-589f-46ef-96ea-9cb67c69af5b status: 200 OK code: 200 duration: "" @@ -1676,13 +1676,13 @@ interactions: - application/json User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14.2; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/servers/d251549c-36ae-4e8d-90c5-e070819c636a/action + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/servers/3c76fb41-957c-4c3e-92d1-304a43285b4c/action method: POST response: body: '{"task": {"status": "pending", "description": "server_terminate", "href_result": - "/servers/d251549c-36ae-4e8d-90c5-e070819c636a", "terminated_at": null, "href_from": - "/servers/d251549c-36ae-4e8d-90c5-e070819c636a/action", "started_at": "2020-05-05T07:09:07.712897+00:00", - "id": "a91161ee-bdda-4d7b-b2fd-a69cd450b4f4"}}' + "/servers/3c76fb41-957c-4c3e-92d1-304a43285b4c", "terminated_at": null, "href_from": + "/servers/3c76fb41-957c-4c3e-92d1-304a43285b4c/action", "started_at": "2020-05-05T13:40:10.880080+00:00", + "id": "d1eb8938-24be-4b86-85bf-6c59d0a1b5c1"}}' headers: Content-Length: - "318" @@ -1691,9 +1691,9 @@ interactions: Content-Type: - application/json Date: - - Tue, 05 May 2020 07:09:07 GMT + - Tue, 05 May 2020 13:40:10 GMT Location: - - https://cp-par1.scaleway.com/tasks/a91161ee-bdda-4d7b-b2fd-a69cd450b4f4 + - https://cp-par1.scaleway.com/tasks/d1eb8938-24be-4b86-85bf-6c59d0a1b5c1 Server: - scaleway_api Strict-Transport-Security: @@ -1703,7 +1703,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 04d4cc29-ad38-4329-8eca-638edc74b9e7 + - afe108fe-9cf6-416d-85a9-a5cee669b03d status: 202 Accepted code: 202 duration: "" @@ -1725,7 +1725,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 05 May 2020 07:09:07 GMT + - Tue, 05 May 2020 13:40:10 GMT Server: - scaleway_api Strict-Transport-Security: @@ -1735,7 +1735,39 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - b9f99a6e-29bd-49b2-b1ca-3c6ad1f570a1 + - a91f6d89-9911-4794-961c-5ea6fc107932 status: 204 No Content code: 204 duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14.2; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/ips/65ae2546-5893-40f2-bcc2-aabee4b4dc2f + method: GET + response: + body: '{"type": "authorization_required", "message": "Authorization required"}' + headers: + Content-Length: + - "71" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Tue, 05 May 2020 13:40:10 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 88267b86-4bd4-48f3-8f6a-9a4e8ecebf84 + status: 403 Forbidden + code: 403 + duration: "" diff --git a/internal/namespaces/instance/v1/testdata/test-server-terminate-with-ip.stderr.golden b/internal/namespaces/instance/v1/testdata/test-server-terminate-with-ip.stderr.golden new file mode 100644 index 0000000000..3bfd49119d --- /dev/null +++ b/internal/namespaces/instance/v1/testdata/test-server-terminate-with-ip.stderr.golden @@ -0,0 +1 @@ +successfully deleted ip 51.158.108.20 diff --git a/internal/namespaces/instance/v1/testdata/test-server-terminate-without-ips.stdout.golden b/internal/namespaces/instance/v1/testdata/test-server-terminate-with-ip.stdout.golden similarity index 100% rename from internal/namespaces/instance/v1/testdata/test-server-terminate-without-ips.stdout.golden rename to internal/namespaces/instance/v1/testdata/test-server-terminate-with-ip.stdout.golden diff --git a/internal/namespaces/instance/v1/testdata/test-server-terminate-without-block.cassette.yaml b/internal/namespaces/instance/v1/testdata/test-server-terminate-without-block.cassette.yaml index a8059e9042..4730704892 100644 --- a/internal/namespaces/instance/v1/testdata/test-server-terminate-without-block.cassette.yaml +++ b/internal/namespaces/instance/v1/testdata/test-server-terminate-without-block.cassette.yaml @@ -650,7 +650,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 05 May 2020 07:09:36 GMT + - Tue, 05 May 2020 13:40:11 GMT Link: - ; rel="last" Server: @@ -662,7 +662,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - b186deac-22a5-4a4e-885a-740348664ac5 + - c7884502-a903-43b3-b77d-99400948c0d9 X-Total-Count: - "31" status: 200 OK @@ -700,7 +700,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 05 May 2020 07:09:36 GMT + - Tue, 05 May 2020 13:40:11 GMT Server: - scaleway_api Strict-Transport-Security: @@ -710,7 +710,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - fa21ceb4-6433-401f-bb91-23ad268888c9 + - 6b959631-bbc3-4ccb-b0bc-bb2c71b4ed83 status: 200 OK code: 200 duration: "" @@ -1017,7 +1017,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 05 May 2020 07:09:36 GMT + - Tue, 05 May 2020 13:40:11 GMT Link: - ; rel="last" Server: @@ -1029,7 +1029,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - d58bc1d3-c566-45a1-a280-796b1e1e0dea + - 1b9a2d71-4455-4eaf-8963-5ad3d4148276 X-Total-Count: - "32" status: 200 OK @@ -1059,7 +1059,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 05 May 2020 07:09:36 GMT + - Tue, 05 May 2020 13:40:11 GMT Location: - https://cp-par1.scaleway.com/ips/65ae2546-5893-40f2-bcc2-aabee4b4dc2f Server: @@ -1071,12 +1071,12 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - b92e034f-605d-46b5-ae32-8ad7f4298338 + - c37b25cf-5aad-4124-8ae1-b7fed277ed38 status: 201 Created code: 201 duration: "" - request: - body: '{"name":"cli-srv-priceless-rosalind","commercial_type":"DEV1-S","image":"f974feac-abae-4365-b988-8ec7d1cec10d","volumes":{"1":{"name":"cli-srv-priceless-rosalind-1","size":10000000000,"volume_type":"b_ssd","organization":"104ff69c-3f34-48f4-b5f0-e516e4ad526b"}},"public_ip":"65ae2546-5893-40f2-bcc2-aabee4b4dc2f","organization":"104ff69c-3f34-48f4-b5f0-e516e4ad526b"}' + body: '{"name":"cli-srv-fervent-gauss","commercial_type":"DEV1-S","image":"f974feac-abae-4365-b988-8ec7d1cec10d","volumes":{"1":{"name":"cli-srv-fervent-gauss-1","size":10000000000,"volume_type":"b_ssd","organization":"104ff69c-3f34-48f4-b5f0-e516e4ad526b"}},"public_ip":"65ae2546-5893-40f2-bcc2-aabee4b4dc2f","organization":"104ff69c-3f34-48f4-b5f0-e516e4ad526b"}' form: {} headers: Content-Type: @@ -1086,9 +1086,9 @@ interactions: url: https://api.scaleway.com/instance/v1/zones/fr-par-1/servers method: POST response: - body: '{"server": {"id": "bd656965-7300-4b8c-9e9f-e70c575500b2", "name": "cli-srv-priceless-rosalind", + body: '{"server": {"id": "c1e8b5de-838c-4ee7-83b4-8292c5418504", "name": "cli-srv-fervent-gauss", "arch": "x86_64", "commercial_type": "DEV1-S", "boot_type": "local", "organization": - "104ff69c-3f34-48f4-b5f0-e516e4ad526b", "hostname": "cli-srv-priceless-rosalind", + "104ff69c-3f34-48f4-b5f0-e516e4ad526b", "hostname": "cli-srv-fervent-gauss", "image": {"id": "f974feac-abae-4365-b988-8ec7d1cec10d", "name": "Ubuntu Bionic Beaver", "organization": "51b656e3-4865-41e8-adbc-0c45bdd780db", "root_volume": {"id": "dd5f5c10-23b1-4c9c-8445-eb6740957c84", "name": "snapshot-de728daa-0bf6-4c64-abf5-a9477e791c83-2019-03-05_10:13", @@ -1101,22 +1101,22 @@ interactions: "dtb": "", "initrd": "http://169.254.42.24/initrd/initrd-Linux-x86_64-v3.14.6.gz", "bootcmdargs": "LINUX_COMMON scaleway boot=local nbd.max_part=16", "default": false, "zone": "fr-par-1"}, "from_server": null, "state": "available", "zone": - "fr-par-1"}, "volumes": {"0": {"id": "5939bb22-d5ea-41e6-a648-558a877e2a16", - "name": "snapshot-de728daa-0bf6-4c64-abf5-a9477e791c83-2019-03-05_10:13", "volume_type": + "fr-par-1"}, "volumes": {"1": {"id": "bd852986-b771-4fcb-a333-7c84dc7d591c", + "name": "cli-srv-fervent-gauss-1", "volume_type": "b_ssd", "export_uri": null, + "organization": "104ff69c-3f34-48f4-b5f0-e516e4ad526b", "server": {"id": "c1e8b5de-838c-4ee7-83b4-8292c5418504", + "name": "cli-srv-fervent-gauss"}, "size": 10000000000, "state": "available", + "creation_date": "2020-05-05T13:40:11.912604+00:00", "modification_date": "2020-05-05T13:40:12.253695+00:00", + "zone": "fr-par-1"}, "0": {"id": "f5cd99c1-9060-41e7-85ae-9db02fb1d65c", "name": + "snapshot-de728daa-0bf6-4c64-abf5-a9477e791c83-2019-03-05_10:13", "volume_type": "l_ssd", "export_uri": null, "organization": "104ff69c-3f34-48f4-b5f0-e516e4ad526b", - "server": {"id": "bd656965-7300-4b8c-9e9f-e70c575500b2", "name": "cli-srv-priceless-rosalind"}, - "size": 20000000000, "state": "available", "creation_date": "2020-05-05T07:09:37.048948+00:00", - "modification_date": "2020-05-05T07:09:37.400229+00:00", "zone": "fr-par-1"}, - "1": {"id": "98430fab-9e3d-4b7d-bee5-505572f143fa", "name": "cli-srv-priceless-rosalind-1", - "volume_type": "b_ssd", "export_uri": null, "organization": "104ff69c-3f34-48f4-b5f0-e516e4ad526b", - "server": {"id": "bd656965-7300-4b8c-9e9f-e70c575500b2", "name": "cli-srv-priceless-rosalind"}, - "size": 10000000000, "state": "available", "creation_date": "2020-05-05T07:09:37.048948+00:00", - "modification_date": "2020-05-05T07:09:37.400254+00:00", "zone": "fr-par-1"}}, + "server": {"id": "c1e8b5de-838c-4ee7-83b4-8292c5418504", "name": "cli-srv-fervent-gauss"}, + "size": 20000000000, "state": "available", "creation_date": "2020-05-05T13:40:11.912604+00:00", + "modification_date": "2020-05-05T13:40:12.253720+00:00", "zone": "fr-par-1"}}, "tags": [], "state": "stopped", "protected": false, "state_detail": "", "public_ip": {"id": "65ae2546-5893-40f2-bcc2-aabee4b4dc2f", "address": "51.158.108.20", "dynamic": false}, "ipv6": null, "extra_networks": [], "dynamic_ip_required": false, "enable_ipv6": - false, "private_ip": null, "creation_date": "2020-05-05T07:09:37.048948+00:00", - "modification_date": "2020-05-05T07:09:37.416667+00:00", "bootscript": {"id": + false, "private_ip": null, "creation_date": "2020-05-05T13:40:11.912604+00:00", + "modification_date": "2020-05-05T13:40:12.270257+00:00", "bootscript": {"id": "15fbd2f7-a0f9-412b-8502-6a44da8d98b8", "public": false, "title": "x86_64 mainline 4.9.93 rev1", "architecture": "x86_64", "organization": "11111111-1111-4111-8111-111111111111", "kernel": "http://169.254.42.24/kernel/x86_64-mainline-lts-4.9-4.9.93-rev1/vmlinuz-4.9.93", @@ -1130,15 +1130,15 @@ interactions: Cache-Control: - no-cache Content-Length: - - "3401" + - "3376" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Tue, 05 May 2020 07:09:37 GMT + - Tue, 05 May 2020 13:40:12 GMT Location: - - https://cp-par1.scaleway.com/servers/bd656965-7300-4b8c-9e9f-e70c575500b2 + - https://cp-par1.scaleway.com/servers/c1e8b5de-838c-4ee7-83b4-8292c5418504 Server: - scaleway_api Strict-Transport-Security: @@ -1148,7 +1148,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 647eb557-727f-42dd-96c5-865989de4c2d + - 9cecf0ea-f009-4cf6-9367-a5bda023f2dd status: 201 Created code: 201 duration: "" @@ -1160,13 +1160,13 @@ interactions: - application/json User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14.2; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/servers/bd656965-7300-4b8c-9e9f-e70c575500b2/action + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/servers/c1e8b5de-838c-4ee7-83b4-8292c5418504/action method: POST response: body: '{"task": {"status": "pending", "description": "server_batch_poweron", "href_result": - "/servers/bd656965-7300-4b8c-9e9f-e70c575500b2", "terminated_at": null, "href_from": - "/servers/bd656965-7300-4b8c-9e9f-e70c575500b2/action", "started_at": "2020-05-05T07:09:37.932878+00:00", - "id": "3cd3bdd6-1aeb-404f-b3bb-d0bc447ba424"}}' + "/servers/c1e8b5de-838c-4ee7-83b4-8292c5418504", "terminated_at": null, "href_from": + "/servers/c1e8b5de-838c-4ee7-83b4-8292c5418504/action", "started_at": "2020-05-05T13:40:12.574251+00:00", + "id": "1cd17449-e46a-4bcd-b3a8-075a4e74f2e1"}}' headers: Content-Length: - "322" @@ -1175,9 +1175,9 @@ interactions: Content-Type: - application/json Date: - - Tue, 05 May 2020 07:09:37 GMT + - Tue, 05 May 2020 13:40:12 GMT Location: - - https://cp-par1.scaleway.com/tasks/3cd3bdd6-1aeb-404f-b3bb-d0bc447ba424 + - https://cp-par1.scaleway.com/tasks/1cd17449-e46a-4bcd-b3a8-075a4e74f2e1 Server: - scaleway_api Strict-Transport-Security: @@ -1187,7 +1187,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 148faa68-8408-4fbd-8243-af60101e4d80 + - 44cdb734-dfda-4d0e-a6ca-aab23210e457 status: 202 Accepted code: 202 duration: "" @@ -1197,12 +1197,12 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14.2; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/servers/bd656965-7300-4b8c-9e9f-e70c575500b2 + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/servers/c1e8b5de-838c-4ee7-83b4-8292c5418504 method: GET response: - body: '{"server": {"id": "bd656965-7300-4b8c-9e9f-e70c575500b2", "name": "cli-srv-priceless-rosalind", + body: '{"server": {"id": "c1e8b5de-838c-4ee7-83b4-8292c5418504", "name": "cli-srv-fervent-gauss", "arch": "x86_64", "commercial_type": "DEV1-S", "boot_type": "local", "organization": - "104ff69c-3f34-48f4-b5f0-e516e4ad526b", "hostname": "cli-srv-priceless-rosalind", + "104ff69c-3f34-48f4-b5f0-e516e4ad526b", "hostname": "cli-srv-fervent-gauss", "image": {"id": "f974feac-abae-4365-b988-8ec7d1cec10d", "name": "Ubuntu Bionic Beaver", "organization": "51b656e3-4865-41e8-adbc-0c45bdd780db", "root_volume": {"id": "dd5f5c10-23b1-4c9c-8445-eb6740957c84", "name": "snapshot-de728daa-0bf6-4c64-abf5-a9477e791c83-2019-03-05_10:13", @@ -1215,22 +1215,22 @@ interactions: "dtb": "", "initrd": "http://169.254.42.24/initrd/initrd-Linux-x86_64-v3.14.6.gz", "bootcmdargs": "LINUX_COMMON scaleway boot=local nbd.max_part=16", "default": false, "zone": "fr-par-1"}, "from_server": null, "state": "available", "zone": - "fr-par-1"}, "volumes": {"0": {"id": "5939bb22-d5ea-41e6-a648-558a877e2a16", - "name": "snapshot-de728daa-0bf6-4c64-abf5-a9477e791c83-2019-03-05_10:13", "volume_type": + "fr-par-1"}, "volumes": {"1": {"id": "bd852986-b771-4fcb-a333-7c84dc7d591c", + "name": "cli-srv-fervent-gauss-1", "volume_type": "b_ssd", "export_uri": null, + "organization": "104ff69c-3f34-48f4-b5f0-e516e4ad526b", "server": {"id": "c1e8b5de-838c-4ee7-83b4-8292c5418504", + "name": "cli-srv-fervent-gauss"}, "size": 10000000000, "state": "available", + "creation_date": "2020-05-05T13:40:11.912604+00:00", "modification_date": "2020-05-05T13:40:12.253695+00:00", + "zone": "fr-par-1"}, "0": {"id": "f5cd99c1-9060-41e7-85ae-9db02fb1d65c", "name": + "snapshot-de728daa-0bf6-4c64-abf5-a9477e791c83-2019-03-05_10:13", "volume_type": "l_ssd", "export_uri": null, "organization": "104ff69c-3f34-48f4-b5f0-e516e4ad526b", - "server": {"id": "bd656965-7300-4b8c-9e9f-e70c575500b2", "name": "cli-srv-priceless-rosalind"}, - "size": 20000000000, "state": "available", "creation_date": "2020-05-05T07:09:37.048948+00:00", - "modification_date": "2020-05-05T07:09:37.400229+00:00", "zone": "fr-par-1"}, - "1": {"id": "98430fab-9e3d-4b7d-bee5-505572f143fa", "name": "cli-srv-priceless-rosalind-1", - "volume_type": "b_ssd", "export_uri": null, "organization": "104ff69c-3f34-48f4-b5f0-e516e4ad526b", - "server": {"id": "bd656965-7300-4b8c-9e9f-e70c575500b2", "name": "cli-srv-priceless-rosalind"}, - "size": 10000000000, "state": "available", "creation_date": "2020-05-05T07:09:37.048948+00:00", - "modification_date": "2020-05-05T07:09:37.400254+00:00", "zone": "fr-par-1"}}, + "server": {"id": "c1e8b5de-838c-4ee7-83b4-8292c5418504", "name": "cli-srv-fervent-gauss"}, + "size": 20000000000, "state": "available", "creation_date": "2020-05-05T13:40:11.912604+00:00", + "modification_date": "2020-05-05T13:40:12.253720+00:00", "zone": "fr-par-1"}}, "tags": [], "state": "starting", "protected": false, "state_detail": "allocating node", "public_ip": {"id": "65ae2546-5893-40f2-bcc2-aabee4b4dc2f", "address": "51.158.108.20", "dynamic": false}, "ipv6": null, "extra_networks": [], "dynamic_ip_required": - false, "enable_ipv6": false, "private_ip": null, "creation_date": "2020-05-05T07:09:37.048948+00:00", - "modification_date": "2020-05-05T07:09:37.483107+00:00", "bootscript": {"id": + false, "enable_ipv6": false, "private_ip": null, "creation_date": "2020-05-05T13:40:11.912604+00:00", + "modification_date": "2020-05-05T13:40:12.335568+00:00", "bootscript": {"id": "15fbd2f7-a0f9-412b-8502-6a44da8d98b8", "public": false, "title": "x86_64 mainline 4.9.93 rev1", "architecture": "x86_64", "organization": "11111111-1111-4111-8111-111111111111", "kernel": "http://169.254.42.24/kernel/x86_64-mainline-lts-4.9-4.9.93-rev1/vmlinuz-4.9.93", @@ -1244,13 +1244,13 @@ interactions: Cache-Control: - no-cache Content-Length: - - "3423" + - "3398" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Tue, 05 May 2020 07:09:37 GMT + - Tue, 05 May 2020 13:40:12 GMT Server: - scaleway_api Strict-Transport-Security: @@ -1260,7 +1260,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - e3ff7cf8-5209-4903-9d4f-9202d38a6a66 + - 0f3706ea-eaa9-42d9-84bd-650729d94869 status: 200 OK code: 200 duration: "" @@ -1270,12 +1270,12 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14.2; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/servers/bd656965-7300-4b8c-9e9f-e70c575500b2 + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/servers/c1e8b5de-838c-4ee7-83b4-8292c5418504 method: GET response: - body: '{"server": {"id": "bd656965-7300-4b8c-9e9f-e70c575500b2", "name": "cli-srv-priceless-rosalind", + body: '{"server": {"id": "c1e8b5de-838c-4ee7-83b4-8292c5418504", "name": "cli-srv-fervent-gauss", "arch": "x86_64", "commercial_type": "DEV1-S", "boot_type": "local", "organization": - "104ff69c-3f34-48f4-b5f0-e516e4ad526b", "hostname": "cli-srv-priceless-rosalind", + "104ff69c-3f34-48f4-b5f0-e516e4ad526b", "hostname": "cli-srv-fervent-gauss", "image": {"id": "f974feac-abae-4365-b988-8ec7d1cec10d", "name": "Ubuntu Bionic Beaver", "organization": "51b656e3-4865-41e8-adbc-0c45bdd780db", "root_volume": {"id": "dd5f5c10-23b1-4c9c-8445-eb6740957c84", "name": "snapshot-de728daa-0bf6-4c64-abf5-a9477e791c83-2019-03-05_10:13", @@ -1288,22 +1288,22 @@ interactions: "dtb": "", "initrd": "http://169.254.42.24/initrd/initrd-Linux-x86_64-v3.14.6.gz", "bootcmdargs": "LINUX_COMMON scaleway boot=local nbd.max_part=16", "default": false, "zone": "fr-par-1"}, "from_server": null, "state": "available", "zone": - "fr-par-1"}, "volumes": {"0": {"id": "5939bb22-d5ea-41e6-a648-558a877e2a16", - "name": "snapshot-de728daa-0bf6-4c64-abf5-a9477e791c83-2019-03-05_10:13", "volume_type": + "fr-par-1"}, "volumes": {"1": {"id": "bd852986-b771-4fcb-a333-7c84dc7d591c", + "name": "cli-srv-fervent-gauss-1", "volume_type": "b_ssd", "export_uri": null, + "organization": "104ff69c-3f34-48f4-b5f0-e516e4ad526b", "server": {"id": "c1e8b5de-838c-4ee7-83b4-8292c5418504", + "name": "cli-srv-fervent-gauss"}, "size": 10000000000, "state": "available", + "creation_date": "2020-05-05T13:40:11.912604+00:00", "modification_date": "2020-05-05T13:40:12.253695+00:00", + "zone": "fr-par-1"}, "0": {"id": "f5cd99c1-9060-41e7-85ae-9db02fb1d65c", "name": + "snapshot-de728daa-0bf6-4c64-abf5-a9477e791c83-2019-03-05_10:13", "volume_type": "l_ssd", "export_uri": null, "organization": "104ff69c-3f34-48f4-b5f0-e516e4ad526b", - "server": {"id": "bd656965-7300-4b8c-9e9f-e70c575500b2", "name": "cli-srv-priceless-rosalind"}, - "size": 20000000000, "state": "available", "creation_date": "2020-05-05T07:09:37.048948+00:00", - "modification_date": "2020-05-05T07:09:37.400229+00:00", "zone": "fr-par-1"}, - "1": {"id": "98430fab-9e3d-4b7d-bee5-505572f143fa", "name": "cli-srv-priceless-rosalind-1", - "volume_type": "b_ssd", "export_uri": null, "organization": "104ff69c-3f34-48f4-b5f0-e516e4ad526b", - "server": {"id": "bd656965-7300-4b8c-9e9f-e70c575500b2", "name": "cli-srv-priceless-rosalind"}, - "size": 10000000000, "state": "available", "creation_date": "2020-05-05T07:09:37.048948+00:00", - "modification_date": "2020-05-05T07:09:37.400254+00:00", "zone": "fr-par-1"}}, + "server": {"id": "c1e8b5de-838c-4ee7-83b4-8292c5418504", "name": "cli-srv-fervent-gauss"}, + "size": 20000000000, "state": "available", "creation_date": "2020-05-05T13:40:11.912604+00:00", + "modification_date": "2020-05-05T13:40:12.253720+00:00", "zone": "fr-par-1"}}, "tags": [], "state": "starting", "protected": false, "state_detail": "provisioning node", "public_ip": {"id": "65ae2546-5893-40f2-bcc2-aabee4b4dc2f", "address": "51.158.108.20", "dynamic": false}, "ipv6": null, "extra_networks": [], "dynamic_ip_required": - false, "enable_ipv6": false, "private_ip": "10.68.188.97", "creation_date": - "2020-05-05T07:09:37.048948+00:00", "modification_date": "2020-05-05T07:09:37.483107+00:00", + false, "enable_ipv6": false, "private_ip": "10.68.232.13", "creation_date": + "2020-05-05T13:40:11.912604+00:00", "modification_date": "2020-05-05T13:40:12.335568+00:00", "bootscript": {"id": "15fbd2f7-a0f9-412b-8502-6a44da8d98b8", "public": false, "title": "x86_64 mainline 4.9.93 rev1", "architecture": "x86_64", "organization": "11111111-1111-4111-8111-111111111111", "kernel": "http://169.254.42.24/kernel/x86_64-mainline-lts-4.9-4.9.93-rev1/vmlinuz-4.9.93", @@ -1311,20 +1311,20 @@ interactions: "bootcmdargs": "LINUX_COMMON scaleway boot=local nbd.max_part=16", "default": false, "zone": "fr-par-1"}, "security_group": {"id": "00783f68-b80e-4f04-8520-bfc3249380be", "name": "Default security group"}, "location": {"zone_id": "par1", "platform_id": - "14", "cluster_id": "37", "hypervisor_id": "801", "node_id": "49"}, "maintenances": + "14", "cluster_id": "37", "hypervisor_id": "1901", "node_id": "7"}, "maintenances": [], "allowed_actions": ["stop_in_place", "backup"], "placement_group": null, "private_nics": [], "zone": "fr-par-1"}}' headers: Cache-Control: - no-cache Content-Length: - - "3532" + - "3507" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Tue, 05 May 2020 07:09:42 GMT + - Tue, 05 May 2020 13:40:17 GMT Server: - scaleway_api Strict-Transport-Security: @@ -1334,7 +1334,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 6d31e74b-3971-49bb-91e1-f9290a167f14 + - 1858f3c0-51fa-4f16-8ab4-27298101fc7d status: 200 OK code: 200 duration: "" @@ -1344,12 +1344,12 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14.2; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/servers/bd656965-7300-4b8c-9e9f-e70c575500b2 + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/servers/c1e8b5de-838c-4ee7-83b4-8292c5418504 method: GET response: - body: '{"server": {"id": "bd656965-7300-4b8c-9e9f-e70c575500b2", "name": "cli-srv-priceless-rosalind", + body: '{"server": {"id": "c1e8b5de-838c-4ee7-83b4-8292c5418504", "name": "cli-srv-fervent-gauss", "arch": "x86_64", "commercial_type": "DEV1-S", "boot_type": "local", "organization": - "104ff69c-3f34-48f4-b5f0-e516e4ad526b", "hostname": "cli-srv-priceless-rosalind", + "104ff69c-3f34-48f4-b5f0-e516e4ad526b", "hostname": "cli-srv-fervent-gauss", "image": {"id": "f974feac-abae-4365-b988-8ec7d1cec10d", "name": "Ubuntu Bionic Beaver", "organization": "51b656e3-4865-41e8-adbc-0c45bdd780db", "root_volume": {"id": "dd5f5c10-23b1-4c9c-8445-eb6740957c84", "name": "snapshot-de728daa-0bf6-4c64-abf5-a9477e791c83-2019-03-05_10:13", @@ -1362,22 +1362,22 @@ interactions: "dtb": "", "initrd": "http://169.254.42.24/initrd/initrd-Linux-x86_64-v3.14.6.gz", "bootcmdargs": "LINUX_COMMON scaleway boot=local nbd.max_part=16", "default": false, "zone": "fr-par-1"}, "from_server": null, "state": "available", "zone": - "fr-par-1"}, "volumes": {"0": {"id": "5939bb22-d5ea-41e6-a648-558a877e2a16", - "name": "snapshot-de728daa-0bf6-4c64-abf5-a9477e791c83-2019-03-05_10:13", "volume_type": + "fr-par-1"}, "volumes": {"1": {"id": "bd852986-b771-4fcb-a333-7c84dc7d591c", + "name": "cli-srv-fervent-gauss-1", "volume_type": "b_ssd", "export_uri": null, + "organization": "104ff69c-3f34-48f4-b5f0-e516e4ad526b", "server": {"id": "c1e8b5de-838c-4ee7-83b4-8292c5418504", + "name": "cli-srv-fervent-gauss"}, "size": 10000000000, "state": "available", + "creation_date": "2020-05-05T13:40:11.912604+00:00", "modification_date": "2020-05-05T13:40:12.253695+00:00", + "zone": "fr-par-1"}, "0": {"id": "f5cd99c1-9060-41e7-85ae-9db02fb1d65c", "name": + "snapshot-de728daa-0bf6-4c64-abf5-a9477e791c83-2019-03-05_10:13", "volume_type": "l_ssd", "export_uri": null, "organization": "104ff69c-3f34-48f4-b5f0-e516e4ad526b", - "server": {"id": "bd656965-7300-4b8c-9e9f-e70c575500b2", "name": "cli-srv-priceless-rosalind"}, - "size": 20000000000, "state": "available", "creation_date": "2020-05-05T07:09:37.048948+00:00", - "modification_date": "2020-05-05T07:09:37.400229+00:00", "zone": "fr-par-1"}, - "1": {"id": "98430fab-9e3d-4b7d-bee5-505572f143fa", "name": "cli-srv-priceless-rosalind-1", - "volume_type": "b_ssd", "export_uri": null, "organization": "104ff69c-3f34-48f4-b5f0-e516e4ad526b", - "server": {"id": "bd656965-7300-4b8c-9e9f-e70c575500b2", "name": "cli-srv-priceless-rosalind"}, - "size": 10000000000, "state": "available", "creation_date": "2020-05-05T07:09:37.048948+00:00", - "modification_date": "2020-05-05T07:09:37.400254+00:00", "zone": "fr-par-1"}}, + "server": {"id": "c1e8b5de-838c-4ee7-83b4-8292c5418504", "name": "cli-srv-fervent-gauss"}, + "size": 20000000000, "state": "available", "creation_date": "2020-05-05T13:40:11.912604+00:00", + "modification_date": "2020-05-05T13:40:12.253720+00:00", "zone": "fr-par-1"}}, "tags": [], "state": "starting", "protected": false, "state_detail": "provisioning node", "public_ip": {"id": "65ae2546-5893-40f2-bcc2-aabee4b4dc2f", "address": "51.158.108.20", "dynamic": false}, "ipv6": null, "extra_networks": [], "dynamic_ip_required": - false, "enable_ipv6": false, "private_ip": "10.68.188.97", "creation_date": - "2020-05-05T07:09:37.048948+00:00", "modification_date": "2020-05-05T07:09:37.483107+00:00", + false, "enable_ipv6": false, "private_ip": "10.68.232.13", "creation_date": + "2020-05-05T13:40:11.912604+00:00", "modification_date": "2020-05-05T13:40:12.335568+00:00", "bootscript": {"id": "15fbd2f7-a0f9-412b-8502-6a44da8d98b8", "public": false, "title": "x86_64 mainline 4.9.93 rev1", "architecture": "x86_64", "organization": "11111111-1111-4111-8111-111111111111", "kernel": "http://169.254.42.24/kernel/x86_64-mainline-lts-4.9-4.9.93-rev1/vmlinuz-4.9.93", @@ -1385,20 +1385,20 @@ interactions: "bootcmdargs": "LINUX_COMMON scaleway boot=local nbd.max_part=16", "default": false, "zone": "fr-par-1"}, "security_group": {"id": "00783f68-b80e-4f04-8520-bfc3249380be", "name": "Default security group"}, "location": {"zone_id": "par1", "platform_id": - "14", "cluster_id": "37", "hypervisor_id": "801", "node_id": "49"}, "maintenances": + "14", "cluster_id": "37", "hypervisor_id": "1901", "node_id": "7"}, "maintenances": [], "allowed_actions": ["stop_in_place", "backup"], "placement_group": null, "private_nics": [], "zone": "fr-par-1"}}' headers: Cache-Control: - no-cache Content-Length: - - "3532" + - "3507" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Tue, 05 May 2020 07:09:48 GMT + - Tue, 05 May 2020 13:40:22 GMT Server: - scaleway_api Strict-Transport-Security: @@ -1408,7 +1408,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 532bde8a-ae39-4420-9abb-a8cdffd9d605 + - 4a765732-ba55-4c5e-beb0-0437cf21ee3f status: 200 OK code: 200 duration: "" @@ -1418,12 +1418,12 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14.2; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/servers/bd656965-7300-4b8c-9e9f-e70c575500b2 + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/servers/c1e8b5de-838c-4ee7-83b4-8292c5418504 method: GET response: - body: '{"server": {"id": "bd656965-7300-4b8c-9e9f-e70c575500b2", "name": "cli-srv-priceless-rosalind", + body: '{"server": {"id": "c1e8b5de-838c-4ee7-83b4-8292c5418504", "name": "cli-srv-fervent-gauss", "arch": "x86_64", "commercial_type": "DEV1-S", "boot_type": "local", "organization": - "104ff69c-3f34-48f4-b5f0-e516e4ad526b", "hostname": "cli-srv-priceless-rosalind", + "104ff69c-3f34-48f4-b5f0-e516e4ad526b", "hostname": "cli-srv-fervent-gauss", "image": {"id": "f974feac-abae-4365-b988-8ec7d1cec10d", "name": "Ubuntu Bionic Beaver", "organization": "51b656e3-4865-41e8-adbc-0c45bdd780db", "root_volume": {"id": "dd5f5c10-23b1-4c9c-8445-eb6740957c84", "name": "snapshot-de728daa-0bf6-4c64-abf5-a9477e791c83-2019-03-05_10:13", @@ -1436,22 +1436,22 @@ interactions: "dtb": "", "initrd": "http://169.254.42.24/initrd/initrd-Linux-x86_64-v3.14.6.gz", "bootcmdargs": "LINUX_COMMON scaleway boot=local nbd.max_part=16", "default": false, "zone": "fr-par-1"}, "from_server": null, "state": "available", "zone": - "fr-par-1"}, "volumes": {"0": {"id": "5939bb22-d5ea-41e6-a648-558a877e2a16", - "name": "snapshot-de728daa-0bf6-4c64-abf5-a9477e791c83-2019-03-05_10:13", "volume_type": + "fr-par-1"}, "volumes": {"1": {"id": "bd852986-b771-4fcb-a333-7c84dc7d591c", + "name": "cli-srv-fervent-gauss-1", "volume_type": "b_ssd", "export_uri": null, + "organization": "104ff69c-3f34-48f4-b5f0-e516e4ad526b", "server": {"id": "c1e8b5de-838c-4ee7-83b4-8292c5418504", + "name": "cli-srv-fervent-gauss"}, "size": 10000000000, "state": "available", + "creation_date": "2020-05-05T13:40:11.912604+00:00", "modification_date": "2020-05-05T13:40:12.253695+00:00", + "zone": "fr-par-1"}, "0": {"id": "f5cd99c1-9060-41e7-85ae-9db02fb1d65c", "name": + "snapshot-de728daa-0bf6-4c64-abf5-a9477e791c83-2019-03-05_10:13", "volume_type": "l_ssd", "export_uri": null, "organization": "104ff69c-3f34-48f4-b5f0-e516e4ad526b", - "server": {"id": "bd656965-7300-4b8c-9e9f-e70c575500b2", "name": "cli-srv-priceless-rosalind"}, - "size": 20000000000, "state": "available", "creation_date": "2020-05-05T07:09:37.048948+00:00", - "modification_date": "2020-05-05T07:09:37.400229+00:00", "zone": "fr-par-1"}, - "1": {"id": "98430fab-9e3d-4b7d-bee5-505572f143fa", "name": "cli-srv-priceless-rosalind-1", - "volume_type": "b_ssd", "export_uri": null, "organization": "104ff69c-3f34-48f4-b5f0-e516e4ad526b", - "server": {"id": "bd656965-7300-4b8c-9e9f-e70c575500b2", "name": "cli-srv-priceless-rosalind"}, - "size": 10000000000, "state": "available", "creation_date": "2020-05-05T07:09:37.048948+00:00", - "modification_date": "2020-05-05T07:09:37.400254+00:00", "zone": "fr-par-1"}}, + "server": {"id": "c1e8b5de-838c-4ee7-83b4-8292c5418504", "name": "cli-srv-fervent-gauss"}, + "size": 20000000000, "state": "available", "creation_date": "2020-05-05T13:40:11.912604+00:00", + "modification_date": "2020-05-05T13:40:12.253720+00:00", "zone": "fr-par-1"}}, "tags": [], "state": "starting", "protected": false, "state_detail": "provisioning node", "public_ip": {"id": "65ae2546-5893-40f2-bcc2-aabee4b4dc2f", "address": "51.158.108.20", "dynamic": false}, "ipv6": null, "extra_networks": [], "dynamic_ip_required": - false, "enable_ipv6": false, "private_ip": "10.68.188.97", "creation_date": - "2020-05-05T07:09:37.048948+00:00", "modification_date": "2020-05-05T07:09:37.483107+00:00", + false, "enable_ipv6": false, "private_ip": "10.68.232.13", "creation_date": + "2020-05-05T13:40:11.912604+00:00", "modification_date": "2020-05-05T13:40:12.335568+00:00", "bootscript": {"id": "15fbd2f7-a0f9-412b-8502-6a44da8d98b8", "public": false, "title": "x86_64 mainline 4.9.93 rev1", "architecture": "x86_64", "organization": "11111111-1111-4111-8111-111111111111", "kernel": "http://169.254.42.24/kernel/x86_64-mainline-lts-4.9-4.9.93-rev1/vmlinuz-4.9.93", @@ -1459,20 +1459,20 @@ interactions: "bootcmdargs": "LINUX_COMMON scaleway boot=local nbd.max_part=16", "default": false, "zone": "fr-par-1"}, "security_group": {"id": "00783f68-b80e-4f04-8520-bfc3249380be", "name": "Default security group"}, "location": {"zone_id": "par1", "platform_id": - "14", "cluster_id": "37", "hypervisor_id": "801", "node_id": "49"}, "maintenances": + "14", "cluster_id": "37", "hypervisor_id": "1901", "node_id": "7"}, "maintenances": [], "allowed_actions": ["stop_in_place", "backup"], "placement_group": null, "private_nics": [], "zone": "fr-par-1"}}' headers: Cache-Control: - no-cache Content-Length: - - "3532" + - "3507" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Tue, 05 May 2020 07:09:53 GMT + - Tue, 05 May 2020 13:40:28 GMT Server: - scaleway_api Strict-Transport-Security: @@ -1482,7 +1482,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 1b4e613d-c6a6-4d01-b2d2-f20f016362f9 + - 0d967776-9663-4252-8ad6-5a4852766838 status: 200 OK code: 200 duration: "" @@ -1492,12 +1492,12 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14.2; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/servers/bd656965-7300-4b8c-9e9f-e70c575500b2 + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/servers/c1e8b5de-838c-4ee7-83b4-8292c5418504 method: GET response: - body: '{"server": {"id": "bd656965-7300-4b8c-9e9f-e70c575500b2", "name": "cli-srv-priceless-rosalind", + body: '{"server": {"id": "c1e8b5de-838c-4ee7-83b4-8292c5418504", "name": "cli-srv-fervent-gauss", "arch": "x86_64", "commercial_type": "DEV1-S", "boot_type": "local", "organization": - "104ff69c-3f34-48f4-b5f0-e516e4ad526b", "hostname": "cli-srv-priceless-rosalind", + "104ff69c-3f34-48f4-b5f0-e516e4ad526b", "hostname": "cli-srv-fervent-gauss", "image": {"id": "f974feac-abae-4365-b988-8ec7d1cec10d", "name": "Ubuntu Bionic Beaver", "organization": "51b656e3-4865-41e8-adbc-0c45bdd780db", "root_volume": {"id": "dd5f5c10-23b1-4c9c-8445-eb6740957c84", "name": "snapshot-de728daa-0bf6-4c64-abf5-a9477e791c83-2019-03-05_10:13", @@ -1510,22 +1510,22 @@ interactions: "dtb": "", "initrd": "http://169.254.42.24/initrd/initrd-Linux-x86_64-v3.14.6.gz", "bootcmdargs": "LINUX_COMMON scaleway boot=local nbd.max_part=16", "default": false, "zone": "fr-par-1"}, "from_server": null, "state": "available", "zone": - "fr-par-1"}, "volumes": {"0": {"id": "5939bb22-d5ea-41e6-a648-558a877e2a16", - "name": "snapshot-de728daa-0bf6-4c64-abf5-a9477e791c83-2019-03-05_10:13", "volume_type": + "fr-par-1"}, "volumes": {"1": {"id": "bd852986-b771-4fcb-a333-7c84dc7d591c", + "name": "cli-srv-fervent-gauss-1", "volume_type": "b_ssd", "export_uri": null, + "organization": "104ff69c-3f34-48f4-b5f0-e516e4ad526b", "server": {"id": "c1e8b5de-838c-4ee7-83b4-8292c5418504", + "name": "cli-srv-fervent-gauss"}, "size": 10000000000, "state": "available", + "creation_date": "2020-05-05T13:40:11.912604+00:00", "modification_date": "2020-05-05T13:40:12.253695+00:00", + "zone": "fr-par-1"}, "0": {"id": "f5cd99c1-9060-41e7-85ae-9db02fb1d65c", "name": + "snapshot-de728daa-0bf6-4c64-abf5-a9477e791c83-2019-03-05_10:13", "volume_type": "l_ssd", "export_uri": null, "organization": "104ff69c-3f34-48f4-b5f0-e516e4ad526b", - "server": {"id": "bd656965-7300-4b8c-9e9f-e70c575500b2", "name": "cli-srv-priceless-rosalind"}, - "size": 20000000000, "state": "available", "creation_date": "2020-05-05T07:09:37.048948+00:00", - "modification_date": "2020-05-05T07:09:37.400229+00:00", "zone": "fr-par-1"}, - "1": {"id": "98430fab-9e3d-4b7d-bee5-505572f143fa", "name": "cli-srv-priceless-rosalind-1", - "volume_type": "b_ssd", "export_uri": null, "organization": "104ff69c-3f34-48f4-b5f0-e516e4ad526b", - "server": {"id": "bd656965-7300-4b8c-9e9f-e70c575500b2", "name": "cli-srv-priceless-rosalind"}, - "size": 10000000000, "state": "available", "creation_date": "2020-05-05T07:09:37.048948+00:00", - "modification_date": "2020-05-05T07:09:37.400254+00:00", "zone": "fr-par-1"}}, + "server": {"id": "c1e8b5de-838c-4ee7-83b4-8292c5418504", "name": "cli-srv-fervent-gauss"}, + "size": 20000000000, "state": "available", "creation_date": "2020-05-05T13:40:11.912604+00:00", + "modification_date": "2020-05-05T13:40:12.253720+00:00", "zone": "fr-par-1"}}, "tags": [], "state": "starting", "protected": false, "state_detail": "provisioning node", "public_ip": {"id": "65ae2546-5893-40f2-bcc2-aabee4b4dc2f", "address": "51.158.108.20", "dynamic": false}, "ipv6": null, "extra_networks": [], "dynamic_ip_required": - false, "enable_ipv6": false, "private_ip": "10.68.188.97", "creation_date": - "2020-05-05T07:09:37.048948+00:00", "modification_date": "2020-05-05T07:09:37.483107+00:00", + false, "enable_ipv6": false, "private_ip": "10.68.232.13", "creation_date": + "2020-05-05T13:40:11.912604+00:00", "modification_date": "2020-05-05T13:40:12.335568+00:00", "bootscript": {"id": "15fbd2f7-a0f9-412b-8502-6a44da8d98b8", "public": false, "title": "x86_64 mainline 4.9.93 rev1", "architecture": "x86_64", "organization": "11111111-1111-4111-8111-111111111111", "kernel": "http://169.254.42.24/kernel/x86_64-mainline-lts-4.9-4.9.93-rev1/vmlinuz-4.9.93", @@ -1533,20 +1533,20 @@ interactions: "bootcmdargs": "LINUX_COMMON scaleway boot=local nbd.max_part=16", "default": false, "zone": "fr-par-1"}, "security_group": {"id": "00783f68-b80e-4f04-8520-bfc3249380be", "name": "Default security group"}, "location": {"zone_id": "par1", "platform_id": - "14", "cluster_id": "37", "hypervisor_id": "801", "node_id": "49"}, "maintenances": + "14", "cluster_id": "37", "hypervisor_id": "1901", "node_id": "7"}, "maintenances": [], "allowed_actions": ["stop_in_place", "backup"], "placement_group": null, "private_nics": [], "zone": "fr-par-1"}}' headers: Cache-Control: - no-cache Content-Length: - - "3532" + - "3507" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Tue, 05 May 2020 07:09:58 GMT + - Tue, 05 May 2020 13:40:33 GMT Server: - scaleway_api Strict-Transport-Security: @@ -1556,7 +1556,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 2f1c2d97-c738-4bda-859c-aad24961ee36 + - bb3fa05b-77a2-4f1b-92d8-cda74e1ca119 status: 200 OK code: 200 duration: "" @@ -1566,12 +1566,12 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14.2; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/servers/bd656965-7300-4b8c-9e9f-e70c575500b2 + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/servers/c1e8b5de-838c-4ee7-83b4-8292c5418504 method: GET response: - body: '{"server": {"id": "bd656965-7300-4b8c-9e9f-e70c575500b2", "name": "cli-srv-priceless-rosalind", + body: '{"server": {"id": "c1e8b5de-838c-4ee7-83b4-8292c5418504", "name": "cli-srv-fervent-gauss", "arch": "x86_64", "commercial_type": "DEV1-S", "boot_type": "local", "organization": - "104ff69c-3f34-48f4-b5f0-e516e4ad526b", "hostname": "cli-srv-priceless-rosalind", + "104ff69c-3f34-48f4-b5f0-e516e4ad526b", "hostname": "cli-srv-fervent-gauss", "image": {"id": "f974feac-abae-4365-b988-8ec7d1cec10d", "name": "Ubuntu Bionic Beaver", "organization": "51b656e3-4865-41e8-adbc-0c45bdd780db", "root_volume": {"id": "dd5f5c10-23b1-4c9c-8445-eb6740957c84", "name": "snapshot-de728daa-0bf6-4c64-abf5-a9477e791c83-2019-03-05_10:13", @@ -1584,22 +1584,170 @@ interactions: "dtb": "", "initrd": "http://169.254.42.24/initrd/initrd-Linux-x86_64-v3.14.6.gz", "bootcmdargs": "LINUX_COMMON scaleway boot=local nbd.max_part=16", "default": false, "zone": "fr-par-1"}, "from_server": null, "state": "available", "zone": - "fr-par-1"}, "volumes": {"0": {"id": "5939bb22-d5ea-41e6-a648-558a877e2a16", - "name": "snapshot-de728daa-0bf6-4c64-abf5-a9477e791c83-2019-03-05_10:13", "volume_type": + "fr-par-1"}, "volumes": {"1": {"id": "bd852986-b771-4fcb-a333-7c84dc7d591c", + "name": "cli-srv-fervent-gauss-1", "volume_type": "b_ssd", "export_uri": null, + "organization": "104ff69c-3f34-48f4-b5f0-e516e4ad526b", "server": {"id": "c1e8b5de-838c-4ee7-83b4-8292c5418504", + "name": "cli-srv-fervent-gauss"}, "size": 10000000000, "state": "available", + "creation_date": "2020-05-05T13:40:11.912604+00:00", "modification_date": "2020-05-05T13:40:12.253695+00:00", + "zone": "fr-par-1"}, "0": {"id": "f5cd99c1-9060-41e7-85ae-9db02fb1d65c", "name": + "snapshot-de728daa-0bf6-4c64-abf5-a9477e791c83-2019-03-05_10:13", "volume_type": "l_ssd", "export_uri": null, "organization": "104ff69c-3f34-48f4-b5f0-e516e4ad526b", - "server": {"id": "bd656965-7300-4b8c-9e9f-e70c575500b2", "name": "cli-srv-priceless-rosalind"}, - "size": 20000000000, "state": "available", "creation_date": "2020-05-05T07:09:37.048948+00:00", - "modification_date": "2020-05-05T07:09:37.400229+00:00", "zone": "fr-par-1"}, - "1": {"id": "98430fab-9e3d-4b7d-bee5-505572f143fa", "name": "cli-srv-priceless-rosalind-1", - "volume_type": "b_ssd", "export_uri": null, "organization": "104ff69c-3f34-48f4-b5f0-e516e4ad526b", - "server": {"id": "bd656965-7300-4b8c-9e9f-e70c575500b2", "name": "cli-srv-priceless-rosalind"}, - "size": 10000000000, "state": "available", "creation_date": "2020-05-05T07:09:37.048948+00:00", - "modification_date": "2020-05-05T07:09:37.400254+00:00", "zone": "fr-par-1"}}, + "server": {"id": "c1e8b5de-838c-4ee7-83b4-8292c5418504", "name": "cli-srv-fervent-gauss"}, + "size": 20000000000, "state": "available", "creation_date": "2020-05-05T13:40:11.912604+00:00", + "modification_date": "2020-05-05T13:40:12.253720+00:00", "zone": "fr-par-1"}}, + "tags": [], "state": "starting", "protected": false, "state_detail": "provisioning + node", "public_ip": {"id": "65ae2546-5893-40f2-bcc2-aabee4b4dc2f", "address": + "51.158.108.20", "dynamic": false}, "ipv6": null, "extra_networks": [], "dynamic_ip_required": + false, "enable_ipv6": false, "private_ip": "10.68.232.13", "creation_date": + "2020-05-05T13:40:11.912604+00:00", "modification_date": "2020-05-05T13:40:12.335568+00:00", + "bootscript": {"id": "15fbd2f7-a0f9-412b-8502-6a44da8d98b8", "public": false, + "title": "x86_64 mainline 4.9.93 rev1", "architecture": "x86_64", "organization": + "11111111-1111-4111-8111-111111111111", "kernel": "http://169.254.42.24/kernel/x86_64-mainline-lts-4.9-4.9.93-rev1/vmlinuz-4.9.93", + "dtb": "", "initrd": "http://169.254.42.24/initrd/initrd-Linux-x86_64-v3.14.6.gz", + "bootcmdargs": "LINUX_COMMON scaleway boot=local nbd.max_part=16", "default": + false, "zone": "fr-par-1"}, "security_group": {"id": "00783f68-b80e-4f04-8520-bfc3249380be", + "name": "Default security group"}, "location": {"zone_id": "par1", "platform_id": + "14", "cluster_id": "37", "hypervisor_id": "1901", "node_id": "7"}, "maintenances": + [], "allowed_actions": ["stop_in_place", "backup"], "placement_group": null, + "private_nics": [], "zone": "fr-par-1"}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - "3507" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Tue, 05 May 2020 13:40:38 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 21e4d137-e293-415d-9680-2aaa82756c7c + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14.2; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/servers/c1e8b5de-838c-4ee7-83b4-8292c5418504 + method: GET + response: + body: '{"server": {"id": "c1e8b5de-838c-4ee7-83b4-8292c5418504", "name": "cli-srv-fervent-gauss", + "arch": "x86_64", "commercial_type": "DEV1-S", "boot_type": "local", "organization": + "104ff69c-3f34-48f4-b5f0-e516e4ad526b", "hostname": "cli-srv-fervent-gauss", + "image": {"id": "f974feac-abae-4365-b988-8ec7d1cec10d", "name": "Ubuntu Bionic + Beaver", "organization": "51b656e3-4865-41e8-adbc-0c45bdd780db", "root_volume": + {"id": "dd5f5c10-23b1-4c9c-8445-eb6740957c84", "name": "snapshot-de728daa-0bf6-4c64-abf5-a9477e791c83-2019-03-05_10:13", + "volume_type": "l_ssd", "size": 10000000000}, "extra_volumes": {}, "public": + true, "arch": "x86_64", "creation_date": "2019-03-05T10:13:15.974944+00:00", + "modification_date": "2019-03-05T13:32:29.274319+00:00", "default_bootscript": + {"id": "15fbd2f7-a0f9-412b-8502-6a44da8d98b8", "public": false, "title": "x86_64 + mainline 4.9.93 rev1", "architecture": "x86_64", "organization": "11111111-1111-4111-8111-111111111111", + "kernel": "http://169.254.42.24/kernel/x86_64-mainline-lts-4.9-4.9.93-rev1/vmlinuz-4.9.93", + "dtb": "", "initrd": "http://169.254.42.24/initrd/initrd-Linux-x86_64-v3.14.6.gz", + "bootcmdargs": "LINUX_COMMON scaleway boot=local nbd.max_part=16", "default": + false, "zone": "fr-par-1"}, "from_server": null, "state": "available", "zone": + "fr-par-1"}, "volumes": {"1": {"id": "bd852986-b771-4fcb-a333-7c84dc7d591c", + "name": "cli-srv-fervent-gauss-1", "volume_type": "b_ssd", "export_uri": null, + "organization": "104ff69c-3f34-48f4-b5f0-e516e4ad526b", "server": {"id": "c1e8b5de-838c-4ee7-83b4-8292c5418504", + "name": "cli-srv-fervent-gauss"}, "size": 10000000000, "state": "available", + "creation_date": "2020-05-05T13:40:11.912604+00:00", "modification_date": "2020-05-05T13:40:12.253695+00:00", + "zone": "fr-par-1"}, "0": {"id": "f5cd99c1-9060-41e7-85ae-9db02fb1d65c", "name": + "snapshot-de728daa-0bf6-4c64-abf5-a9477e791c83-2019-03-05_10:13", "volume_type": + "l_ssd", "export_uri": null, "organization": "104ff69c-3f34-48f4-b5f0-e516e4ad526b", + "server": {"id": "c1e8b5de-838c-4ee7-83b4-8292c5418504", "name": "cli-srv-fervent-gauss"}, + "size": 20000000000, "state": "available", "creation_date": "2020-05-05T13:40:11.912604+00:00", + "modification_date": "2020-05-05T13:40:12.253720+00:00", "zone": "fr-par-1"}}, + "tags": [], "state": "starting", "protected": false, "state_detail": "provisioning + node", "public_ip": {"id": "65ae2546-5893-40f2-bcc2-aabee4b4dc2f", "address": + "51.158.108.20", "dynamic": false}, "ipv6": null, "extra_networks": [], "dynamic_ip_required": + false, "enable_ipv6": false, "private_ip": "10.68.232.13", "creation_date": + "2020-05-05T13:40:11.912604+00:00", "modification_date": "2020-05-05T13:40:12.335568+00:00", + "bootscript": {"id": "15fbd2f7-a0f9-412b-8502-6a44da8d98b8", "public": false, + "title": "x86_64 mainline 4.9.93 rev1", "architecture": "x86_64", "organization": + "11111111-1111-4111-8111-111111111111", "kernel": "http://169.254.42.24/kernel/x86_64-mainline-lts-4.9-4.9.93-rev1/vmlinuz-4.9.93", + "dtb": "", "initrd": "http://169.254.42.24/initrd/initrd-Linux-x86_64-v3.14.6.gz", + "bootcmdargs": "LINUX_COMMON scaleway boot=local nbd.max_part=16", "default": + false, "zone": "fr-par-1"}, "security_group": {"id": "00783f68-b80e-4f04-8520-bfc3249380be", + "name": "Default security group"}, "location": {"zone_id": "par1", "platform_id": + "14", "cluster_id": "37", "hypervisor_id": "1901", "node_id": "7"}, "maintenances": + [], "allowed_actions": ["stop_in_place", "backup"], "placement_group": null, + "private_nics": [], "zone": "fr-par-1"}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - "3507" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Tue, 05 May 2020 13:40:43 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - a0f5e8b9-8142-440b-bc0d-08ffec3ac07f + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14.2; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/servers/c1e8b5de-838c-4ee7-83b4-8292c5418504 + method: GET + response: + body: '{"server": {"id": "c1e8b5de-838c-4ee7-83b4-8292c5418504", "name": "cli-srv-fervent-gauss", + "arch": "x86_64", "commercial_type": "DEV1-S", "boot_type": "local", "organization": + "104ff69c-3f34-48f4-b5f0-e516e4ad526b", "hostname": "cli-srv-fervent-gauss", + "image": {"id": "f974feac-abae-4365-b988-8ec7d1cec10d", "name": "Ubuntu Bionic + Beaver", "organization": "51b656e3-4865-41e8-adbc-0c45bdd780db", "root_volume": + {"id": "dd5f5c10-23b1-4c9c-8445-eb6740957c84", "name": "snapshot-de728daa-0bf6-4c64-abf5-a9477e791c83-2019-03-05_10:13", + "volume_type": "l_ssd", "size": 10000000000}, "extra_volumes": {}, "public": + true, "arch": "x86_64", "creation_date": "2019-03-05T10:13:15.974944+00:00", + "modification_date": "2019-03-05T13:32:29.274319+00:00", "default_bootscript": + {"id": "15fbd2f7-a0f9-412b-8502-6a44da8d98b8", "public": false, "title": "x86_64 + mainline 4.9.93 rev1", "architecture": "x86_64", "organization": "11111111-1111-4111-8111-111111111111", + "kernel": "http://169.254.42.24/kernel/x86_64-mainline-lts-4.9-4.9.93-rev1/vmlinuz-4.9.93", + "dtb": "", "initrd": "http://169.254.42.24/initrd/initrd-Linux-x86_64-v3.14.6.gz", + "bootcmdargs": "LINUX_COMMON scaleway boot=local nbd.max_part=16", "default": + false, "zone": "fr-par-1"}, "from_server": null, "state": "available", "zone": + "fr-par-1"}, "volumes": {"1": {"id": "bd852986-b771-4fcb-a333-7c84dc7d591c", + "name": "cli-srv-fervent-gauss-1", "volume_type": "b_ssd", "export_uri": null, + "organization": "104ff69c-3f34-48f4-b5f0-e516e4ad526b", "server": {"id": "c1e8b5de-838c-4ee7-83b4-8292c5418504", + "name": "cli-srv-fervent-gauss"}, "size": 10000000000, "state": "available", + "creation_date": "2020-05-05T13:40:11.912604+00:00", "modification_date": "2020-05-05T13:40:12.253695+00:00", + "zone": "fr-par-1"}, "0": {"id": "f5cd99c1-9060-41e7-85ae-9db02fb1d65c", "name": + "snapshot-de728daa-0bf6-4c64-abf5-a9477e791c83-2019-03-05_10:13", "volume_type": + "l_ssd", "export_uri": null, "organization": "104ff69c-3f34-48f4-b5f0-e516e4ad526b", + "server": {"id": "c1e8b5de-838c-4ee7-83b4-8292c5418504", "name": "cli-srv-fervent-gauss"}, + "size": 20000000000, "state": "available", "creation_date": "2020-05-05T13:40:11.912604+00:00", + "modification_date": "2020-05-05T13:40:12.253720+00:00", "zone": "fr-par-1"}}, "tags": [], "state": "running", "protected": false, "state_detail": "booting kernel", "public_ip": {"id": "65ae2546-5893-40f2-bcc2-aabee4b4dc2f", "address": "51.158.108.20", "dynamic": false}, "ipv6": null, "extra_networks": [], "dynamic_ip_required": - false, "enable_ipv6": false, "private_ip": "10.68.188.97", "creation_date": - "2020-05-05T07:09:37.048948+00:00", "modification_date": "2020-05-05T07:10:00.172933+00:00", + false, "enable_ipv6": false, "private_ip": "10.68.232.13", "creation_date": + "2020-05-05T13:40:11.912604+00:00", "modification_date": "2020-05-05T13:40:46.416543+00:00", "bootscript": {"id": "15fbd2f7-a0f9-412b-8502-6a44da8d98b8", "public": false, "title": "x86_64 mainline 4.9.93 rev1", "architecture": "x86_64", "organization": "11111111-1111-4111-8111-111111111111", "kernel": "http://169.254.42.24/kernel/x86_64-mainline-lts-4.9-4.9.93-rev1/vmlinuz-4.9.93", @@ -1607,20 +1755,20 @@ interactions: "bootcmdargs": "LINUX_COMMON scaleway boot=local nbd.max_part=16", "default": false, "zone": "fr-par-1"}, "security_group": {"id": "00783f68-b80e-4f04-8520-bfc3249380be", "name": "Default security group"}, "location": {"zone_id": "par1", "platform_id": - "14", "cluster_id": "37", "hypervisor_id": "801", "node_id": "49"}, "maintenances": + "14", "cluster_id": "37", "hypervisor_id": "1901", "node_id": "7"}, "maintenances": [], "allowed_actions": ["poweroff", "terminate", "reboot", "stop_in_place", "backup"], "placement_group": null, "private_nics": [], "zone": "fr-par-1"}}' headers: Cache-Control: - no-cache Content-Length: - - "3563" + - "3538" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Tue, 05 May 2020 07:10:03 GMT + - Tue, 05 May 2020 13:40:48 GMT Server: - scaleway_api Strict-Transport-Security: @@ -1630,7 +1778,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 31203437-e1df-4856-86c0-a81f5db9ebd0 + - df017627-9547-4e98-bc75-fddb3218ab08 status: 200 OK code: 200 duration: "" @@ -1640,12 +1788,12 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14.2; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/servers/bd656965-7300-4b8c-9e9f-e70c575500b2 + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/servers/c1e8b5de-838c-4ee7-83b4-8292c5418504 method: GET response: - body: '{"server": {"id": "bd656965-7300-4b8c-9e9f-e70c575500b2", "name": "cli-srv-priceless-rosalind", + body: '{"server": {"id": "c1e8b5de-838c-4ee7-83b4-8292c5418504", "name": "cli-srv-fervent-gauss", "arch": "x86_64", "commercial_type": "DEV1-S", "boot_type": "local", "organization": - "104ff69c-3f34-48f4-b5f0-e516e4ad526b", "hostname": "cli-srv-priceless-rosalind", + "104ff69c-3f34-48f4-b5f0-e516e4ad526b", "hostname": "cli-srv-fervent-gauss", "image": {"id": "f974feac-abae-4365-b988-8ec7d1cec10d", "name": "Ubuntu Bionic Beaver", "organization": "51b656e3-4865-41e8-adbc-0c45bdd780db", "root_volume": {"id": "dd5f5c10-23b1-4c9c-8445-eb6740957c84", "name": "snapshot-de728daa-0bf6-4c64-abf5-a9477e791c83-2019-03-05_10:13", @@ -1658,22 +1806,22 @@ interactions: "dtb": "", "initrd": "http://169.254.42.24/initrd/initrd-Linux-x86_64-v3.14.6.gz", "bootcmdargs": "LINUX_COMMON scaleway boot=local nbd.max_part=16", "default": false, "zone": "fr-par-1"}, "from_server": null, "state": "available", "zone": - "fr-par-1"}, "volumes": {"0": {"id": "5939bb22-d5ea-41e6-a648-558a877e2a16", - "name": "snapshot-de728daa-0bf6-4c64-abf5-a9477e791c83-2019-03-05_10:13", "volume_type": + "fr-par-1"}, "volumes": {"1": {"id": "bd852986-b771-4fcb-a333-7c84dc7d591c", + "name": "cli-srv-fervent-gauss-1", "volume_type": "b_ssd", "export_uri": null, + "organization": "104ff69c-3f34-48f4-b5f0-e516e4ad526b", "server": {"id": "c1e8b5de-838c-4ee7-83b4-8292c5418504", + "name": "cli-srv-fervent-gauss"}, "size": 10000000000, "state": "available", + "creation_date": "2020-05-05T13:40:11.912604+00:00", "modification_date": "2020-05-05T13:40:12.253695+00:00", + "zone": "fr-par-1"}, "0": {"id": "f5cd99c1-9060-41e7-85ae-9db02fb1d65c", "name": + "snapshot-de728daa-0bf6-4c64-abf5-a9477e791c83-2019-03-05_10:13", "volume_type": "l_ssd", "export_uri": null, "organization": "104ff69c-3f34-48f4-b5f0-e516e4ad526b", - "server": {"id": "bd656965-7300-4b8c-9e9f-e70c575500b2", "name": "cli-srv-priceless-rosalind"}, - "size": 20000000000, "state": "available", "creation_date": "2020-05-05T07:09:37.048948+00:00", - "modification_date": "2020-05-05T07:09:37.400229+00:00", "zone": "fr-par-1"}, - "1": {"id": "98430fab-9e3d-4b7d-bee5-505572f143fa", "name": "cli-srv-priceless-rosalind-1", - "volume_type": "b_ssd", "export_uri": null, "organization": "104ff69c-3f34-48f4-b5f0-e516e4ad526b", - "server": {"id": "bd656965-7300-4b8c-9e9f-e70c575500b2", "name": "cli-srv-priceless-rosalind"}, - "size": 10000000000, "state": "available", "creation_date": "2020-05-05T07:09:37.048948+00:00", - "modification_date": "2020-05-05T07:09:37.400254+00:00", "zone": "fr-par-1"}}, + "server": {"id": "c1e8b5de-838c-4ee7-83b4-8292c5418504", "name": "cli-srv-fervent-gauss"}, + "size": 20000000000, "state": "available", "creation_date": "2020-05-05T13:40:11.912604+00:00", + "modification_date": "2020-05-05T13:40:12.253720+00:00", "zone": "fr-par-1"}}, "tags": [], "state": "running", "protected": false, "state_detail": "booting kernel", "public_ip": {"id": "65ae2546-5893-40f2-bcc2-aabee4b4dc2f", "address": "51.158.108.20", "dynamic": false}, "ipv6": null, "extra_networks": [], "dynamic_ip_required": - false, "enable_ipv6": false, "private_ip": "10.68.188.97", "creation_date": - "2020-05-05T07:09:37.048948+00:00", "modification_date": "2020-05-05T07:10:00.172933+00:00", + false, "enable_ipv6": false, "private_ip": "10.68.232.13", "creation_date": + "2020-05-05T13:40:11.912604+00:00", "modification_date": "2020-05-05T13:40:46.416543+00:00", "bootscript": {"id": "15fbd2f7-a0f9-412b-8502-6a44da8d98b8", "public": false, "title": "x86_64 mainline 4.9.93 rev1", "architecture": "x86_64", "organization": "11111111-1111-4111-8111-111111111111", "kernel": "http://169.254.42.24/kernel/x86_64-mainline-lts-4.9-4.9.93-rev1/vmlinuz-4.9.93", @@ -1681,20 +1829,20 @@ interactions: "bootcmdargs": "LINUX_COMMON scaleway boot=local nbd.max_part=16", "default": false, "zone": "fr-par-1"}, "security_group": {"id": "00783f68-b80e-4f04-8520-bfc3249380be", "name": "Default security group"}, "location": {"zone_id": "par1", "platform_id": - "14", "cluster_id": "37", "hypervisor_id": "801", "node_id": "49"}, "maintenances": + "14", "cluster_id": "37", "hypervisor_id": "1901", "node_id": "7"}, "maintenances": [], "allowed_actions": ["poweroff", "terminate", "reboot", "stop_in_place", "backup"], "placement_group": null, "private_nics": [], "zone": "fr-par-1"}}' headers: Cache-Control: - no-cache Content-Length: - - "3563" + - "3538" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Tue, 05 May 2020 07:10:03 GMT + - Tue, 05 May 2020 13:40:48 GMT Server: - scaleway_api Strict-Transport-Security: @@ -1704,7 +1852,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 2218edc5-f7e6-414f-89e8-998f7d574198 + - 6ef3b624-c475-47fb-9ce7-7ae5eb444d60 status: 200 OK code: 200 duration: "" @@ -1714,25 +1862,25 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14.2; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/volumes/98430fab-9e3d-4b7d-bee5-505572f143fa + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/volumes/bd852986-b771-4fcb-a333-7c84dc7d591c method: GET response: - body: '{"volume": {"id": "98430fab-9e3d-4b7d-bee5-505572f143fa", "name": "cli-srv-priceless-rosalind-1", + body: '{"volume": {"id": "bd852986-b771-4fcb-a333-7c84dc7d591c", "name": "cli-srv-fervent-gauss-1", "volume_type": "b_ssd", "export_uri": null, "organization": "104ff69c-3f34-48f4-b5f0-e516e4ad526b", - "server": {"id": "bd656965-7300-4b8c-9e9f-e70c575500b2", "name": "cli-srv-priceless-rosalind"}, - "size": 10000000000, "state": "available", "creation_date": "2020-05-05T07:09:37.048948+00:00", - "modification_date": "2020-05-05T07:09:37.400254+00:00", "zone": "fr-par-1"}}' + "server": {"id": "c1e8b5de-838c-4ee7-83b4-8292c5418504", "name": "cli-srv-fervent-gauss"}, + "size": 10000000000, "state": "available", "creation_date": "2020-05-05T13:40:11.912604+00:00", + "modification_date": "2020-05-05T13:40:12.253695+00:00", "zone": "fr-par-1"}}' headers: Cache-Control: - no-cache Content-Length: - - "467" + - "457" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Tue, 05 May 2020 07:10:03 GMT + - Tue, 05 May 2020 13:40:48 GMT Server: - scaleway_api Strict-Transport-Security: @@ -1742,7 +1890,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 8e97366d-2499-44a0-aa05-fc6ddf9155a5 + - dcc95158-cb0c-4df5-8ffc-25d47ed0076a status: 200 OK code: 200 duration: "" @@ -1752,12 +1900,12 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14.2; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/servers/bd656965-7300-4b8c-9e9f-e70c575500b2 + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/servers/c1e8b5de-838c-4ee7-83b4-8292c5418504 method: GET response: - body: '{"server": {"id": "bd656965-7300-4b8c-9e9f-e70c575500b2", "name": "cli-srv-priceless-rosalind", + body: '{"server": {"id": "c1e8b5de-838c-4ee7-83b4-8292c5418504", "name": "cli-srv-fervent-gauss", "arch": "x86_64", "commercial_type": "DEV1-S", "boot_type": "local", "organization": - "104ff69c-3f34-48f4-b5f0-e516e4ad526b", "hostname": "cli-srv-priceless-rosalind", + "104ff69c-3f34-48f4-b5f0-e516e4ad526b", "hostname": "cli-srv-fervent-gauss", "image": {"id": "f974feac-abae-4365-b988-8ec7d1cec10d", "name": "Ubuntu Bionic Beaver", "organization": "51b656e3-4865-41e8-adbc-0c45bdd780db", "root_volume": {"id": "dd5f5c10-23b1-4c9c-8445-eb6740957c84", "name": "snapshot-de728daa-0bf6-4c64-abf5-a9477e791c83-2019-03-05_10:13", @@ -1770,22 +1918,22 @@ interactions: "dtb": "", "initrd": "http://169.254.42.24/initrd/initrd-Linux-x86_64-v3.14.6.gz", "bootcmdargs": "LINUX_COMMON scaleway boot=local nbd.max_part=16", "default": false, "zone": "fr-par-1"}, "from_server": null, "state": "available", "zone": - "fr-par-1"}, "volumes": {"0": {"id": "5939bb22-d5ea-41e6-a648-558a877e2a16", - "name": "snapshot-de728daa-0bf6-4c64-abf5-a9477e791c83-2019-03-05_10:13", "volume_type": + "fr-par-1"}, "volumes": {"1": {"id": "bd852986-b771-4fcb-a333-7c84dc7d591c", + "name": "cli-srv-fervent-gauss-1", "volume_type": "b_ssd", "export_uri": null, + "organization": "104ff69c-3f34-48f4-b5f0-e516e4ad526b", "server": {"id": "c1e8b5de-838c-4ee7-83b4-8292c5418504", + "name": "cli-srv-fervent-gauss"}, "size": 10000000000, "state": "available", + "creation_date": "2020-05-05T13:40:11.912604+00:00", "modification_date": "2020-05-05T13:40:12.253695+00:00", + "zone": "fr-par-1"}, "0": {"id": "f5cd99c1-9060-41e7-85ae-9db02fb1d65c", "name": + "snapshot-de728daa-0bf6-4c64-abf5-a9477e791c83-2019-03-05_10:13", "volume_type": "l_ssd", "export_uri": null, "organization": "104ff69c-3f34-48f4-b5f0-e516e4ad526b", - "server": {"id": "bd656965-7300-4b8c-9e9f-e70c575500b2", "name": "cli-srv-priceless-rosalind"}, - "size": 20000000000, "state": "available", "creation_date": "2020-05-05T07:09:37.048948+00:00", - "modification_date": "2020-05-05T07:09:37.400229+00:00", "zone": "fr-par-1"}, - "1": {"id": "98430fab-9e3d-4b7d-bee5-505572f143fa", "name": "cli-srv-priceless-rosalind-1", - "volume_type": "b_ssd", "export_uri": null, "organization": "104ff69c-3f34-48f4-b5f0-e516e4ad526b", - "server": {"id": "bd656965-7300-4b8c-9e9f-e70c575500b2", "name": "cli-srv-priceless-rosalind"}, - "size": 10000000000, "state": "available", "creation_date": "2020-05-05T07:09:37.048948+00:00", - "modification_date": "2020-05-05T07:09:37.400254+00:00", "zone": "fr-par-1"}}, + "server": {"id": "c1e8b5de-838c-4ee7-83b4-8292c5418504", "name": "cli-srv-fervent-gauss"}, + "size": 20000000000, "state": "available", "creation_date": "2020-05-05T13:40:11.912604+00:00", + "modification_date": "2020-05-05T13:40:12.253720+00:00", "zone": "fr-par-1"}}, "tags": [], "state": "running", "protected": false, "state_detail": "booting kernel", "public_ip": {"id": "65ae2546-5893-40f2-bcc2-aabee4b4dc2f", "address": "51.158.108.20", "dynamic": false}, "ipv6": null, "extra_networks": [], "dynamic_ip_required": - false, "enable_ipv6": false, "private_ip": "10.68.188.97", "creation_date": - "2020-05-05T07:09:37.048948+00:00", "modification_date": "2020-05-05T07:10:00.172933+00:00", + false, "enable_ipv6": false, "private_ip": "10.68.232.13", "creation_date": + "2020-05-05T13:40:11.912604+00:00", "modification_date": "2020-05-05T13:40:46.416543+00:00", "bootscript": {"id": "15fbd2f7-a0f9-412b-8502-6a44da8d98b8", "public": false, "title": "x86_64 mainline 4.9.93 rev1", "architecture": "x86_64", "organization": "11111111-1111-4111-8111-111111111111", "kernel": "http://169.254.42.24/kernel/x86_64-mainline-lts-4.9-4.9.93-rev1/vmlinuz-4.9.93", @@ -1793,20 +1941,20 @@ interactions: "bootcmdargs": "LINUX_COMMON scaleway boot=local nbd.max_part=16", "default": false, "zone": "fr-par-1"}, "security_group": {"id": "00783f68-b80e-4f04-8520-bfc3249380be", "name": "Default security group"}, "location": {"zone_id": "par1", "platform_id": - "14", "cluster_id": "37", "hypervisor_id": "801", "node_id": "49"}, "maintenances": + "14", "cluster_id": "37", "hypervisor_id": "1901", "node_id": "7"}, "maintenances": [], "allowed_actions": ["poweroff", "terminate", "reboot", "stop_in_place", "backup"], "placement_group": null, "private_nics": [], "zone": "fr-par-1"}}' headers: Cache-Control: - no-cache Content-Length: - - "3563" + - "3538" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Tue, 05 May 2020 07:10:04 GMT + - Tue, 05 May 2020 13:40:48 GMT Server: - scaleway_api Strict-Transport-Security: @@ -1816,24 +1964,24 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 9ecef59a-97ee-44e2-82cf-991d370e5fad + - 134eab8b-adc2-451b-873f-fbf552d1ede8 status: 200 OK code: 200 duration: "" - request: - body: '{"volumes":{"0":{"id":"5939bb22-d5ea-41e6-a648-558a877e2a16","name":"snapshot-de728daa-0bf6-4c64-abf5-a9477e791c83-2019-03-05_10:13"}}}' + body: '{"volumes":{"0":{"id":"f5cd99c1-9060-41e7-85ae-9db02fb1d65c","name":"snapshot-de728daa-0bf6-4c64-abf5-a9477e791c83-2019-03-05_10:13"}}}' form: {} headers: Content-Type: - application/json User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14.2; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/servers/bd656965-7300-4b8c-9e9f-e70c575500b2 + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/servers/c1e8b5de-838c-4ee7-83b4-8292c5418504 method: PATCH response: - body: '{"server": {"id": "bd656965-7300-4b8c-9e9f-e70c575500b2", "name": "cli-srv-priceless-rosalind", + body: '{"server": {"id": "c1e8b5de-838c-4ee7-83b4-8292c5418504", "name": "cli-srv-fervent-gauss", "arch": "x86_64", "commercial_type": "DEV1-S", "boot_type": "local", "organization": - "104ff69c-3f34-48f4-b5f0-e516e4ad526b", "hostname": "cli-srv-priceless-rosalind", + "104ff69c-3f34-48f4-b5f0-e516e4ad526b", "hostname": "cli-srv-fervent-gauss", "image": {"id": "f974feac-abae-4365-b988-8ec7d1cec10d", "name": "Ubuntu Bionic Beaver", "organization": "51b656e3-4865-41e8-adbc-0c45bdd780db", "root_volume": {"id": "dd5f5c10-23b1-4c9c-8445-eb6740957c84", "name": "snapshot-de728daa-0bf6-4c64-abf5-a9477e791c83-2019-03-05_10:13", @@ -1846,17 +1994,17 @@ interactions: "dtb": "", "initrd": "http://169.254.42.24/initrd/initrd-Linux-x86_64-v3.14.6.gz", "bootcmdargs": "LINUX_COMMON scaleway boot=local nbd.max_part=16", "default": false, "zone": "fr-par-1"}, "from_server": null, "state": "available", "zone": - "fr-par-1"}, "volumes": {"0": {"id": "5939bb22-d5ea-41e6-a648-558a877e2a16", + "fr-par-1"}, "volumes": {"0": {"id": "f5cd99c1-9060-41e7-85ae-9db02fb1d65c", "name": "snapshot-de728daa-0bf6-4c64-abf5-a9477e791c83-2019-03-05_10:13", "volume_type": "l_ssd", "export_uri": null, "organization": "104ff69c-3f34-48f4-b5f0-e516e4ad526b", - "server": {"id": "bd656965-7300-4b8c-9e9f-e70c575500b2", "name": "cli-srv-priceless-rosalind"}, - "size": 20000000000, "state": "available", "creation_date": "2020-05-05T07:09:37.048948+00:00", - "modification_date": "2020-05-05T07:09:37.400229+00:00", "zone": "fr-par-1"}}, + "server": {"id": "c1e8b5de-838c-4ee7-83b4-8292c5418504", "name": "cli-srv-fervent-gauss"}, + "size": 20000000000, "state": "available", "creation_date": "2020-05-05T13:40:11.912604+00:00", + "modification_date": "2020-05-05T13:40:12.253720+00:00", "zone": "fr-par-1"}}, "tags": [], "state": "running", "protected": false, "state_detail": "booting kernel", "public_ip": {"id": "65ae2546-5893-40f2-bcc2-aabee4b4dc2f", "address": "51.158.108.20", "dynamic": false}, "ipv6": null, "extra_networks": [], "dynamic_ip_required": - false, "enable_ipv6": false, "private_ip": "10.68.188.97", "creation_date": - "2020-05-05T07:09:37.048948+00:00", "modification_date": "2020-05-05T07:10:00.172933+00:00", + false, "enable_ipv6": false, "private_ip": "10.68.232.13", "creation_date": + "2020-05-05T13:40:11.912604+00:00", "modification_date": "2020-05-05T13:40:46.416543+00:00", "bootscript": {"id": "15fbd2f7-a0f9-412b-8502-6a44da8d98b8", "public": false, "title": "x86_64 mainline 4.9.93 rev1", "architecture": "x86_64", "organization": "11111111-1111-4111-8111-111111111111", "kernel": "http://169.254.42.24/kernel/x86_64-mainline-lts-4.9-4.9.93-rev1/vmlinuz-4.9.93", @@ -1864,20 +2012,20 @@ interactions: "bootcmdargs": "LINUX_COMMON scaleway boot=local nbd.max_part=16", "default": false, "zone": "fr-par-1"}, "security_group": {"id": "00783f68-b80e-4f04-8520-bfc3249380be", "name": "Default security group"}, "location": {"zone_id": "par1", "platform_id": - "14", "cluster_id": "37", "hypervisor_id": "801", "node_id": "49"}, "maintenances": + "14", "cluster_id": "37", "hypervisor_id": "1901", "node_id": "7"}, "maintenances": [], "allowed_actions": ["poweroff", "terminate", "reboot", "stop_in_place", "backup"], "placement_group": null, "private_nics": [], "zone": "fr-par-1"}}' headers: Cache-Control: - no-cache Content-Length: - - "3101" + - "3086" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Tue, 05 May 2020 07:10:04 GMT + - Tue, 05 May 2020 13:40:49 GMT Server: - scaleway_api Strict-Transport-Security: @@ -1887,7 +2035,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 07f69852-dbc8-4b93-9754-0f1dc78bf363 + - ec9601ba-7635-4049-84dd-ebb7086765da status: 200 OK code: 200 duration: "" @@ -1899,13 +2047,13 @@ interactions: - application/json User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14.2; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/servers/bd656965-7300-4b8c-9e9f-e70c575500b2/action + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/servers/c1e8b5de-838c-4ee7-83b4-8292c5418504/action method: POST response: body: '{"task": {"status": "pending", "description": "server_terminate", "href_result": - "/servers/bd656965-7300-4b8c-9e9f-e70c575500b2", "terminated_at": null, "href_from": - "/servers/bd656965-7300-4b8c-9e9f-e70c575500b2/action", "started_at": "2020-05-05T07:10:05.658917+00:00", - "id": "0ad0d2b1-ceff-44bf-91d0-72a49068d73b"}}' + "/servers/c1e8b5de-838c-4ee7-83b4-8292c5418504", "terminated_at": null, "href_from": + "/servers/c1e8b5de-838c-4ee7-83b4-8292c5418504/action", "started_at": "2020-05-05T13:40:49.886573+00:00", + "id": "5d398147-1c42-46d5-ab12-5938ee2ae1db"}}' headers: Content-Length: - "318" @@ -1914,9 +2062,9 @@ interactions: Content-Type: - application/json Date: - - Tue, 05 May 2020 07:10:05 GMT + - Tue, 05 May 2020 13:40:49 GMT Location: - - https://cp-par1.scaleway.com/tasks/0ad0d2b1-ceff-44bf-91d0-72a49068d73b + - https://cp-par1.scaleway.com/tasks/5d398147-1c42-46d5-ab12-5938ee2ae1db Server: - scaleway_api Strict-Transport-Security: @@ -1926,7 +2074,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 89c0b9d5-4065-4a3a-99fd-8ab69c175514 + - e847e4e6-39d9-41bd-9822-c902510929ac status: 202 Accepted code: 202 duration: "" @@ -1948,7 +2096,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 05 May 2020 07:10:05 GMT + - Tue, 05 May 2020 13:40:49 GMT Server: - scaleway_api Strict-Transport-Security: @@ -1958,7 +2106,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - d6850950-8250-4982-b8f2-63cd05576154 + - c8ebb24b-9773-45aa-a888-aee1a846617d status: 204 No Content code: 204 duration: "" @@ -1968,7 +2116,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14.2; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/volumes/98430fab-9e3d-4b7d-bee5-505572f143fa + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/volumes/bd852986-b771-4fcb-a333-7c84dc7d591c method: DELETE response: body: "" @@ -1980,7 +2128,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 05 May 2020 07:10:05 GMT + - Tue, 05 May 2020 13:40:50 GMT Server: - scaleway_api Strict-Transport-Security: @@ -1990,7 +2138,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 9bf3612e-2546-4809-949a-328450f0bb97 + - 46f0196e-0f68-4a93-b22b-16e66be5bfae status: 204 No Content code: 204 duration: "" diff --git a/internal/namespaces/instance/v1/testdata/test-server-terminate-without-block.stderr.golden b/internal/namespaces/instance/v1/testdata/test-server-terminate-without-block.stderr.golden index c6fd6d8668..64d77fcc14 100644 --- a/internal/namespaces/instance/v1/testdata/test-server-terminate-without-block.stderr.golden +++ b/internal/namespaces/instance/v1/testdata/test-server-terminate-without-block.stderr.golden @@ -1,2 +1,2 @@ -successfully detached volume cli-srv-priceless-rosalind-1 +successfully detached volume cli-srv-fervent-gauss-1 successfully deleted ip 51.158.108.20 diff --git a/internal/namespaces/instance/v1/testdata/test-server-terminate-with-ips.cassette.yaml b/internal/namespaces/instance/v1/testdata/test-server-terminate-without-ip.cassette.yaml similarity index 89% rename from internal/namespaces/instance/v1/testdata/test-server-terminate-with-ips.cassette.yaml rename to internal/namespaces/instance/v1/testdata/test-server-terminate-without-ip.cassette.yaml index 3283c191dc..15eb5d6a0c 100644 --- a/internal/namespaces/instance/v1/testdata/test-server-terminate-with-ips.cassette.yaml +++ b/internal/namespaces/instance/v1/testdata/test-server-terminate-without-ip.cassette.yaml @@ -650,7 +650,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 05 May 2020 07:09:08 GMT + - Tue, 05 May 2020 13:39:13 GMT Link: - ; rel="last" Server: @@ -662,7 +662,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 34493695-3b8a-4a98-82ce-ac89dd4cbdea + - 701077c6-19a1-4a13-a316-9413991f1679 X-Total-Count: - "31" status: 200 OK @@ -700,7 +700,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 05 May 2020 07:09:08 GMT + - Tue, 05 May 2020 13:39:13 GMT Server: - scaleway_api Strict-Transport-Security: @@ -710,7 +710,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 067e84a2-d771-4c31-bb20-817fd1e9299d + - 0c7247bb-cc0f-4ceb-ade9-a2ac2add4412 status: 200 OK code: 200 duration: "" @@ -1017,7 +1017,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 05 May 2020 07:09:08 GMT + - Tue, 05 May 2020 13:39:13 GMT Link: - ; rel="last" Server: @@ -1029,7 +1029,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - b5750366-df3f-4cc6-a1f4-e8d42206e58b + - 0fdcc9b0-1228-4070-ba6e-e010f374077e X-Total-Count: - "32" status: 200 OK @@ -1059,7 +1059,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 05 May 2020 07:09:08 GMT + - Tue, 05 May 2020 13:39:14 GMT Location: - https://cp-par1.scaleway.com/ips/65ae2546-5893-40f2-bcc2-aabee4b4dc2f Server: @@ -1071,12 +1071,12 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 29d57fae-7a01-4f3d-a1a1-78a9628db2e9 + - ece8cd18-238b-4547-89ae-771887df083f status: 201 Created code: 201 duration: "" - request: - body: '{"name":"cli-srv-kind-mclean","commercial_type":"DEV1-S","image":"f974feac-abae-4365-b988-8ec7d1cec10d","public_ip":"65ae2546-5893-40f2-bcc2-aabee4b4dc2f","organization":"104ff69c-3f34-48f4-b5f0-e516e4ad526b"}' + body: '{"name":"cli-srv-hopeful-lovelace","commercial_type":"DEV1-S","image":"f974feac-abae-4365-b988-8ec7d1cec10d","public_ip":"65ae2546-5893-40f2-bcc2-aabee4b4dc2f","organization":"104ff69c-3f34-48f4-b5f0-e516e4ad526b"}' form: {} headers: Content-Type: @@ -1086,12 +1086,12 @@ interactions: url: https://api.scaleway.com/instance/v1/zones/fr-par-1/servers method: POST response: - body: '{"server": {"id": "f7263b3e-44c8-4cba-9d45-c619cadca2ec", "name": "cli-srv-kind-mclean", + body: '{"server": {"id": "82374fa0-07ae-4f6b-8ed6-50ab4db3453a", "name": "cli-srv-hopeful-lovelace", "arch": "x86_64", "commercial_type": "DEV1-S", "boot_type": "local", "organization": - "104ff69c-3f34-48f4-b5f0-e516e4ad526b", "hostname": "cli-srv-kind-mclean", "image": - {"id": "f974feac-abae-4365-b988-8ec7d1cec10d", "name": "Ubuntu Bionic Beaver", - "organization": "51b656e3-4865-41e8-adbc-0c45bdd780db", "root_volume": {"id": - "dd5f5c10-23b1-4c9c-8445-eb6740957c84", "name": "snapshot-de728daa-0bf6-4c64-abf5-a9477e791c83-2019-03-05_10:13", + "104ff69c-3f34-48f4-b5f0-e516e4ad526b", "hostname": "cli-srv-hopeful-lovelace", + "image": {"id": "f974feac-abae-4365-b988-8ec7d1cec10d", "name": "Ubuntu Bionic + Beaver", "organization": "51b656e3-4865-41e8-adbc-0c45bdd780db", "root_volume": + {"id": "dd5f5c10-23b1-4c9c-8445-eb6740957c84", "name": "snapshot-de728daa-0bf6-4c64-abf5-a9477e791c83-2019-03-05_10:13", "volume_type": "l_ssd", "size": 10000000000}, "extra_volumes": {}, "public": true, "arch": "x86_64", "creation_date": "2019-03-05T10:13:15.974944+00:00", "modification_date": "2019-03-05T13:32:29.274319+00:00", "default_bootscript": @@ -1101,17 +1101,17 @@ interactions: "dtb": "", "initrd": "http://169.254.42.24/initrd/initrd-Linux-x86_64-v3.14.6.gz", "bootcmdargs": "LINUX_COMMON scaleway boot=local nbd.max_part=16", "default": false, "zone": "fr-par-1"}, "from_server": null, "state": "available", "zone": - "fr-par-1"}, "volumes": {"0": {"id": "45757012-0ccc-4f14-ba50-39d57ccaaacf", + "fr-par-1"}, "volumes": {"0": {"id": "3fad11e8-9b87-461a-8157-9d105e33e0b7", "name": "snapshot-de728daa-0bf6-4c64-abf5-a9477e791c83-2019-03-05_10:13", "volume_type": "l_ssd", "export_uri": null, "organization": "104ff69c-3f34-48f4-b5f0-e516e4ad526b", - "server": {"id": "f7263b3e-44c8-4cba-9d45-c619cadca2ec", "name": "cli-srv-kind-mclean"}, - "size": 20000000000, "state": "available", "creation_date": "2020-05-05T07:09:09.163927+00:00", - "modification_date": "2020-05-05T07:09:09.416365+00:00", "zone": "fr-par-1"}}, + "server": {"id": "82374fa0-07ae-4f6b-8ed6-50ab4db3453a", "name": "cli-srv-hopeful-lovelace"}, + "size": 20000000000, "state": "available", "creation_date": "2020-05-05T13:39:14.589233+00:00", + "modification_date": "2020-05-05T13:39:15.139075+00:00", "zone": "fr-par-1"}}, "tags": [], "state": "stopped", "protected": false, "state_detail": "", "public_ip": {"id": "65ae2546-5893-40f2-bcc2-aabee4b4dc2f", "address": "51.158.108.20", "dynamic": false}, "ipv6": null, "extra_networks": [], "dynamic_ip_required": false, "enable_ipv6": - false, "private_ip": null, "creation_date": "2020-05-05T07:09:09.163927+00:00", - "modification_date": "2020-05-05T07:09:09.427315+00:00", "bootscript": {"id": + false, "private_ip": null, "creation_date": "2020-05-05T13:39:14.589233+00:00", + "modification_date": "2020-05-05T13:39:15.151119+00:00", "bootscript": {"id": "15fbd2f7-a0f9-412b-8502-6a44da8d98b8", "public": false, "title": "x86_64 mainline 4.9.93 rev1", "architecture": "x86_64", "organization": "11111111-1111-4111-8111-111111111111", "kernel": "http://169.254.42.24/kernel/x86_64-mainline-lts-4.9-4.9.93-rev1/vmlinuz-4.9.93", @@ -1125,15 +1125,15 @@ interactions: Cache-Control: - no-cache Content-Length: - - "2918" + - "2933" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Tue, 05 May 2020 07:09:09 GMT + - Tue, 05 May 2020 13:39:14 GMT Location: - - https://cp-par1.scaleway.com/servers/f7263b3e-44c8-4cba-9d45-c619cadca2ec + - https://cp-par1.scaleway.com/servers/82374fa0-07ae-4f6b-8ed6-50ab4db3453a Server: - scaleway_api Strict-Transport-Security: @@ -1143,7 +1143,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 07777417-55b3-437f-ad1d-48e440961c09 + - 04f2ccd6-3c09-4ba8-9c6c-7f5dee7e1e75 status: 201 Created code: 201 duration: "" @@ -1155,13 +1155,13 @@ interactions: - application/json User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14.2; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/servers/f7263b3e-44c8-4cba-9d45-c619cadca2ec/action + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/servers/82374fa0-07ae-4f6b-8ed6-50ab4db3453a/action method: POST response: body: '{"task": {"status": "pending", "description": "server_batch_poweron", "href_result": - "/servers/f7263b3e-44c8-4cba-9d45-c619cadca2ec", "terminated_at": null, "href_from": - "/servers/f7263b3e-44c8-4cba-9d45-c619cadca2ec/action", "started_at": "2020-05-05T07:09:09.727036+00:00", - "id": "e1aaf1a1-e8a7-49ee-9fba-8a1e016c2a39"}}' + "/servers/82374fa0-07ae-4f6b-8ed6-50ab4db3453a", "terminated_at": null, "href_from": + "/servers/82374fa0-07ae-4f6b-8ed6-50ab4db3453a/action", "started_at": "2020-05-05T13:39:15.702150+00:00", + "id": "d6e56b16-c05d-4bfb-89c9-b9a4520026e7"}}' headers: Content-Length: - "322" @@ -1170,9 +1170,9 @@ interactions: Content-Type: - application/json Date: - - Tue, 05 May 2020 07:09:09 GMT + - Tue, 05 May 2020 13:39:15 GMT Location: - - https://cp-par1.scaleway.com/tasks/e1aaf1a1-e8a7-49ee-9fba-8a1e016c2a39 + - https://cp-par1.scaleway.com/tasks/d6e56b16-c05d-4bfb-89c9-b9a4520026e7 Server: - scaleway_api Strict-Transport-Security: @@ -1182,7 +1182,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - b8423849-0c37-4ed7-a1ee-595754c9168c + - 30abcb47-1d4e-4d9c-b088-46d14e342df8 status: 202 Accepted code: 202 duration: "" @@ -1192,15 +1192,15 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14.2; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/servers/f7263b3e-44c8-4cba-9d45-c619cadca2ec + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/servers/82374fa0-07ae-4f6b-8ed6-50ab4db3453a method: GET response: - body: '{"server": {"id": "f7263b3e-44c8-4cba-9d45-c619cadca2ec", "name": "cli-srv-kind-mclean", + body: '{"server": {"id": "82374fa0-07ae-4f6b-8ed6-50ab4db3453a", "name": "cli-srv-hopeful-lovelace", "arch": "x86_64", "commercial_type": "DEV1-S", "boot_type": "local", "organization": - "104ff69c-3f34-48f4-b5f0-e516e4ad526b", "hostname": "cli-srv-kind-mclean", "image": - {"id": "f974feac-abae-4365-b988-8ec7d1cec10d", "name": "Ubuntu Bionic Beaver", - "organization": "51b656e3-4865-41e8-adbc-0c45bdd780db", "root_volume": {"id": - "dd5f5c10-23b1-4c9c-8445-eb6740957c84", "name": "snapshot-de728daa-0bf6-4c64-abf5-a9477e791c83-2019-03-05_10:13", + "104ff69c-3f34-48f4-b5f0-e516e4ad526b", "hostname": "cli-srv-hopeful-lovelace", + "image": {"id": "f974feac-abae-4365-b988-8ec7d1cec10d", "name": "Ubuntu Bionic + Beaver", "organization": "51b656e3-4865-41e8-adbc-0c45bdd780db", "root_volume": + {"id": "dd5f5c10-23b1-4c9c-8445-eb6740957c84", "name": "snapshot-de728daa-0bf6-4c64-abf5-a9477e791c83-2019-03-05_10:13", "volume_type": "l_ssd", "size": 10000000000}, "extra_volumes": {}, "public": true, "arch": "x86_64", "creation_date": "2019-03-05T10:13:15.974944+00:00", "modification_date": "2019-03-05T13:32:29.274319+00:00", "default_bootscript": @@ -1210,17 +1210,17 @@ interactions: "dtb": "", "initrd": "http://169.254.42.24/initrd/initrd-Linux-x86_64-v3.14.6.gz", "bootcmdargs": "LINUX_COMMON scaleway boot=local nbd.max_part=16", "default": false, "zone": "fr-par-1"}, "from_server": null, "state": "available", "zone": - "fr-par-1"}, "volumes": {"0": {"id": "45757012-0ccc-4f14-ba50-39d57ccaaacf", + "fr-par-1"}, "volumes": {"0": {"id": "3fad11e8-9b87-461a-8157-9d105e33e0b7", "name": "snapshot-de728daa-0bf6-4c64-abf5-a9477e791c83-2019-03-05_10:13", "volume_type": "l_ssd", "export_uri": null, "organization": "104ff69c-3f34-48f4-b5f0-e516e4ad526b", - "server": {"id": "f7263b3e-44c8-4cba-9d45-c619cadca2ec", "name": "cli-srv-kind-mclean"}, - "size": 20000000000, "state": "available", "creation_date": "2020-05-05T07:09:09.163927+00:00", - "modification_date": "2020-05-05T07:09:09.416365+00:00", "zone": "fr-par-1"}}, + "server": {"id": "82374fa0-07ae-4f6b-8ed6-50ab4db3453a", "name": "cli-srv-hopeful-lovelace"}, + "size": 20000000000, "state": "available", "creation_date": "2020-05-05T13:39:14.589233+00:00", + "modification_date": "2020-05-05T13:39:15.139075+00:00", "zone": "fr-par-1"}}, "tags": [], "state": "starting", "protected": false, "state_detail": "allocating node", "public_ip": {"id": "65ae2546-5893-40f2-bcc2-aabee4b4dc2f", "address": "51.158.108.20", "dynamic": false}, "ipv6": null, "extra_networks": [], "dynamic_ip_required": - false, "enable_ipv6": false, "private_ip": null, "creation_date": "2020-05-05T07:09:09.163927+00:00", - "modification_date": "2020-05-05T07:09:09.491019+00:00", "bootscript": {"id": + false, "enable_ipv6": false, "private_ip": null, "creation_date": "2020-05-05T13:39:14.589233+00:00", + "modification_date": "2020-05-05T13:39:15.222014+00:00", "bootscript": {"id": "15fbd2f7-a0f9-412b-8502-6a44da8d98b8", "public": false, "title": "x86_64 mainline 4.9.93 rev1", "architecture": "x86_64", "organization": "11111111-1111-4111-8111-111111111111", "kernel": "http://169.254.42.24/kernel/x86_64-mainline-lts-4.9-4.9.93-rev1/vmlinuz-4.9.93", @@ -1234,13 +1234,13 @@ interactions: Cache-Control: - no-cache Content-Length: - - "2940" + - "2955" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Tue, 05 May 2020 07:09:09 GMT + - Tue, 05 May 2020 13:39:15 GMT Server: - scaleway_api Strict-Transport-Security: @@ -1250,7 +1250,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 849cc919-6f9c-4e37-b1d9-841ed2e57d8a + - bd642132-16be-4031-a96b-0db69a78caf3 status: 200 OK code: 200 duration: "" @@ -1260,15 +1260,15 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14.2; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/servers/f7263b3e-44c8-4cba-9d45-c619cadca2ec + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/servers/82374fa0-07ae-4f6b-8ed6-50ab4db3453a method: GET response: - body: '{"server": {"id": "f7263b3e-44c8-4cba-9d45-c619cadca2ec", "name": "cli-srv-kind-mclean", + body: '{"server": {"id": "82374fa0-07ae-4f6b-8ed6-50ab4db3453a", "name": "cli-srv-hopeful-lovelace", "arch": "x86_64", "commercial_type": "DEV1-S", "boot_type": "local", "organization": - "104ff69c-3f34-48f4-b5f0-e516e4ad526b", "hostname": "cli-srv-kind-mclean", "image": - {"id": "f974feac-abae-4365-b988-8ec7d1cec10d", "name": "Ubuntu Bionic Beaver", - "organization": "51b656e3-4865-41e8-adbc-0c45bdd780db", "root_volume": {"id": - "dd5f5c10-23b1-4c9c-8445-eb6740957c84", "name": "snapshot-de728daa-0bf6-4c64-abf5-a9477e791c83-2019-03-05_10:13", + "104ff69c-3f34-48f4-b5f0-e516e4ad526b", "hostname": "cli-srv-hopeful-lovelace", + "image": {"id": "f974feac-abae-4365-b988-8ec7d1cec10d", "name": "Ubuntu Bionic + Beaver", "organization": "51b656e3-4865-41e8-adbc-0c45bdd780db", "root_volume": + {"id": "dd5f5c10-23b1-4c9c-8445-eb6740957c84", "name": "snapshot-de728daa-0bf6-4c64-abf5-a9477e791c83-2019-03-05_10:13", "volume_type": "l_ssd", "size": 10000000000}, "extra_volumes": {}, "public": true, "arch": "x86_64", "creation_date": "2019-03-05T10:13:15.974944+00:00", "modification_date": "2019-03-05T13:32:29.274319+00:00", "default_bootscript": @@ -1278,38 +1278,38 @@ interactions: "dtb": "", "initrd": "http://169.254.42.24/initrd/initrd-Linux-x86_64-v3.14.6.gz", "bootcmdargs": "LINUX_COMMON scaleway boot=local nbd.max_part=16", "default": false, "zone": "fr-par-1"}, "from_server": null, "state": "available", "zone": - "fr-par-1"}, "volumes": {"0": {"id": "45757012-0ccc-4f14-ba50-39d57ccaaacf", + "fr-par-1"}, "volumes": {"0": {"id": "3fad11e8-9b87-461a-8157-9d105e33e0b7", "name": "snapshot-de728daa-0bf6-4c64-abf5-a9477e791c83-2019-03-05_10:13", "volume_type": "l_ssd", "export_uri": null, "organization": "104ff69c-3f34-48f4-b5f0-e516e4ad526b", - "server": {"id": "f7263b3e-44c8-4cba-9d45-c619cadca2ec", "name": "cli-srv-kind-mclean"}, - "size": 20000000000, "state": "available", "creation_date": "2020-05-05T07:09:09.163927+00:00", - "modification_date": "2020-05-05T07:09:09.416365+00:00", "zone": "fr-par-1"}}, + "server": {"id": "82374fa0-07ae-4f6b-8ed6-50ab4db3453a", "name": "cli-srv-hopeful-lovelace"}, + "size": 20000000000, "state": "available", "creation_date": "2020-05-05T13:39:14.589233+00:00", + "modification_date": "2020-05-05T13:39:15.139075+00:00", "zone": "fr-par-1"}}, "tags": [], "state": "starting", "protected": false, "state_detail": "provisioning node", "public_ip": {"id": "65ae2546-5893-40f2-bcc2-aabee4b4dc2f", "address": "51.158.108.20", "dynamic": false}, "ipv6": null, "extra_networks": [], "dynamic_ip_required": - false, "enable_ipv6": false, "private_ip": "10.65.62.45", "creation_date": "2020-05-05T07:09:09.163927+00:00", - "modification_date": "2020-05-05T07:09:09.491019+00:00", "bootscript": {"id": - "15fbd2f7-a0f9-412b-8502-6a44da8d98b8", "public": false, "title": "x86_64 mainline - 4.9.93 rev1", "architecture": "x86_64", "organization": "11111111-1111-4111-8111-111111111111", - "kernel": "http://169.254.42.24/kernel/x86_64-mainline-lts-4.9-4.9.93-rev1/vmlinuz-4.9.93", + false, "enable_ipv6": false, "private_ip": "10.65.104.23", "creation_date": + "2020-05-05T13:39:14.589233+00:00", "modification_date": "2020-05-05T13:39:15.222014+00:00", + "bootscript": {"id": "15fbd2f7-a0f9-412b-8502-6a44da8d98b8", "public": false, + "title": "x86_64 mainline 4.9.93 rev1", "architecture": "x86_64", "organization": + "11111111-1111-4111-8111-111111111111", "kernel": "http://169.254.42.24/kernel/x86_64-mainline-lts-4.9-4.9.93-rev1/vmlinuz-4.9.93", "dtb": "", "initrd": "http://169.254.42.24/initrd/initrd-Linux-x86_64-v3.14.6.gz", "bootcmdargs": "LINUX_COMMON scaleway boot=local nbd.max_part=16", "default": false, "zone": "fr-par-1"}, "security_group": {"id": "00783f68-b80e-4f04-8520-bfc3249380be", "name": "Default security group"}, "location": {"zone_id": "par1", "platform_id": - "14", "cluster_id": "18", "hypervisor_id": "2002", "node_id": "23"}, "maintenances": + "14", "cluster_id": "19", "hypervisor_id": "1101", "node_id": "12"}, "maintenances": [], "allowed_actions": ["stop_in_place", "backup"], "placement_group": null, "private_nics": [], "zone": "fr-par-1"}}' headers: Cache-Control: - no-cache Content-Length: - - "3049" + - "3065" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Tue, 05 May 2020 07:09:14 GMT + - Tue, 05 May 2020 13:39:20 GMT Server: - scaleway_api Strict-Transport-Security: @@ -1319,7 +1319,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 04c8f66a-b6e6-4c4e-9fe7-57f9f8be8d83 + - dcd78277-36f7-43e5-89ce-80662697f21d status: 200 OK code: 200 duration: "" @@ -1329,15 +1329,15 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14.2; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/servers/f7263b3e-44c8-4cba-9d45-c619cadca2ec + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/servers/82374fa0-07ae-4f6b-8ed6-50ab4db3453a method: GET response: - body: '{"server": {"id": "f7263b3e-44c8-4cba-9d45-c619cadca2ec", "name": "cli-srv-kind-mclean", + body: '{"server": {"id": "82374fa0-07ae-4f6b-8ed6-50ab4db3453a", "name": "cli-srv-hopeful-lovelace", "arch": "x86_64", "commercial_type": "DEV1-S", "boot_type": "local", "organization": - "104ff69c-3f34-48f4-b5f0-e516e4ad526b", "hostname": "cli-srv-kind-mclean", "image": - {"id": "f974feac-abae-4365-b988-8ec7d1cec10d", "name": "Ubuntu Bionic Beaver", - "organization": "51b656e3-4865-41e8-adbc-0c45bdd780db", "root_volume": {"id": - "dd5f5c10-23b1-4c9c-8445-eb6740957c84", "name": "snapshot-de728daa-0bf6-4c64-abf5-a9477e791c83-2019-03-05_10:13", + "104ff69c-3f34-48f4-b5f0-e516e4ad526b", "hostname": "cli-srv-hopeful-lovelace", + "image": {"id": "f974feac-abae-4365-b988-8ec7d1cec10d", "name": "Ubuntu Bionic + Beaver", "organization": "51b656e3-4865-41e8-adbc-0c45bdd780db", "root_volume": + {"id": "dd5f5c10-23b1-4c9c-8445-eb6740957c84", "name": "snapshot-de728daa-0bf6-4c64-abf5-a9477e791c83-2019-03-05_10:13", "volume_type": "l_ssd", "size": 10000000000}, "extra_volumes": {}, "public": true, "arch": "x86_64", "creation_date": "2019-03-05T10:13:15.974944+00:00", "modification_date": "2019-03-05T13:32:29.274319+00:00", "default_bootscript": @@ -1347,38 +1347,38 @@ interactions: "dtb": "", "initrd": "http://169.254.42.24/initrd/initrd-Linux-x86_64-v3.14.6.gz", "bootcmdargs": "LINUX_COMMON scaleway boot=local nbd.max_part=16", "default": false, "zone": "fr-par-1"}, "from_server": null, "state": "available", "zone": - "fr-par-1"}, "volumes": {"0": {"id": "45757012-0ccc-4f14-ba50-39d57ccaaacf", + "fr-par-1"}, "volumes": {"0": {"id": "3fad11e8-9b87-461a-8157-9d105e33e0b7", "name": "snapshot-de728daa-0bf6-4c64-abf5-a9477e791c83-2019-03-05_10:13", "volume_type": "l_ssd", "export_uri": null, "organization": "104ff69c-3f34-48f4-b5f0-e516e4ad526b", - "server": {"id": "f7263b3e-44c8-4cba-9d45-c619cadca2ec", "name": "cli-srv-kind-mclean"}, - "size": 20000000000, "state": "available", "creation_date": "2020-05-05T07:09:09.163927+00:00", - "modification_date": "2020-05-05T07:09:09.416365+00:00", "zone": "fr-par-1"}}, + "server": {"id": "82374fa0-07ae-4f6b-8ed6-50ab4db3453a", "name": "cli-srv-hopeful-lovelace"}, + "size": 20000000000, "state": "available", "creation_date": "2020-05-05T13:39:14.589233+00:00", + "modification_date": "2020-05-05T13:39:15.139075+00:00", "zone": "fr-par-1"}}, "tags": [], "state": "starting", "protected": false, "state_detail": "provisioning node", "public_ip": {"id": "65ae2546-5893-40f2-bcc2-aabee4b4dc2f", "address": "51.158.108.20", "dynamic": false}, "ipv6": null, "extra_networks": [], "dynamic_ip_required": - false, "enable_ipv6": false, "private_ip": "10.65.62.45", "creation_date": "2020-05-05T07:09:09.163927+00:00", - "modification_date": "2020-05-05T07:09:09.491019+00:00", "bootscript": {"id": - "15fbd2f7-a0f9-412b-8502-6a44da8d98b8", "public": false, "title": "x86_64 mainline - 4.9.93 rev1", "architecture": "x86_64", "organization": "11111111-1111-4111-8111-111111111111", - "kernel": "http://169.254.42.24/kernel/x86_64-mainline-lts-4.9-4.9.93-rev1/vmlinuz-4.9.93", + false, "enable_ipv6": false, "private_ip": "10.65.104.23", "creation_date": + "2020-05-05T13:39:14.589233+00:00", "modification_date": "2020-05-05T13:39:15.222014+00:00", + "bootscript": {"id": "15fbd2f7-a0f9-412b-8502-6a44da8d98b8", "public": false, + "title": "x86_64 mainline 4.9.93 rev1", "architecture": "x86_64", "organization": + "11111111-1111-4111-8111-111111111111", "kernel": "http://169.254.42.24/kernel/x86_64-mainline-lts-4.9-4.9.93-rev1/vmlinuz-4.9.93", "dtb": "", "initrd": "http://169.254.42.24/initrd/initrd-Linux-x86_64-v3.14.6.gz", "bootcmdargs": "LINUX_COMMON scaleway boot=local nbd.max_part=16", "default": false, "zone": "fr-par-1"}, "security_group": {"id": "00783f68-b80e-4f04-8520-bfc3249380be", "name": "Default security group"}, "location": {"zone_id": "par1", "platform_id": - "14", "cluster_id": "18", "hypervisor_id": "2002", "node_id": "23"}, "maintenances": + "14", "cluster_id": "19", "hypervisor_id": "1101", "node_id": "12"}, "maintenances": [], "allowed_actions": ["stop_in_place", "backup"], "placement_group": null, "private_nics": [], "zone": "fr-par-1"}}' headers: Cache-Control: - no-cache Content-Length: - - "3049" + - "3065" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Tue, 05 May 2020 07:09:19 GMT + - Tue, 05 May 2020 13:39:25 GMT Server: - scaleway_api Strict-Transport-Security: @@ -1388,7 +1388,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 47fa29f9-1fb7-46df-aeae-2a9f4ea0ec9c + - 56915d0c-7687-4502-b0d4-26621ce81558 status: 200 OK code: 200 duration: "" @@ -1398,15 +1398,15 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14.2; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/servers/f7263b3e-44c8-4cba-9d45-c619cadca2ec + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/servers/82374fa0-07ae-4f6b-8ed6-50ab4db3453a method: GET response: - body: '{"server": {"id": "f7263b3e-44c8-4cba-9d45-c619cadca2ec", "name": "cli-srv-kind-mclean", + body: '{"server": {"id": "82374fa0-07ae-4f6b-8ed6-50ab4db3453a", "name": "cli-srv-hopeful-lovelace", "arch": "x86_64", "commercial_type": "DEV1-S", "boot_type": "local", "organization": - "104ff69c-3f34-48f4-b5f0-e516e4ad526b", "hostname": "cli-srv-kind-mclean", "image": - {"id": "f974feac-abae-4365-b988-8ec7d1cec10d", "name": "Ubuntu Bionic Beaver", - "organization": "51b656e3-4865-41e8-adbc-0c45bdd780db", "root_volume": {"id": - "dd5f5c10-23b1-4c9c-8445-eb6740957c84", "name": "snapshot-de728daa-0bf6-4c64-abf5-a9477e791c83-2019-03-05_10:13", + "104ff69c-3f34-48f4-b5f0-e516e4ad526b", "hostname": "cli-srv-hopeful-lovelace", + "image": {"id": "f974feac-abae-4365-b988-8ec7d1cec10d", "name": "Ubuntu Bionic + Beaver", "organization": "51b656e3-4865-41e8-adbc-0c45bdd780db", "root_volume": + {"id": "dd5f5c10-23b1-4c9c-8445-eb6740957c84", "name": "snapshot-de728daa-0bf6-4c64-abf5-a9477e791c83-2019-03-05_10:13", "volume_type": "l_ssd", "size": 10000000000}, "extra_volumes": {}, "public": true, "arch": "x86_64", "creation_date": "2019-03-05T10:13:15.974944+00:00", "modification_date": "2019-03-05T13:32:29.274319+00:00", "default_bootscript": @@ -1416,38 +1416,38 @@ interactions: "dtb": "", "initrd": "http://169.254.42.24/initrd/initrd-Linux-x86_64-v3.14.6.gz", "bootcmdargs": "LINUX_COMMON scaleway boot=local nbd.max_part=16", "default": false, "zone": "fr-par-1"}, "from_server": null, "state": "available", "zone": - "fr-par-1"}, "volumes": {"0": {"id": "45757012-0ccc-4f14-ba50-39d57ccaaacf", + "fr-par-1"}, "volumes": {"0": {"id": "3fad11e8-9b87-461a-8157-9d105e33e0b7", "name": "snapshot-de728daa-0bf6-4c64-abf5-a9477e791c83-2019-03-05_10:13", "volume_type": "l_ssd", "export_uri": null, "organization": "104ff69c-3f34-48f4-b5f0-e516e4ad526b", - "server": {"id": "f7263b3e-44c8-4cba-9d45-c619cadca2ec", "name": "cli-srv-kind-mclean"}, - "size": 20000000000, "state": "available", "creation_date": "2020-05-05T07:09:09.163927+00:00", - "modification_date": "2020-05-05T07:09:09.416365+00:00", "zone": "fr-par-1"}}, + "server": {"id": "82374fa0-07ae-4f6b-8ed6-50ab4db3453a", "name": "cli-srv-hopeful-lovelace"}, + "size": 20000000000, "state": "available", "creation_date": "2020-05-05T13:39:14.589233+00:00", + "modification_date": "2020-05-05T13:39:15.139075+00:00", "zone": "fr-par-1"}}, "tags": [], "state": "starting", "protected": false, "state_detail": "provisioning node", "public_ip": {"id": "65ae2546-5893-40f2-bcc2-aabee4b4dc2f", "address": "51.158.108.20", "dynamic": false}, "ipv6": null, "extra_networks": [], "dynamic_ip_required": - false, "enable_ipv6": false, "private_ip": "10.65.62.45", "creation_date": "2020-05-05T07:09:09.163927+00:00", - "modification_date": "2020-05-05T07:09:09.491019+00:00", "bootscript": {"id": - "15fbd2f7-a0f9-412b-8502-6a44da8d98b8", "public": false, "title": "x86_64 mainline - 4.9.93 rev1", "architecture": "x86_64", "organization": "11111111-1111-4111-8111-111111111111", - "kernel": "http://169.254.42.24/kernel/x86_64-mainline-lts-4.9-4.9.93-rev1/vmlinuz-4.9.93", + false, "enable_ipv6": false, "private_ip": "10.65.104.23", "creation_date": + "2020-05-05T13:39:14.589233+00:00", "modification_date": "2020-05-05T13:39:15.222014+00:00", + "bootscript": {"id": "15fbd2f7-a0f9-412b-8502-6a44da8d98b8", "public": false, + "title": "x86_64 mainline 4.9.93 rev1", "architecture": "x86_64", "organization": + "11111111-1111-4111-8111-111111111111", "kernel": "http://169.254.42.24/kernel/x86_64-mainline-lts-4.9-4.9.93-rev1/vmlinuz-4.9.93", "dtb": "", "initrd": "http://169.254.42.24/initrd/initrd-Linux-x86_64-v3.14.6.gz", "bootcmdargs": "LINUX_COMMON scaleway boot=local nbd.max_part=16", "default": false, "zone": "fr-par-1"}, "security_group": {"id": "00783f68-b80e-4f04-8520-bfc3249380be", "name": "Default security group"}, "location": {"zone_id": "par1", "platform_id": - "14", "cluster_id": "18", "hypervisor_id": "2002", "node_id": "23"}, "maintenances": + "14", "cluster_id": "19", "hypervisor_id": "1101", "node_id": "12"}, "maintenances": [], "allowed_actions": ["stop_in_place", "backup"], "placement_group": null, "private_nics": [], "zone": "fr-par-1"}}' headers: Cache-Control: - no-cache Content-Length: - - "3049" + - "3065" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Tue, 05 May 2020 07:09:24 GMT + - Tue, 05 May 2020 13:39:30 GMT Server: - scaleway_api Strict-Transport-Security: @@ -1457,7 +1457,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 58321a82-9d9f-4a19-a2b7-9fb756aecb03 + - 9c65d6d5-8a72-4215-9e64-a8ee3d83ea5b status: 200 OK code: 200 duration: "" @@ -1467,15 +1467,15 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14.2; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/servers/f7263b3e-44c8-4cba-9d45-c619cadca2ec + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/servers/82374fa0-07ae-4f6b-8ed6-50ab4db3453a method: GET response: - body: '{"server": {"id": "f7263b3e-44c8-4cba-9d45-c619cadca2ec", "name": "cli-srv-kind-mclean", + body: '{"server": {"id": "82374fa0-07ae-4f6b-8ed6-50ab4db3453a", "name": "cli-srv-hopeful-lovelace", "arch": "x86_64", "commercial_type": "DEV1-S", "boot_type": "local", "organization": - "104ff69c-3f34-48f4-b5f0-e516e4ad526b", "hostname": "cli-srv-kind-mclean", "image": - {"id": "f974feac-abae-4365-b988-8ec7d1cec10d", "name": "Ubuntu Bionic Beaver", - "organization": "51b656e3-4865-41e8-adbc-0c45bdd780db", "root_volume": {"id": - "dd5f5c10-23b1-4c9c-8445-eb6740957c84", "name": "snapshot-de728daa-0bf6-4c64-abf5-a9477e791c83-2019-03-05_10:13", + "104ff69c-3f34-48f4-b5f0-e516e4ad526b", "hostname": "cli-srv-hopeful-lovelace", + "image": {"id": "f974feac-abae-4365-b988-8ec7d1cec10d", "name": "Ubuntu Bionic + Beaver", "organization": "51b656e3-4865-41e8-adbc-0c45bdd780db", "root_volume": + {"id": "dd5f5c10-23b1-4c9c-8445-eb6740957c84", "name": "snapshot-de728daa-0bf6-4c64-abf5-a9477e791c83-2019-03-05_10:13", "volume_type": "l_ssd", "size": 10000000000}, "extra_volumes": {}, "public": true, "arch": "x86_64", "creation_date": "2019-03-05T10:13:15.974944+00:00", "modification_date": "2019-03-05T13:32:29.274319+00:00", "default_bootscript": @@ -1485,38 +1485,38 @@ interactions: "dtb": "", "initrd": "http://169.254.42.24/initrd/initrd-Linux-x86_64-v3.14.6.gz", "bootcmdargs": "LINUX_COMMON scaleway boot=local nbd.max_part=16", "default": false, "zone": "fr-par-1"}, "from_server": null, "state": "available", "zone": - "fr-par-1"}, "volumes": {"0": {"id": "45757012-0ccc-4f14-ba50-39d57ccaaacf", + "fr-par-1"}, "volumes": {"0": {"id": "3fad11e8-9b87-461a-8157-9d105e33e0b7", "name": "snapshot-de728daa-0bf6-4c64-abf5-a9477e791c83-2019-03-05_10:13", "volume_type": "l_ssd", "export_uri": null, "organization": "104ff69c-3f34-48f4-b5f0-e516e4ad526b", - "server": {"id": "f7263b3e-44c8-4cba-9d45-c619cadca2ec", "name": "cli-srv-kind-mclean"}, - "size": 20000000000, "state": "available", "creation_date": "2020-05-05T07:09:09.163927+00:00", - "modification_date": "2020-05-05T07:09:09.416365+00:00", "zone": "fr-par-1"}}, + "server": {"id": "82374fa0-07ae-4f6b-8ed6-50ab4db3453a", "name": "cli-srv-hopeful-lovelace"}, + "size": 20000000000, "state": "available", "creation_date": "2020-05-05T13:39:14.589233+00:00", + "modification_date": "2020-05-05T13:39:15.139075+00:00", "zone": "fr-par-1"}}, "tags": [], "state": "starting", "protected": false, "state_detail": "provisioning node", "public_ip": {"id": "65ae2546-5893-40f2-bcc2-aabee4b4dc2f", "address": "51.158.108.20", "dynamic": false}, "ipv6": null, "extra_networks": [], "dynamic_ip_required": - false, "enable_ipv6": false, "private_ip": "10.65.62.45", "creation_date": "2020-05-05T07:09:09.163927+00:00", - "modification_date": "2020-05-05T07:09:09.491019+00:00", "bootscript": {"id": - "15fbd2f7-a0f9-412b-8502-6a44da8d98b8", "public": false, "title": "x86_64 mainline - 4.9.93 rev1", "architecture": "x86_64", "organization": "11111111-1111-4111-8111-111111111111", - "kernel": "http://169.254.42.24/kernel/x86_64-mainline-lts-4.9-4.9.93-rev1/vmlinuz-4.9.93", + false, "enable_ipv6": false, "private_ip": "10.65.104.23", "creation_date": + "2020-05-05T13:39:14.589233+00:00", "modification_date": "2020-05-05T13:39:15.222014+00:00", + "bootscript": {"id": "15fbd2f7-a0f9-412b-8502-6a44da8d98b8", "public": false, + "title": "x86_64 mainline 4.9.93 rev1", "architecture": "x86_64", "organization": + "11111111-1111-4111-8111-111111111111", "kernel": "http://169.254.42.24/kernel/x86_64-mainline-lts-4.9-4.9.93-rev1/vmlinuz-4.9.93", "dtb": "", "initrd": "http://169.254.42.24/initrd/initrd-Linux-x86_64-v3.14.6.gz", "bootcmdargs": "LINUX_COMMON scaleway boot=local nbd.max_part=16", "default": false, "zone": "fr-par-1"}, "security_group": {"id": "00783f68-b80e-4f04-8520-bfc3249380be", "name": "Default security group"}, "location": {"zone_id": "par1", "platform_id": - "14", "cluster_id": "18", "hypervisor_id": "2002", "node_id": "23"}, "maintenances": + "14", "cluster_id": "19", "hypervisor_id": "1101", "node_id": "12"}, "maintenances": [], "allowed_actions": ["stop_in_place", "backup"], "placement_group": null, "private_nics": [], "zone": "fr-par-1"}}' headers: Cache-Control: - no-cache Content-Length: - - "3049" + - "3065" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Tue, 05 May 2020 07:09:30 GMT + - Tue, 05 May 2020 13:39:35 GMT Server: - scaleway_api Strict-Transport-Security: @@ -1526,7 +1526,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 867101bc-ad9c-4563-b7df-3464918e8d65 + - 04e3a913-465f-434d-a86a-7237fcc36f40 status: 200 OK code: 200 duration: "" @@ -1536,15 +1536,15 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14.2; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/servers/f7263b3e-44c8-4cba-9d45-c619cadca2ec + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/servers/82374fa0-07ae-4f6b-8ed6-50ab4db3453a method: GET response: - body: '{"server": {"id": "f7263b3e-44c8-4cba-9d45-c619cadca2ec", "name": "cli-srv-kind-mclean", + body: '{"server": {"id": "82374fa0-07ae-4f6b-8ed6-50ab4db3453a", "name": "cli-srv-hopeful-lovelace", "arch": "x86_64", "commercial_type": "DEV1-S", "boot_type": "local", "organization": - "104ff69c-3f34-48f4-b5f0-e516e4ad526b", "hostname": "cli-srv-kind-mclean", "image": - {"id": "f974feac-abae-4365-b988-8ec7d1cec10d", "name": "Ubuntu Bionic Beaver", - "organization": "51b656e3-4865-41e8-adbc-0c45bdd780db", "root_volume": {"id": - "dd5f5c10-23b1-4c9c-8445-eb6740957c84", "name": "snapshot-de728daa-0bf6-4c64-abf5-a9477e791c83-2019-03-05_10:13", + "104ff69c-3f34-48f4-b5f0-e516e4ad526b", "hostname": "cli-srv-hopeful-lovelace", + "image": {"id": "f974feac-abae-4365-b988-8ec7d1cec10d", "name": "Ubuntu Bionic + Beaver", "organization": "51b656e3-4865-41e8-adbc-0c45bdd780db", "root_volume": + {"id": "dd5f5c10-23b1-4c9c-8445-eb6740957c84", "name": "snapshot-de728daa-0bf6-4c64-abf5-a9477e791c83-2019-03-05_10:13", "volume_type": "l_ssd", "size": 10000000000}, "extra_volumes": {}, "public": true, "arch": "x86_64", "creation_date": "2019-03-05T10:13:15.974944+00:00", "modification_date": "2019-03-05T13:32:29.274319+00:00", "default_bootscript": @@ -1554,38 +1554,38 @@ interactions: "dtb": "", "initrd": "http://169.254.42.24/initrd/initrd-Linux-x86_64-v3.14.6.gz", "bootcmdargs": "LINUX_COMMON scaleway boot=local nbd.max_part=16", "default": false, "zone": "fr-par-1"}, "from_server": null, "state": "available", "zone": - "fr-par-1"}, "volumes": {"0": {"id": "45757012-0ccc-4f14-ba50-39d57ccaaacf", + "fr-par-1"}, "volumes": {"0": {"id": "3fad11e8-9b87-461a-8157-9d105e33e0b7", "name": "snapshot-de728daa-0bf6-4c64-abf5-a9477e791c83-2019-03-05_10:13", "volume_type": "l_ssd", "export_uri": null, "organization": "104ff69c-3f34-48f4-b5f0-e516e4ad526b", - "server": {"id": "f7263b3e-44c8-4cba-9d45-c619cadca2ec", "name": "cli-srv-kind-mclean"}, - "size": 20000000000, "state": "available", "creation_date": "2020-05-05T07:09:09.163927+00:00", - "modification_date": "2020-05-05T07:09:09.416365+00:00", "zone": "fr-par-1"}}, + "server": {"id": "82374fa0-07ae-4f6b-8ed6-50ab4db3453a", "name": "cli-srv-hopeful-lovelace"}, + "size": 20000000000, "state": "available", "creation_date": "2020-05-05T13:39:14.589233+00:00", + "modification_date": "2020-05-05T13:39:15.139075+00:00", "zone": "fr-par-1"}}, "tags": [], "state": "running", "protected": false, "state_detail": "booting kernel", "public_ip": {"id": "65ae2546-5893-40f2-bcc2-aabee4b4dc2f", "address": "51.158.108.20", "dynamic": false}, "ipv6": null, "extra_networks": [], "dynamic_ip_required": - false, "enable_ipv6": false, "private_ip": "10.65.62.45", "creation_date": "2020-05-05T07:09:09.163927+00:00", - "modification_date": "2020-05-05T07:09:32.925061+00:00", "bootscript": {"id": - "15fbd2f7-a0f9-412b-8502-6a44da8d98b8", "public": false, "title": "x86_64 mainline - 4.9.93 rev1", "architecture": "x86_64", "organization": "11111111-1111-4111-8111-111111111111", - "kernel": "http://169.254.42.24/kernel/x86_64-mainline-lts-4.9-4.9.93-rev1/vmlinuz-4.9.93", + false, "enable_ipv6": false, "private_ip": "10.65.104.23", "creation_date": + "2020-05-05T13:39:14.589233+00:00", "modification_date": "2020-05-05T13:39:37.477786+00:00", + "bootscript": {"id": "15fbd2f7-a0f9-412b-8502-6a44da8d98b8", "public": false, + "title": "x86_64 mainline 4.9.93 rev1", "architecture": "x86_64", "organization": + "11111111-1111-4111-8111-111111111111", "kernel": "http://169.254.42.24/kernel/x86_64-mainline-lts-4.9-4.9.93-rev1/vmlinuz-4.9.93", "dtb": "", "initrd": "http://169.254.42.24/initrd/initrd-Linux-x86_64-v3.14.6.gz", "bootcmdargs": "LINUX_COMMON scaleway boot=local nbd.max_part=16", "default": false, "zone": "fr-par-1"}, "security_group": {"id": "00783f68-b80e-4f04-8520-bfc3249380be", "name": "Default security group"}, "location": {"zone_id": "par1", "platform_id": - "14", "cluster_id": "18", "hypervisor_id": "2002", "node_id": "23"}, "maintenances": + "14", "cluster_id": "19", "hypervisor_id": "1101", "node_id": "12"}, "maintenances": [], "allowed_actions": ["poweroff", "terminate", "reboot", "stop_in_place", "backup"], "placement_group": null, "private_nics": [], "zone": "fr-par-1"}}' headers: Cache-Control: - no-cache Content-Length: - - "3080" + - "3096" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Tue, 05 May 2020 07:09:35 GMT + - Tue, 05 May 2020 13:39:41 GMT Server: - scaleway_api Strict-Transport-Security: @@ -1595,7 +1595,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - e93c040c-a99f-45c3-b402-341a1799b8e7 + - d89bce58-12b2-4d74-b579-46f43e1f669f status: 200 OK code: 200 duration: "" @@ -1605,15 +1605,15 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14.2; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/servers/f7263b3e-44c8-4cba-9d45-c619cadca2ec + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/servers/82374fa0-07ae-4f6b-8ed6-50ab4db3453a method: GET response: - body: '{"server": {"id": "f7263b3e-44c8-4cba-9d45-c619cadca2ec", "name": "cli-srv-kind-mclean", + body: '{"server": {"id": "82374fa0-07ae-4f6b-8ed6-50ab4db3453a", "name": "cli-srv-hopeful-lovelace", "arch": "x86_64", "commercial_type": "DEV1-S", "boot_type": "local", "organization": - "104ff69c-3f34-48f4-b5f0-e516e4ad526b", "hostname": "cli-srv-kind-mclean", "image": - {"id": "f974feac-abae-4365-b988-8ec7d1cec10d", "name": "Ubuntu Bionic Beaver", - "organization": "51b656e3-4865-41e8-adbc-0c45bdd780db", "root_volume": {"id": - "dd5f5c10-23b1-4c9c-8445-eb6740957c84", "name": "snapshot-de728daa-0bf6-4c64-abf5-a9477e791c83-2019-03-05_10:13", + "104ff69c-3f34-48f4-b5f0-e516e4ad526b", "hostname": "cli-srv-hopeful-lovelace", + "image": {"id": "f974feac-abae-4365-b988-8ec7d1cec10d", "name": "Ubuntu Bionic + Beaver", "organization": "51b656e3-4865-41e8-adbc-0c45bdd780db", "root_volume": + {"id": "dd5f5c10-23b1-4c9c-8445-eb6740957c84", "name": "snapshot-de728daa-0bf6-4c64-abf5-a9477e791c83-2019-03-05_10:13", "volume_type": "l_ssd", "size": 10000000000}, "extra_volumes": {}, "public": true, "arch": "x86_64", "creation_date": "2019-03-05T10:13:15.974944+00:00", "modification_date": "2019-03-05T13:32:29.274319+00:00", "default_bootscript": @@ -1623,38 +1623,38 @@ interactions: "dtb": "", "initrd": "http://169.254.42.24/initrd/initrd-Linux-x86_64-v3.14.6.gz", "bootcmdargs": "LINUX_COMMON scaleway boot=local nbd.max_part=16", "default": false, "zone": "fr-par-1"}, "from_server": null, "state": "available", "zone": - "fr-par-1"}, "volumes": {"0": {"id": "45757012-0ccc-4f14-ba50-39d57ccaaacf", + "fr-par-1"}, "volumes": {"0": {"id": "3fad11e8-9b87-461a-8157-9d105e33e0b7", "name": "snapshot-de728daa-0bf6-4c64-abf5-a9477e791c83-2019-03-05_10:13", "volume_type": "l_ssd", "export_uri": null, "organization": "104ff69c-3f34-48f4-b5f0-e516e4ad526b", - "server": {"id": "f7263b3e-44c8-4cba-9d45-c619cadca2ec", "name": "cli-srv-kind-mclean"}, - "size": 20000000000, "state": "available", "creation_date": "2020-05-05T07:09:09.163927+00:00", - "modification_date": "2020-05-05T07:09:09.416365+00:00", "zone": "fr-par-1"}}, + "server": {"id": "82374fa0-07ae-4f6b-8ed6-50ab4db3453a", "name": "cli-srv-hopeful-lovelace"}, + "size": 20000000000, "state": "available", "creation_date": "2020-05-05T13:39:14.589233+00:00", + "modification_date": "2020-05-05T13:39:15.139075+00:00", "zone": "fr-par-1"}}, "tags": [], "state": "running", "protected": false, "state_detail": "booting kernel", "public_ip": {"id": "65ae2546-5893-40f2-bcc2-aabee4b4dc2f", "address": "51.158.108.20", "dynamic": false}, "ipv6": null, "extra_networks": [], "dynamic_ip_required": - false, "enable_ipv6": false, "private_ip": "10.65.62.45", "creation_date": "2020-05-05T07:09:09.163927+00:00", - "modification_date": "2020-05-05T07:09:32.925061+00:00", "bootscript": {"id": - "15fbd2f7-a0f9-412b-8502-6a44da8d98b8", "public": false, "title": "x86_64 mainline - 4.9.93 rev1", "architecture": "x86_64", "organization": "11111111-1111-4111-8111-111111111111", - "kernel": "http://169.254.42.24/kernel/x86_64-mainline-lts-4.9-4.9.93-rev1/vmlinuz-4.9.93", + false, "enable_ipv6": false, "private_ip": "10.65.104.23", "creation_date": + "2020-05-05T13:39:14.589233+00:00", "modification_date": "2020-05-05T13:39:37.477786+00:00", + "bootscript": {"id": "15fbd2f7-a0f9-412b-8502-6a44da8d98b8", "public": false, + "title": "x86_64 mainline 4.9.93 rev1", "architecture": "x86_64", "organization": + "11111111-1111-4111-8111-111111111111", "kernel": "http://169.254.42.24/kernel/x86_64-mainline-lts-4.9-4.9.93-rev1/vmlinuz-4.9.93", "dtb": "", "initrd": "http://169.254.42.24/initrd/initrd-Linux-x86_64-v3.14.6.gz", "bootcmdargs": "LINUX_COMMON scaleway boot=local nbd.max_part=16", "default": false, "zone": "fr-par-1"}, "security_group": {"id": "00783f68-b80e-4f04-8520-bfc3249380be", "name": "Default security group"}, "location": {"zone_id": "par1", "platform_id": - "14", "cluster_id": "18", "hypervisor_id": "2002", "node_id": "23"}, "maintenances": + "14", "cluster_id": "19", "hypervisor_id": "1101", "node_id": "12"}, "maintenances": [], "allowed_actions": ["poweroff", "terminate", "reboot", "stop_in_place", "backup"], "placement_group": null, "private_nics": [], "zone": "fr-par-1"}}' headers: Cache-Control: - no-cache Content-Length: - - "3080" + - "3096" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Tue, 05 May 2020 07:09:35 GMT + - Tue, 05 May 2020 13:39:41 GMT Server: - scaleway_api Strict-Transport-Security: @@ -1664,7 +1664,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 022d0f10-0c11-4cdb-91d9-5546fb2b6618 + - 903b0566-71af-40ee-be72-2205e152a982 status: 200 OK code: 200 duration: "" @@ -1676,13 +1676,13 @@ interactions: - application/json User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14.2; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/servers/f7263b3e-44c8-4cba-9d45-c619cadca2ec/action + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/servers/82374fa0-07ae-4f6b-8ed6-50ab4db3453a/action method: POST response: body: '{"task": {"status": "pending", "description": "server_terminate", "href_result": - "/servers/f7263b3e-44c8-4cba-9d45-c619cadca2ec", "terminated_at": null, "href_from": - "/servers/f7263b3e-44c8-4cba-9d45-c619cadca2ec/action", "started_at": "2020-05-05T07:09:35.830799+00:00", - "id": "b94a2bee-061b-4101-bde2-b3be4dbf5e60"}}' + "/servers/82374fa0-07ae-4f6b-8ed6-50ab4db3453a", "terminated_at": null, "href_from": + "/servers/82374fa0-07ae-4f6b-8ed6-50ab4db3453a/action", "started_at": "2020-05-05T13:39:42.143958+00:00", + "id": "b481124c-8bb9-4e97-9790-f47ce7a094be"}}' headers: Content-Length: - "318" @@ -1691,9 +1691,9 @@ interactions: Content-Type: - application/json Date: - - Tue, 05 May 2020 07:09:35 GMT + - Tue, 05 May 2020 13:39:41 GMT Location: - - https://cp-par1.scaleway.com/tasks/b94a2bee-061b-4101-bde2-b3be4dbf5e60 + - https://cp-par1.scaleway.com/tasks/b481124c-8bb9-4e97-9790-f47ce7a094be Server: - scaleway_api Strict-Transport-Security: @@ -1703,10 +1703,47 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 95ab75d6-a5fe-4fe0-abe2-42d5da4f24b1 + - 915b8477-6a9a-41ed-a02e-29a1ab9b3de1 status: 202 Accepted code: 202 duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14.2; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/ips/65ae2546-5893-40f2-bcc2-aabee4b4dc2f + method: GET + response: + body: '{"ip": {"id": "65ae2546-5893-40f2-bcc2-aabee4b4dc2f", "address": "51.158.108.20", + "reverse": null, "server": {"id": "82374fa0-07ae-4f6b-8ed6-50ab4db3453a", "name": + "cli-srv-hopeful-lovelace"}, "organization": "104ff69c-3f34-48f4-b5f0-e516e4ad526b", + "zone": "fr-par-1", "tags": []}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - "281" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Tue, 05 May 2020 13:39:41 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 6fcc7489-1f56-4212-aff4-be7714d8dbda + status: 200 OK + code: 200 + duration: "" - request: body: "" form: {} @@ -1725,7 +1762,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 05 May 2020 07:09:35 GMT + - Tue, 05 May 2020 13:39:41 GMT Server: - scaleway_api Strict-Transport-Security: @@ -1735,7 +1772,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - c210159e-3668-4cdd-b104-ac48adfafdba + - 5706fe09-0021-4ca6-aa6f-dd6a55c90578 status: 204 No Content code: 204 duration: "" diff --git a/internal/namespaces/instance/v1/testdata/test-server-terminate-without-ip.stdout.golden b/internal/namespaces/instance/v1/testdata/test-server-terminate-without-ip.stdout.golden new file mode 100644 index 0000000000..272a2c65e7 --- /dev/null +++ b/internal/namespaces/instance/v1/testdata/test-server-terminate-without-ip.stdout.golden @@ -0,0 +1 @@ +✅ Success.