From b7b15d2756dc72ac061a897eafc81f8633949064 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20L=C3=A9one?= Date: Thu, 12 Mar 2020 16:34:54 +0100 Subject: [PATCH 01/67] feat(baremetal): Add create server with type --- .../baremetal/v1alpha1/custom_server.go | 7 + .../v1alpha1/custom_server_create.go | 166 ++++++++++++++++++ .../v1alpha1/custom_server_create_test.go | 97 ++++++++++ .../baremetal/v1alpha1/helpers_test.go | 1 + ...create-server-simple-default.stderr.golden | 4 + 5 files changed, 275 insertions(+) create mode 100644 internal/namespaces/baremetal/v1alpha1/custom_server.go create mode 100644 internal/namespaces/baremetal/v1alpha1/custom_server_create.go create mode 100644 internal/namespaces/baremetal/v1alpha1/custom_server_create_test.go create mode 100644 internal/namespaces/baremetal/v1alpha1/helpers_test.go create mode 100644 internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.stderr.golden diff --git a/internal/namespaces/baremetal/v1alpha1/custom_server.go b/internal/namespaces/baremetal/v1alpha1/custom_server.go new file mode 100644 index 0000000000..cf361ac608 --- /dev/null +++ b/internal/namespaces/baremetal/v1alpha1/custom_server.go @@ -0,0 +1,7 @@ +package baremetal + +import "time" + +const ( + serverActionTimeout = 10 * time.Minute +) diff --git a/internal/namespaces/baremetal/v1alpha1/custom_server_create.go b/internal/namespaces/baremetal/v1alpha1/custom_server_create.go new file mode 100644 index 0000000000..03b429e7ab --- /dev/null +++ b/internal/namespaces/baremetal/v1alpha1/custom_server_create.go @@ -0,0 +1,166 @@ +package baremetal + +import ( + "context" + "log" + "reflect" + + "github.com/scaleway/scaleway-cli/internal/core" + baremetal "github.com/scaleway/scaleway-sdk-go/api/baremetal/v1alpha1" + "github.com/scaleway/scaleway-sdk-go/api/instance/v1" + "github.com/scaleway/scaleway-sdk-go/scw" +) + +type CreateServerRequest struct { + Zone scw.Zone `json:"-"` + // OfferID offer ID of the new server + OfferID string `json:"offer_id"` + // OrganizationID organization ID with which the server will be created + OrganizationID string `json:"organization_id"` + // Name name of the server (≠hostname) + Name string `json:"name"` + // Description description associated to the server, max 255 characters + Description string `json:"description"` + // Tags tags to associate to the server + Tags []string `json:"tags"` + // We want to run only with type + Type string +} + +func serverCreateCommand() *core.Command { + return &core.Command{ + Short: `Create server`, + Long: `Create a new server. Once the server is created, you probably want to install an OS.`, + Namespace: "baremetal", + Verb: "create", + Resource: "server", + ArgsType: reflect.TypeOf(CreateServerRequest{}), + ArgSpecs: core.ArgSpecs{ + core.ZoneArgSpec(scw.ZoneFrPar2), + core.OrganizationIDArgSpec(), + { + Name: "type", + Short: "Server commercial type", + Default: core.DefaultValueSetter("GP-BM1-M"), + + EnumValues: []string{ + // General Purpose offers + "GP-BM1-L", + "GP-BM1-M", + + // High-computing offers + "HC-BM1-L", + "HC-BM1-S", + + // High-Memory offers + "HM-BM1-XL", + "HM-BM1-M", + }, + }, + { + Name: "name", + Short: `Name of the server (≠hostname)`, + Default: core.RandomValueGenerator("bm"), + }, + { + Name: "description", + Short: `Description associated to the server, max 255 characters`, + }, + { + Name: "tags.{index}", + Short: `Tags to associate to the server`, + Required: false, + }, + }, + Run: baremetalServerCreateRun, + WaitFunc: baremetalWaitServerCreateRun(), + SeeAlsos: []*core.SeeAlso{{ + Short: "List os", + Command: "scw baremetal os list", + }}, + Examples: []*core.Example{ + { + Short: "Create and start an instance on Ubuntu Bionic", + Request: `{"image":"ubuntu_bionic","start":true}`, + }, + { + Short: "Create a GP1-XS instance, give it a name and add tags", + Request: `{"image":"ubuntu_bionic","type":"GP1-XS","name":"foo","tags":["prod","blue"]}`, + }, + }, + } +} + +func baremetalWaitServerCreateRun() core.WaitFunc { + return func(ctx context.Context, argsI, respI interface{}) (interface{}, error) { + return baremetal.NewAPI(core.ExtractClient(ctx)).WaitForServer(&baremetal.WaitForServerRequest{ + Zone: argsI.(*baremetal.CreateServerRequest).Zone, + ServerID: respI.(*baremetal.Server).ID, + Timeout: serverActionTimeout, + }) + } +} + +func baremetalServerCreateRun(ctx context.Context, argsI interface{}) (i interface{}, e error) { + client := core.ExtractClient(ctx) + api := baremetal.NewAPI(client) + + tmpRequest := argsI.(*CreateServerRequest) + request := &baremetal.CreateServerRequest{ + Zone: tmpRequest.Zone, + OrganizationID: tmpRequest.OrganizationID, + Name: tmpRequest.Name, + Description: tmpRequest.Description, + Tags: tmpRequest.Tags, + } + + // We need to find the offer id. + // while baremetal does not have listoffer name filter we are force to iterate + // on the list of offer provided + requestedType := tmpRequest.Type + offerId := findOfferId(api, tmpRequest.Zone, requestedType) + if offerId == "" { + log.Fatal("Could not match") + } + request.OfferID = offerId + + return api.CreateServer(request) +} + +func findOfferId(api *baremetal.API, zone scw.Zone, requestedType string) string { + res, err := api.ListOffers( + &baremetal.ListOffersRequest{ + Zone: zone}, + scw.WithAllPages()) + + if err != nil { + log.Fatal("Could not fetch list of offers.") + } + + for _, v := range res.Offers { + offerName := v.Name + if requestedType == offerName { + return v.ID + } + } + return "" +} + +// getServeType is a util to get a instance.ServerType by its commercialType +func getServeType(apiInstance *instance.API, zone scw.Zone, commercialType string) *instance.ServerType { + serverType := (*instance.ServerType)(nil) + + //serverTypesRes, err := apiInstance.ListServersTypes(&instance.ListServersTypesRequest{ + // Zone: zone, + //}) + //if err != nil { + // logger.Warningf("cannot get server types: %s", err) + //} else { + // serverType = serverTypesRes.Servers[commercialType] + // if serverType == nil { + // logger.Warningf("unrecognized server type: %s", commercialType) + // } + //} + + return serverType +} diff --git a/internal/namespaces/baremetal/v1alpha1/custom_server_create_test.go b/internal/namespaces/baremetal/v1alpha1/custom_server_create_test.go new file mode 100644 index 0000000000..81a0f4ac70 --- /dev/null +++ b/internal/namespaces/baremetal/v1alpha1/custom_server_create_test.go @@ -0,0 +1,97 @@ +package baremetal + +import ( + "testing" + + "github.com/scaleway/scaleway-cli/internal/core" + "github.com/scaleway/scaleway-sdk-go/api/instance/v1" +) + +// deleteServerAfterFunc deletes the created server and its attached volumes and IPs. +func deleteServerAfterFunc(ctx *core.AfterFuncCtx) error { + ctx.ExecuteCmd("scw instance server delete with-volumes=all with-ip force-shutdown server-id=" + ctx.CmdResult.(*instance.Server).ID) + return nil +} + +// All test below should succeed to create an instance. +func Test_CreateServer(t *testing.T) { + + //// + // Simple use cases + //// + t.Run("Simple", func(t *testing.T) { + t.Run("Default", core.Test(&core.TestConfig{ + Commands: GetCommands(), + Cmd: "scw baremetal server create offer-id=964f9b38-577e-470f-a220-7d762f9e8672 name=pouet zone=fr-par-2", + Check: core.TestCheckCombine( + core.TestCheckGolden(), + core.TestCheckExitCode(0), + ), + AfterFunc: deleteServerAfterFunc, + })) + + //t.Run("GP1-XS", core.Test(&core.TestConfig{ + // Commands: GetCommands(), + // Cmd: "scw instance server create type=GP1-XS image=ubuntu_bionic stopped", + // Check: core.TestCheckCombine( + // func(t *testing.T, ctx *core.CheckFuncCtx) { + // assert.Equal(t, "GP1-XS", ctx.Result.(*instance.Server).CommercialType) + // }, + // core.TestCheckExitCode(0), + // ), + // AfterFunc: deleteServerAfterFunc, + //})) + // + //t.Run("With name", core.Test(&core.TestConfig{ + // Commands: GetCommands(), + // Cmd: "scw instance server create image=ubuntu_bionic name=yo", + // Check: core.TestCheckCombine( + // func(t *testing.T, ctx *core.CheckFuncCtx) { + // assert.Equal(t, "yo", ctx.Result.(*instance.Server).Name) + // }, + // core.TestCheckExitCode(0), + // ), + // AfterFunc: deleteServerAfterFunc, + //})) + // + //t.Run("With start", core.Test(&core.TestConfig{ + // Commands: GetCommands(), + // Cmd: "scw instance server create image=ubuntu_bionic -w", + // Check: core.TestCheckCombine( + // func(t *testing.T, ctx *core.CheckFuncCtx) { + // assert.Equal(t, instance.ServerStateRunning, ctx.Result.(*instance.Server).State) + // }, + // core.TestCheckExitCode(0), + // ), + // AfterFunc: deleteServerAfterFunc, + //})) + + //t.Run("Tags", core.Test(&core.TestConfig{ + // Commands: GetCommands(), + // Cmd: "scw baremetal server create image=ubuntu_bionic tags.0=prod tags.1=blue stopped", + // Check: core.TestCheckCombine( + // func(t *testing.T, ctx *core.CheckFuncCtx) { + // assert.Equal(t, "prod", ctx.Result.(*instance.Server).Tags[0]) + // assert.Equal(t, "blue", ctx.Result.(*instance.Server).Tags[1]) + // }, + // core.TestCheckExitCode(0), + // ), + // AfterFunc: deleteServerAfterFunc, + //})) + }) +} + +// None of the tests below should succeed to create an instance. +func Test_CreateServerErrors(t *testing.T) { + //// + // Instance type errors + //// + t.Run("Error: invalid instance type", core.Test(&core.TestConfig{ + Commands: GetCommands(), + Cmd: "scw instance server create type=MACBOOK1-S image=ubuntu_bionic", + Check: core.TestCheckCombine( + core.TestCheckGolden(), + core.TestCheckExitCode(1), + ), + })) +} diff --git a/internal/namespaces/baremetal/v1alpha1/helpers_test.go b/internal/namespaces/baremetal/v1alpha1/helpers_test.go new file mode 100644 index 0000000000..6c95009e49 --- /dev/null +++ b/internal/namespaces/baremetal/v1alpha1/helpers_test.go @@ -0,0 +1 @@ +package baremetal diff --git a/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.stderr.golden b/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.stderr.golden new file mode 100644 index 0000000000..c998d4f273 --- /dev/null +++ b/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.stderr.golden @@ -0,0 +1,4 @@ +Unknown argument 'type' + +Hint: +Valid arguments are: zone, organization-id, type, name, description, tags.{index} From 85d97a6330598f8fef97392a55f3cdc653c6164d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20L=C3=A9one?= Date: Thu, 12 Mar 2020 17:10:53 +0100 Subject: [PATCH 02/67] Fix --- .../v1alpha1/custom_server_create.go | 20 ----- .../v1alpha1/custom_server_create_test.go | 75 +++++++++---------- 2 files changed, 34 insertions(+), 61 deletions(-) diff --git a/internal/namespaces/baremetal/v1alpha1/custom_server_create.go b/internal/namespaces/baremetal/v1alpha1/custom_server_create.go index 03b429e7ab..7fcde5b2a0 100644 --- a/internal/namespaces/baremetal/v1alpha1/custom_server_create.go +++ b/internal/namespaces/baremetal/v1alpha1/custom_server_create.go @@ -7,7 +7,6 @@ import ( "github.com/scaleway/scaleway-cli/internal/core" baremetal "github.com/scaleway/scaleway-sdk-go/api/baremetal/v1alpha1" - "github.com/scaleway/scaleway-sdk-go/api/instance/v1" "github.com/scaleway/scaleway-sdk-go/scw" ) @@ -145,22 +144,3 @@ func findOfferId(api *baremetal.API, zone scw.Zone, requestedType string) string } return "" } - -// getServeType is a util to get a instance.ServerType by its commercialType -func getServeType(apiInstance *instance.API, zone scw.Zone, commercialType string) *instance.ServerType { - serverType := (*instance.ServerType)(nil) - - //serverTypesRes, err := apiInstance.ListServersTypes(&instance.ListServersTypesRequest{ - // Zone: zone, - //}) - //if err != nil { - // logger.Warningf("cannot get server types: %s", err) - //} else { - // serverType = serverTypesRes.Servers[commercialType] - // if serverType == nil { - // logger.Warningf("unrecognized server type: %s", commercialType) - // } - //} - - return serverType -} diff --git a/internal/namespaces/baremetal/v1alpha1/custom_server_create_test.go b/internal/namespaces/baremetal/v1alpha1/custom_server_create_test.go index 81a0f4ac70..81448c3af2 100644 --- a/internal/namespaces/baremetal/v1alpha1/custom_server_create_test.go +++ b/internal/namespaces/baremetal/v1alpha1/custom_server_create_test.go @@ -3,8 +3,11 @@ package baremetal import ( "testing" + "github.com/alecthomas/assert" "github.com/scaleway/scaleway-cli/internal/core" + baremetal "github.com/scaleway/scaleway-sdk-go/api/baremetal/v1alpha1" "github.com/scaleway/scaleway-sdk-go/api/instance/v1" + "github.com/scaleway/scaleway-sdk-go/scw" ) // deleteServerAfterFunc deletes the created server and its attached volumes and IPs. @@ -22,61 +25,51 @@ func Test_CreateServer(t *testing.T) { t.Run("Simple", func(t *testing.T) { t.Run("Default", core.Test(&core.TestConfig{ Commands: GetCommands(), - Cmd: "scw baremetal server create offer-id=964f9b38-577e-470f-a220-7d762f9e8672 name=pouet zone=fr-par-2", + Cmd: "scw baremetal server create", Check: core.TestCheckCombine( core.TestCheckGolden(), core.TestCheckExitCode(0), ), + AfterFunc: deleteServerAfterFunc, + DefaultZone: scw.ZoneFrPar2, + })) + + t.Run("With name", core.Test(&core.TestConfig{ + Commands: GetCommands(), + Cmd: "scw baremetal server create name=yo", + Check: core.TestCheckCombine( + func(t *testing.T, ctx *core.CheckFuncCtx) { + assert.Equal(t, "yo", ctx.Result.(*baremetal.Server).Name) + }, + core.TestCheckExitCode(0), + ), AfterFunc: deleteServerAfterFunc, })) - //t.Run("GP1-XS", core.Test(&core.TestConfig{ - // Commands: GetCommands(), - // Cmd: "scw instance server create type=GP1-XS image=ubuntu_bionic stopped", - // Check: core.TestCheckCombine( - // func(t *testing.T, ctx *core.CheckFuncCtx) { - // assert.Equal(t, "GP1-XS", ctx.Result.(*instance.Server).CommercialType) - // }, - // core.TestCheckExitCode(0), - // ), - // AfterFunc: deleteServerAfterFunc, - //})) - // - //t.Run("With name", core.Test(&core.TestConfig{ - // Commands: GetCommands(), - // Cmd: "scw instance server create image=ubuntu_bionic name=yo", - // Check: core.TestCheckCombine( - // func(t *testing.T, ctx *core.CheckFuncCtx) { - // assert.Equal(t, "yo", ctx.Result.(*instance.Server).Name) - // }, - // core.TestCheckExitCode(0), - // ), - // AfterFunc: deleteServerAfterFunc, - //})) - // - //t.Run("With start", core.Test(&core.TestConfig{ - // Commands: GetCommands(), - // Cmd: "scw instance server create image=ubuntu_bionic -w", - // Check: core.TestCheckCombine( - // func(t *testing.T, ctx *core.CheckFuncCtx) { - // assert.Equal(t, instance.ServerStateRunning, ctx.Result.(*instance.Server).State) - // }, - // core.TestCheckExitCode(0), - // ), - // AfterFunc: deleteServerAfterFunc, - //})) + t.Run("Tags", core.Test(&core.TestConfig{ + Commands: GetCommands(), + Cmd: "scw baremetal server create tags.0=prod tags.1=blue", + Check: core.TestCheckCombine( + func(t *testing.T, ctx *core.CheckFuncCtx) { + assert.Equal(t, "prod", ctx.Result.(*baremetal.Server).Tags[0]) + assert.Equal(t, "blue", ctx.Result.(*baremetal.Server).Tags[1]) + }, + core.TestCheckExitCode(0), + ), + AfterFunc: deleteServerAfterFunc, + })) - //t.Run("Tags", core.Test(&core.TestConfig{ + //t.Run("HC-BM1-L", core.Test(&core.TestConfig{ // Commands: GetCommands(), - // Cmd: "scw baremetal server create image=ubuntu_bionic tags.0=prod tags.1=blue stopped", + // Cmd: "scw baremetal server create type=HC-BM1-L", // Check: core.TestCheckCombine( // func(t *testing.T, ctx *core.CheckFuncCtx) { - // assert.Equal(t, "prod", ctx.Result.(*instance.Server).Tags[0]) - // assert.Equal(t, "blue", ctx.Result.(*instance.Server).Tags[1]) + // assert.Equal(t, "HC-BM1-L", ctx.Result.(*baremetal.Server).CommercialType) // }, // core.TestCheckExitCode(0), // ), - // AfterFunc: deleteServerAfterFunc, + // AfterFunc: deleteServerAfterFunc, + // DefaultZone: scw.ZoneFrPar2, //})) }) } From c592bc3a4e18e0f771e01c1952a0808f32389d4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20L=C3=A9one?= Date: Thu, 12 Mar 2020 17:24:47 +0100 Subject: [PATCH 03/67] Fix --- .../namespaces/baremetal/v1alpha1/custom_server_create.go | 8 ++++---- .../test-create-server-simple-default.stderr.golden | 5 +---- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/internal/namespaces/baremetal/v1alpha1/custom_server_create.go b/internal/namespaces/baremetal/v1alpha1/custom_server_create.go index 7fcde5b2a0..e4f7235f2c 100644 --- a/internal/namespaces/baremetal/v1alpha1/custom_server_create.go +++ b/internal/namespaces/baremetal/v1alpha1/custom_server_create.go @@ -79,12 +79,12 @@ func serverCreateCommand() *core.Command { }}, Examples: []*core.Example{ { - Short: "Create and start an instance on Ubuntu Bionic", - Request: `{"image":"ubuntu_bionic","start":true}`, + Short: "Create instance", + Request: `{}`, }, { - Short: "Create a GP1-XS instance, give it a name and add tags", - Request: `{"image":"ubuntu_bionic","type":"GP1-XS","name":"foo","tags":["prod","blue"]}`, + Short: "Create a GP-BM1-M instance, give it a name and add tags", + Request: `{"type":"GP-BM1-M","name":"foo","tags":["prod","blue"]}`, }, }, } diff --git a/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.stderr.golden b/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.stderr.golden index c998d4f273..f1aee68003 100644 --- a/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.stderr.golden +++ b/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.stderr.golden @@ -1,4 +1 @@ -Unknown argument 'type' - -Hint: -Valid arguments are: zone, organization-id, type, name, description, tags.{index} +Missing required argument 'offer-id' From 4c6ff2915e6cb912cc8551faa9d921457f11318a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20L=C3=A9one?= Date: Thu, 12 Mar 2020 17:49:08 +0100 Subject: [PATCH 04/67] Fix --- .../baremetal/v1alpha1/baremetal_cli.go | 3 +- .../namespaces/baremetal/v1alpha1/custom.go | 5 + .../v1alpha1/custom_server_create.go | 8 +- .../v1alpha1/custom_server_create_test.go | 5 +- ...create-server-simple-default.cassette.yaml | 108 ++++++++++++++++++ ...create-server-simple-default.stderr.golden | 1 - ...create-server-simple-default.stdout.golden | 11 ++ ...eate-server-simple-with-name.cassette.yaml | 108 ++++++++++++++++++ 8 files changed, 239 insertions(+), 10 deletions(-) create mode 100644 internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.cassette.yaml delete mode 100644 internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.stderr.golden create mode 100644 internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.stdout.golden create mode 100644 internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-with-name.cassette.yaml diff --git a/internal/namespaces/baremetal/v1alpha1/baremetal_cli.go b/internal/namespaces/baremetal/v1alpha1/baremetal_cli.go index b4e0cd778b..3334b48b8b 100644 --- a/internal/namespaces/baremetal/v1alpha1/baremetal_cli.go +++ b/internal/namespaces/baremetal/v1alpha1/baremetal_cli.go @@ -8,7 +8,7 @@ import ( "reflect" "github.com/scaleway/scaleway-cli/internal/core" - "github.com/scaleway/scaleway-sdk-go/api/baremetal/v1alpha1" + baremetal "github.com/scaleway/scaleway-sdk-go/api/baremetal/v1alpha1" "github.com/scaleway/scaleway-sdk-go/scw" ) @@ -27,7 +27,6 @@ func GetGeneratedCommands() *core.Commands { baremetalOffer(), baremetalServerList(), baremetalServerGet(), - baremetalServerCreate(), baremetalServerUpdate(), baremetalServerInstall(), baremetalServerDelete(), diff --git a/internal/namespaces/baremetal/v1alpha1/custom.go b/internal/namespaces/baremetal/v1alpha1/custom.go index e081d88046..d7845b5157 100644 --- a/internal/namespaces/baremetal/v1alpha1/custom.go +++ b/internal/namespaces/baremetal/v1alpha1/custom.go @@ -4,5 +4,10 @@ import "github.com/scaleway/scaleway-cli/internal/core" func GetCommands() *core.Commands { cmds := GetGeneratedCommands() + + cmds.Merge(core.NewCommands( + serverCreateCommand(), + )) + return cmds } diff --git a/internal/namespaces/baremetal/v1alpha1/custom_server_create.go b/internal/namespaces/baremetal/v1alpha1/custom_server_create.go index e4f7235f2c..ce415347aa 100644 --- a/internal/namespaces/baremetal/v1alpha1/custom_server_create.go +++ b/internal/namespaces/baremetal/v1alpha1/custom_server_create.go @@ -10,10 +10,10 @@ import ( "github.com/scaleway/scaleway-sdk-go/scw" ) -type CreateServerRequest struct { +type createServerRequest struct { Zone scw.Zone `json:"-"` // OfferID offer ID of the new server - OfferID string `json:"offer_id"` + //OfferID string `json:"offer_id"` // OrganizationID organization ID with which the server will be created OrganizationID string `json:"organization_id"` // Name name of the server (≠hostname) @@ -33,7 +33,7 @@ func serverCreateCommand() *core.Command { Namespace: "baremetal", Verb: "create", Resource: "server", - ArgsType: reflect.TypeOf(CreateServerRequest{}), + ArgsType: reflect.TypeOf(createServerRequest{}), ArgSpecs: core.ArgSpecs{ core.ZoneArgSpec(scw.ZoneFrPar2), core.OrganizationIDArgSpec(), @@ -104,7 +104,7 @@ func baremetalServerCreateRun(ctx context.Context, argsI interface{}) (i interfa client := core.ExtractClient(ctx) api := baremetal.NewAPI(client) - tmpRequest := argsI.(*CreateServerRequest) + tmpRequest := argsI.(*createServerRequest) request := &baremetal.CreateServerRequest{ Zone: tmpRequest.Zone, OrganizationID: tmpRequest.OrganizationID, diff --git a/internal/namespaces/baremetal/v1alpha1/custom_server_create_test.go b/internal/namespaces/baremetal/v1alpha1/custom_server_create_test.go index 81448c3af2..e4271ef877 100644 --- a/internal/namespaces/baremetal/v1alpha1/custom_server_create_test.go +++ b/internal/namespaces/baremetal/v1alpha1/custom_server_create_test.go @@ -6,13 +6,12 @@ import ( "github.com/alecthomas/assert" "github.com/scaleway/scaleway-cli/internal/core" baremetal "github.com/scaleway/scaleway-sdk-go/api/baremetal/v1alpha1" - "github.com/scaleway/scaleway-sdk-go/api/instance/v1" "github.com/scaleway/scaleway-sdk-go/scw" ) // deleteServerAfterFunc deletes the created server and its attached volumes and IPs. func deleteServerAfterFunc(ctx *core.AfterFuncCtx) error { - ctx.ExecuteCmd("scw instance server delete with-volumes=all with-ip force-shutdown server-id=" + ctx.CmdResult.(*instance.Server).ID) + ctx.ExecuteCmd("scw baremetal server delete server-id=" + ctx.CmdResult.(*baremetal.Server).ID) return nil } @@ -36,7 +35,7 @@ func Test_CreateServer(t *testing.T) { t.Run("With name", core.Test(&core.TestConfig{ Commands: GetCommands(), - Cmd: "scw baremetal server create name=yo", + Cmd: "scw baremetal server create name=yo zone=fr-par-2", Check: core.TestCheckCombine( func(t *testing.T, ctx *core.CheckFuncCtx) { assert.Equal(t, "yo", ctx.Result.(*baremetal.Server).Name) diff --git a/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.cassette.yaml b/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.cassette.yaml new file mode 100644 index 0000000000..c2270e87f7 --- /dev/null +++ b/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.cassette.yaml @@ -0,0 +1,108 @@ +--- +version: 1 +interactions: +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.5+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/offers?page=1 + method: GET + response: + body: '{"total_count":6,"offers":[{"id":"3ab0dc29-2fd4-486e-88bf-d08fbf49214b","name":"HC-BM1-L","stock":"empty","bandwidth":1000,"commercial_range":"high_cpu","price_by_minute":{"currency_code":"EUR","units":1,"nanos":499900000},"price_by_month":{"currency_code":"EUR","units":749,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"Intel + Xeon Gold 5120","cores":28,"threads":56,"frequency":2200},{"name":"Intel Xeon + Gold 5120","cores":28,"threads":56,"frequency":2200}],"memory":[{"capacity":384,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":1,"nanos":499900000},"price_per_month":{"currency_code":"EUR","units":749,"nanos":990000000}},{"id":"5363865f-2266-40f9-a43f-4f3aba251524","name":"HM-BM1-XL","stock":"empty","bandwidth":1000,"commercial_range":"high_memory","price_by_minute":{"currency_code":"EUR","units":2,"nanos":599900000},"price_by_month":{"currency_code":"EUR","units":1299,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"Intel + Xeon Gold 6140","cores":36,"threads":72,"frequency":2300},{"name":"Intel Xeon + Gold 6140","cores":36,"threads":72,"frequency":2300}],"memory":[{"capacity":768,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":2,"nanos":599900000},"price_per_month":{"currency_code":"EUR","units":1299,"nanos":990000000}},{"id":"737f18c8-febc-4408-b69e-776bca0a3f48","name":"HC-BM1-S","stock":"available","bandwidth":1000,"commercial_range":"high_cpu","price_by_minute":{"currency_code":"EUR","units":0,"nanos":659900000},"price_by_month":{"currency_code":"EUR","units":329,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"Intel + Xeon Silver 4114","cores":10,"threads":20,"frequency":2200},{"name":"Intel Xeon + Silver 4114","cores":10,"threads":20,"frequency":2200}],"memory":[{"capacity":128,"type":"DDR4","frequency":2400,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":659900000},"price_per_month":{"currency_code":"EUR","units":329,"nanos":990000000}},{"id":"8090d302-3545-4905-9cf3-bcb77a299f47","name":"GP-BM1-L","stock":"empty","bandwidth":1000,"commercial_range":"general_purpose","price_by_minute":{"currency_code":"EUR","units":0,"nanos":499900000},"price_by_month":{"currency_code":"EUR","units":249,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"AMD + EPYC 7281","cores":16,"threads":32,"frequency":2100}],"memory":[{"capacity":96,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_gp","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":499900000},"price_per_month":{"currency_code":"EUR","units":249,"nanos":990000000}},{"id":"964f9b38-577e-470f-a220-7d762f9e8672","name":"GP-BM1-M","stock":"available","bandwidth":500,"commercial_range":"general_purpose","price_by_minute":{"currency_code":"EUR","units":0,"nanos":399900000},"price_by_month":{"currency_code":"EUR","units":199,"nanos":990000000},"disk":[{"capacity":1024,"type":"SSD"},{"capacity":1024,"type":"SSD"},{"capacity":1024,"type":"SSD"}],"enable":true,"cpu":[{"name":"Intel + Xeon E3 1240v6","cores":4,"threads":8,"frequency":3700}],"memory":[{"capacity":64,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_gp","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":399900000},"price_per_month":{"currency_code":"EUR","units":199,"nanos":990000000}},{"id":"c452f76a-2cda-4a1b-9658-a16952dc5ff0","name":"HM-BM1-M","stock":"available","bandwidth":1000,"commercial_range":"high_memory","price_by_minute":{"currency_code":"EUR","units":0,"nanos":799900000},"price_by_month":{"currency_code":"EUR","units":399,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"AMD + EPYC 7401P","cores":24,"threads":48,"frequency":2000}],"memory":[{"capacity":256,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":799900000},"price_per_month":{"currency_code":"EUR","units":399,"nanos":990000000}}]}' + headers: + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 12 Mar 2020 16:48:02 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 09dc99ee-67f3-47ec-a4fc-1910b154afb6 + status: 200 OK + code: 200 + duration: "" +- request: + body: '{"offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-festive-saha","description":"","tags":null}' + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.5+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers + method: POST + response: + body: '{"id":"aecb6bf4-db1a-4d9b-9b65-d6e241fc22b6","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-festive-saha","description":"","updated_at":"2020-03-12T16:48:02.637218571Z","created_at":"2020-03-12T16:48:02.637218571Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "398" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 12 Mar 2020 16:48:02 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - d25039c0-8f71-4905-bc9b-0966d2d93fd0 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.5+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/aecb6bf4-db1a-4d9b-9b65-d6e241fc22b6 + method: DELETE + response: + body: '{"message":"Server is not delivered"}' + headers: + Content-Length: + - "37" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 12 Mar 2020 16:48:02 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - f2349049-a1cb-4a3e-b86d-d01f867a5e64 + status: 400 Bad Request + code: 400 + duration: "" diff --git a/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.stderr.golden b/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.stderr.golden deleted file mode 100644 index f1aee68003..0000000000 --- a/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.stderr.golden +++ /dev/null @@ -1 +0,0 @@ -Missing required argument 'offer-id' diff --git a/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.stdout.golden b/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.stdout.golden new file mode 100644 index 0000000000..95df747094 --- /dev/null +++ b/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.stdout.golden @@ -0,0 +1,11 @@ +id aecb6bf4-db1a-4d9b-9b65-d6e241fc22b6 +organization-id 951df375-e094-4d26-97c1-ba548eeb9c42 +name cli-bm-festive-saha +description - +updated-at few seconds ago +created-at few seconds ago +status undelivered +offer-id 964f9b38-577e-470f-a220-7d762f9e8672 +domain - +boot-type normal +zone fr-par-2 diff --git a/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-with-name.cassette.yaml b/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-with-name.cassette.yaml new file mode 100644 index 0000000000..1bcae6efd8 --- /dev/null +++ b/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-with-name.cassette.yaml @@ -0,0 +1,108 @@ +--- +version: 1 +interactions: +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.5+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/offers?page=1 + method: GET + response: + body: '{"total_count":6,"offers":[{"id":"3ab0dc29-2fd4-486e-88bf-d08fbf49214b","name":"HC-BM1-L","stock":"empty","bandwidth":1000,"commercial_range":"high_cpu","price_by_minute":{"currency_code":"EUR","units":1,"nanos":499900000},"price_by_month":{"currency_code":"EUR","units":749,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"Intel + Xeon Gold 5120","cores":28,"threads":56,"frequency":2200},{"name":"Intel Xeon + Gold 5120","cores":28,"threads":56,"frequency":2200}],"memory":[{"capacity":384,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":1,"nanos":499900000},"price_per_month":{"currency_code":"EUR","units":749,"nanos":990000000}},{"id":"5363865f-2266-40f9-a43f-4f3aba251524","name":"HM-BM1-XL","stock":"empty","bandwidth":1000,"commercial_range":"high_memory","price_by_minute":{"currency_code":"EUR","units":2,"nanos":599900000},"price_by_month":{"currency_code":"EUR","units":1299,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"Intel + Xeon Gold 6140","cores":36,"threads":72,"frequency":2300},{"name":"Intel Xeon + Gold 6140","cores":36,"threads":72,"frequency":2300}],"memory":[{"capacity":768,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":2,"nanos":599900000},"price_per_month":{"currency_code":"EUR","units":1299,"nanos":990000000}},{"id":"737f18c8-febc-4408-b69e-776bca0a3f48","name":"HC-BM1-S","stock":"available","bandwidth":1000,"commercial_range":"high_cpu","price_by_minute":{"currency_code":"EUR","units":0,"nanos":659900000},"price_by_month":{"currency_code":"EUR","units":329,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"Intel + Xeon Silver 4114","cores":10,"threads":20,"frequency":2200},{"name":"Intel Xeon + Silver 4114","cores":10,"threads":20,"frequency":2200}],"memory":[{"capacity":128,"type":"DDR4","frequency":2400,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":659900000},"price_per_month":{"currency_code":"EUR","units":329,"nanos":990000000}},{"id":"8090d302-3545-4905-9cf3-bcb77a299f47","name":"GP-BM1-L","stock":"empty","bandwidth":1000,"commercial_range":"general_purpose","price_by_minute":{"currency_code":"EUR","units":0,"nanos":499900000},"price_by_month":{"currency_code":"EUR","units":249,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"AMD + EPYC 7281","cores":16,"threads":32,"frequency":2100}],"memory":[{"capacity":96,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_gp","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":499900000},"price_per_month":{"currency_code":"EUR","units":249,"nanos":990000000}},{"id":"964f9b38-577e-470f-a220-7d762f9e8672","name":"GP-BM1-M","stock":"available","bandwidth":500,"commercial_range":"general_purpose","price_by_minute":{"currency_code":"EUR","units":0,"nanos":399900000},"price_by_month":{"currency_code":"EUR","units":199,"nanos":990000000},"disk":[{"capacity":1024,"type":"SSD"},{"capacity":1024,"type":"SSD"},{"capacity":1024,"type":"SSD"}],"enable":true,"cpu":[{"name":"Intel + Xeon E3 1240v6","cores":4,"threads":8,"frequency":3700}],"memory":[{"capacity":64,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_gp","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":399900000},"price_per_month":{"currency_code":"EUR","units":199,"nanos":990000000}},{"id":"c452f76a-2cda-4a1b-9658-a16952dc5ff0","name":"HM-BM1-M","stock":"available","bandwidth":1000,"commercial_range":"high_memory","price_by_minute":{"currency_code":"EUR","units":0,"nanos":799900000},"price_by_month":{"currency_code":"EUR","units":399,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"AMD + EPYC 7401P","cores":24,"threads":48,"frequency":2000}],"memory":[{"capacity":256,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":799900000},"price_per_month":{"currency_code":"EUR","units":399,"nanos":990000000}}]}' + headers: + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 12 Mar 2020 16:48:02 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - b679423c-c8b8-4396-bd8a-7e1d1d9be502 + status: 200 OK + code: 200 + duration: "" +- request: + body: '{"offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","tags":null}' + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.5+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers + method: POST + response: + body: '{"id":"87ba81e2-6e09-4c57-a72e-2992e09789e7","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-12T16:48:03.488340620Z","created_at":"2020-03-12T16:48:03.488340620Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "381" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 12 Mar 2020 16:48:03 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 9e08af63-b43f-4958-9d98-311b7cddf4c5 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.5+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-1/servers/87ba81e2-6e09-4c57-a72e-2992e09789e7 + method: DELETE + response: + body: '{"message":"unknown service"}' + headers: + Content-Length: + - "29" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 12 Mar 2020 16:48:03 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 4ae42d3b-0874-4558-920b-8dd446c01ca6 + status: 501 Not Implemented + code: 501 + duration: "" From 7b45ef00e6832cbb8c402f8965c7ace74327b75e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20L=C3=A9one?= Date: Thu, 12 Mar 2020 18:00:20 +0100 Subject: [PATCH 05/67] Fix --- .../namespaces/baremetal/v1alpha1/custom_server_create.go | 8 ++++---- .../baremetal/v1alpha1/custom_server_create_test.go | 1 - 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/internal/namespaces/baremetal/v1alpha1/custom_server_create.go b/internal/namespaces/baremetal/v1alpha1/custom_server_create.go index ce415347aa..a256acdecf 100644 --- a/internal/namespaces/baremetal/v1alpha1/custom_server_create.go +++ b/internal/namespaces/baremetal/v1alpha1/custom_server_create.go @@ -117,16 +117,16 @@ func baremetalServerCreateRun(ctx context.Context, argsI interface{}) (i interfa // while baremetal does not have listoffer name filter we are force to iterate // on the list of offer provided requestedType := tmpRequest.Type - offerId := findOfferId(api, tmpRequest.Zone, requestedType) - if offerId == "" { + offerID := findOfferID(api, tmpRequest.Zone, requestedType) + if offerID == "" { log.Fatal("Could not match") } - request.OfferID = offerId + request.OfferID = offerID return api.CreateServer(request) } -func findOfferId(api *baremetal.API, zone scw.Zone, requestedType string) string { +func findOfferID(api *baremetal.API, zone scw.Zone, requestedType string) string { res, err := api.ListOffers( &baremetal.ListOffersRequest{ Zone: zone}, diff --git a/internal/namespaces/baremetal/v1alpha1/custom_server_create_test.go b/internal/namespaces/baremetal/v1alpha1/custom_server_create_test.go index e4271ef877..3bbfccb27e 100644 --- a/internal/namespaces/baremetal/v1alpha1/custom_server_create_test.go +++ b/internal/namespaces/baremetal/v1alpha1/custom_server_create_test.go @@ -17,7 +17,6 @@ func deleteServerAfterFunc(ctx *core.AfterFuncCtx) error { // All test below should succeed to create an instance. func Test_CreateServer(t *testing.T) { - //// // Simple use cases //// From 025ede24db14bfb32a8e37a2bf8b5d72a5cf3954 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20L=C3=A9one?= Date: Fri, 13 Mar 2020 10:59:06 +0100 Subject: [PATCH 06/67] Fix --- .../namespaces/baremetal/v1alpha1/custom_server_create_test.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/internal/namespaces/baremetal/v1alpha1/custom_server_create_test.go b/internal/namespaces/baremetal/v1alpha1/custom_server_create_test.go index 3bbfccb27e..1a538549fb 100644 --- a/internal/namespaces/baremetal/v1alpha1/custom_server_create_test.go +++ b/internal/namespaces/baremetal/v1alpha1/custom_server_create_test.go @@ -17,9 +17,7 @@ func deleteServerAfterFunc(ctx *core.AfterFuncCtx) error { // All test below should succeed to create an instance. func Test_CreateServer(t *testing.T) { - //// // Simple use cases - //// t.Run("Simple", func(t *testing.T) { t.Run("Default", core.Test(&core.TestConfig{ Commands: GetCommands(), From b0a72a10cd90e0653e0618303d41e861eb523baf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20L=C3=A9one?= Date: Fri, 13 Mar 2020 15:10:00 +0100 Subject: [PATCH 07/67] Update internal/namespaces/baremetal/v1alpha1/custom_server_create.go Co-Authored-By: Quentin Brosse --- internal/namespaces/baremetal/v1alpha1/custom_server_create.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/namespaces/baremetal/v1alpha1/custom_server_create.go b/internal/namespaces/baremetal/v1alpha1/custom_server_create.go index a256acdecf..775896e70e 100644 --- a/internal/namespaces/baremetal/v1alpha1/custom_server_create.go +++ b/internal/namespaces/baremetal/v1alpha1/custom_server_create.go @@ -20,7 +20,7 @@ type createServerRequest struct { Name string `json:"name"` // Description description associated to the server, max 255 characters Description string `json:"description"` - // Tags tags to associate to the server + // Tags associated with the server Tags []string `json:"tags"` // We want to run only with type Type string From 544b7c804b50c88aa6c7e80bf5d4eaeafa3a4e35 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20L=C3=A9one?= Date: Fri, 13 Mar 2020 15:10:08 +0100 Subject: [PATCH 08/67] Update internal/namespaces/baremetal/v1alpha1/custom_server_create.go Co-Authored-By: Quentin Brosse --- internal/namespaces/baremetal/v1alpha1/custom_server_create.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/namespaces/baremetal/v1alpha1/custom_server_create.go b/internal/namespaces/baremetal/v1alpha1/custom_server_create.go index 775896e70e..fee6d14799 100644 --- a/internal/namespaces/baremetal/v1alpha1/custom_server_create.go +++ b/internal/namespaces/baremetal/v1alpha1/custom_server_create.go @@ -22,7 +22,7 @@ type createServerRequest struct { Description string `json:"description"` // Tags associated with the server Tags []string `json:"tags"` - // We want to run only with type + // Type of the server Type string } From 34f4fa04b1451e62377f86c39502cbe87235ec2d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20L=C3=A9one?= Date: Fri, 13 Mar 2020 15:10:19 +0100 Subject: [PATCH 09/67] Update internal/namespaces/baremetal/v1alpha1/custom_server_create.go Co-Authored-By: Quentin Brosse --- internal/namespaces/baremetal/v1alpha1/custom_server_create.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/namespaces/baremetal/v1alpha1/custom_server_create.go b/internal/namespaces/baremetal/v1alpha1/custom_server_create.go index fee6d14799..58542532bf 100644 --- a/internal/namespaces/baremetal/v1alpha1/custom_server_create.go +++ b/internal/namespaces/baremetal/v1alpha1/custom_server_create.go @@ -14,7 +14,7 @@ type createServerRequest struct { Zone scw.Zone `json:"-"` // OfferID offer ID of the new server //OfferID string `json:"offer_id"` - // OrganizationID organization ID with which the server will be created + // OrganizationID with which the server will be created OrganizationID string `json:"organization_id"` // Name name of the server (≠hostname) Name string `json:"name"` From 750cd6c5bfdddb08289efabf1f104a81a4b91afd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20L=C3=A9one?= Date: Fri, 13 Mar 2020 15:10:28 +0100 Subject: [PATCH 10/67] Update internal/namespaces/baremetal/v1alpha1/custom_server_create.go Co-Authored-By: Quentin Brosse --- internal/namespaces/baremetal/v1alpha1/custom_server_create.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/namespaces/baremetal/v1alpha1/custom_server_create.go b/internal/namespaces/baremetal/v1alpha1/custom_server_create.go index 58542532bf..34c1d01b7f 100644 --- a/internal/namespaces/baremetal/v1alpha1/custom_server_create.go +++ b/internal/namespaces/baremetal/v1alpha1/custom_server_create.go @@ -16,7 +16,7 @@ type createServerRequest struct { //OfferID string `json:"offer_id"` // OrganizationID with which the server will be created OrganizationID string `json:"organization_id"` - // Name name of the server (≠hostname) + // Name of the server (≠hostname) Name string `json:"name"` // Description description associated to the server, max 255 characters Description string `json:"description"` From f9db764af2c493c08bc3175bbb8b0a9aecac5b8b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20L=C3=A9one?= Date: Fri, 13 Mar 2020 15:10:38 +0100 Subject: [PATCH 11/67] Update internal/namespaces/baremetal/v1alpha1/custom_server_create.go Co-Authored-By: Quentin Brosse --- internal/namespaces/baremetal/v1alpha1/custom_server_create.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/namespaces/baremetal/v1alpha1/custom_server_create.go b/internal/namespaces/baremetal/v1alpha1/custom_server_create.go index 34c1d01b7f..c534eb49ec 100644 --- a/internal/namespaces/baremetal/v1alpha1/custom_server_create.go +++ b/internal/namespaces/baremetal/v1alpha1/custom_server_create.go @@ -18,7 +18,7 @@ type createServerRequest struct { OrganizationID string `json:"organization_id"` // Name of the server (≠hostname) Name string `json:"name"` - // Description description associated to the server, max 255 characters + // Description associated to the server, max 255 characters Description string `json:"description"` // Tags associated with the server Tags []string `json:"tags"` From d27aa5df752a43a00e70e173ce2714afb4f9e06d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20L=C3=A9one?= Date: Fri, 13 Mar 2020 15:16:35 +0100 Subject: [PATCH 12/67] Fix --- .../namespaces/baremetal/v1alpha1/custom_server_create.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/namespaces/baremetal/v1alpha1/custom_server_create.go b/internal/namespaces/baremetal/v1alpha1/custom_server_create.go index c534eb49ec..dfc1da7e30 100644 --- a/internal/namespaces/baremetal/v1alpha1/custom_server_create.go +++ b/internal/namespaces/baremetal/v1alpha1/custom_server_create.go @@ -35,8 +35,6 @@ func serverCreateCommand() *core.Command { Resource: "server", ArgsType: reflect.TypeOf(createServerRequest{}), ArgSpecs: core.ArgSpecs{ - core.ZoneArgSpec(scw.ZoneFrPar2), - core.OrganizationIDArgSpec(), { Name: "type", Short: "Server commercial type", @@ -70,6 +68,8 @@ func serverCreateCommand() *core.Command { Short: `Tags to associate to the server`, Required: false, }, + core.ZoneArgSpec(scw.ZoneFrPar2), + core.OrganizationIDArgSpec(), }, Run: baremetalServerCreateRun, WaitFunc: baremetalWaitServerCreateRun(), From 73c5936a0a2639e558956ba00c640de5148fac1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20L=C3=A9one?= Date: Fri, 13 Mar 2020 16:01:07 +0100 Subject: [PATCH 13/67] Fix --- .../baremetal/v1alpha1/custom_server_create.go | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/internal/namespaces/baremetal/v1alpha1/custom_server_create.go b/internal/namespaces/baremetal/v1alpha1/custom_server_create.go index dfc1da7e30..39503729dc 100644 --- a/internal/namespaces/baremetal/v1alpha1/custom_server_create.go +++ b/internal/namespaces/baremetal/v1alpha1/custom_server_create.go @@ -29,7 +29,7 @@ type createServerRequest struct { func serverCreateCommand() *core.Command { return &core.Command{ Short: `Create server`, - Long: `Create a new server. Once the server is created, you probably want to install an OS.`, + Long: `Create a new server.`, Namespace: "baremetal", Verb: "create", Resource: "server", @@ -73,10 +73,16 @@ func serverCreateCommand() *core.Command { }, Run: baremetalServerCreateRun, WaitFunc: baremetalWaitServerCreateRun(), - SeeAlsos: []*core.SeeAlso{{ - Short: "List os", - Command: "scw baremetal os list", - }}, + SeeAlsos: []*core.SeeAlso{ + { + Short: "List os", + Command: "scw baremetal os list", + }, + { + Short: "Install an OS on your server", + Command: "scw baremetal server install ", + }, + }, Examples: []*core.Example{ { Short: "Create instance", From f504dd4ff05413b9b564fe22f505c317e4114412 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20L=C3=A9one?= Date: Fri, 13 Mar 2020 15:17:19 +0100 Subject: [PATCH 14/67] Update internal/namespaces/baremetal/v1alpha1/custom_server_create.go MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Loïc Bourgois --- internal/namespaces/baremetal/v1alpha1/custom_server_create.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/namespaces/baremetal/v1alpha1/custom_server_create.go b/internal/namespaces/baremetal/v1alpha1/custom_server_create.go index 39503729dc..ae7acddc77 100644 --- a/internal/namespaces/baremetal/v1alpha1/custom_server_create.go +++ b/internal/namespaces/baremetal/v1alpha1/custom_server_create.go @@ -121,7 +121,7 @@ func baremetalServerCreateRun(ctx context.Context, argsI interface{}) (i interfa // We need to find the offer id. // while baremetal does not have listoffer name filter we are force to iterate - // on the list of offer provided + // on the list of offers provided requestedType := tmpRequest.Type offerID := findOfferID(api, tmpRequest.Zone, requestedType) if offerID == "" { From d71ae57c1834531f842c967be5c3d71fd01ba2db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20L=C3=A9one?= Date: Fri, 13 Mar 2020 15:17:28 +0100 Subject: [PATCH 15/67] Update internal/namespaces/baremetal/v1alpha1/custom_server_create.go MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Loïc Bourgois --- internal/namespaces/baremetal/v1alpha1/custom_server_create.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/namespaces/baremetal/v1alpha1/custom_server_create.go b/internal/namespaces/baremetal/v1alpha1/custom_server_create.go index ae7acddc77..01541f9df5 100644 --- a/internal/namespaces/baremetal/v1alpha1/custom_server_create.go +++ b/internal/namespaces/baremetal/v1alpha1/custom_server_create.go @@ -120,7 +120,7 @@ func baremetalServerCreateRun(ctx context.Context, argsI interface{}) (i interfa } // We need to find the offer id. - // while baremetal does not have listoffer name filter we are force to iterate + // while baremetal does not have listoffer name filter we are forced to iterate // on the list of offers provided requestedType := tmpRequest.Type offerID := findOfferID(api, tmpRequest.Zone, requestedType) From 39862006d067a20ec9042df01cbf83e44ae3fb10 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20L=C3=A9one?= Date: Thu, 12 Mar 2020 16:34:54 +0100 Subject: [PATCH 16/67] feat(baremetal): Add create server with type --- .../testdata/test-create-server-simple-default.stderr.golden | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.stderr.golden diff --git a/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.stderr.golden b/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.stderr.golden new file mode 100644 index 0000000000..c998d4f273 --- /dev/null +++ b/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.stderr.golden @@ -0,0 +1,4 @@ +Unknown argument 'type' + +Hint: +Valid arguments are: zone, organization-id, type, name, description, tags.{index} From 77198585d8c97151c9e1fe30951be2e2133e04ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20L=C3=A9one?= Date: Thu, 12 Mar 2020 17:24:47 +0100 Subject: [PATCH 17/67] Fix --- .../testdata/test-create-server-simple-default.stderr.golden | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.stderr.golden b/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.stderr.golden index c998d4f273..f1aee68003 100644 --- a/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.stderr.golden +++ b/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.stderr.golden @@ -1,4 +1 @@ -Unknown argument 'type' - -Hint: -Valid arguments are: zone, organization-id, type, name, description, tags.{index} +Missing required argument 'offer-id' From 6a2ec5f6fde3dc56ae98aa609b6839bc1ad855a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20L=C3=A9one?= Date: Thu, 12 Mar 2020 17:49:08 +0100 Subject: [PATCH 18/67] Fix --- .../testdata/test-create-server-simple-default.stderr.golden | 1 - 1 file changed, 1 deletion(-) delete mode 100644 internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.stderr.golden diff --git a/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.stderr.golden b/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.stderr.golden deleted file mode 100644 index f1aee68003..0000000000 --- a/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.stderr.golden +++ /dev/null @@ -1 +0,0 @@ -Missing required argument 'offer-id' From 68bd69ad71689b64256f5a8265884ff992f79432 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20L=C3=A9one?= Date: Mon, 16 Mar 2020 15:24:44 +0100 Subject: [PATCH 19/67] Fix --- .../v1alpha1/custom_server_create.go | 39 ++++++------------- 1 file changed, 12 insertions(+), 27 deletions(-) diff --git a/internal/namespaces/baremetal/v1alpha1/custom_server_create.go b/internal/namespaces/baremetal/v1alpha1/custom_server_create.go index 01541f9df5..985dcd8099 100644 --- a/internal/namespaces/baremetal/v1alpha1/custom_server_create.go +++ b/internal/namespaces/baremetal/v1alpha1/custom_server_create.go @@ -2,7 +2,7 @@ package baremetal import ( "context" - "log" + "fmt" "reflect" "github.com/scaleway/scaleway-cli/internal/core" @@ -12,8 +12,6 @@ import ( type createServerRequest struct { Zone scw.Zone `json:"-"` - // OfferID offer ID of the new server - //OfferID string `json:"offer_id"` // OrganizationID with which the server will be created OrganizationID string `json:"organization_id"` // Name of the server (≠hostname) @@ -56,7 +54,7 @@ func serverCreateCommand() *core.Command { }, { Name: "name", - Short: `Name of the server (≠hostname)`, + Short: `Name of the server`, Default: core.RandomValueGenerator("bm"), }, { @@ -123,30 +121,17 @@ func baremetalServerCreateRun(ctx context.Context, argsI interface{}) (i interfa // while baremetal does not have listoffer name filter we are forced to iterate // on the list of offers provided requestedType := tmpRequest.Type - offerID := findOfferID(api, tmpRequest.Zone, requestedType) - if offerID == "" { - log.Fatal("Could not match") - } - request.OfferID = offerID - - return api.CreateServer(request) -} - -func findOfferID(api *baremetal.API, zone scw.Zone, requestedType string) string { - res, err := api.ListOffers( - &baremetal.ListOffersRequest{ - Zone: zone}, - scw.WithAllPages()) - + offer, err := api.GetOfferFromName(&baremetal.GetOfferIDFromOfferNameRequest{ + OfferName: requestedType, + Zone: tmpRequest.Zone, + }) if err != nil { - log.Fatal("Could not fetch list of offers.") + return nil, err } - - for _, v := range res.Offers { - offerName := v.Name - if requestedType == offerName { - return v.ID - } + if offer == nil { + return nil, fmt.Errorf("could not match an offer with the type: %s", requestedType) } - return "" + request.OfferID = offer.ID + + return api.CreateServer(request) } From 029062d05cd71ebe332dd25c0fada3d5b9cd7791 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20L=C3=A9one?= Date: Mon, 16 Mar 2020 16:35:24 +0100 Subject: [PATCH 20/67] Fix --- ...create-server-simple-default.cassette.yaml | 30 ++++++++-------- ...create-server-simple-default.stdout.golden | 4 +-- ...st-create-server-simple-tags.cassette.yaml | 35 +++++++++++++++++++ ...eate-server-simple-with-name.cassette.yaml | 26 +++++++------- 4 files changed, 65 insertions(+), 30 deletions(-) create mode 100644 internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-tags.cassette.yaml diff --git a/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.cassette.yaml b/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.cassette.yaml index c2270e87f7..8843396c11 100644 --- a/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.cassette.yaml +++ b/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.cassette.yaml @@ -6,17 +6,17 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.5+dev (go1.14; darwin; amd64) cli-e2e-test + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/offers?page=1 method: GET response: - body: '{"total_count":6,"offers":[{"id":"3ab0dc29-2fd4-486e-88bf-d08fbf49214b","name":"HC-BM1-L","stock":"empty","bandwidth":1000,"commercial_range":"high_cpu","price_by_minute":{"currency_code":"EUR","units":1,"nanos":499900000},"price_by_month":{"currency_code":"EUR","units":749,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"Intel + body: '{"total_count":6,"offers":[{"id":"3ab0dc29-2fd4-486e-88bf-d08fbf49214b","name":"HC-BM1-L","stock":"available","bandwidth":1000,"commercial_range":"high_cpu","price_by_minute":{"currency_code":"EUR","units":1,"nanos":499900000},"price_by_month":{"currency_code":"EUR","units":749,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"Intel Xeon Gold 5120","cores":28,"threads":56,"frequency":2200},{"name":"Intel Xeon Gold 5120","cores":28,"threads":56,"frequency":2200}],"memory":[{"capacity":384,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":1,"nanos":499900000},"price_per_month":{"currency_code":"EUR","units":749,"nanos":990000000}},{"id":"5363865f-2266-40f9-a43f-4f3aba251524","name":"HM-BM1-XL","stock":"empty","bandwidth":1000,"commercial_range":"high_memory","price_by_minute":{"currency_code":"EUR","units":2,"nanos":599900000},"price_by_month":{"currency_code":"EUR","units":1299,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"Intel Xeon Gold 6140","cores":36,"threads":72,"frequency":2300},{"name":"Intel Xeon Gold 6140","cores":36,"threads":72,"frequency":2300}],"memory":[{"capacity":768,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":2,"nanos":599900000},"price_per_month":{"currency_code":"EUR","units":1299,"nanos":990000000}},{"id":"737f18c8-febc-4408-b69e-776bca0a3f48","name":"HC-BM1-S","stock":"available","bandwidth":1000,"commercial_range":"high_cpu","price_by_minute":{"currency_code":"EUR","units":0,"nanos":659900000},"price_by_month":{"currency_code":"EUR","units":329,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"Intel Xeon Silver 4114","cores":10,"threads":20,"frequency":2200},{"name":"Intel Xeon - Silver 4114","cores":10,"threads":20,"frequency":2200}],"memory":[{"capacity":128,"type":"DDR4","frequency":2400,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":659900000},"price_per_month":{"currency_code":"EUR","units":329,"nanos":990000000}},{"id":"8090d302-3545-4905-9cf3-bcb77a299f47","name":"GP-BM1-L","stock":"empty","bandwidth":1000,"commercial_range":"general_purpose","price_by_minute":{"currency_code":"EUR","units":0,"nanos":499900000},"price_by_month":{"currency_code":"EUR","units":249,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"AMD + Silver 4114","cores":10,"threads":20,"frequency":2200}],"memory":[{"capacity":128,"type":"DDR4","frequency":2400,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":659900000},"price_per_month":{"currency_code":"EUR","units":329,"nanos":990000000}},{"id":"8090d302-3545-4905-9cf3-bcb77a299f47","name":"GP-BM1-L","stock":"available","bandwidth":1000,"commercial_range":"general_purpose","price_by_minute":{"currency_code":"EUR","units":0,"nanos":499900000},"price_by_month":{"currency_code":"EUR","units":249,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"AMD EPYC 7281","cores":16,"threads":32,"frequency":2100}],"memory":[{"capacity":96,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_gp","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":499900000},"price_per_month":{"currency_code":"EUR","units":249,"nanos":990000000}},{"id":"964f9b38-577e-470f-a220-7d762f9e8672","name":"GP-BM1-M","stock":"available","bandwidth":500,"commercial_range":"general_purpose","price_by_minute":{"currency_code":"EUR","units":0,"nanos":399900000},"price_by_month":{"currency_code":"EUR","units":199,"nanos":990000000},"disk":[{"capacity":1024,"type":"SSD"},{"capacity":1024,"type":"SSD"},{"capacity":1024,"type":"SSD"}],"enable":true,"cpu":[{"name":"Intel Xeon E3 1240v6","cores":4,"threads":8,"frequency":3700}],"memory":[{"capacity":64,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_gp","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":399900000},"price_per_month":{"currency_code":"EUR","units":199,"nanos":990000000}},{"id":"c452f76a-2cda-4a1b-9658-a16952dc5ff0","name":"HM-BM1-M","stock":"available","bandwidth":1000,"commercial_range":"high_memory","price_by_minute":{"currency_code":"EUR","units":0,"nanos":799900000},"price_by_month":{"currency_code":"EUR","units":399,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"AMD EPYC 7401P","cores":24,"threads":48,"frequency":2000}],"memory":[{"capacity":256,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":799900000},"price_per_month":{"currency_code":"EUR","units":399,"nanos":990000000}}]}' @@ -26,7 +26,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 12 Mar 2020 16:48:02 GMT + - Mon, 16 Mar 2020 15:02:43 GMT Server: - scaleway_api Strict-Transport-Security: @@ -36,31 +36,31 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 09dc99ee-67f3-47ec-a4fc-1910b154afb6 + - 5439d8ff-9e6b-4d35-b4bc-9804ab319959 status: 200 OK code: 200 duration: "" - request: - body: '{"offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-festive-saha","description":"","tags":null}' + body: '{"offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-adoring-burnell","description":"","tags":null}' form: {} headers: Content-Type: - application/json User-Agent: - - scaleway-sdk-go/v1.0.0-beta.5+dev (go1.14; darwin; amd64) cli-e2e-test + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers method: POST response: - body: '{"id":"aecb6bf4-db1a-4d9b-9b65-d6e241fc22b6","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-festive-saha","description":"","updated_at":"2020-03-12T16:48:02.637218571Z","created_at":"2020-03-12T16:48:02.637218571Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"56443f14-77a3-47f9-9468-972be70d20fa","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-adoring-burnell","description":"","updated_at":"2020-03-16T15:02:44.095279868Z","created_at":"2020-03-16T15:02:44.095279868Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "398" + - "401" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 12 Mar 2020 16:48:02 GMT + - Mon, 16 Mar 2020 15:02:43 GMT Server: - scaleway_api Strict-Transport-Security: @@ -70,7 +70,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - d25039c0-8f71-4905-bc9b-0966d2d93fd0 + - 0cdd8d80-4368-453b-9134-e7ce105fd41f status: 200 OK code: 200 duration: "" @@ -79,8 +79,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.5+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/aecb6bf4-db1a-4d9b-9b65-d6e241fc22b6 + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/56443f14-77a3-47f9-9468-972be70d20fa method: DELETE response: body: '{"message":"Server is not delivered"}' @@ -92,7 +92,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 12 Mar 2020 16:48:02 GMT + - Mon, 16 Mar 2020 15:02:43 GMT Server: - scaleway_api Strict-Transport-Security: @@ -102,7 +102,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - f2349049-a1cb-4a3e-b86d-d01f867a5e64 + - 11f38363-ebdc-46a9-acd9-8f04c50fed03 status: 400 Bad Request code: 400 duration: "" diff --git a/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.stdout.golden b/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.stdout.golden index 95df747094..ac0437d60b 100644 --- a/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.stdout.golden +++ b/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.stdout.golden @@ -1,6 +1,6 @@ -id aecb6bf4-db1a-4d9b-9b65-d6e241fc22b6 +id 56443f14-77a3-47f9-9468-972be70d20fa organization-id 951df375-e094-4d26-97c1-ba548eeb9c42 -name cli-bm-festive-saha +name cli-bm-adoring-burnell description - updated-at few seconds ago created-at few seconds ago diff --git a/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-tags.cassette.yaml b/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-tags.cassette.yaml new file mode 100644 index 0000000000..1cf7f6a6c4 --- /dev/null +++ b/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-tags.cassette.yaml @@ -0,0 +1,35 @@ +--- +version: 1 +interactions: +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-1/offers?page=1 + method: GET + response: + body: '{"message":"unknown service"}' + headers: + Content-Length: + - "29" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 16 Mar 2020 15:02:44 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 981b4050-4f98-4fd4-ab5e-a8a4e78ed537 + status: 501 Not Implemented + code: 501 + duration: "" diff --git a/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-with-name.cassette.yaml b/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-with-name.cassette.yaml index 1bcae6efd8..c3b7e1745f 100644 --- a/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-with-name.cassette.yaml +++ b/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-with-name.cassette.yaml @@ -6,17 +6,17 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.5+dev (go1.14; darwin; amd64) cli-e2e-test + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/offers?page=1 method: GET response: - body: '{"total_count":6,"offers":[{"id":"3ab0dc29-2fd4-486e-88bf-d08fbf49214b","name":"HC-BM1-L","stock":"empty","bandwidth":1000,"commercial_range":"high_cpu","price_by_minute":{"currency_code":"EUR","units":1,"nanos":499900000},"price_by_month":{"currency_code":"EUR","units":749,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"Intel + body: '{"total_count":6,"offers":[{"id":"3ab0dc29-2fd4-486e-88bf-d08fbf49214b","name":"HC-BM1-L","stock":"available","bandwidth":1000,"commercial_range":"high_cpu","price_by_minute":{"currency_code":"EUR","units":1,"nanos":499900000},"price_by_month":{"currency_code":"EUR","units":749,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"Intel Xeon Gold 5120","cores":28,"threads":56,"frequency":2200},{"name":"Intel Xeon Gold 5120","cores":28,"threads":56,"frequency":2200}],"memory":[{"capacity":384,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":1,"nanos":499900000},"price_per_month":{"currency_code":"EUR","units":749,"nanos":990000000}},{"id":"5363865f-2266-40f9-a43f-4f3aba251524","name":"HM-BM1-XL","stock":"empty","bandwidth":1000,"commercial_range":"high_memory","price_by_minute":{"currency_code":"EUR","units":2,"nanos":599900000},"price_by_month":{"currency_code":"EUR","units":1299,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"Intel Xeon Gold 6140","cores":36,"threads":72,"frequency":2300},{"name":"Intel Xeon Gold 6140","cores":36,"threads":72,"frequency":2300}],"memory":[{"capacity":768,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":2,"nanos":599900000},"price_per_month":{"currency_code":"EUR","units":1299,"nanos":990000000}},{"id":"737f18c8-febc-4408-b69e-776bca0a3f48","name":"HC-BM1-S","stock":"available","bandwidth":1000,"commercial_range":"high_cpu","price_by_minute":{"currency_code":"EUR","units":0,"nanos":659900000},"price_by_month":{"currency_code":"EUR","units":329,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"Intel Xeon Silver 4114","cores":10,"threads":20,"frequency":2200},{"name":"Intel Xeon - Silver 4114","cores":10,"threads":20,"frequency":2200}],"memory":[{"capacity":128,"type":"DDR4","frequency":2400,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":659900000},"price_per_month":{"currency_code":"EUR","units":329,"nanos":990000000}},{"id":"8090d302-3545-4905-9cf3-bcb77a299f47","name":"GP-BM1-L","stock":"empty","bandwidth":1000,"commercial_range":"general_purpose","price_by_minute":{"currency_code":"EUR","units":0,"nanos":499900000},"price_by_month":{"currency_code":"EUR","units":249,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"AMD + Silver 4114","cores":10,"threads":20,"frequency":2200}],"memory":[{"capacity":128,"type":"DDR4","frequency":2400,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":659900000},"price_per_month":{"currency_code":"EUR","units":329,"nanos":990000000}},{"id":"8090d302-3545-4905-9cf3-bcb77a299f47","name":"GP-BM1-L","stock":"available","bandwidth":1000,"commercial_range":"general_purpose","price_by_minute":{"currency_code":"EUR","units":0,"nanos":499900000},"price_by_month":{"currency_code":"EUR","units":249,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"AMD EPYC 7281","cores":16,"threads":32,"frequency":2100}],"memory":[{"capacity":96,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_gp","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":499900000},"price_per_month":{"currency_code":"EUR","units":249,"nanos":990000000}},{"id":"964f9b38-577e-470f-a220-7d762f9e8672","name":"GP-BM1-M","stock":"available","bandwidth":500,"commercial_range":"general_purpose","price_by_minute":{"currency_code":"EUR","units":0,"nanos":399900000},"price_by_month":{"currency_code":"EUR","units":199,"nanos":990000000},"disk":[{"capacity":1024,"type":"SSD"},{"capacity":1024,"type":"SSD"},{"capacity":1024,"type":"SSD"}],"enable":true,"cpu":[{"name":"Intel Xeon E3 1240v6","cores":4,"threads":8,"frequency":3700}],"memory":[{"capacity":64,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_gp","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":399900000},"price_per_month":{"currency_code":"EUR","units":199,"nanos":990000000}},{"id":"c452f76a-2cda-4a1b-9658-a16952dc5ff0","name":"HM-BM1-M","stock":"available","bandwidth":1000,"commercial_range":"high_memory","price_by_minute":{"currency_code":"EUR","units":0,"nanos":799900000},"price_by_month":{"currency_code":"EUR","units":399,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"AMD EPYC 7401P","cores":24,"threads":48,"frequency":2000}],"memory":[{"capacity":256,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":799900000},"price_per_month":{"currency_code":"EUR","units":399,"nanos":990000000}}]}' @@ -26,7 +26,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 12 Mar 2020 16:48:02 GMT + - Mon, 16 Mar 2020 15:02:43 GMT Server: - scaleway_api Strict-Transport-Security: @@ -36,7 +36,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - b679423c-c8b8-4396-bd8a-7e1d1d9be502 + - 055b219b-3a58-4644-8ada-c52a45860409 status: 200 OK code: 200 duration: "" @@ -47,11 +47,11 @@ interactions: Content-Type: - application/json User-Agent: - - scaleway-sdk-go/v1.0.0-beta.5+dev (go1.14; darwin; amd64) cli-e2e-test + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers method: POST response: - body: '{"id":"87ba81e2-6e09-4c57-a72e-2992e09789e7","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-12T16:48:03.488340620Z","created_at":"2020-03-12T16:48:03.488340620Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"6efbd781-c0af-49f7-a8e3-0c7902c9d240","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-16T15:02:44.329274421Z","created_at":"2020-03-16T15:02:44.329274421Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - "381" @@ -60,7 +60,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 12 Mar 2020 16:48:03 GMT + - Mon, 16 Mar 2020 15:02:44 GMT Server: - scaleway_api Strict-Transport-Security: @@ -70,7 +70,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 9e08af63-b43f-4958-9d98-311b7cddf4c5 + - 7c17bdc6-79cf-4d07-8bdf-3d1c3157c93d status: 200 OK code: 200 duration: "" @@ -79,8 +79,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.5+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-1/servers/87ba81e2-6e09-4c57-a72e-2992e09789e7 + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-1/servers/6efbd781-c0af-49f7-a8e3-0c7902c9d240 method: DELETE response: body: '{"message":"unknown service"}' @@ -92,7 +92,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 12 Mar 2020 16:48:03 GMT + - Mon, 16 Mar 2020 15:02:44 GMT Server: - scaleway_api Strict-Transport-Security: @@ -102,7 +102,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 4ae42d3b-0874-4558-920b-8dd446c01ca6 + - dd0b5704-47ba-480e-97ca-a75729625c66 status: 501 Not Implemented code: 501 duration: "" From d50888c2033e8161555f87c0346d07a617f501c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20L=C3=A9one?= Date: Tue, 17 Mar 2020 16:01:17 +0100 Subject: [PATCH 21/67] Fix --- .../v1alpha1/custom_server_create_test.go | 14 +++-- ...-error-invalid-instance-type.stderr.golden | 1 + ...create-server-simple-default.cassette.yaml | 50 +++------------- ...create-server-simple-default.stderr.golden | 60 +++++++++++++++++++ ...create-server-simple-default.stdout.golden | 4 +- ...st-create-server-simple-tags.cassette.yaml | 55 ++++++++++++++--- ...eate-server-simple-with-name.cassette.yaml | 46 +++----------- 7 files changed, 135 insertions(+), 95 deletions(-) create mode 100644 internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-errors-error-invalid-instance-type.stderr.golden create mode 100644 internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.stderr.golden diff --git a/internal/namespaces/baremetal/v1alpha1/custom_server_create_test.go b/internal/namespaces/baremetal/v1alpha1/custom_server_create_test.go index 1a538549fb..2c1edcc10e 100644 --- a/internal/namespaces/baremetal/v1alpha1/custom_server_create_test.go +++ b/internal/namespaces/baremetal/v1alpha1/custom_server_create_test.go @@ -21,12 +21,12 @@ func Test_CreateServer(t *testing.T) { t.Run("Simple", func(t *testing.T) { t.Run("Default", core.Test(&core.TestConfig{ Commands: GetCommands(), - Cmd: "scw baremetal server create", + Cmd: "scw baremetal server create zone=fr-par-2", Check: core.TestCheckCombine( core.TestCheckGolden(), core.TestCheckExitCode(0), ), - AfterFunc: deleteServerAfterFunc, + //AfterFunc: deleteServerAfterFunc, DefaultZone: scw.ZoneFrPar2, })) @@ -39,12 +39,13 @@ func Test_CreateServer(t *testing.T) { }, core.TestCheckExitCode(0), ), - AfterFunc: deleteServerAfterFunc, + DefaultZone: scw.ZoneFrPar2, + //AfterFunc: deleteServerAfterFunc, })) t.Run("Tags", core.Test(&core.TestConfig{ Commands: GetCommands(), - Cmd: "scw baremetal server create tags.0=prod tags.1=blue", + Cmd: "scw baremetal server create tags.0=prod tags.1=blue zone=fr-par-2", Check: core.TestCheckCombine( func(t *testing.T, ctx *core.CheckFuncCtx) { assert.Equal(t, "prod", ctx.Result.(*baremetal.Server).Tags[0]) @@ -52,12 +53,13 @@ func Test_CreateServer(t *testing.T) { }, core.TestCheckExitCode(0), ), - AfterFunc: deleteServerAfterFunc, + DefaultZone: scw.ZoneFrPar2, + //AfterFunc: deleteServerAfterFunc, })) //t.Run("HC-BM1-L", core.Test(&core.TestConfig{ // Commands: GetCommands(), - // Cmd: "scw baremetal server create type=HC-BM1-L", + // Cmd: "scw baremetal server create type=HC-BM1-L zone=fr-par-2", // Check: core.TestCheckCombine( // func(t *testing.T, ctx *core.CheckFuncCtx) { // assert.Equal(t, "HC-BM1-L", ctx.Result.(*baremetal.Server).CommercialType) diff --git a/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-errors-error-invalid-instance-type.stderr.golden b/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-errors-error-invalid-instance-type.stderr.golden new file mode 100644 index 0000000000..93b20472e6 --- /dev/null +++ b/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-errors-error-invalid-instance-type.stderr.golden @@ -0,0 +1 @@ +Unknown command "instance" for "scw" diff --git a/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.cassette.yaml b/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.cassette.yaml index 8843396c11..685ccbadda 100644 --- a/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.cassette.yaml +++ b/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.cassette.yaml @@ -12,11 +12,11 @@ interactions: response: body: '{"total_count":6,"offers":[{"id":"3ab0dc29-2fd4-486e-88bf-d08fbf49214b","name":"HC-BM1-L","stock":"available","bandwidth":1000,"commercial_range":"high_cpu","price_by_minute":{"currency_code":"EUR","units":1,"nanos":499900000},"price_by_month":{"currency_code":"EUR","units":749,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"Intel Xeon Gold 5120","cores":28,"threads":56,"frequency":2200},{"name":"Intel Xeon - Gold 5120","cores":28,"threads":56,"frequency":2200}],"memory":[{"capacity":384,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":1,"nanos":499900000},"price_per_month":{"currency_code":"EUR","units":749,"nanos":990000000}},{"id":"5363865f-2266-40f9-a43f-4f3aba251524","name":"HM-BM1-XL","stock":"empty","bandwidth":1000,"commercial_range":"high_memory","price_by_minute":{"currency_code":"EUR","units":2,"nanos":599900000},"price_by_month":{"currency_code":"EUR","units":1299,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"Intel + Gold 5120","cores":28,"threads":56,"frequency":2200}],"memory":[{"capacity":384,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":1,"nanos":499900000},"price_per_month":{"currency_code":"EUR","units":749,"nanos":990000000}},{"id":"5363865f-2266-40f9-a43f-4f3aba251524","name":"HM-BM1-XL","stock":"available","bandwidth":1000,"commercial_range":"high_memory","price_by_minute":{"currency_code":"EUR","units":2,"nanos":599900000},"price_by_month":{"currency_code":"EUR","units":1299,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"Intel Xeon Gold 6140","cores":36,"threads":72,"frequency":2300},{"name":"Intel Xeon Gold 6140","cores":36,"threads":72,"frequency":2300}],"memory":[{"capacity":768,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":2,"nanos":599900000},"price_per_month":{"currency_code":"EUR","units":1299,"nanos":990000000}},{"id":"737f18c8-febc-4408-b69e-776bca0a3f48","name":"HC-BM1-S","stock":"available","bandwidth":1000,"commercial_range":"high_cpu","price_by_minute":{"currency_code":"EUR","units":0,"nanos":659900000},"price_by_month":{"currency_code":"EUR","units":329,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"Intel Xeon Silver 4114","cores":10,"threads":20,"frequency":2200},{"name":"Intel Xeon - Silver 4114","cores":10,"threads":20,"frequency":2200}],"memory":[{"capacity":128,"type":"DDR4","frequency":2400,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":659900000},"price_per_month":{"currency_code":"EUR","units":329,"nanos":990000000}},{"id":"8090d302-3545-4905-9cf3-bcb77a299f47","name":"GP-BM1-L","stock":"available","bandwidth":1000,"commercial_range":"general_purpose","price_by_minute":{"currency_code":"EUR","units":0,"nanos":499900000},"price_by_month":{"currency_code":"EUR","units":249,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"AMD + Silver 4114","cores":10,"threads":20,"frequency":2200}],"memory":[{"capacity":128,"type":"DDR4","frequency":2400,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":659900000},"price_per_month":{"currency_code":"EUR","units":329,"nanos":990000000}},{"id":"8090d302-3545-4905-9cf3-bcb77a299f47","name":"GP-BM1-L","stock":"available","bandwidth":750,"commercial_range":"general_purpose","price_by_minute":{"currency_code":"EUR","units":0,"nanos":499900000},"price_by_month":{"currency_code":"EUR","units":249,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"AMD EPYC 7281","cores":16,"threads":32,"frequency":2100}],"memory":[{"capacity":96,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_gp","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":499900000},"price_per_month":{"currency_code":"EUR","units":249,"nanos":990000000}},{"id":"964f9b38-577e-470f-a220-7d762f9e8672","name":"GP-BM1-M","stock":"available","bandwidth":500,"commercial_range":"general_purpose","price_by_minute":{"currency_code":"EUR","units":0,"nanos":399900000},"price_by_month":{"currency_code":"EUR","units":199,"nanos":990000000},"disk":[{"capacity":1024,"type":"SSD"},{"capacity":1024,"type":"SSD"},{"capacity":1024,"type":"SSD"}],"enable":true,"cpu":[{"name":"Intel Xeon E3 1240v6","cores":4,"threads":8,"frequency":3700}],"memory":[{"capacity":64,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_gp","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":399900000},"price_per_month":{"currency_code":"EUR","units":199,"nanos":990000000}},{"id":"c452f76a-2cda-4a1b-9658-a16952dc5ff0","name":"HM-BM1-M","stock":"available","bandwidth":1000,"commercial_range":"high_memory","price_by_minute":{"currency_code":"EUR","units":0,"nanos":799900000},"price_by_month":{"currency_code":"EUR","units":399,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"AMD EPYC 7401P","cores":24,"threads":48,"frequency":2000}],"memory":[{"capacity":256,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":799900000},"price_per_month":{"currency_code":"EUR","units":399,"nanos":990000000}}]}' @@ -26,7 +26,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 16 Mar 2020 15:02:43 GMT + - Tue, 17 Mar 2020 15:00:14 GMT Server: - scaleway_api Strict-Transport-Security: @@ -36,12 +36,12 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 5439d8ff-9e6b-4d35-b4bc-9804ab319959 + - 8ff5663b-c7e8-4b5f-8d67-a8b0b33ef4a2 status: 200 OK code: 200 duration: "" - request: - body: '{"offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-adoring-burnell","description":"","tags":null}' + body: '{"offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-mystifying-shannon","description":"","tags":null}' form: {} headers: Content-Type: @@ -51,16 +51,16 @@ interactions: url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers method: POST response: - body: '{"id":"56443f14-77a3-47f9-9468-972be70d20fa","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-adoring-burnell","description":"","updated_at":"2020-03-16T15:02:44.095279868Z","created_at":"2020-03-16T15:02:44.095279868Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"2bc82be8-aeb4-4cf3-a474-954c5abf7d3b","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-mystifying-shannon","description":"","updated_at":"2020-03-17T15:00:15.123704001Z","created_at":"2020-03-17T15:00:15.123704001Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "401" + - "404" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Mon, 16 Mar 2020 15:02:43 GMT + - Tue, 17 Mar 2020 15:00:14 GMT Server: - scaleway_api Strict-Transport-Security: @@ -70,39 +70,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 0cdd8d80-4368-453b-9134-e7ce105fd41f + - 08cd5b27-ee60-44fd-94c9-45c7a7f3b501 status: 200 OK code: 200 duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/56443f14-77a3-47f9-9468-972be70d20fa - method: DELETE - response: - body: '{"message":"Server is not delivered"}' - headers: - Content-Length: - - "37" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Mon, 16 Mar 2020 15:02:43 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 11f38363-ebdc-46a9-acd9-8f04c50fed03 - status: 400 Bad Request - code: 400 - duration: "" diff --git a/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.stderr.golden b/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.stderr.golden new file mode 100644 index 0000000000..55fbb60f72 --- /dev/null +++ b/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.stderr.golden @@ -0,0 +1,60 @@ +DEBUG: 2019/12/09 16:04:07 creating GET request on https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/offers?page=1 +DEBUG: 2019/12/09 16:04:07 +--------------- Scaleway SDK REQUEST 1 : --------------- +GET /baremetal/v1alpha1/zones/fr-par-2/offers?page=1 HTTP/1.1 +Host: api.scaleway.com +User-Agent: scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test +X-Auth-Token: 148499e0-xxxx-xxxx-xxxx-xxxxxxxxxxxx +Accept-Encoding: gzip + + +--------------------------------------------------------- +DEBUG: 2019/12/09 16:04:07 +--------------- Scaleway SDK RESPONSE 1 : --------------- +HTTP/1.0 200 OK +Connection: close +Content-Length: 4684 +Content-Security-Policy: default-src 'none'; frame-ancestors 'none' +Content-Type: application/json +Date: Tue, 17 Mar 2020 15:00:14 GMT +Server: scaleway_api +Strict-Transport-Security: max-age=63072000 +X-Content-Type-Options: nosniff +X-Frame-Options: DENY +X-Request-Id: 8ff5663b-c7e8-4b5f-8d67-a8b0b33ef4a2 + +{"total_count":6,"offers":[{"id":"3ab0dc29-2fd4-486e-88bf-d08fbf49214b","name":"HC-BM1-L","stock":"available","bandwidth":1000,"commercial_range":"high_cpu","price_by_minute":{"currency_code":"EUR","units":1,"nanos":499900000},"price_by_month":{"currency_code":"EUR","units":749,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"Intel Xeon Gold 5120","cores":28,"threads":56,"frequency":2200},{"name":"Intel Xeon Gold 5120","cores":28,"threads":56,"frequency":2200}],"memory":[{"capacity":384,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":1,"nanos":499900000},"price_per_month":{"currency_code":"EUR","units":749,"nanos":990000000}},{"id":"5363865f-2266-40f9-a43f-4f3aba251524","name":"HM-BM1-XL","stock":"available","bandwidth":1000,"commercial_range":"high_memory","price_by_minute":{"currency_code":"EUR","units":2,"nanos":599900000},"price_by_month":{"currency_code":"EUR","units":1299,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"Intel Xeon Gold 6140","cores":36,"threads":72,"frequency":2300},{"name":"Intel Xeon Gold 6140","cores":36,"threads":72,"frequency":2300}],"memory":[{"capacity":768,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":2,"nanos":599900000},"price_per_month":{"currency_code":"EUR","units":1299,"nanos":990000000}},{"id":"737f18c8-febc-4408-b69e-776bca0a3f48","name":"HC-BM1-S","stock":"available","bandwidth":1000,"commercial_range":"high_cpu","price_by_minute":{"currency_code":"EUR","units":0,"nanos":659900000},"price_by_month":{"currency_code":"EUR","units":329,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"Intel Xeon Silver 4114","cores":10,"threads":20,"frequency":2200},{"name":"Intel Xeon Silver 4114","cores":10,"threads":20,"frequency":2200}],"memory":[{"capacity":128,"type":"DDR4","frequency":2400,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":659900000},"price_per_month":{"currency_code":"EUR","units":329,"nanos":990000000}},{"id":"8090d302-3545-4905-9cf3-bcb77a299f47","name":"GP-BM1-L","stock":"available","bandwidth":750,"commercial_range":"general_purpose","price_by_minute":{"currency_code":"EUR","units":0,"nanos":499900000},"price_by_month":{"currency_code":"EUR","units":249,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"AMD EPYC 7281","cores":16,"threads":32,"frequency":2100}],"memory":[{"capacity":96,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_gp","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":499900000},"price_per_month":{"currency_code":"EUR","units":249,"nanos":990000000}},{"id":"964f9b38-577e-470f-a220-7d762f9e8672","name":"GP-BM1-M","stock":"available","bandwidth":500,"commercial_range":"general_purpose","price_by_minute":{"currency_code":"EUR","units":0,"nanos":399900000},"price_by_month":{"currency_code":"EUR","units":199,"nanos":990000000},"disk":[{"capacity":1024,"type":"SSD"},{"capacity":1024,"type":"SSD"},{"capacity":1024,"type":"SSD"}],"enable":true,"cpu":[{"name":"Intel Xeon E3 1240v6","cores":4,"threads":8,"frequency":3700}],"memory":[{"capacity":64,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_gp","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":399900000},"price_per_month":{"currency_code":"EUR","units":199,"nanos":990000000}},{"id":"c452f76a-2cda-4a1b-9658-a16952dc5ff0","name":"HM-BM1-M","stock":"available","bandwidth":1000,"commercial_range":"high_memory","price_by_minute":{"currency_code":"EUR","units":0,"nanos":799900000},"price_by_month":{"currency_code":"EUR","units":399,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"AMD EPYC 7401P","cores":24,"threads":48,"frequency":2000}],"memory":[{"capacity":256,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":799900000},"price_per_month":{"currency_code":"EUR","units":399,"nanos":990000000}}]} +---------------------------------------------------------- +DEBUG: 2019/12/09 16:04:07 creating POST request on https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers +DEBUG: 2019/12/09 16:04:07 +--------------- Scaleway SDK REQUEST 2 : --------------- +POST /baremetal/v1alpha1/zones/fr-par-2/servers HTTP/1.1 +Host: api.scaleway.com +User-Agent: scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test +Content-Length: 172 +Content-Type: application/json +X-Auth-Token: 148499e0-xxxx-xxxx-xxxx-xxxxxxxxxxxx +Accept-Encoding: gzip + +{"offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-mystifying-shannon","description":"","tags":null} +--------------------------------------------------------- +DEBUG: 2019/12/09 16:04:07 +--------------- Scaleway SDK RESPONSE 2 : --------------- +HTTP/1.0 200 OK +Connection: close +Content-Length: 404 +Content-Security-Policy: default-src 'none'; frame-ancestors 'none' +Content-Type: application/json +Date: Tue, 17 Mar 2020 15:00:14 GMT +Server: scaleway_api +Strict-Transport-Security: max-age=63072000 +X-Content-Type-Options: nosniff +X-Frame-Options: DENY +X-Request-Id: 08cd5b27-ee60-44fd-94c9-45c7a7f3b501 + +{"id":"2bc82be8-aeb4-4cf3-a474-954c5abf7d3b","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-mystifying-shannon","description":"","updated_at":"2020-03-17T15:00:15.123704001Z","created_at":"2020-03-17T15:00:15.123704001Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"} +---------------------------------------------------------- +DEBUG: 2019/12/09 16:04:07 marshalling type '*baremetal.Server' +DEBUG: 2019/12/09 16:04:07 marshalling type 'baremetal.Server' +DEBUG: 2019/12/09 16:04:07 skipping check version +DEBUG: 2019/12/09 16:04:07 skipping telemetry report diff --git a/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.stdout.golden b/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.stdout.golden index ac0437d60b..de92873d72 100644 --- a/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.stdout.golden +++ b/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.stdout.golden @@ -1,6 +1,6 @@ -id 56443f14-77a3-47f9-9468-972be70d20fa +id 2bc82be8-aeb4-4cf3-a474-954c5abf7d3b organization-id 951df375-e094-4d26-97c1-ba548eeb9c42 -name cli-bm-adoring-burnell +name cli-bm-mystifying-shannon description - updated-at few seconds ago created-at few seconds ago diff --git a/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-tags.cassette.yaml b/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-tags.cassette.yaml index 1cf7f6a6c4..4c01bb9e95 100644 --- a/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-tags.cassette.yaml +++ b/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-tags.cassette.yaml @@ -7,19 +7,60 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-1/offers?page=1 + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/offers?page=1 method: GET response: - body: '{"message":"unknown service"}' + body: '{"total_count":6,"offers":[{"id":"3ab0dc29-2fd4-486e-88bf-d08fbf49214b","name":"HC-BM1-L","stock":"available","bandwidth":1000,"commercial_range":"high_cpu","price_by_minute":{"currency_code":"EUR","units":1,"nanos":499900000},"price_by_month":{"currency_code":"EUR","units":749,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"Intel + Xeon Gold 5120","cores":28,"threads":56,"frequency":2200},{"name":"Intel Xeon + Gold 5120","cores":28,"threads":56,"frequency":2200}],"memory":[{"capacity":384,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":1,"nanos":499900000},"price_per_month":{"currency_code":"EUR","units":749,"nanos":990000000}},{"id":"5363865f-2266-40f9-a43f-4f3aba251524","name":"HM-BM1-XL","stock":"available","bandwidth":1000,"commercial_range":"high_memory","price_by_minute":{"currency_code":"EUR","units":2,"nanos":599900000},"price_by_month":{"currency_code":"EUR","units":1299,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"Intel + Xeon Gold 6140","cores":36,"threads":72,"frequency":2300},{"name":"Intel Xeon + Gold 6140","cores":36,"threads":72,"frequency":2300}],"memory":[{"capacity":768,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":2,"nanos":599900000},"price_per_month":{"currency_code":"EUR","units":1299,"nanos":990000000}},{"id":"737f18c8-febc-4408-b69e-776bca0a3f48","name":"HC-BM1-S","stock":"available","bandwidth":1000,"commercial_range":"high_cpu","price_by_minute":{"currency_code":"EUR","units":0,"nanos":659900000},"price_by_month":{"currency_code":"EUR","units":329,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"Intel + Xeon Silver 4114","cores":10,"threads":20,"frequency":2200},{"name":"Intel Xeon + Silver 4114","cores":10,"threads":20,"frequency":2200}],"memory":[{"capacity":128,"type":"DDR4","frequency":2400,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":659900000},"price_per_month":{"currency_code":"EUR","units":329,"nanos":990000000}},{"id":"8090d302-3545-4905-9cf3-bcb77a299f47","name":"GP-BM1-L","stock":"available","bandwidth":750,"commercial_range":"general_purpose","price_by_minute":{"currency_code":"EUR","units":0,"nanos":499900000},"price_by_month":{"currency_code":"EUR","units":249,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"AMD + EPYC 7281","cores":16,"threads":32,"frequency":2100}],"memory":[{"capacity":96,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_gp","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":499900000},"price_per_month":{"currency_code":"EUR","units":249,"nanos":990000000}},{"id":"964f9b38-577e-470f-a220-7d762f9e8672","name":"GP-BM1-M","stock":"available","bandwidth":500,"commercial_range":"general_purpose","price_by_minute":{"currency_code":"EUR","units":0,"nanos":399900000},"price_by_month":{"currency_code":"EUR","units":199,"nanos":990000000},"disk":[{"capacity":1024,"type":"SSD"},{"capacity":1024,"type":"SSD"},{"capacity":1024,"type":"SSD"}],"enable":true,"cpu":[{"name":"Intel + Xeon E3 1240v6","cores":4,"threads":8,"frequency":3700}],"memory":[{"capacity":64,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_gp","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":399900000},"price_per_month":{"currency_code":"EUR","units":199,"nanos":990000000}},{"id":"c452f76a-2cda-4a1b-9658-a16952dc5ff0","name":"HM-BM1-M","stock":"available","bandwidth":1000,"commercial_range":"high_memory","price_by_minute":{"currency_code":"EUR","units":0,"nanos":799900000},"price_by_month":{"currency_code":"EUR","units":399,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"AMD + EPYC 7401P","cores":24,"threads":48,"frequency":2000}],"memory":[{"capacity":256,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":799900000},"price_per_month":{"currency_code":"EUR","units":399,"nanos":990000000}}]}' + headers: + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Tue, 17 Mar 2020 15:00:15 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 9f8be67d-a95b-4b40-86e6-1b1fb8bf98dc + status: 200 OK + code: 200 + duration: "" +- request: + body: '{"offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-vibrant-wilbur","description":"","tags":["prod","blue"]}' + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers + method: POST + response: + body: '{"id":"f207f39a-0866-4ac6-a670-8aa29332887b","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-vibrant-wilbur","description":"","updated_at":"2020-03-17T15:00:15.507239650Z","created_at":"2020-03-17T15:00:15.507239650Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "29" + - "413" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Mon, 16 Mar 2020 15:02:44 GMT + - Tue, 17 Mar 2020 15:00:15 GMT Server: - scaleway_api Strict-Transport-Security: @@ -29,7 +70,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 981b4050-4f98-4fd4-ab5e-a8a4e78ed537 - status: 501 Not Implemented - code: 501 + - b6caf81f-45f6-4ce1-ab3a-757a53b7d02d + status: 200 OK + code: 200 duration: "" diff --git a/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-with-name.cassette.yaml b/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-with-name.cassette.yaml index c3b7e1745f..d476931808 100644 --- a/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-with-name.cassette.yaml +++ b/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-with-name.cassette.yaml @@ -12,11 +12,11 @@ interactions: response: body: '{"total_count":6,"offers":[{"id":"3ab0dc29-2fd4-486e-88bf-d08fbf49214b","name":"HC-BM1-L","stock":"available","bandwidth":1000,"commercial_range":"high_cpu","price_by_minute":{"currency_code":"EUR","units":1,"nanos":499900000},"price_by_month":{"currency_code":"EUR","units":749,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"Intel Xeon Gold 5120","cores":28,"threads":56,"frequency":2200},{"name":"Intel Xeon - Gold 5120","cores":28,"threads":56,"frequency":2200}],"memory":[{"capacity":384,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":1,"nanos":499900000},"price_per_month":{"currency_code":"EUR","units":749,"nanos":990000000}},{"id":"5363865f-2266-40f9-a43f-4f3aba251524","name":"HM-BM1-XL","stock":"empty","bandwidth":1000,"commercial_range":"high_memory","price_by_minute":{"currency_code":"EUR","units":2,"nanos":599900000},"price_by_month":{"currency_code":"EUR","units":1299,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"Intel + Gold 5120","cores":28,"threads":56,"frequency":2200}],"memory":[{"capacity":384,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":1,"nanos":499900000},"price_per_month":{"currency_code":"EUR","units":749,"nanos":990000000}},{"id":"5363865f-2266-40f9-a43f-4f3aba251524","name":"HM-BM1-XL","stock":"available","bandwidth":1000,"commercial_range":"high_memory","price_by_minute":{"currency_code":"EUR","units":2,"nanos":599900000},"price_by_month":{"currency_code":"EUR","units":1299,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"Intel Xeon Gold 6140","cores":36,"threads":72,"frequency":2300},{"name":"Intel Xeon Gold 6140","cores":36,"threads":72,"frequency":2300}],"memory":[{"capacity":768,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":2,"nanos":599900000},"price_per_month":{"currency_code":"EUR","units":1299,"nanos":990000000}},{"id":"737f18c8-febc-4408-b69e-776bca0a3f48","name":"HC-BM1-S","stock":"available","bandwidth":1000,"commercial_range":"high_cpu","price_by_minute":{"currency_code":"EUR","units":0,"nanos":659900000},"price_by_month":{"currency_code":"EUR","units":329,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"Intel Xeon Silver 4114","cores":10,"threads":20,"frequency":2200},{"name":"Intel Xeon - Silver 4114","cores":10,"threads":20,"frequency":2200}],"memory":[{"capacity":128,"type":"DDR4","frequency":2400,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":659900000},"price_per_month":{"currency_code":"EUR","units":329,"nanos":990000000}},{"id":"8090d302-3545-4905-9cf3-bcb77a299f47","name":"GP-BM1-L","stock":"available","bandwidth":1000,"commercial_range":"general_purpose","price_by_minute":{"currency_code":"EUR","units":0,"nanos":499900000},"price_by_month":{"currency_code":"EUR","units":249,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"AMD + Silver 4114","cores":10,"threads":20,"frequency":2200}],"memory":[{"capacity":128,"type":"DDR4","frequency":2400,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":659900000},"price_per_month":{"currency_code":"EUR","units":329,"nanos":990000000}},{"id":"8090d302-3545-4905-9cf3-bcb77a299f47","name":"GP-BM1-L","stock":"available","bandwidth":750,"commercial_range":"general_purpose","price_by_minute":{"currency_code":"EUR","units":0,"nanos":499900000},"price_by_month":{"currency_code":"EUR","units":249,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"AMD EPYC 7281","cores":16,"threads":32,"frequency":2100}],"memory":[{"capacity":96,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_gp","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":499900000},"price_per_month":{"currency_code":"EUR","units":249,"nanos":990000000}},{"id":"964f9b38-577e-470f-a220-7d762f9e8672","name":"GP-BM1-M","stock":"available","bandwidth":500,"commercial_range":"general_purpose","price_by_minute":{"currency_code":"EUR","units":0,"nanos":399900000},"price_by_month":{"currency_code":"EUR","units":199,"nanos":990000000},"disk":[{"capacity":1024,"type":"SSD"},{"capacity":1024,"type":"SSD"},{"capacity":1024,"type":"SSD"}],"enable":true,"cpu":[{"name":"Intel Xeon E3 1240v6","cores":4,"threads":8,"frequency":3700}],"memory":[{"capacity":64,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_gp","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":399900000},"price_per_month":{"currency_code":"EUR","units":199,"nanos":990000000}},{"id":"c452f76a-2cda-4a1b-9658-a16952dc5ff0","name":"HM-BM1-M","stock":"available","bandwidth":1000,"commercial_range":"high_memory","price_by_minute":{"currency_code":"EUR","units":0,"nanos":799900000},"price_by_month":{"currency_code":"EUR","units":399,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"AMD EPYC 7401P","cores":24,"threads":48,"frequency":2000}],"memory":[{"capacity":256,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":799900000},"price_per_month":{"currency_code":"EUR","units":399,"nanos":990000000}}]}' @@ -26,7 +26,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 16 Mar 2020 15:02:43 GMT + - Tue, 17 Mar 2020 15:00:15 GMT Server: - scaleway_api Strict-Transport-Security: @@ -36,7 +36,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 055b219b-3a58-4644-8ada-c52a45860409 + - 30ad351b-2bb8-46ee-9b31-3d7315c6856d status: 200 OK code: 200 duration: "" @@ -51,7 +51,7 @@ interactions: url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers method: POST response: - body: '{"id":"6efbd781-c0af-49f7-a8e3-0c7902c9d240","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-16T15:02:44.329274421Z","created_at":"2020-03-16T15:02:44.329274421Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"db39db88-86d6-46ca-b2bc-d16e0253746b","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-17T15:00:15.346636913Z","created_at":"2020-03-17T15:00:15.346636913Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - "381" @@ -60,7 +60,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 16 Mar 2020 15:02:44 GMT + - Tue, 17 Mar 2020 15:00:15 GMT Server: - scaleway_api Strict-Transport-Security: @@ -70,39 +70,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 7c17bdc6-79cf-4d07-8bdf-3d1c3157c93d + - a5d4450f-b8d3-4182-a3a5-6a3f17a29172 status: 200 OK code: 200 duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-1/servers/6efbd781-c0af-49f7-a8e3-0c7902c9d240 - method: DELETE - response: - body: '{"message":"unknown service"}' - headers: - Content-Length: - - "29" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Mon, 16 Mar 2020 15:02:44 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - dd0b5704-47ba-480e-97ca-a75729625c66 - status: 501 Not Implemented - code: 501 - duration: "" From ec45e1026dfa7a0b5614d56b685b09f3e3b11421 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20L=C3=A9one?= Date: Tue, 17 Mar 2020 18:33:54 +0100 Subject: [PATCH 22/67] Fix --- .../baremetal/v1alpha1/custom_server.go | 28 ++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/internal/namespaces/baremetal/v1alpha1/custom_server.go b/internal/namespaces/baremetal/v1alpha1/custom_server.go index cf361ac608..10de10c306 100644 --- a/internal/namespaces/baremetal/v1alpha1/custom_server.go +++ b/internal/namespaces/baremetal/v1alpha1/custom_server.go @@ -1,7 +1,33 @@ package baremetal -import "time" +import ( + "context" + "time" + + "github.com/scaleway/scaleway-cli/internal/core" + baremetal "github.com/scaleway/scaleway-sdk-go/api/baremetal/v1alpha1" + "github.com/scaleway/scaleway-sdk-go/scw" +) const ( serverActionTimeout = 10 * time.Minute ) + +const ( + serverActionReboot = iota +) + +func waitForServerFunc(action int) core.WaitFunc { + return func(ctx context.Context, _, respI interface{}) (interface{}, error) { + server, err := baremetal.NewAPI(core.ExtractClient(ctx)).WaitForServer(&baremetal.WaitForServerRequest{ + ServerID: respI.(*baremetal.Server).ID, + Zone: respI.(*baremetal.Server).Zone, + Timeout: scw.DurationPtr(serverActionTimeout), + }) + switch action { + case serverActionReboot: + return server, err + } + return nil, err + } +} From 3bc406fb53851d076c475e8547aedd47d06acf9d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20L=C3=A9one?= Date: Thu, 19 Mar 2020 12:23:44 +0100 Subject: [PATCH 23/67] Fix --- .../baremetal/v1alpha1/custom_server.go | 3 +- .../v1alpha1/custom_server_create_test.go | 6 +- ...create-server-simple-default.cassette.yaml | 20 +++---- ...create-server-simple-default.stderr.golden | 60 ------------------- ...create-server-simple-default.stdout.golden | 4 +- ...st-create-server-simple-tags.cassette.yaml | 20 +++---- ...eate-server-simple-with-name.cassette.yaml | 16 ++--- ...t-list-server-list-with-tags.cassette.yaml | 10 ++-- ...t-list-server-list-with-tags.stdout.golden | 3 +- .../test-list-server-simple.cassette.yaml | 10 ++-- .../test-list-server-simple.stdout.golden | 12 +++- 11 files changed, 53 insertions(+), 111 deletions(-) delete mode 100644 internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.stderr.golden diff --git a/internal/namespaces/baremetal/v1alpha1/custom_server.go b/internal/namespaces/baremetal/v1alpha1/custom_server.go index 10de10c306..c4cc1e53d7 100644 --- a/internal/namespaces/baremetal/v1alpha1/custom_server.go +++ b/internal/namespaces/baremetal/v1alpha1/custom_server.go @@ -6,7 +6,6 @@ import ( "github.com/scaleway/scaleway-cli/internal/core" baremetal "github.com/scaleway/scaleway-sdk-go/api/baremetal/v1alpha1" - "github.com/scaleway/scaleway-sdk-go/scw" ) const ( @@ -22,7 +21,7 @@ func waitForServerFunc(action int) core.WaitFunc { server, err := baremetal.NewAPI(core.ExtractClient(ctx)).WaitForServer(&baremetal.WaitForServerRequest{ ServerID: respI.(*baremetal.Server).ID, Zone: respI.(*baremetal.Server).Zone, - Timeout: scw.DurationPtr(serverActionTimeout), + Timeout: serverActionTimeout, }) switch action { case serverActionReboot: diff --git a/internal/namespaces/baremetal/v1alpha1/custom_server_create_test.go b/internal/namespaces/baremetal/v1alpha1/custom_server_create_test.go index 2c1edcc10e..c84dce402c 100644 --- a/internal/namespaces/baremetal/v1alpha1/custom_server_create_test.go +++ b/internal/namespaces/baremetal/v1alpha1/custom_server_create_test.go @@ -40,7 +40,7 @@ func Test_CreateServer(t *testing.T) { core.TestCheckExitCode(0), ), DefaultZone: scw.ZoneFrPar2, - //AfterFunc: deleteServerAfterFunc, + //AfterFunc: deleteServerAfterFunc, })) t.Run("Tags", core.Test(&core.TestConfig{ @@ -54,12 +54,12 @@ func Test_CreateServer(t *testing.T) { core.TestCheckExitCode(0), ), DefaultZone: scw.ZoneFrPar2, - //AfterFunc: deleteServerAfterFunc, + //AfterFunc: deleteServerAfterFunc, })) //t.Run("HC-BM1-L", core.Test(&core.TestConfig{ // Commands: GetCommands(), - // Cmd: "scw baremetal server create type=HC-BM1-L zone=fr-par-2", + // Cmd: "scw baremetal server create type=HC-BM1-L zone=fr-par-2 --wait", // Check: core.TestCheckCombine( // func(t *testing.T, ctx *core.CheckFuncCtx) { // assert.Equal(t, "HC-BM1-L", ctx.Result.(*baremetal.Server).CommercialType) diff --git a/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.cassette.yaml b/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.cassette.yaml index 685ccbadda..932a36c772 100644 --- a/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.cassette.yaml +++ b/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.cassette.yaml @@ -10,13 +10,13 @@ interactions: url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/offers?page=1 method: GET response: - body: '{"total_count":6,"offers":[{"id":"3ab0dc29-2fd4-486e-88bf-d08fbf49214b","name":"HC-BM1-L","stock":"available","bandwidth":1000,"commercial_range":"high_cpu","price_by_minute":{"currency_code":"EUR","units":1,"nanos":499900000},"price_by_month":{"currency_code":"EUR","units":749,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"Intel + body: '{"total_count":6,"offers":[{"id":"3ab0dc29-2fd4-486e-88bf-d08fbf49214b","name":"HC-BM1-L","stock":"empty","bandwidth":1000,"commercial_range":"high_cpu","price_by_minute":{"currency_code":"EUR","units":1,"nanos":499900000},"price_by_month":{"currency_code":"EUR","units":749,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"Intel Xeon Gold 5120","cores":28,"threads":56,"frequency":2200},{"name":"Intel Xeon - Gold 5120","cores":28,"threads":56,"frequency":2200}],"memory":[{"capacity":384,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":1,"nanos":499900000},"price_per_month":{"currency_code":"EUR","units":749,"nanos":990000000}},{"id":"5363865f-2266-40f9-a43f-4f3aba251524","name":"HM-BM1-XL","stock":"available","bandwidth":1000,"commercial_range":"high_memory","price_by_minute":{"currency_code":"EUR","units":2,"nanos":599900000},"price_by_month":{"currency_code":"EUR","units":1299,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"Intel + Gold 5120","cores":28,"threads":56,"frequency":2200}],"memory":[{"capacity":384,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":1,"nanos":499900000},"price_per_month":{"currency_code":"EUR","units":749,"nanos":990000000}},{"id":"5363865f-2266-40f9-a43f-4f3aba251524","name":"HM-BM1-XL","stock":"empty","bandwidth":1000,"commercial_range":"high_memory","price_by_minute":{"currency_code":"EUR","units":2,"nanos":599900000},"price_by_month":{"currency_code":"EUR","units":1299,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"Intel Xeon Gold 6140","cores":36,"threads":72,"frequency":2300},{"name":"Intel Xeon Gold 6140","cores":36,"threads":72,"frequency":2300}],"memory":[{"capacity":768,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":2,"nanos":599900000},"price_per_month":{"currency_code":"EUR","units":1299,"nanos":990000000}},{"id":"737f18c8-febc-4408-b69e-776bca0a3f48","name":"HC-BM1-S","stock":"available","bandwidth":1000,"commercial_range":"high_cpu","price_by_minute":{"currency_code":"EUR","units":0,"nanos":659900000},"price_by_month":{"currency_code":"EUR","units":329,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"Intel Xeon Silver 4114","cores":10,"threads":20,"frequency":2200},{"name":"Intel Xeon - Silver 4114","cores":10,"threads":20,"frequency":2200}],"memory":[{"capacity":128,"type":"DDR4","frequency":2400,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":659900000},"price_per_month":{"currency_code":"EUR","units":329,"nanos":990000000}},{"id":"8090d302-3545-4905-9cf3-bcb77a299f47","name":"GP-BM1-L","stock":"available","bandwidth":750,"commercial_range":"general_purpose","price_by_minute":{"currency_code":"EUR","units":0,"nanos":499900000},"price_by_month":{"currency_code":"EUR","units":249,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"AMD + Silver 4114","cores":10,"threads":20,"frequency":2200}],"memory":[{"capacity":128,"type":"DDR4","frequency":2400,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":659900000},"price_per_month":{"currency_code":"EUR","units":329,"nanos":990000000}},{"id":"8090d302-3545-4905-9cf3-bcb77a299f47","name":"GP-BM1-L","stock":"empty","bandwidth":750,"commercial_range":"general_purpose","price_by_minute":{"currency_code":"EUR","units":0,"nanos":499900000},"price_by_month":{"currency_code":"EUR","units":249,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"AMD EPYC 7281","cores":16,"threads":32,"frequency":2100}],"memory":[{"capacity":96,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_gp","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":499900000},"price_per_month":{"currency_code":"EUR","units":249,"nanos":990000000}},{"id":"964f9b38-577e-470f-a220-7d762f9e8672","name":"GP-BM1-M","stock":"available","bandwidth":500,"commercial_range":"general_purpose","price_by_minute":{"currency_code":"EUR","units":0,"nanos":399900000},"price_by_month":{"currency_code":"EUR","units":199,"nanos":990000000},"disk":[{"capacity":1024,"type":"SSD"},{"capacity":1024,"type":"SSD"},{"capacity":1024,"type":"SSD"}],"enable":true,"cpu":[{"name":"Intel Xeon E3 1240v6","cores":4,"threads":8,"frequency":3700}],"memory":[{"capacity":64,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_gp","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":399900000},"price_per_month":{"currency_code":"EUR","units":199,"nanos":990000000}},{"id":"c452f76a-2cda-4a1b-9658-a16952dc5ff0","name":"HM-BM1-M","stock":"available","bandwidth":1000,"commercial_range":"high_memory","price_by_minute":{"currency_code":"EUR","units":0,"nanos":799900000},"price_by_month":{"currency_code":"EUR","units":399,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"AMD EPYC 7401P","cores":24,"threads":48,"frequency":2000}],"memory":[{"capacity":256,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":799900000},"price_per_month":{"currency_code":"EUR","units":399,"nanos":990000000}}]}' @@ -26,7 +26,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 17 Mar 2020 15:00:14 GMT + - Thu, 19 Mar 2020 11:22:48 GMT Server: - scaleway_api Strict-Transport-Security: @@ -36,12 +36,12 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 8ff5663b-c7e8-4b5f-8d67-a8b0b33ef4a2 + - fcb5a084-d5fc-42aa-815c-1d1a4e4cca29 status: 200 OK code: 200 duration: "" - request: - body: '{"offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-mystifying-shannon","description":"","tags":null}' + body: '{"offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-wizardly-bell","description":"","tags":null}' form: {} headers: Content-Type: @@ -51,16 +51,16 @@ interactions: url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers method: POST response: - body: '{"id":"2bc82be8-aeb4-4cf3-a474-954c5abf7d3b","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-mystifying-shannon","description":"","updated_at":"2020-03-17T15:00:15.123704001Z","created_at":"2020-03-17T15:00:15.123704001Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"24cf0a23-978a-47c0-9a1d-07fcfefef270","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-wizardly-bell","description":"","updated_at":"2020-03-19T11:22:48.464487164Z","created_at":"2020-03-19T11:22:48.464487164Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "404" + - "399" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Tue, 17 Mar 2020 15:00:14 GMT + - Thu, 19 Mar 2020 11:22:48 GMT Server: - scaleway_api Strict-Transport-Security: @@ -70,7 +70,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 08cd5b27-ee60-44fd-94c9-45c7a7f3b501 + - 42e211d3-42ab-4597-b08b-2bc606821637 status: 200 OK code: 200 duration: "" diff --git a/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.stderr.golden b/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.stderr.golden deleted file mode 100644 index 55fbb60f72..0000000000 --- a/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.stderr.golden +++ /dev/null @@ -1,60 +0,0 @@ -DEBUG: 2019/12/09 16:04:07 creating GET request on https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/offers?page=1 -DEBUG: 2019/12/09 16:04:07 ---------------- Scaleway SDK REQUEST 1 : --------------- -GET /baremetal/v1alpha1/zones/fr-par-2/offers?page=1 HTTP/1.1 -Host: api.scaleway.com -User-Agent: scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test -X-Auth-Token: 148499e0-xxxx-xxxx-xxxx-xxxxxxxxxxxx -Accept-Encoding: gzip - - ---------------------------------------------------------- -DEBUG: 2019/12/09 16:04:07 ---------------- Scaleway SDK RESPONSE 1 : --------------- -HTTP/1.0 200 OK -Connection: close -Content-Length: 4684 -Content-Security-Policy: default-src 'none'; frame-ancestors 'none' -Content-Type: application/json -Date: Tue, 17 Mar 2020 15:00:14 GMT -Server: scaleway_api -Strict-Transport-Security: max-age=63072000 -X-Content-Type-Options: nosniff -X-Frame-Options: DENY -X-Request-Id: 8ff5663b-c7e8-4b5f-8d67-a8b0b33ef4a2 - -{"total_count":6,"offers":[{"id":"3ab0dc29-2fd4-486e-88bf-d08fbf49214b","name":"HC-BM1-L","stock":"available","bandwidth":1000,"commercial_range":"high_cpu","price_by_minute":{"currency_code":"EUR","units":1,"nanos":499900000},"price_by_month":{"currency_code":"EUR","units":749,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"Intel Xeon Gold 5120","cores":28,"threads":56,"frequency":2200},{"name":"Intel Xeon Gold 5120","cores":28,"threads":56,"frequency":2200}],"memory":[{"capacity":384,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":1,"nanos":499900000},"price_per_month":{"currency_code":"EUR","units":749,"nanos":990000000}},{"id":"5363865f-2266-40f9-a43f-4f3aba251524","name":"HM-BM1-XL","stock":"available","bandwidth":1000,"commercial_range":"high_memory","price_by_minute":{"currency_code":"EUR","units":2,"nanos":599900000},"price_by_month":{"currency_code":"EUR","units":1299,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"Intel Xeon Gold 6140","cores":36,"threads":72,"frequency":2300},{"name":"Intel Xeon Gold 6140","cores":36,"threads":72,"frequency":2300}],"memory":[{"capacity":768,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":2,"nanos":599900000},"price_per_month":{"currency_code":"EUR","units":1299,"nanos":990000000}},{"id":"737f18c8-febc-4408-b69e-776bca0a3f48","name":"HC-BM1-S","stock":"available","bandwidth":1000,"commercial_range":"high_cpu","price_by_minute":{"currency_code":"EUR","units":0,"nanos":659900000},"price_by_month":{"currency_code":"EUR","units":329,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"Intel Xeon Silver 4114","cores":10,"threads":20,"frequency":2200},{"name":"Intel Xeon Silver 4114","cores":10,"threads":20,"frequency":2200}],"memory":[{"capacity":128,"type":"DDR4","frequency":2400,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":659900000},"price_per_month":{"currency_code":"EUR","units":329,"nanos":990000000}},{"id":"8090d302-3545-4905-9cf3-bcb77a299f47","name":"GP-BM1-L","stock":"available","bandwidth":750,"commercial_range":"general_purpose","price_by_minute":{"currency_code":"EUR","units":0,"nanos":499900000},"price_by_month":{"currency_code":"EUR","units":249,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"AMD EPYC 7281","cores":16,"threads":32,"frequency":2100}],"memory":[{"capacity":96,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_gp","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":499900000},"price_per_month":{"currency_code":"EUR","units":249,"nanos":990000000}},{"id":"964f9b38-577e-470f-a220-7d762f9e8672","name":"GP-BM1-M","stock":"available","bandwidth":500,"commercial_range":"general_purpose","price_by_minute":{"currency_code":"EUR","units":0,"nanos":399900000},"price_by_month":{"currency_code":"EUR","units":199,"nanos":990000000},"disk":[{"capacity":1024,"type":"SSD"},{"capacity":1024,"type":"SSD"},{"capacity":1024,"type":"SSD"}],"enable":true,"cpu":[{"name":"Intel Xeon E3 1240v6","cores":4,"threads":8,"frequency":3700}],"memory":[{"capacity":64,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_gp","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":399900000},"price_per_month":{"currency_code":"EUR","units":199,"nanos":990000000}},{"id":"c452f76a-2cda-4a1b-9658-a16952dc5ff0","name":"HM-BM1-M","stock":"available","bandwidth":1000,"commercial_range":"high_memory","price_by_minute":{"currency_code":"EUR","units":0,"nanos":799900000},"price_by_month":{"currency_code":"EUR","units":399,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"AMD EPYC 7401P","cores":24,"threads":48,"frequency":2000}],"memory":[{"capacity":256,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":799900000},"price_per_month":{"currency_code":"EUR","units":399,"nanos":990000000}}]} ----------------------------------------------------------- -DEBUG: 2019/12/09 16:04:07 creating POST request on https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers -DEBUG: 2019/12/09 16:04:07 ---------------- Scaleway SDK REQUEST 2 : --------------- -POST /baremetal/v1alpha1/zones/fr-par-2/servers HTTP/1.1 -Host: api.scaleway.com -User-Agent: scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test -Content-Length: 172 -Content-Type: application/json -X-Auth-Token: 148499e0-xxxx-xxxx-xxxx-xxxxxxxxxxxx -Accept-Encoding: gzip - -{"offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-mystifying-shannon","description":"","tags":null} ---------------------------------------------------------- -DEBUG: 2019/12/09 16:04:07 ---------------- Scaleway SDK RESPONSE 2 : --------------- -HTTP/1.0 200 OK -Connection: close -Content-Length: 404 -Content-Security-Policy: default-src 'none'; frame-ancestors 'none' -Content-Type: application/json -Date: Tue, 17 Mar 2020 15:00:14 GMT -Server: scaleway_api -Strict-Transport-Security: max-age=63072000 -X-Content-Type-Options: nosniff -X-Frame-Options: DENY -X-Request-Id: 08cd5b27-ee60-44fd-94c9-45c7a7f3b501 - -{"id":"2bc82be8-aeb4-4cf3-a474-954c5abf7d3b","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-mystifying-shannon","description":"","updated_at":"2020-03-17T15:00:15.123704001Z","created_at":"2020-03-17T15:00:15.123704001Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"} ----------------------------------------------------------- -DEBUG: 2019/12/09 16:04:07 marshalling type '*baremetal.Server' -DEBUG: 2019/12/09 16:04:07 marshalling type 'baremetal.Server' -DEBUG: 2019/12/09 16:04:07 skipping check version -DEBUG: 2019/12/09 16:04:07 skipping telemetry report diff --git a/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.stdout.golden b/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.stdout.golden index de92873d72..455ae5c5dc 100644 --- a/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.stdout.golden +++ b/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.stdout.golden @@ -1,6 +1,6 @@ -id 2bc82be8-aeb4-4cf3-a474-954c5abf7d3b +id 24cf0a23-978a-47c0-9a1d-07fcfefef270 organization-id 951df375-e094-4d26-97c1-ba548eeb9c42 -name cli-bm-mystifying-shannon +name cli-bm-wizardly-bell description - updated-at few seconds ago created-at few seconds ago diff --git a/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-tags.cassette.yaml b/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-tags.cassette.yaml index 4c01bb9e95..dd8e69f281 100644 --- a/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-tags.cassette.yaml +++ b/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-tags.cassette.yaml @@ -10,13 +10,13 @@ interactions: url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/offers?page=1 method: GET response: - body: '{"total_count":6,"offers":[{"id":"3ab0dc29-2fd4-486e-88bf-d08fbf49214b","name":"HC-BM1-L","stock":"available","bandwidth":1000,"commercial_range":"high_cpu","price_by_minute":{"currency_code":"EUR","units":1,"nanos":499900000},"price_by_month":{"currency_code":"EUR","units":749,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"Intel + body: '{"total_count":6,"offers":[{"id":"3ab0dc29-2fd4-486e-88bf-d08fbf49214b","name":"HC-BM1-L","stock":"empty","bandwidth":1000,"commercial_range":"high_cpu","price_by_minute":{"currency_code":"EUR","units":1,"nanos":499900000},"price_by_month":{"currency_code":"EUR","units":749,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"Intel Xeon Gold 5120","cores":28,"threads":56,"frequency":2200},{"name":"Intel Xeon - Gold 5120","cores":28,"threads":56,"frequency":2200}],"memory":[{"capacity":384,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":1,"nanos":499900000},"price_per_month":{"currency_code":"EUR","units":749,"nanos":990000000}},{"id":"5363865f-2266-40f9-a43f-4f3aba251524","name":"HM-BM1-XL","stock":"available","bandwidth":1000,"commercial_range":"high_memory","price_by_minute":{"currency_code":"EUR","units":2,"nanos":599900000},"price_by_month":{"currency_code":"EUR","units":1299,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"Intel + Gold 5120","cores":28,"threads":56,"frequency":2200}],"memory":[{"capacity":384,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":1,"nanos":499900000},"price_per_month":{"currency_code":"EUR","units":749,"nanos":990000000}},{"id":"5363865f-2266-40f9-a43f-4f3aba251524","name":"HM-BM1-XL","stock":"empty","bandwidth":1000,"commercial_range":"high_memory","price_by_minute":{"currency_code":"EUR","units":2,"nanos":599900000},"price_by_month":{"currency_code":"EUR","units":1299,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"Intel Xeon Gold 6140","cores":36,"threads":72,"frequency":2300},{"name":"Intel Xeon Gold 6140","cores":36,"threads":72,"frequency":2300}],"memory":[{"capacity":768,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":2,"nanos":599900000},"price_per_month":{"currency_code":"EUR","units":1299,"nanos":990000000}},{"id":"737f18c8-febc-4408-b69e-776bca0a3f48","name":"HC-BM1-S","stock":"available","bandwidth":1000,"commercial_range":"high_cpu","price_by_minute":{"currency_code":"EUR","units":0,"nanos":659900000},"price_by_month":{"currency_code":"EUR","units":329,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"Intel Xeon Silver 4114","cores":10,"threads":20,"frequency":2200},{"name":"Intel Xeon - Silver 4114","cores":10,"threads":20,"frequency":2200}],"memory":[{"capacity":128,"type":"DDR4","frequency":2400,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":659900000},"price_per_month":{"currency_code":"EUR","units":329,"nanos":990000000}},{"id":"8090d302-3545-4905-9cf3-bcb77a299f47","name":"GP-BM1-L","stock":"available","bandwidth":750,"commercial_range":"general_purpose","price_by_minute":{"currency_code":"EUR","units":0,"nanos":499900000},"price_by_month":{"currency_code":"EUR","units":249,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"AMD + Silver 4114","cores":10,"threads":20,"frequency":2200}],"memory":[{"capacity":128,"type":"DDR4","frequency":2400,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":659900000},"price_per_month":{"currency_code":"EUR","units":329,"nanos":990000000}},{"id":"8090d302-3545-4905-9cf3-bcb77a299f47","name":"GP-BM1-L","stock":"empty","bandwidth":750,"commercial_range":"general_purpose","price_by_minute":{"currency_code":"EUR","units":0,"nanos":499900000},"price_by_month":{"currency_code":"EUR","units":249,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"AMD EPYC 7281","cores":16,"threads":32,"frequency":2100}],"memory":[{"capacity":96,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_gp","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":499900000},"price_per_month":{"currency_code":"EUR","units":249,"nanos":990000000}},{"id":"964f9b38-577e-470f-a220-7d762f9e8672","name":"GP-BM1-M","stock":"available","bandwidth":500,"commercial_range":"general_purpose","price_by_minute":{"currency_code":"EUR","units":0,"nanos":399900000},"price_by_month":{"currency_code":"EUR","units":199,"nanos":990000000},"disk":[{"capacity":1024,"type":"SSD"},{"capacity":1024,"type":"SSD"},{"capacity":1024,"type":"SSD"}],"enable":true,"cpu":[{"name":"Intel Xeon E3 1240v6","cores":4,"threads":8,"frequency":3700}],"memory":[{"capacity":64,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_gp","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":399900000},"price_per_month":{"currency_code":"EUR","units":199,"nanos":990000000}},{"id":"c452f76a-2cda-4a1b-9658-a16952dc5ff0","name":"HM-BM1-M","stock":"available","bandwidth":1000,"commercial_range":"high_memory","price_by_minute":{"currency_code":"EUR","units":0,"nanos":799900000},"price_by_month":{"currency_code":"EUR","units":399,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"AMD EPYC 7401P","cores":24,"threads":48,"frequency":2000}],"memory":[{"capacity":256,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":799900000},"price_per_month":{"currency_code":"EUR","units":399,"nanos":990000000}}]}' @@ -26,7 +26,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 17 Mar 2020 15:00:15 GMT + - Thu, 19 Mar 2020 11:22:48 GMT Server: - scaleway_api Strict-Transport-Security: @@ -36,12 +36,12 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 9f8be67d-a95b-4b40-86e6-1b1fb8bf98dc + - 4c16f61f-14a1-40b9-9195-d623c19668f1 status: 200 OK code: 200 duration: "" - request: - body: '{"offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-vibrant-wilbur","description":"","tags":["prod","blue"]}' + body: '{"offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-optimistic-poitras","description":"","tags":["prod","blue"]}' form: {} headers: Content-Type: @@ -51,16 +51,16 @@ interactions: url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers method: POST response: - body: '{"id":"f207f39a-0866-4ac6-a670-8aa29332887b","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-vibrant-wilbur","description":"","updated_at":"2020-03-17T15:00:15.507239650Z","created_at":"2020-03-17T15:00:15.507239650Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"6ae68ed4-55eb-43a9-8223-e7bf3e886fc0","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-optimistic-poitras","description":"","updated_at":"2020-03-19T11:22:48.835472949Z","created_at":"2020-03-19T11:22:48.835472949Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "413" + - "417" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Tue, 17 Mar 2020 15:00:15 GMT + - Thu, 19 Mar 2020 11:22:48 GMT Server: - scaleway_api Strict-Transport-Security: @@ -70,7 +70,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - b6caf81f-45f6-4ce1-ab3a-757a53b7d02d + - 6176a805-2f8a-48f6-98a5-3f5c0164755e status: 200 OK code: 200 duration: "" diff --git a/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-with-name.cassette.yaml b/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-with-name.cassette.yaml index d476931808..df3efacbbe 100644 --- a/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-with-name.cassette.yaml +++ b/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-with-name.cassette.yaml @@ -10,13 +10,13 @@ interactions: url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/offers?page=1 method: GET response: - body: '{"total_count":6,"offers":[{"id":"3ab0dc29-2fd4-486e-88bf-d08fbf49214b","name":"HC-BM1-L","stock":"available","bandwidth":1000,"commercial_range":"high_cpu","price_by_minute":{"currency_code":"EUR","units":1,"nanos":499900000},"price_by_month":{"currency_code":"EUR","units":749,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"Intel + body: '{"total_count":6,"offers":[{"id":"3ab0dc29-2fd4-486e-88bf-d08fbf49214b","name":"HC-BM1-L","stock":"empty","bandwidth":1000,"commercial_range":"high_cpu","price_by_minute":{"currency_code":"EUR","units":1,"nanos":499900000},"price_by_month":{"currency_code":"EUR","units":749,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"Intel Xeon Gold 5120","cores":28,"threads":56,"frequency":2200},{"name":"Intel Xeon - Gold 5120","cores":28,"threads":56,"frequency":2200}],"memory":[{"capacity":384,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":1,"nanos":499900000},"price_per_month":{"currency_code":"EUR","units":749,"nanos":990000000}},{"id":"5363865f-2266-40f9-a43f-4f3aba251524","name":"HM-BM1-XL","stock":"available","bandwidth":1000,"commercial_range":"high_memory","price_by_minute":{"currency_code":"EUR","units":2,"nanos":599900000},"price_by_month":{"currency_code":"EUR","units":1299,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"Intel + Gold 5120","cores":28,"threads":56,"frequency":2200}],"memory":[{"capacity":384,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":1,"nanos":499900000},"price_per_month":{"currency_code":"EUR","units":749,"nanos":990000000}},{"id":"5363865f-2266-40f9-a43f-4f3aba251524","name":"HM-BM1-XL","stock":"empty","bandwidth":1000,"commercial_range":"high_memory","price_by_minute":{"currency_code":"EUR","units":2,"nanos":599900000},"price_by_month":{"currency_code":"EUR","units":1299,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"Intel Xeon Gold 6140","cores":36,"threads":72,"frequency":2300},{"name":"Intel Xeon Gold 6140","cores":36,"threads":72,"frequency":2300}],"memory":[{"capacity":768,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":2,"nanos":599900000},"price_per_month":{"currency_code":"EUR","units":1299,"nanos":990000000}},{"id":"737f18c8-febc-4408-b69e-776bca0a3f48","name":"HC-BM1-S","stock":"available","bandwidth":1000,"commercial_range":"high_cpu","price_by_minute":{"currency_code":"EUR","units":0,"nanos":659900000},"price_by_month":{"currency_code":"EUR","units":329,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"Intel Xeon Silver 4114","cores":10,"threads":20,"frequency":2200},{"name":"Intel Xeon - Silver 4114","cores":10,"threads":20,"frequency":2200}],"memory":[{"capacity":128,"type":"DDR4","frequency":2400,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":659900000},"price_per_month":{"currency_code":"EUR","units":329,"nanos":990000000}},{"id":"8090d302-3545-4905-9cf3-bcb77a299f47","name":"GP-BM1-L","stock":"available","bandwidth":750,"commercial_range":"general_purpose","price_by_minute":{"currency_code":"EUR","units":0,"nanos":499900000},"price_by_month":{"currency_code":"EUR","units":249,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"AMD + Silver 4114","cores":10,"threads":20,"frequency":2200}],"memory":[{"capacity":128,"type":"DDR4","frequency":2400,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":659900000},"price_per_month":{"currency_code":"EUR","units":329,"nanos":990000000}},{"id":"8090d302-3545-4905-9cf3-bcb77a299f47","name":"GP-BM1-L","stock":"empty","bandwidth":750,"commercial_range":"general_purpose","price_by_minute":{"currency_code":"EUR","units":0,"nanos":499900000},"price_by_month":{"currency_code":"EUR","units":249,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"AMD EPYC 7281","cores":16,"threads":32,"frequency":2100}],"memory":[{"capacity":96,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_gp","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":499900000},"price_per_month":{"currency_code":"EUR","units":249,"nanos":990000000}},{"id":"964f9b38-577e-470f-a220-7d762f9e8672","name":"GP-BM1-M","stock":"available","bandwidth":500,"commercial_range":"general_purpose","price_by_minute":{"currency_code":"EUR","units":0,"nanos":399900000},"price_by_month":{"currency_code":"EUR","units":199,"nanos":990000000},"disk":[{"capacity":1024,"type":"SSD"},{"capacity":1024,"type":"SSD"},{"capacity":1024,"type":"SSD"}],"enable":true,"cpu":[{"name":"Intel Xeon E3 1240v6","cores":4,"threads":8,"frequency":3700}],"memory":[{"capacity":64,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_gp","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":399900000},"price_per_month":{"currency_code":"EUR","units":199,"nanos":990000000}},{"id":"c452f76a-2cda-4a1b-9658-a16952dc5ff0","name":"HM-BM1-M","stock":"available","bandwidth":1000,"commercial_range":"high_memory","price_by_minute":{"currency_code":"EUR","units":0,"nanos":799900000},"price_by_month":{"currency_code":"EUR","units":399,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"AMD EPYC 7401P","cores":24,"threads":48,"frequency":2000}],"memory":[{"capacity":256,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":799900000},"price_per_month":{"currency_code":"EUR","units":399,"nanos":990000000}}]}' @@ -26,7 +26,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 17 Mar 2020 15:00:15 GMT + - Thu, 19 Mar 2020 11:22:48 GMT Server: - scaleway_api Strict-Transport-Security: @@ -36,7 +36,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 30ad351b-2bb8-46ee-9b31-3d7315c6856d + - 42f432c5-f431-4709-a2f3-783383473b3e status: 200 OK code: 200 duration: "" @@ -51,7 +51,7 @@ interactions: url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers method: POST response: - body: '{"id":"db39db88-86d6-46ca-b2bc-d16e0253746b","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-17T15:00:15.346636913Z","created_at":"2020-03-17T15:00:15.346636913Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"06d84572-aab9-4969-996b-29f5b1ee9590","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-19T11:22:48.648206378Z","created_at":"2020-03-19T11:22:48.648206378Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - "381" @@ -60,7 +60,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 17 Mar 2020 15:00:15 GMT + - Thu, 19 Mar 2020 11:22:48 GMT Server: - scaleway_api Strict-Transport-Security: @@ -70,7 +70,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - a5d4450f-b8d3-4182-a3a5-6a3f17a29172 + - 731928a6-27b8-43ca-b688-4448a63592ee status: 200 OK code: 200 duration: "" diff --git a/internal/namespaces/baremetal/v1alpha1/testdata/test-list-server-list-with-tags.cassette.yaml b/internal/namespaces/baremetal/v1alpha1/testdata/test-list-server-list-with-tags.cassette.yaml index 31f79e488e..adb854c01d 100644 --- a/internal/namespaces/baremetal/v1alpha1/testdata/test-list-server-list-with-tags.cassette.yaml +++ b/internal/namespaces/baremetal/v1alpha1/testdata/test-list-server-list-with-tags.cassette.yaml @@ -6,20 +6,20 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.5+dev (go1.14; darwin; amd64) cli-e2e-test + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers?order_by=created_at_asc&page=1&tags=a method: GET response: - body: '{"total_count":1,"servers":[{"id":"188b71df-4193-4f33-9151-df07234f3ef4","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"bm-determined-ellis","description":"","updated_at":"2020-03-10T13:49:42.602599Z","created_at":"2020-02-24T09:54:57.367412Z","status":"ready","offer_id":"737f18c8-febc-4408-b69e-776bca0a3f48","install":{"os_id":"f2aeab5d-6015-4b7c-b4ed-d76e89093621","hostname":"bm-determined-ellis","ssh_key_ids":["77021435-ad22-4748-8861-0a1c512154d0","90bf1977-43ab-4eb7-b178-3dd96963ce99"],"status":"completed"},"tags":["a"],"ips":[{"id":"80e3d13b-b5df-4c00-b38c-afc4e96f8ea5","address":"51.159.0.4","reverse":"188b71df-4193-4f33-9151-df07234f3ef4.fr-par-2.baremetal.scw.cloud","version":"Ipv4","reverse_status":"active","reverse_status_message":null},{"id":"b7abae59-34a3-49fc-87b4-93e95da83207","address":"2001:0bc8:6005:0000:529a:4cff:fe84:ea3d","reverse":"188b71df-4193-4f33-9151-df07234f3ef4.fr-par-2.baremetal.scw.cloud","version":"Ipv6","reverse_status":"active","reverse_status_message":null}],"domain":"188b71df-4193-4f33-9151-df07234f3ef4.fr-par-2.baremetal.scw.cloud","boot_type":"normal","zone":"fr-par-2"}]}' + body: '{"total_count":0,"servers":[]}' headers: Content-Length: - - "1144" + - "30" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Tue, 10 Mar 2020 13:53:55 GMT + - Thu, 19 Mar 2020 11:22:48 GMT Server: - scaleway_api Strict-Transport-Security: @@ -29,7 +29,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - ca407d93-163d-4711-8993-d10b8e919490 + - b44dc69b-5bf6-4d09-bf2c-d5490813041a status: 200 OK code: 200 duration: "" diff --git a/internal/namespaces/baremetal/v1alpha1/testdata/test-list-server-list-with-tags.stdout.golden b/internal/namespaces/baremetal/v1alpha1/testdata/test-list-server-list-with-tags.stdout.golden index b2ff582a19..39cdd0ded6 100644 --- a/internal/namespaces/baremetal/v1alpha1/testdata/test-list-server-list-with-tags.stdout.golden +++ b/internal/namespaces/baremetal/v1alpha1/testdata/test-list-server-list-with-tags.stdout.golden @@ -1,2 +1 @@ -ID ORGANIZATION ID NAME DESCRIPTION UPDATED AT CREATED AT STATUS OFFER ID TAGS IPS DOMAIN BOOT TYPE ZONE -188b71df-4193-4f33-9151-df07234f3ef4 951df375-e094-4d26-97c1-ba548eeb9c42 bm-determined-ellis - few seconds ago few seconds ago ready 737f18c8-febc-4408-b69e-776bca0a3f48 [a] 2 188b71df-4193-4f33-9151-df07234f3ef4.fr-par-2.baremetal.scw.cloud normal fr-par-2 +- diff --git a/internal/namespaces/baremetal/v1alpha1/testdata/test-list-server-simple.cassette.yaml b/internal/namespaces/baremetal/v1alpha1/testdata/test-list-server-simple.cassette.yaml index c5a3431432..8916cb896a 100644 --- a/internal/namespaces/baremetal/v1alpha1/testdata/test-list-server-simple.cassette.yaml +++ b/internal/namespaces/baremetal/v1alpha1/testdata/test-list-server-simple.cassette.yaml @@ -6,20 +6,18 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.5+dev (go1.14; darwin; amd64) cli-e2e-test + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers?order_by=created_at_asc&page=1 method: GET response: - body: '{"total_count":2,"servers":[{"id":"188b71df-4193-4f33-9151-df07234f3ef4","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"bm-determined-ellis","description":"","updated_at":"2020-03-10T13:49:42.602599Z","created_at":"2020-02-24T09:54:57.367412Z","status":"ready","offer_id":"737f18c8-febc-4408-b69e-776bca0a3f48","install":{"os_id":"f2aeab5d-6015-4b7c-b4ed-d76e89093621","hostname":"bm-determined-ellis","ssh_key_ids":["77021435-ad22-4748-8861-0a1c512154d0","90bf1977-43ab-4eb7-b178-3dd96963ce99"],"status":"completed"},"tags":["a"],"ips":[{"id":"80e3d13b-b5df-4c00-b38c-afc4e96f8ea5","address":"51.159.0.4","reverse":"188b71df-4193-4f33-9151-df07234f3ef4.fr-par-2.baremetal.scw.cloud","version":"Ipv4","reverse_status":"active","reverse_status_message":null},{"id":"b7abae59-34a3-49fc-87b4-93e95da83207","address":"2001:0bc8:6005:0000:529a:4cff:fe84:ea3d","reverse":"188b71df-4193-4f33-9151-df07234f3ef4.fr-par-2.baremetal.scw.cloud","version":"Ipv6","reverse_status":"active","reverse_status_message":null}],"domain":"188b71df-4193-4f33-9151-df07234f3ef4.fr-par-2.baremetal.scw.cloud","boot_type":"normal","zone":"fr-par-2"},{"id":"eabed7e5-d03c-43f4-bc6d-e33f72fceb5b","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"bm-sad-gauss","description":"","updated_at":"2020-03-10T13:49:51.321889Z","created_at":"2020-03-10T13:43:43.978885Z","status":"ready","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["b"],"ips":[{"id":"15950a05-a378-470c-b0ab-6d8e06bd9875","address":"51.159.56.50","reverse":"eabed7e5-d03c-43f4-bc6d-e33f72fceb5b.fr-par-2.baremetal.scw.cloud","version":"Ipv4","reverse_status":"active","reverse_status_message":null},{"id":"718c1366-3b52-4409-a66c-84d67a2664e8","address":"2001:0bc8:1200:0000:aa1e:84ff:fef3:5cc4","reverse":"eabed7e5-d03c-43f4-bc6d-e33f72fceb5b.fr-par-2.baremetal.scw.cloud","version":"Ipv6","reverse_status":"active","reverse_status_message":null}],"domain":"eabed7e5-d03c-43f4-bc6d-e33f72fceb5b.fr-par-2.baremetal.scw.cloud","boot_type":"normal","zone":"fr-par-2"}]}' + body: '{"total_count":8,"servers":[{"id":"a3d5a790-2abe-4ae4-816e-b20f2957bf1b","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-angry-hofstadter","description":"","updated_at":"2020-03-19T11:05:09.352605Z","created_at":"2020-03-19T11:02:06.215470Z","status":"ready","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[{"id":"2c90a64b-c4a7-4b71-b657-6c37431d1141","address":"2001:0bc8:1200:0000:dac4:97ff:fe2a:334c","reverse":"a3d5a790-2abe-4ae4-816e-b20f2957bf1b.fr-par-2.baremetal.scw.cloud","version":"Ipv6","reverse_status":"active","reverse_status_message":null},{"id":"bacf8df9-9e64-41ef-996d-b59788302a7a","address":"51.159.56.5","reverse":"a3d5a790-2abe-4ae4-816e-b20f2957bf1b.fr-par-2.baremetal.scw.cloud","version":"Ipv4","reverse_status":"active","reverse_status_message":null}],"domain":"a3d5a790-2abe-4ae4-816e-b20f2957bf1b.fr-par-2.baremetal.scw.cloud","boot_type":"normal","zone":"fr-par-2"},{"id":"07bbf448-e001-49c8-809b-4994684ed905","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-naughty-nightingale","description":"","updated_at":"2020-03-19T11:05:09.471918Z","created_at":"2020-03-19T11:02:46.384076Z","status":"ready","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[{"id":"9708b6c6-4a10-4665-b53d-3a17956e1adc","address":"51.159.56.59","reverse":"07bbf448-e001-49c8-809b-4994684ed905.fr-par-2.baremetal.scw.cloud","version":"Ipv4","reverse_status":"active","reverse_status_message":null},{"id":"b43b4eea-6f8b-4c8f-8db9-2ba34ef43dcf","address":"2001:0bc8:1200:0000:aa1e:84ff:fef3:5f54","reverse":"07bbf448-e001-49c8-809b-4994684ed905.fr-par-2.baremetal.scw.cloud","version":"Ipv6","reverse_status":"active","reverse_status_message":null}],"domain":"07bbf448-e001-49c8-809b-4994684ed905.fr-par-2.baremetal.scw.cloud","boot_type":"normal","zone":"fr-par-2"},{"id":"f816c65d-ef2b-4e5d-a7eb-6b46054b5e4c","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-19T11:05:09.545452Z","created_at":"2020-03-19T11:02:46.584339Z","status":"ready","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[{"id":"05b23557-516e-4b35-9b45-24b509f123f2","address":"2001:0bc8:1200:0000:dac4:97ff:fe2a:2f70","reverse":"f816c65d-ef2b-4e5d-a7eb-6b46054b5e4c.fr-par-2.baremetal.scw.cloud","version":"Ipv6","reverse_status":"active","reverse_status_message":null},{"id":"1d96d0fc-4a14-4ac6-9505-ed87f40de791","address":"51.159.56.65","reverse":"f816c65d-ef2b-4e5d-a7eb-6b46054b5e4c.fr-par-2.baremetal.scw.cloud","version":"Ipv4","reverse_status":"active","reverse_status_message":null}],"domain":"f816c65d-ef2b-4e5d-a7eb-6b46054b5e4c.fr-par-2.baremetal.scw.cloud","boot_type":"normal","zone":"fr-par-2"},{"id":"6de3a6a9-58ab-44bb-bb46-2ecbaf0aa289","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-confident-bose","description":"","updated_at":"2020-03-19T11:05:09.573494Z","created_at":"2020-03-19T11:02:46.729715Z","status":"ready","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[{"id":"b1f138a5-d3ab-4b8b-95c9-96cf07888e90","address":"51.159.56.96","reverse":"6de3a6a9-58ab-44bb-bb46-2ecbaf0aa289.fr-par-2.baremetal.scw.cloud","version":"Ipv4","reverse_status":"active","reverse_status_message":null},{"id":"952650d7-c1d9-4991-be5d-5365d8178bf4","address":"2001:0bc8:1200:0000:dac4:97ff:fe5b:778d","reverse":"6de3a6a9-58ab-44bb-bb46-2ecbaf0aa289.fr-par-2.baremetal.scw.cloud","version":"Ipv6","reverse_status":"active","reverse_status_message":null}],"domain":"6de3a6a9-58ab-44bb-bb46-2ecbaf0aa289.fr-par-2.baremetal.scw.cloud","boot_type":"normal","zone":"fr-par-2"},{"id":"d304fcdc-78ed-4f85-a3da-f182bc9b2346","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-exciting-noyce","description":"","updated_at":"2020-03-19T11:15:33.678102Z","created_at":"2020-03-19T11:11:10.427848Z","status":"ready","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[{"id":"bcfacf82-3fa7-42f5-a44c-4b7b7f36b8ba","address":"51.159.56.97","reverse":"d304fcdc-78ed-4f85-a3da-f182bc9b2346.fr-par-2.baremetal.scw.cloud","version":"Ipv4","reverse_status":"active","reverse_status_message":null},{"id":"9361590c-36e3-44cc-8114-5d96481608ae","address":"2001:0bc8:1200:0000:dac4:97ff:fe5b:7be5","reverse":"d304fcdc-78ed-4f85-a3da-f182bc9b2346.fr-par-2.baremetal.scw.cloud","version":"Ipv6","reverse_status":"active","reverse_status_message":null}],"domain":"d304fcdc-78ed-4f85-a3da-f182bc9b2346.fr-par-2.baremetal.scw.cloud","boot_type":"normal","zone":"fr-par-2"},{"id":"1ad5567d-6052-4bee-ac68-7ea278e4718d","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-sharp-mcclintock","description":"","updated_at":"2020-03-19T11:22:28.684869Z","created_at":"2020-03-19T11:22:28.078438Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"},{"id":"8d7961c0-ba96-40b7-86ee-502921505eb4","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-19T11:22:28.863180Z","created_at":"2020-03-19T11:22:28.304816Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"},{"id":"ce242525-c343-4cf9-95a3-8a66ab3f16e6","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-funny-shtern","description":"","updated_at":"2020-03-19T11:22:29.237301Z","created_at":"2020-03-19T11:22:28.478023Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}]}' headers: - Content-Length: - - "2062" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Tue, 10 Mar 2020 13:53:55 GMT + - Thu, 19 Mar 2020 11:22:48 GMT Server: - scaleway_api Strict-Transport-Security: @@ -29,7 +27,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - af076dc3-2203-46d6-b9fc-02bcefc7223f + - 8c080adf-b0af-47b8-ac64-a08d92ac82da status: 200 OK code: 200 duration: "" diff --git a/internal/namespaces/baremetal/v1alpha1/testdata/test-list-server-simple.stdout.golden b/internal/namespaces/baremetal/v1alpha1/testdata/test-list-server-simple.stdout.golden index 0803491946..beb375bdc1 100644 --- a/internal/namespaces/baremetal/v1alpha1/testdata/test-list-server-simple.stdout.golden +++ b/internal/namespaces/baremetal/v1alpha1/testdata/test-list-server-simple.stdout.golden @@ -1,3 +1,9 @@ -ID ORGANIZATION ID NAME DESCRIPTION UPDATED AT CREATED AT STATUS OFFER ID TAGS IPS DOMAIN BOOT TYPE ZONE -188b71df-4193-4f33-9151-df07234f3ef4 951df375-e094-4d26-97c1-ba548eeb9c42 bm-determined-ellis - few seconds ago few seconds ago ready 737f18c8-febc-4408-b69e-776bca0a3f48 [a] 2 188b71df-4193-4f33-9151-df07234f3ef4.fr-par-2.baremetal.scw.cloud normal fr-par-2 -eabed7e5-d03c-43f4-bc6d-e33f72fceb5b 951df375-e094-4d26-97c1-ba548eeb9c42 bm-sad-gauss - few seconds ago few seconds ago ready 964f9b38-577e-470f-a220-7d762f9e8672 [b] 2 eabed7e5-d03c-43f4-bc6d-e33f72fceb5b.fr-par-2.baremetal.scw.cloud normal fr-par-2 +ID ORGANIZATION ID NAME DESCRIPTION UPDATED AT CREATED AT STATUS OFFER ID TAGS IPS DOMAIN BOOT TYPE ZONE +a3d5a790-2abe-4ae4-816e-b20f2957bf1b 951df375-e094-4d26-97c1-ba548eeb9c42 cli-bm-angry-hofstadter - few seconds ago few seconds ago ready 964f9b38-577e-470f-a220-7d762f9e8672 [] 2 a3d5a790-2abe-4ae4-816e-b20f2957bf1b.fr-par-2.baremetal.scw.cloud normal fr-par-2 +07bbf448-e001-49c8-809b-4994684ed905 951df375-e094-4d26-97c1-ba548eeb9c42 cli-bm-naughty-nightingale - few seconds ago few seconds ago ready 964f9b38-577e-470f-a220-7d762f9e8672 [] 2 07bbf448-e001-49c8-809b-4994684ed905.fr-par-2.baremetal.scw.cloud normal fr-par-2 +f816c65d-ef2b-4e5d-a7eb-6b46054b5e4c 951df375-e094-4d26-97c1-ba548eeb9c42 yo - few seconds ago few seconds ago ready 964f9b38-577e-470f-a220-7d762f9e8672 [] 2 f816c65d-ef2b-4e5d-a7eb-6b46054b5e4c.fr-par-2.baremetal.scw.cloud normal fr-par-2 +6de3a6a9-58ab-44bb-bb46-2ecbaf0aa289 951df375-e094-4d26-97c1-ba548eeb9c42 cli-bm-confident-bose - few seconds ago few seconds ago ready 964f9b38-577e-470f-a220-7d762f9e8672 [prod blue] 2 6de3a6a9-58ab-44bb-bb46-2ecbaf0aa289.fr-par-2.baremetal.scw.cloud normal fr-par-2 +d304fcdc-78ed-4f85-a3da-f182bc9b2346 951df375-e094-4d26-97c1-ba548eeb9c42 cli-bm-exciting-noyce - few seconds ago few seconds ago ready 964f9b38-577e-470f-a220-7d762f9e8672 [] 2 d304fcdc-78ed-4f85-a3da-f182bc9b2346.fr-par-2.baremetal.scw.cloud normal fr-par-2 +1ad5567d-6052-4bee-ac68-7ea278e4718d 951df375-e094-4d26-97c1-ba548eeb9c42 cli-bm-sharp-mcclintock - few seconds ago few seconds ago undelivered 964f9b38-577e-470f-a220-7d762f9e8672 [] 0 - normal fr-par-2 +8d7961c0-ba96-40b7-86ee-502921505eb4 951df375-e094-4d26-97c1-ba548eeb9c42 yo - few seconds ago few seconds ago undelivered 964f9b38-577e-470f-a220-7d762f9e8672 [] 0 - normal fr-par-2 +ce242525-c343-4cf9-95a3-8a66ab3f16e6 951df375-e094-4d26-97c1-ba548eeb9c42 cli-bm-funny-shtern - few seconds ago few seconds ago undelivered 964f9b38-577e-470f-a220-7d762f9e8672 [prod blue] 0 - normal fr-par-2 From 7e5944f910633105bdc7f4a37f257ff024ac728b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20L=C3=A9one?= Date: Thu, 19 Mar 2020 14:44:08 +0100 Subject: [PATCH 24/67] Fix --- .../namespaces/baremetal/v1alpha1/custom.go | 1 + .../baremetal/v1alpha1/custom_server.go | 56 +- .../v1alpha1/custom_server_create_test.go | 18 +- ...create-server-simple-default.cassette.yaml | 752 ++++++- ...create-server-simple-default.stderr.golden | 60 + ...create-server-simple-default.stdout.golden | 4 +- ...eate-server-simple-with-name.cassette.yaml | 1898 ++++++++++++++++- 7 files changed, 2755 insertions(+), 34 deletions(-) create mode 100644 internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.stderr.golden diff --git a/internal/namespaces/baremetal/v1alpha1/custom.go b/internal/namespaces/baremetal/v1alpha1/custom.go index d7845b5157..c750507819 100644 --- a/internal/namespaces/baremetal/v1alpha1/custom.go +++ b/internal/namespaces/baremetal/v1alpha1/custom.go @@ -7,6 +7,7 @@ func GetCommands() *core.Commands { cmds.Merge(core.NewCommands( serverCreateCommand(), + serverWaitCommand(), )) return cmds diff --git a/internal/namespaces/baremetal/v1alpha1/custom_server.go b/internal/namespaces/baremetal/v1alpha1/custom_server.go index c4cc1e53d7..b6319c7fbd 100644 --- a/internal/namespaces/baremetal/v1alpha1/custom_server.go +++ b/internal/namespaces/baremetal/v1alpha1/custom_server.go @@ -2,31 +2,59 @@ package baremetal import ( "context" + "reflect" "time" "github.com/scaleway/scaleway-cli/internal/core" baremetal "github.com/scaleway/scaleway-sdk-go/api/baremetal/v1alpha1" + "github.com/scaleway/scaleway-sdk-go/scw" ) const ( - serverActionTimeout = 10 * time.Minute + serverActionTimeout = 20 * time.Minute ) -const ( - serverActionReboot = iota -) +type baremetalActionRequest struct { + Zone scw.Zone + ServerID string +} + +func serverWaitCommand() *core.Command { + return &core.Command{ + Short: `Wait for server to reach a stable state`, + Long: `Wait for server to reach a stable state. This is similar to using --wait flag on other action commands, but without requiring a new action on the server.`, + Namespace: "baremetal", + Resource: "server", + Verb: "wait", + ArgsType: reflect.TypeOf(baremetalActionRequest{}), + Run: func(ctx context.Context, argsI interface{}) (i interface{}, err error) { + return waitForServerFunc()(ctx, argsI, nil) + }, + ArgSpecs: serverActionArgSpecs, + Examples: []*core.Example{ + { + Short: "Wait for a server to reach a stable state", + Request: `{"server_id": "11111111-1111-1111-1111-111111111111"}`, + }, + }, + } +} + +var serverActionArgSpecs = core.ArgSpecs{ + { + Name: "server-id", + Short: `ID of the server affected by the action.`, + Required: true, + }, + core.ZoneArgSpec(), +} -func waitForServerFunc(action int) core.WaitFunc { - return func(ctx context.Context, _, respI interface{}) (interface{}, error) { - server, err := baremetal.NewAPI(core.ExtractClient(ctx)).WaitForServer(&baremetal.WaitForServerRequest{ - ServerID: respI.(*baremetal.Server).ID, - Zone: respI.(*baremetal.Server).Zone, +func waitForServerFunc() core.WaitFunc { + return func(ctx context.Context, argsI, _ interface{}) (interface{}, error) { + return baremetal.NewAPI(core.ExtractClient(ctx)).WaitForServer(&baremetal.WaitForServerRequest{ + ServerID: argsI.(*baremetalActionRequest).ServerID, + Zone: argsI.(*baremetalActionRequest).Zone, Timeout: serverActionTimeout, }) - switch action { - case serverActionReboot: - return server, err - } - return nil, err } } diff --git a/internal/namespaces/baremetal/v1alpha1/custom_server_create_test.go b/internal/namespaces/baremetal/v1alpha1/custom_server_create_test.go index c84dce402c..2bdcf76688 100644 --- a/internal/namespaces/baremetal/v1alpha1/custom_server_create_test.go +++ b/internal/namespaces/baremetal/v1alpha1/custom_server_create_test.go @@ -11,6 +11,14 @@ import ( // deleteServerAfterFunc deletes the created server and its attached volumes and IPs. func deleteServerAfterFunc(ctx *core.AfterFuncCtx) error { + _, err := baremetal.NewAPI(ctx.Client).WaitForServer(&baremetal.WaitForServerRequest{ + ServerID: ctx.CmdResult.(*baremetal.Server).ID, + Zone: ctx.CmdResult.(*baremetal.Server).Zone, + Timeout: serverActionTimeout, + }) + if err != nil { + return err + } ctx.ExecuteCmd("scw baremetal server delete server-id=" + ctx.CmdResult.(*baremetal.Server).ID) return nil } @@ -26,21 +34,21 @@ func Test_CreateServer(t *testing.T) { core.TestCheckGolden(), core.TestCheckExitCode(0), ), - //AfterFunc: deleteServerAfterFunc, + AfterFunc: deleteServerAfterFunc, DefaultZone: scw.ZoneFrPar2, })) t.Run("With name", core.Test(&core.TestConfig{ Commands: GetCommands(), - Cmd: "scw baremetal server create name=yo zone=fr-par-2", + Cmd: "scw baremetal server create name=test-create-server-with-name zone=fr-par-2", Check: core.TestCheckCombine( func(t *testing.T, ctx *core.CheckFuncCtx) { - assert.Equal(t, "yo", ctx.Result.(*baremetal.Server).Name) + assert.Equal(t, "test-create-server-with-name", ctx.Result.(*baremetal.Server).Name) }, core.TestCheckExitCode(0), ), DefaultZone: scw.ZoneFrPar2, - //AfterFunc: deleteServerAfterFunc, + AfterFunc: deleteServerAfterFunc, })) t.Run("Tags", core.Test(&core.TestConfig{ @@ -54,7 +62,7 @@ func Test_CreateServer(t *testing.T) { core.TestCheckExitCode(0), ), DefaultZone: scw.ZoneFrPar2, - //AfterFunc: deleteServerAfterFunc, + AfterFunc: deleteServerAfterFunc, })) //t.Run("HC-BM1-L", core.Test(&core.TestConfig{ diff --git a/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.cassette.yaml b/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.cassette.yaml index 932a36c772..b86df8a9df 100644 --- a/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.cassette.yaml +++ b/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.cassette.yaml @@ -10,7 +10,7 @@ interactions: url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/offers?page=1 method: GET response: - body: '{"total_count":6,"offers":[{"id":"3ab0dc29-2fd4-486e-88bf-d08fbf49214b","name":"HC-BM1-L","stock":"empty","bandwidth":1000,"commercial_range":"high_cpu","price_by_minute":{"currency_code":"EUR","units":1,"nanos":499900000},"price_by_month":{"currency_code":"EUR","units":749,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"Intel + body: '{"total_count":6,"offers":[{"id":"3ab0dc29-2fd4-486e-88bf-d08fbf49214b","name":"HC-BM1-L","stock":"available","bandwidth":1000,"commercial_range":"high_cpu","price_by_minute":{"currency_code":"EUR","units":1,"nanos":499900000},"price_by_month":{"currency_code":"EUR","units":749,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"Intel Xeon Gold 5120","cores":28,"threads":56,"frequency":2200},{"name":"Intel Xeon Gold 5120","cores":28,"threads":56,"frequency":2200}],"memory":[{"capacity":384,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":1,"nanos":499900000},"price_per_month":{"currency_code":"EUR","units":749,"nanos":990000000}},{"id":"5363865f-2266-40f9-a43f-4f3aba251524","name":"HM-BM1-XL","stock":"empty","bandwidth":1000,"commercial_range":"high_memory","price_by_minute":{"currency_code":"EUR","units":2,"nanos":599900000},"price_by_month":{"currency_code":"EUR","units":1299,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"Intel Xeon Gold 6140","cores":36,"threads":72,"frequency":2300},{"name":"Intel Xeon @@ -26,7 +26,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 19 Mar 2020 11:22:48 GMT + - Thu, 19 Mar 2020 13:33:46 GMT Server: - scaleway_api Strict-Transport-Security: @@ -36,12 +36,12 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - fcb5a084-d5fc-42aa-815c-1d1a4e4cca29 + - 116eea0a-5a24-4cdd-b877-eefc0e990b8b status: 200 OK code: 200 duration: "" - request: - body: '{"offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-wizardly-bell","description":"","tags":null}' + body: '{"offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-kind-raman","description":"","tags":null}' form: {} headers: Content-Type: @@ -51,16 +51,16 @@ interactions: url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers method: POST response: - body: '{"id":"24cf0a23-978a-47c0-9a1d-07fcfefef270","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-wizardly-bell","description":"","updated_at":"2020-03-19T11:22:48.464487164Z","created_at":"2020-03-19T11:22:48.464487164Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"a9b69187-6700-4378-a1c3-f8b0f492fd9c","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-kind-raman","description":"","updated_at":"2020-03-19T13:33:46.732409663Z","created_at":"2020-03-19T13:33:46.732409663Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "399" + - "396" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Mar 2020 11:22:48 GMT + - Thu, 19 Mar 2020 13:33:46 GMT Server: - scaleway_api Strict-Transport-Security: @@ -70,7 +70,743 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 42e211d3-42ab-4597-b08b-2bc606821637 + - 664e5e38-1d46-43b3-b649-affc362fd8cc + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a9b69187-6700-4378-a1c3-f8b0f492fd9c + method: GET + response: + body: '{"id":"a9b69187-6700-4378-a1c3-f8b0f492fd9c","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-kind-raman","description":"","updated_at":"2020-03-19T13:33:46.732410Z","created_at":"2020-03-19T13:33:46.732410Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "390" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 13:33:46 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - a226c658-52ae-4658-a80d-0f10942590ef + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a9b69187-6700-4378-a1c3-f8b0f492fd9c + method: GET + response: + body: '{"id":"a9b69187-6700-4378-a1c3-f8b0f492fd9c","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-kind-raman","description":"","updated_at":"2020-03-19T13:33:47.347664Z","created_at":"2020-03-19T13:33:46.732410Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "390" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 13:33:51 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 9b426b3c-176e-44fc-aafe-965b12116d31 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a9b69187-6700-4378-a1c3-f8b0f492fd9c + method: GET + response: + body: '{"id":"a9b69187-6700-4378-a1c3-f8b0f492fd9c","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-kind-raman","description":"","updated_at":"2020-03-19T13:33:47.347664Z","created_at":"2020-03-19T13:33:46.732410Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "390" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 13:33:56 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 5467b8ea-ff5d-4962-a5e2-217347c3bcdb + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a9b69187-6700-4378-a1c3-f8b0f492fd9c + method: GET + response: + body: '{"id":"a9b69187-6700-4378-a1c3-f8b0f492fd9c","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-kind-raman","description":"","updated_at":"2020-03-19T13:33:47.347664Z","created_at":"2020-03-19T13:33:46.732410Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "390" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 13:34:01 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - a41b30a4-f519-4376-9794-76cbc35fee3a + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a9b69187-6700-4378-a1c3-f8b0f492fd9c + method: GET + response: + body: '{"id":"a9b69187-6700-4378-a1c3-f8b0f492fd9c","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-kind-raman","description":"","updated_at":"2020-03-19T13:33:47.347664Z","created_at":"2020-03-19T13:33:46.732410Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "390" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 13:34:06 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - f1c20d70-efd8-4791-a85a-58646e692538 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a9b69187-6700-4378-a1c3-f8b0f492fd9c + method: GET + response: + body: '{"id":"a9b69187-6700-4378-a1c3-f8b0f492fd9c","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-kind-raman","description":"","updated_at":"2020-03-19T13:33:47.347664Z","created_at":"2020-03-19T13:33:46.732410Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "390" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 13:34:11 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 798bf1ec-400d-4f14-997c-5df2ff53ee1b + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a9b69187-6700-4378-a1c3-f8b0f492fd9c + method: GET + response: + body: '{"id":"a9b69187-6700-4378-a1c3-f8b0f492fd9c","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-kind-raman","description":"","updated_at":"2020-03-19T13:33:47.347664Z","created_at":"2020-03-19T13:33:46.732410Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "390" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 13:34:16 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 8fd3e06e-0f07-4b26-a8f1-231159f7d701 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a9b69187-6700-4378-a1c3-f8b0f492fd9c + method: GET + response: + body: '{"id":"a9b69187-6700-4378-a1c3-f8b0f492fd9c","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-kind-raman","description":"","updated_at":"2020-03-19T13:33:47.347664Z","created_at":"2020-03-19T13:33:46.732410Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "390" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 13:34:21 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 6be01a4d-8e34-463c-baf7-27bc73027490 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a9b69187-6700-4378-a1c3-f8b0f492fd9c + method: GET + response: + body: '{"id":"a9b69187-6700-4378-a1c3-f8b0f492fd9c","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-kind-raman","description":"","updated_at":"2020-03-19T13:33:47.347664Z","created_at":"2020-03-19T13:33:46.732410Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "390" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 13:34:27 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 64494953-4bb9-4c3a-b7df-756cfc5a2e8f + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a9b69187-6700-4378-a1c3-f8b0f492fd9c + method: GET + response: + body: '{"id":"a9b69187-6700-4378-a1c3-f8b0f492fd9c","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-kind-raman","description":"","updated_at":"2020-03-19T13:33:47.347664Z","created_at":"2020-03-19T13:33:46.732410Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "390" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 13:34:32 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 92919bac-6bd8-41e1-820c-7521f1d81946 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a9b69187-6700-4378-a1c3-f8b0f492fd9c + method: GET + response: + body: '{"id":"a9b69187-6700-4378-a1c3-f8b0f492fd9c","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-kind-raman","description":"","updated_at":"2020-03-19T13:33:47.347664Z","created_at":"2020-03-19T13:33:46.732410Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "390" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 13:34:37 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 16c76c5f-41ab-4c1e-8b4f-0d5904821398 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a9b69187-6700-4378-a1c3-f8b0f492fd9c + method: GET + response: + body: '{"id":"a9b69187-6700-4378-a1c3-f8b0f492fd9c","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-kind-raman","description":"","updated_at":"2020-03-19T13:33:47.347664Z","created_at":"2020-03-19T13:33:46.732410Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "390" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 13:34:42 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 0793b5a4-dcd9-4b44-9f7e-4cb7fde6d413 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a9b69187-6700-4378-a1c3-f8b0f492fd9c + method: GET + response: + body: '{"id":"a9b69187-6700-4378-a1c3-f8b0f492fd9c","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-kind-raman","description":"","updated_at":"2020-03-19T13:33:47.347664Z","created_at":"2020-03-19T13:33:46.732410Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "390" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 13:34:47 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - faa42357-3dac-4efa-9e68-72aad5730573 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a9b69187-6700-4378-a1c3-f8b0f492fd9c + method: GET + response: + body: '{"id":"a9b69187-6700-4378-a1c3-f8b0f492fd9c","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-kind-raman","description":"","updated_at":"2020-03-19T13:33:47.347664Z","created_at":"2020-03-19T13:33:46.732410Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "390" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 13:34:52 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 275d044f-b060-4f9f-99b8-32307b9bf75f + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a9b69187-6700-4378-a1c3-f8b0f492fd9c + method: GET + response: + body: '{"id":"a9b69187-6700-4378-a1c3-f8b0f492fd9c","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-kind-raman","description":"","updated_at":"2020-03-19T13:33:47.347664Z","created_at":"2020-03-19T13:33:46.732410Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "390" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 13:34:57 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - dce49796-b3e7-435c-9471-d096d9a3146a + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a9b69187-6700-4378-a1c3-f8b0f492fd9c + method: GET + response: + body: '{"id":"a9b69187-6700-4378-a1c3-f8b0f492fd9c","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-kind-raman","description":"","updated_at":"2020-03-19T13:33:47.347664Z","created_at":"2020-03-19T13:33:46.732410Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "390" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 13:35:02 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 089f5c17-da49-4382-9054-b344c3040835 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a9b69187-6700-4378-a1c3-f8b0f492fd9c + method: GET + response: + body: '{"id":"a9b69187-6700-4378-a1c3-f8b0f492fd9c","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-kind-raman","description":"","updated_at":"2020-03-19T13:33:47.347664Z","created_at":"2020-03-19T13:33:46.732410Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "390" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 13:35:07 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - ed17cb57-ce83-4e01-bfda-18f4f9fb0c01 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a9b69187-6700-4378-a1c3-f8b0f492fd9c + method: GET + response: + body: '{"id":"a9b69187-6700-4378-a1c3-f8b0f492fd9c","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-kind-raman","description":"","updated_at":"2020-03-19T13:33:47.347664Z","created_at":"2020-03-19T13:33:46.732410Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "390" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 13:35:12 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - c1d6bc0f-bcca-4a7a-9eaf-8da84d776940 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a9b69187-6700-4378-a1c3-f8b0f492fd9c + method: GET + response: + body: '{"id":"a9b69187-6700-4378-a1c3-f8b0f492fd9c","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-kind-raman","description":"","updated_at":"2020-03-19T13:33:47.347664Z","created_at":"2020-03-19T13:33:46.732410Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "390" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 13:35:17 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 48e120e1-88dd-4781-8a63-bfa1ad2628da + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a9b69187-6700-4378-a1c3-f8b0f492fd9c + method: GET + response: + body: '{"id":"a9b69187-6700-4378-a1c3-f8b0f492fd9c","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-kind-raman","description":"","updated_at":"2020-03-19T13:33:47.347664Z","created_at":"2020-03-19T13:33:46.732410Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "390" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 13:35:22 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - cbb8c162-5d16-43d1-a8be-ad8e0799e0e9 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a9b69187-6700-4378-a1c3-f8b0f492fd9c + method: GET + response: + body: '{"id":"a9b69187-6700-4378-a1c3-f8b0f492fd9c","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-kind-raman","description":"","updated_at":"2020-03-19T13:33:47.347664Z","created_at":"2020-03-19T13:33:46.732410Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "390" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 13:35:27 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 305fa38a-b0ab-4590-836b-aa7cb8706ed4 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a9b69187-6700-4378-a1c3-f8b0f492fd9c + method: GET + response: + body: '{"id":"a9b69187-6700-4378-a1c3-f8b0f492fd9c","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-kind-raman","description":"","updated_at":"2020-03-19T13:35:29.015101Z","created_at":"2020-03-19T13:33:46.732410Z","status":"ready","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[{"id":"0a43192c-5485-4539-864b-7236babbdfd7","address":"2001:0bc8:1200:0000:dac4:97ff:fe5b:776d","reverse":"a9b69187-6700-4378-a1c3-f8b0f492fd9c.fr-par-2.baremetal.scw.cloud","version":"Ipv6","reverse_status":"pending","reverse_status_message":null},{"id":"43dc1569-bb9f-4eed-a8fb-5875235b1932","address":"51.159.56.99","reverse":"a9b69187-6700-4378-a1c3-f8b0f492fd9c.fr-par-2.baremetal.scw.cloud","version":"Ipv4","reverse_status":"pending","reverse_status_message":null}],"domain":"a9b69187-6700-4378-a1c3-f8b0f492fd9c.fr-par-2.baremetal.scw.cloud","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "921" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 13:35:32 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 19100686-b738-4562-9417-2743b9aecbf4 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a9b69187-6700-4378-a1c3-f8b0f492fd9c + method: DELETE + response: + body: '{"id":"a9b69187-6700-4378-a1c3-f8b0f492fd9c","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-kind-raman","description":"","updated_at":"2020-03-19T13:35:32.608600Z","created_at":"2020-03-19T13:33:46.732410Z","status":"deleting","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[{"id":"0a43192c-5485-4539-864b-7236babbdfd7","address":"2001:0bc8:1200:0000:dac4:97ff:fe5b:776d","reverse":"a9b69187-6700-4378-a1c3-f8b0f492fd9c.fr-par-2.baremetal.scw.cloud","version":"Ipv6","reverse_status":"pending","reverse_status_message":null},{"id":"43dc1569-bb9f-4eed-a8fb-5875235b1932","address":"51.159.56.99","reverse":"a9b69187-6700-4378-a1c3-f8b0f492fd9c.fr-par-2.baremetal.scw.cloud","version":"Ipv4","reverse_status":"pending","reverse_status_message":null}],"domain":"a9b69187-6700-4378-a1c3-f8b0f492fd9c.fr-par-2.baremetal.scw.cloud","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "924" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 13:35:32 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - c98f9573-889a-4f0b-82ef-246e71f9235c status: 200 OK code: 200 duration: "" diff --git a/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.stderr.golden b/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.stderr.golden new file mode 100644 index 0000000000..3bb50949d0 --- /dev/null +++ b/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.stderr.golden @@ -0,0 +1,60 @@ +DEBUG: 2019/12/09 16:04:07 creating GET request on https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/offers?page=1 +DEBUG: 2019/12/09 16:04:07 +--------------- Scaleway SDK REQUEST 1 : --------------- +GET /baremetal/v1alpha1/zones/fr-par-2/offers?page=1 HTTP/1.1 +Host: api.scaleway.com +User-Agent: scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test +X-Auth-Token: 148499e0-xxxx-xxxx-xxxx-xxxxxxxxxxxx +Accept-Encoding: gzip + + +--------------------------------------------------------- +DEBUG: 2019/12/09 16:04:07 +--------------- Scaleway SDK RESPONSE 1 : --------------- +HTTP/1.0 200 OK +Connection: close +Content-Length: 4676 +Content-Security-Policy: default-src 'none'; frame-ancestors 'none' +Content-Type: application/json +Date: Thu, 19 Mar 2020 13:33:46 GMT +Server: scaleway_api +Strict-Transport-Security: max-age=63072000 +X-Content-Type-Options: nosniff +X-Frame-Options: DENY +X-Request-Id: 116eea0a-5a24-4cdd-b877-eefc0e990b8b + +{"total_count":6,"offers":[{"id":"3ab0dc29-2fd4-486e-88bf-d08fbf49214b","name":"HC-BM1-L","stock":"available","bandwidth":1000,"commercial_range":"high_cpu","price_by_minute":{"currency_code":"EUR","units":1,"nanos":499900000},"price_by_month":{"currency_code":"EUR","units":749,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"Intel Xeon Gold 5120","cores":28,"threads":56,"frequency":2200},{"name":"Intel Xeon Gold 5120","cores":28,"threads":56,"frequency":2200}],"memory":[{"capacity":384,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":1,"nanos":499900000},"price_per_month":{"currency_code":"EUR","units":749,"nanos":990000000}},{"id":"5363865f-2266-40f9-a43f-4f3aba251524","name":"HM-BM1-XL","stock":"empty","bandwidth":1000,"commercial_range":"high_memory","price_by_minute":{"currency_code":"EUR","units":2,"nanos":599900000},"price_by_month":{"currency_code":"EUR","units":1299,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"Intel Xeon Gold 6140","cores":36,"threads":72,"frequency":2300},{"name":"Intel Xeon Gold 6140","cores":36,"threads":72,"frequency":2300}],"memory":[{"capacity":768,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":2,"nanos":599900000},"price_per_month":{"currency_code":"EUR","units":1299,"nanos":990000000}},{"id":"737f18c8-febc-4408-b69e-776bca0a3f48","name":"HC-BM1-S","stock":"available","bandwidth":1000,"commercial_range":"high_cpu","price_by_minute":{"currency_code":"EUR","units":0,"nanos":659900000},"price_by_month":{"currency_code":"EUR","units":329,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"Intel Xeon Silver 4114","cores":10,"threads":20,"frequency":2200},{"name":"Intel Xeon Silver 4114","cores":10,"threads":20,"frequency":2200}],"memory":[{"capacity":128,"type":"DDR4","frequency":2400,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":659900000},"price_per_month":{"currency_code":"EUR","units":329,"nanos":990000000}},{"id":"8090d302-3545-4905-9cf3-bcb77a299f47","name":"GP-BM1-L","stock":"empty","bandwidth":750,"commercial_range":"general_purpose","price_by_minute":{"currency_code":"EUR","units":0,"nanos":499900000},"price_by_month":{"currency_code":"EUR","units":249,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"AMD EPYC 7281","cores":16,"threads":32,"frequency":2100}],"memory":[{"capacity":96,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_gp","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":499900000},"price_per_month":{"currency_code":"EUR","units":249,"nanos":990000000}},{"id":"964f9b38-577e-470f-a220-7d762f9e8672","name":"GP-BM1-M","stock":"available","bandwidth":500,"commercial_range":"general_purpose","price_by_minute":{"currency_code":"EUR","units":0,"nanos":399900000},"price_by_month":{"currency_code":"EUR","units":199,"nanos":990000000},"disk":[{"capacity":1024,"type":"SSD"},{"capacity":1024,"type":"SSD"},{"capacity":1024,"type":"SSD"}],"enable":true,"cpu":[{"name":"Intel Xeon E3 1240v6","cores":4,"threads":8,"frequency":3700}],"memory":[{"capacity":64,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_gp","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":399900000},"price_per_month":{"currency_code":"EUR","units":199,"nanos":990000000}},{"id":"c452f76a-2cda-4a1b-9658-a16952dc5ff0","name":"HM-BM1-M","stock":"available","bandwidth":1000,"commercial_range":"high_memory","price_by_minute":{"currency_code":"EUR","units":0,"nanos":799900000},"price_by_month":{"currency_code":"EUR","units":399,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"AMD EPYC 7401P","cores":24,"threads":48,"frequency":2000}],"memory":[{"capacity":256,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":799900000},"price_per_month":{"currency_code":"EUR","units":399,"nanos":990000000}}]} +---------------------------------------------------------- +DEBUG: 2019/12/09 16:04:07 creating POST request on https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers +DEBUG: 2019/12/09 16:04:07 +--------------- Scaleway SDK REQUEST 2 : --------------- +POST /baremetal/v1alpha1/zones/fr-par-2/servers HTTP/1.1 +Host: api.scaleway.com +User-Agent: scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test +Content-Length: 164 +Content-Type: application/json +X-Auth-Token: 148499e0-xxxx-xxxx-xxxx-xxxxxxxxxxxx +Accept-Encoding: gzip + +{"offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-kind-raman","description":"","tags":null} +--------------------------------------------------------- +DEBUG: 2019/12/09 16:04:07 +--------------- Scaleway SDK RESPONSE 2 : --------------- +HTTP/1.0 200 OK +Connection: close +Content-Length: 396 +Content-Security-Policy: default-src 'none'; frame-ancestors 'none' +Content-Type: application/json +Date: Thu, 19 Mar 2020 13:33:46 GMT +Server: scaleway_api +Strict-Transport-Security: max-age=63072000 +X-Content-Type-Options: nosniff +X-Frame-Options: DENY +X-Request-Id: 664e5e38-1d46-43b3-b649-affc362fd8cc + +{"id":"a9b69187-6700-4378-a1c3-f8b0f492fd9c","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-kind-raman","description":"","updated_at":"2020-03-19T13:33:46.732409663Z","created_at":"2020-03-19T13:33:46.732409663Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"} +---------------------------------------------------------- +DEBUG: 2019/12/09 16:04:07 marshalling type '*baremetal.Server' +DEBUG: 2019/12/09 16:04:07 marshalling type 'baremetal.Server' +DEBUG: 2019/12/09 16:04:07 skipping check version +DEBUG: 2019/12/09 16:04:07 skipping telemetry report diff --git a/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.stdout.golden b/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.stdout.golden index 455ae5c5dc..e656f65c6e 100644 --- a/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.stdout.golden +++ b/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.stdout.golden @@ -1,6 +1,6 @@ -id 24cf0a23-978a-47c0-9a1d-07fcfefef270 +id a9b69187-6700-4378-a1c3-f8b0f492fd9c organization-id 951df375-e094-4d26-97c1-ba548eeb9c42 -name cli-bm-wizardly-bell +name cli-bm-kind-raman description - updated-at few seconds ago created-at few seconds ago diff --git a/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-with-name.cassette.yaml b/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-with-name.cassette.yaml index df3efacbbe..97a432cbfe 100644 --- a/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-with-name.cassette.yaml +++ b/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-with-name.cassette.yaml @@ -26,7 +26,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 19 Mar 2020 11:22:48 GMT + - Thu, 19 Mar 2020 13:10:30 GMT Server: - scaleway_api Strict-Transport-Security: @@ -36,7 +36,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 42f432c5-f431-4709-a2f3-783383473b3e + - 70ce60c1-6ef0-4a93-8a6d-5fda287fd314 status: 200 OK code: 200 duration: "" @@ -51,7 +51,7 @@ interactions: url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers method: POST response: - body: '{"id":"06d84572-aab9-4969-996b-29f5b1ee9590","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-19T11:22:48.648206378Z","created_at":"2020-03-19T11:22:48.648206378Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"6c5f1fab-79a4-4b10-920b-70f562062dea","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-19T13:10:31.010638393Z","created_at":"2020-03-19T13:10:31.010638393Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - "381" @@ -60,7 +60,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 19 Mar 2020 11:22:48 GMT + - Thu, 19 Mar 2020 13:10:30 GMT Server: - scaleway_api Strict-Transport-Security: @@ -70,7 +70,1895 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 731928a6-27b8-43ca-b688-4448a63592ee + - e7907f9f-b6f3-4255-88f5-4bc8fc4e545c + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/6c5f1fab-79a4-4b10-920b-70f562062dea + method: GET + response: + body: '{"id":"6c5f1fab-79a4-4b10-920b-70f562062dea","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-19T13:10:31.010638Z","created_at":"2020-03-19T13:10:31.010638Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "375" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 13:10:30 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 48e4ed6a-4d8e-468c-bc0f-14ec06740ea2 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/6c5f1fab-79a4-4b10-920b-70f562062dea + method: GET + response: + body: '{"id":"6c5f1fab-79a4-4b10-920b-70f562062dea","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-19T13:10:31.528578Z","created_at":"2020-03-19T13:10:31.010638Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "375" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 13:10:35 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - fc4de9c5-5940-4d2b-ab35-42cfaaae4166 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/6c5f1fab-79a4-4b10-920b-70f562062dea + method: GET + response: + body: '{"id":"6c5f1fab-79a4-4b10-920b-70f562062dea","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-19T13:10:31.528578Z","created_at":"2020-03-19T13:10:31.010638Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "375" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 13:10:41 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 3229319d-fe52-4683-a989-cd6bfd764eeb + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/6c5f1fab-79a4-4b10-920b-70f562062dea + method: GET + response: + body: '{"id":"6c5f1fab-79a4-4b10-920b-70f562062dea","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-19T13:10:31.528578Z","created_at":"2020-03-19T13:10:31.010638Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "375" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 13:10:46 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 3de4beea-cd3a-4755-90b3-48568f6374bc + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/6c5f1fab-79a4-4b10-920b-70f562062dea + method: GET + response: + body: '{"id":"6c5f1fab-79a4-4b10-920b-70f562062dea","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-19T13:10:31.528578Z","created_at":"2020-03-19T13:10:31.010638Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "375" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 13:10:51 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - bade1c2c-52d1-432f-8966-09952689d9a4 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/6c5f1fab-79a4-4b10-920b-70f562062dea + method: GET + response: + body: '{"id":"6c5f1fab-79a4-4b10-920b-70f562062dea","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-19T13:10:31.528578Z","created_at":"2020-03-19T13:10:31.010638Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "375" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 13:10:56 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 81179bb0-6f84-4361-9126-70618d52488e + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/6c5f1fab-79a4-4b10-920b-70f562062dea + method: GET + response: + body: '{"id":"6c5f1fab-79a4-4b10-920b-70f562062dea","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-19T13:10:31.528578Z","created_at":"2020-03-19T13:10:31.010638Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "375" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 13:11:01 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - bfb12d3d-2815-493b-9498-5a96edf3c1be + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/6c5f1fab-79a4-4b10-920b-70f562062dea + method: GET + response: + body: '{"id":"6c5f1fab-79a4-4b10-920b-70f562062dea","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-19T13:10:31.528578Z","created_at":"2020-03-19T13:10:31.010638Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "375" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 13:11:06 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 8899a9ec-d1a0-4c1b-80ef-86ec1c97b725 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/6c5f1fab-79a4-4b10-920b-70f562062dea + method: GET + response: + body: '{"id":"6c5f1fab-79a4-4b10-920b-70f562062dea","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-19T13:10:31.528578Z","created_at":"2020-03-19T13:10:31.010638Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "375" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 13:11:11 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 20eb4bb2-a7a0-4cb2-b202-5b87d1d4fb97 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/6c5f1fab-79a4-4b10-920b-70f562062dea + method: GET + response: + body: '{"id":"6c5f1fab-79a4-4b10-920b-70f562062dea","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-19T13:10:31.528578Z","created_at":"2020-03-19T13:10:31.010638Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "375" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 13:11:16 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - bbf3b925-812f-4ab9-b98d-7b2856311fad + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/6c5f1fab-79a4-4b10-920b-70f562062dea + method: GET + response: + body: '{"id":"6c5f1fab-79a4-4b10-920b-70f562062dea","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-19T13:10:31.528578Z","created_at":"2020-03-19T13:10:31.010638Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "375" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 13:11:21 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - b911430e-8f92-4364-9b00-f94e5b5ea21c + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/6c5f1fab-79a4-4b10-920b-70f562062dea + method: GET + response: + body: '{"id":"6c5f1fab-79a4-4b10-920b-70f562062dea","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-19T13:10:31.528578Z","created_at":"2020-03-19T13:10:31.010638Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "375" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 13:11:26 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 93c25cb1-ea49-4cd6-81db-ad32759eb055 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/6c5f1fab-79a4-4b10-920b-70f562062dea + method: GET + response: + body: '{"id":"6c5f1fab-79a4-4b10-920b-70f562062dea","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-19T13:10:31.528578Z","created_at":"2020-03-19T13:10:31.010638Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "375" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 13:11:31 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - ecf1ca10-f1ce-4ff4-a29a-d3825b367524 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/6c5f1fab-79a4-4b10-920b-70f562062dea + method: GET + response: + body: '{"id":"6c5f1fab-79a4-4b10-920b-70f562062dea","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-19T13:10:31.528578Z","created_at":"2020-03-19T13:10:31.010638Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "375" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 13:11:36 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - d95d5fb3-7046-49ab-874c-3d5dcc1c942e + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/6c5f1fab-79a4-4b10-920b-70f562062dea + method: GET + response: + body: '{"id":"6c5f1fab-79a4-4b10-920b-70f562062dea","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-19T13:10:31.528578Z","created_at":"2020-03-19T13:10:31.010638Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "375" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 13:11:41 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 99202779-8f14-4f0c-a62c-8605cc206363 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/6c5f1fab-79a4-4b10-920b-70f562062dea + method: GET + response: + body: '{"id":"6c5f1fab-79a4-4b10-920b-70f562062dea","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-19T13:10:31.528578Z","created_at":"2020-03-19T13:10:31.010638Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "375" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 13:11:46 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - a652cd63-a1ea-488e-a2ea-910e343acadc + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/6c5f1fab-79a4-4b10-920b-70f562062dea + method: GET + response: + body: '{"id":"6c5f1fab-79a4-4b10-920b-70f562062dea","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-19T13:10:31.528578Z","created_at":"2020-03-19T13:10:31.010638Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "375" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 13:11:51 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 23a5a9db-b222-4c2e-baf8-fe0e3c5b27b7 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/6c5f1fab-79a4-4b10-920b-70f562062dea + method: GET + response: + body: '{"id":"6c5f1fab-79a4-4b10-920b-70f562062dea","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-19T13:10:31.528578Z","created_at":"2020-03-19T13:10:31.010638Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "375" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 13:11:56 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 246076ec-7d6d-4b2a-b2f3-f8814eeba2c1 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/6c5f1fab-79a4-4b10-920b-70f562062dea + method: GET + response: + body: '{"id":"6c5f1fab-79a4-4b10-920b-70f562062dea","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-19T13:10:31.528578Z","created_at":"2020-03-19T13:10:31.010638Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "375" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 13:12:01 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - cb204a7f-4251-4cae-8314-21f2643c0d8a + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/6c5f1fab-79a4-4b10-920b-70f562062dea + method: GET + response: + body: '{"id":"6c5f1fab-79a4-4b10-920b-70f562062dea","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-19T13:10:31.528578Z","created_at":"2020-03-19T13:10:31.010638Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "375" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 13:12:06 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 2cd04f08-ad0a-485b-a099-a32a2bd517f0 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/6c5f1fab-79a4-4b10-920b-70f562062dea + method: GET + response: + body: '{"id":"6c5f1fab-79a4-4b10-920b-70f562062dea","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-19T13:10:31.528578Z","created_at":"2020-03-19T13:10:31.010638Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "375" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 13:12:11 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 78a684c6-c8b9-4614-a511-91e38e56d306 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/6c5f1fab-79a4-4b10-920b-70f562062dea + method: GET + response: + body: '{"id":"6c5f1fab-79a4-4b10-920b-70f562062dea","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-19T13:10:31.528578Z","created_at":"2020-03-19T13:10:31.010638Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "375" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 13:12:16 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - c7d90b2c-e122-4e67-bd0c-6705e712e2ac + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/6c5f1fab-79a4-4b10-920b-70f562062dea + method: GET + response: + body: '{"id":"6c5f1fab-79a4-4b10-920b-70f562062dea","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-19T13:10:31.528578Z","created_at":"2020-03-19T13:10:31.010638Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "375" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 13:12:21 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 0e6b3b71-3614-48f7-ad41-7a20f3f0a669 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/6c5f1fab-79a4-4b10-920b-70f562062dea + method: GET + response: + body: '{"id":"6c5f1fab-79a4-4b10-920b-70f562062dea","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-19T13:10:31.528578Z","created_at":"2020-03-19T13:10:31.010638Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "375" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 13:12:26 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 424b449c-3f9d-422e-a2bb-3ec1adb037cc + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/6c5f1fab-79a4-4b10-920b-70f562062dea + method: GET + response: + body: '{"id":"6c5f1fab-79a4-4b10-920b-70f562062dea","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-19T13:10:31.528578Z","created_at":"2020-03-19T13:10:31.010638Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "375" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 13:12:31 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - d2266603-f941-4314-adf3-19ec133e048c + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/6c5f1fab-79a4-4b10-920b-70f562062dea + method: GET + response: + body: '{"id":"6c5f1fab-79a4-4b10-920b-70f562062dea","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-19T13:10:31.528578Z","created_at":"2020-03-19T13:10:31.010638Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "375" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 13:12:36 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - c9264cd9-d2dd-4124-b429-28ecab640df6 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/6c5f1fab-79a4-4b10-920b-70f562062dea + method: GET + response: + body: '{"id":"6c5f1fab-79a4-4b10-920b-70f562062dea","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-19T13:10:31.528578Z","created_at":"2020-03-19T13:10:31.010638Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "375" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 13:12:41 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 65ab31c8-8c4d-4884-a2d5-07a8222678ea + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/6c5f1fab-79a4-4b10-920b-70f562062dea + method: GET + response: + body: '{"id":"6c5f1fab-79a4-4b10-920b-70f562062dea","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-19T13:10:31.528578Z","created_at":"2020-03-19T13:10:31.010638Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "375" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 13:12:46 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 38b3144e-db1b-490c-8f3b-6d2a5d1b9964 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/6c5f1fab-79a4-4b10-920b-70f562062dea + method: GET + response: + body: '{"id":"6c5f1fab-79a4-4b10-920b-70f562062dea","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-19T13:10:31.528578Z","created_at":"2020-03-19T13:10:31.010638Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "375" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 13:12:51 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 02cc5105-f0c4-4870-9fa8-1c71308ad3c0 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/6c5f1fab-79a4-4b10-920b-70f562062dea + method: GET + response: + body: '{"id":"6c5f1fab-79a4-4b10-920b-70f562062dea","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-19T13:10:31.528578Z","created_at":"2020-03-19T13:10:31.010638Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "375" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 13:12:56 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 728c0156-4c57-4213-abcb-9610ba3d3091 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/6c5f1fab-79a4-4b10-920b-70f562062dea + method: GET + response: + body: '{"id":"6c5f1fab-79a4-4b10-920b-70f562062dea","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-19T13:10:31.528578Z","created_at":"2020-03-19T13:10:31.010638Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "375" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 13:13:01 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 7d974656-3328-42da-97fe-63410d049a9b + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/6c5f1fab-79a4-4b10-920b-70f562062dea + method: GET + response: + body: '{"id":"6c5f1fab-79a4-4b10-920b-70f562062dea","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-19T13:10:31.528578Z","created_at":"2020-03-19T13:10:31.010638Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "375" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 13:13:06 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 2b5bb4d6-e4f6-401e-8ca0-6ada982d0e8c + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/6c5f1fab-79a4-4b10-920b-70f562062dea + method: GET + response: + body: '{"id":"6c5f1fab-79a4-4b10-920b-70f562062dea","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-19T13:10:31.528578Z","created_at":"2020-03-19T13:10:31.010638Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "375" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 13:13:11 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 008fca26-c4fb-4cf9-b86a-3b17d275e4db + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/6c5f1fab-79a4-4b10-920b-70f562062dea + method: GET + response: + body: '{"id":"6c5f1fab-79a4-4b10-920b-70f562062dea","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-19T13:10:31.528578Z","created_at":"2020-03-19T13:10:31.010638Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "375" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 13:13:16 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - d5d75c16-1e9d-4a18-9213-21fd5b584d3f + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/6c5f1fab-79a4-4b10-920b-70f562062dea + method: GET + response: + body: '{"id":"6c5f1fab-79a4-4b10-920b-70f562062dea","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-19T13:10:31.528578Z","created_at":"2020-03-19T13:10:31.010638Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "375" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 13:13:21 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 42a00f88-27fc-45e3-a311-87089d8a9b29 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/6c5f1fab-79a4-4b10-920b-70f562062dea + method: GET + response: + body: '{"id":"6c5f1fab-79a4-4b10-920b-70f562062dea","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-19T13:10:31.528578Z","created_at":"2020-03-19T13:10:31.010638Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "375" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 13:13:27 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 05ad22a7-599b-4e16-b33e-02d95c1e1cb0 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/6c5f1fab-79a4-4b10-920b-70f562062dea + method: GET + response: + body: '{"id":"6c5f1fab-79a4-4b10-920b-70f562062dea","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-19T13:10:31.528578Z","created_at":"2020-03-19T13:10:31.010638Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "375" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 13:13:32 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 5e335fae-80a6-4515-bdb6-d86a7938375d + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/6c5f1fab-79a4-4b10-920b-70f562062dea + method: GET + response: + body: '{"id":"6c5f1fab-79a4-4b10-920b-70f562062dea","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-19T13:10:31.528578Z","created_at":"2020-03-19T13:10:31.010638Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "375" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 13:13:37 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 372a3ff8-8be2-4bf4-ba71-8ebad389536c + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/6c5f1fab-79a4-4b10-920b-70f562062dea + method: GET + response: + body: '{"id":"6c5f1fab-79a4-4b10-920b-70f562062dea","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-19T13:10:31.528578Z","created_at":"2020-03-19T13:10:31.010638Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "375" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 13:13:42 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 5fab1063-eb0f-4c8d-8513-584be2593ce4 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/6c5f1fab-79a4-4b10-920b-70f562062dea + method: GET + response: + body: '{"id":"6c5f1fab-79a4-4b10-920b-70f562062dea","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-19T13:10:31.528578Z","created_at":"2020-03-19T13:10:31.010638Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "375" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 13:13:47 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 6f14bfe8-f08a-467c-b392-2f287d08769c + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/6c5f1fab-79a4-4b10-920b-70f562062dea + method: GET + response: + body: '{"id":"6c5f1fab-79a4-4b10-920b-70f562062dea","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-19T13:10:31.528578Z","created_at":"2020-03-19T13:10:31.010638Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "375" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 13:13:52 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 233af923-aa9b-4842-996d-e9086fe206c8 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/6c5f1fab-79a4-4b10-920b-70f562062dea + method: GET + response: + body: '{"id":"6c5f1fab-79a4-4b10-920b-70f562062dea","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-19T13:10:31.528578Z","created_at":"2020-03-19T13:10:31.010638Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "375" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 13:13:57 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 15f4841c-494f-475d-a330-7428c5ede784 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/6c5f1fab-79a4-4b10-920b-70f562062dea + method: GET + response: + body: '{"id":"6c5f1fab-79a4-4b10-920b-70f562062dea","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-19T13:10:31.528578Z","created_at":"2020-03-19T13:10:31.010638Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "375" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 13:14:02 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 3d3f56ac-8ab4-45dc-81b3-f67a8b253cce + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/6c5f1fab-79a4-4b10-920b-70f562062dea + method: GET + response: + body: '{"id":"6c5f1fab-79a4-4b10-920b-70f562062dea","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-19T13:10:31.528578Z","created_at":"2020-03-19T13:10:31.010638Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "375" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 13:14:07 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 952a821e-19b1-4ff3-9ae5-e58065f44d32 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/6c5f1fab-79a4-4b10-920b-70f562062dea + method: GET + response: + body: '{"id":"6c5f1fab-79a4-4b10-920b-70f562062dea","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-19T13:10:31.528578Z","created_at":"2020-03-19T13:10:31.010638Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "375" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 13:14:12 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 61a7af6a-1158-42af-9d6f-c80beddd4c1c + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/6c5f1fab-79a4-4b10-920b-70f562062dea + method: GET + response: + body: '{"id":"6c5f1fab-79a4-4b10-920b-70f562062dea","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-19T13:10:31.528578Z","created_at":"2020-03-19T13:10:31.010638Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "375" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 13:14:17 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - a425f0b0-ad40-4b5d-8b22-38314b460b4f + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/6c5f1fab-79a4-4b10-920b-70f562062dea + method: GET + response: + body: '{"id":"6c5f1fab-79a4-4b10-920b-70f562062dea","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-19T13:10:31.528578Z","created_at":"2020-03-19T13:10:31.010638Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "375" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 13:14:22 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 4666933f-8e48-4067-a6a5-3b23384ec5bc + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/6c5f1fab-79a4-4b10-920b-70f562062dea + method: GET + response: + body: '{"id":"6c5f1fab-79a4-4b10-920b-70f562062dea","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-19T13:10:31.528578Z","created_at":"2020-03-19T13:10:31.010638Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "375" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 13:14:27 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - e3c715e7-6bd5-4fa3-b77b-38647641ff57 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/6c5f1fab-79a4-4b10-920b-70f562062dea + method: GET + response: + body: '{"id":"6c5f1fab-79a4-4b10-920b-70f562062dea","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-19T13:10:31.528578Z","created_at":"2020-03-19T13:10:31.010638Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "375" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 13:14:32 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 2fc990cf-4d14-421d-a286-379a300927ec + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/6c5f1fab-79a4-4b10-920b-70f562062dea + method: GET + response: + body: '{"id":"6c5f1fab-79a4-4b10-920b-70f562062dea","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-19T13:10:31.528578Z","created_at":"2020-03-19T13:10:31.010638Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "375" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 13:14:37 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - d0ab1ceb-79bd-4249-83ca-4125444bc264 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/6c5f1fab-79a4-4b10-920b-70f562062dea + method: GET + response: + body: '{"id":"6c5f1fab-79a4-4b10-920b-70f562062dea","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-19T13:10:31.528578Z","created_at":"2020-03-19T13:10:31.010638Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "375" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 13:14:42 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 9de9c751-5820-4b85-89a3-8b3e88c8270a + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/6c5f1fab-79a4-4b10-920b-70f562062dea + method: GET + response: + body: '{"id":"6c5f1fab-79a4-4b10-920b-70f562062dea","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-19T13:10:31.528578Z","created_at":"2020-03-19T13:10:31.010638Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "375" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 13:14:47 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 3673bc5a-b466-4c11-869c-2dd0e323b971 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/6c5f1fab-79a4-4b10-920b-70f562062dea + method: GET + response: + body: '{"id":"6c5f1fab-79a4-4b10-920b-70f562062dea","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-19T13:10:31.528578Z","created_at":"2020-03-19T13:10:31.010638Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "375" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 13:14:52 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - ab45a782-2a2e-4dde-9ffd-eea249b72e0d + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/6c5f1fab-79a4-4b10-920b-70f562062dea + method: GET + response: + body: '{"id":"6c5f1fab-79a4-4b10-920b-70f562062dea","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-19T13:10:31.528578Z","created_at":"2020-03-19T13:10:31.010638Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "375" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 13:14:57 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - c3fbccc5-b2a7-4ead-8704-46213f000461 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/6c5f1fab-79a4-4b10-920b-70f562062dea + method: GET + response: + body: '{"id":"6c5f1fab-79a4-4b10-920b-70f562062dea","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-19T13:10:31.528578Z","created_at":"2020-03-19T13:10:31.010638Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "375" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 13:15:02 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 605d91ff-4d1b-482b-af86-26544809068b + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/6c5f1fab-79a4-4b10-920b-70f562062dea + method: GET + response: + body: '{"id":"6c5f1fab-79a4-4b10-920b-70f562062dea","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-19T13:10:31.528578Z","created_at":"2020-03-19T13:10:31.010638Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "375" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 13:15:07 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - a37d5470-3202-4476-88c7-6c42ccfe6f2b + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/6c5f1fab-79a4-4b10-920b-70f562062dea + method: GET + response: + body: '{"id":"6c5f1fab-79a4-4b10-920b-70f562062dea","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-19T13:10:31.528578Z","created_at":"2020-03-19T13:10:31.010638Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "375" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 13:15:12 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 6c7af882-0ae6-490c-ad43-007b0ff4a744 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/6c5f1fab-79a4-4b10-920b-70f562062dea + method: GET + response: + body: '{"id":"6c5f1fab-79a4-4b10-920b-70f562062dea","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-19T13:15:14.180870Z","created_at":"2020-03-19T13:10:31.010638Z","status":"ready","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[{"id":"225cd07b-bead-4f21-9356-2b9c7d0db4c6","address":"51.159.56.96","reverse":"6c5f1fab-79a4-4b10-920b-70f562062dea.fr-par-2.baremetal.scw.cloud","version":"Ipv4","reverse_status":"pending","reverse_status_message":null},{"id":"4782904c-9f2b-4c1f-94d2-571c1e7399cf","address":"2001:0bc8:1200:0000:dac4:97ff:fe5b:778d","reverse":"6c5f1fab-79a4-4b10-920b-70f562062dea.fr-par-2.baremetal.scw.cloud","version":"Ipv6","reverse_status":"pending","reverse_status_message":null}],"domain":"6c5f1fab-79a4-4b10-920b-70f562062dea.fr-par-2.baremetal.scw.cloud","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "906" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 13:15:17 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - c674a4e0-e85e-40a8-94f0-00b84dd43864 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/6c5f1fab-79a4-4b10-920b-70f562062dea + method: DELETE + response: + body: '{"id":"6c5f1fab-79a4-4b10-920b-70f562062dea","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-19T13:15:17.942539Z","created_at":"2020-03-19T13:10:31.010638Z","status":"deleting","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[{"id":"225cd07b-bead-4f21-9356-2b9c7d0db4c6","address":"51.159.56.96","reverse":"6c5f1fab-79a4-4b10-920b-70f562062dea.fr-par-2.baremetal.scw.cloud","version":"Ipv4","reverse_status":"pending","reverse_status_message":null},{"id":"4782904c-9f2b-4c1f-94d2-571c1e7399cf","address":"2001:0bc8:1200:0000:dac4:97ff:fe5b:778d","reverse":"6c5f1fab-79a4-4b10-920b-70f562062dea.fr-par-2.baremetal.scw.cloud","version":"Ipv6","reverse_status":"pending","reverse_status_message":null}],"domain":"6c5f1fab-79a4-4b10-920b-70f562062dea.fr-par-2.baremetal.scw.cloud","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "909" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 13:15:17 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 5dfa3e7a-b219-4f1b-bf11-2f89d726ebd6 status: 200 OK code: 200 duration: "" From e75ba05e24f9cb56d5a8cefaa202e8839a9da903 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20L=C3=A9one?= Date: Thu, 19 Mar 2020 15:48:04 +0100 Subject: [PATCH 25/67] Fix --- ...create-server-simple-default.cassette.yaml | 630 +++++++-- ...create-server-simple-default.stderr.golden | 60 - ...create-server-simple-default.stdout.golden | 4 +- ...st-create-server-simple-tags.cassette.yaml | 1136 ++++++++++++++++- ...eate-server-simple-with-name.cassette.yaml | 1136 +++-------------- 5 files changed, 1821 insertions(+), 1145 deletions(-) delete mode 100644 internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.stderr.golden diff --git a/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.cassette.yaml b/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.cassette.yaml index b86df8a9df..3b2bdd3430 100644 --- a/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.cassette.yaml +++ b/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.cassette.yaml @@ -16,7 +16,7 @@ interactions: Xeon Gold 6140","cores":36,"threads":72,"frequency":2300},{"name":"Intel Xeon Gold 6140","cores":36,"threads":72,"frequency":2300}],"memory":[{"capacity":768,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":2,"nanos":599900000},"price_per_month":{"currency_code":"EUR","units":1299,"nanos":990000000}},{"id":"737f18c8-febc-4408-b69e-776bca0a3f48","name":"HC-BM1-S","stock":"available","bandwidth":1000,"commercial_range":"high_cpu","price_by_minute":{"currency_code":"EUR","units":0,"nanos":659900000},"price_by_month":{"currency_code":"EUR","units":329,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"Intel Xeon Silver 4114","cores":10,"threads":20,"frequency":2200},{"name":"Intel Xeon - Silver 4114","cores":10,"threads":20,"frequency":2200}],"memory":[{"capacity":128,"type":"DDR4","frequency":2400,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":659900000},"price_per_month":{"currency_code":"EUR","units":329,"nanos":990000000}},{"id":"8090d302-3545-4905-9cf3-bcb77a299f47","name":"GP-BM1-L","stock":"empty","bandwidth":750,"commercial_range":"general_purpose","price_by_minute":{"currency_code":"EUR","units":0,"nanos":499900000},"price_by_month":{"currency_code":"EUR","units":249,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"AMD + Silver 4114","cores":10,"threads":20,"frequency":2200}],"memory":[{"capacity":128,"type":"DDR4","frequency":2400,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":659900000},"price_per_month":{"currency_code":"EUR","units":329,"nanos":990000000}},{"id":"8090d302-3545-4905-9cf3-bcb77a299f47","name":"GP-BM1-L","stock":"available","bandwidth":750,"commercial_range":"general_purpose","price_by_minute":{"currency_code":"EUR","units":0,"nanos":499900000},"price_by_month":{"currency_code":"EUR","units":249,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"AMD EPYC 7281","cores":16,"threads":32,"frequency":2100}],"memory":[{"capacity":96,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_gp","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":499900000},"price_per_month":{"currency_code":"EUR","units":249,"nanos":990000000}},{"id":"964f9b38-577e-470f-a220-7d762f9e8672","name":"GP-BM1-M","stock":"available","bandwidth":500,"commercial_range":"general_purpose","price_by_minute":{"currency_code":"EUR","units":0,"nanos":399900000},"price_by_month":{"currency_code":"EUR","units":199,"nanos":990000000},"disk":[{"capacity":1024,"type":"SSD"},{"capacity":1024,"type":"SSD"},{"capacity":1024,"type":"SSD"}],"enable":true,"cpu":[{"name":"Intel Xeon E3 1240v6","cores":4,"threads":8,"frequency":3700}],"memory":[{"capacity":64,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_gp","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":399900000},"price_per_month":{"currency_code":"EUR","units":199,"nanos":990000000}},{"id":"c452f76a-2cda-4a1b-9658-a16952dc5ff0","name":"HM-BM1-M","stock":"available","bandwidth":1000,"commercial_range":"high_memory","price_by_minute":{"currency_code":"EUR","units":0,"nanos":799900000},"price_by_month":{"currency_code":"EUR","units":399,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"AMD EPYC 7401P","cores":24,"threads":48,"frequency":2000}],"memory":[{"capacity":256,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":799900000},"price_per_month":{"currency_code":"EUR","units":399,"nanos":990000000}}]}' @@ -26,7 +26,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 19 Mar 2020 13:33:46 GMT + - Thu, 19 Mar 2020 14:42:33 GMT Server: - scaleway_api Strict-Transport-Security: @@ -36,12 +36,12 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 116eea0a-5a24-4cdd-b877-eefc0e990b8b + - f0e31a6c-f746-430b-b6c4-62b5124dfd54 status: 200 OK code: 200 duration: "" - request: - body: '{"offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-kind-raman","description":"","tags":null}' + body: '{"offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-optimistic-heyrovsky","description":"","tags":null}' form: {} headers: Content-Type: @@ -51,16 +51,16 @@ interactions: url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers method: POST response: - body: '{"id":"a9b69187-6700-4378-a1c3-f8b0f492fd9c","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-kind-raman","description":"","updated_at":"2020-03-19T13:33:46.732409663Z","created_at":"2020-03-19T13:33:46.732409663Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"a27ccbbc-deac-480d-a827-f51eca4d9b58","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-optimistic-heyrovsky","description":"","updated_at":"2020-03-19T14:42:34.241251449Z","created_at":"2020-03-19T14:42:34.241251449Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "396" + - "406" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Mar 2020 13:33:46 GMT + - Thu, 19 Mar 2020 14:42:34 GMT Server: - scaleway_api Strict-Transport-Security: @@ -70,7 +70,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 664e5e38-1d46-43b3-b649-affc362fd8cc + - fe2a442b-9ff2-47b4-8a0f-8aff586924e3 status: 200 OK code: 200 duration: "" @@ -80,19 +80,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a9b69187-6700-4378-a1c3-f8b0f492fd9c + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a27ccbbc-deac-480d-a827-f51eca4d9b58 method: GET response: - body: '{"id":"a9b69187-6700-4378-a1c3-f8b0f492fd9c","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-kind-raman","description":"","updated_at":"2020-03-19T13:33:46.732410Z","created_at":"2020-03-19T13:33:46.732410Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"a27ccbbc-deac-480d-a827-f51eca4d9b58","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-optimistic-heyrovsky","description":"","updated_at":"2020-03-19T14:42:34.241251Z","created_at":"2020-03-19T14:42:34.241251Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "390" + - "400" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Mar 2020 13:33:46 GMT + - Thu, 19 Mar 2020 14:42:34 GMT Server: - scaleway_api Strict-Transport-Security: @@ -102,7 +102,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - a226c658-52ae-4658-a80d-0f10942590ef + - b5108110-9445-40f4-8530-00cc1f7ae94a status: 200 OK code: 200 duration: "" @@ -112,19 +112,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a9b69187-6700-4378-a1c3-f8b0f492fd9c + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a27ccbbc-deac-480d-a827-f51eca4d9b58 method: GET response: - body: '{"id":"a9b69187-6700-4378-a1c3-f8b0f492fd9c","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-kind-raman","description":"","updated_at":"2020-03-19T13:33:47.347664Z","created_at":"2020-03-19T13:33:46.732410Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"a27ccbbc-deac-480d-a827-f51eca4d9b58","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-optimistic-heyrovsky","description":"","updated_at":"2020-03-19T14:42:34.241251Z","created_at":"2020-03-19T14:42:34.241251Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "390" + - "400" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Mar 2020 13:33:51 GMT + - Thu, 19 Mar 2020 14:42:39 GMT Server: - scaleway_api Strict-Transport-Security: @@ -134,7 +134,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 9b426b3c-176e-44fc-aafe-965b12116d31 + - 77e7760f-15c7-44b8-ac86-88c8fd1bf995 status: 200 OK code: 200 duration: "" @@ -144,19 +144,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a9b69187-6700-4378-a1c3-f8b0f492fd9c + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a27ccbbc-deac-480d-a827-f51eca4d9b58 method: GET response: - body: '{"id":"a9b69187-6700-4378-a1c3-f8b0f492fd9c","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-kind-raman","description":"","updated_at":"2020-03-19T13:33:47.347664Z","created_at":"2020-03-19T13:33:46.732410Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"a27ccbbc-deac-480d-a827-f51eca4d9b58","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-optimistic-heyrovsky","description":"","updated_at":"2020-03-19T14:42:34.241251Z","created_at":"2020-03-19T14:42:34.241251Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "390" + - "400" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Mar 2020 13:33:56 GMT + - Thu, 19 Mar 2020 14:42:44 GMT Server: - scaleway_api Strict-Transport-Security: @@ -166,7 +166,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 5467b8ea-ff5d-4962-a5e2-217347c3bcdb + - b72cf614-4e9e-46dd-b49b-1529daa62136 status: 200 OK code: 200 duration: "" @@ -176,19 +176,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a9b69187-6700-4378-a1c3-f8b0f492fd9c + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a27ccbbc-deac-480d-a827-f51eca4d9b58 method: GET response: - body: '{"id":"a9b69187-6700-4378-a1c3-f8b0f492fd9c","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-kind-raman","description":"","updated_at":"2020-03-19T13:33:47.347664Z","created_at":"2020-03-19T13:33:46.732410Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"a27ccbbc-deac-480d-a827-f51eca4d9b58","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-optimistic-heyrovsky","description":"","updated_at":"2020-03-19T14:42:34.241251Z","created_at":"2020-03-19T14:42:34.241251Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "390" + - "400" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Mar 2020 13:34:01 GMT + - Thu, 19 Mar 2020 14:42:49 GMT Server: - scaleway_api Strict-Transport-Security: @@ -198,7 +198,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - a41b30a4-f519-4376-9794-76cbc35fee3a + - 1dcb1282-1a25-4c2e-8fa6-ce9989e19676 status: 200 OK code: 200 duration: "" @@ -208,19 +208,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a9b69187-6700-4378-a1c3-f8b0f492fd9c + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a27ccbbc-deac-480d-a827-f51eca4d9b58 method: GET response: - body: '{"id":"a9b69187-6700-4378-a1c3-f8b0f492fd9c","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-kind-raman","description":"","updated_at":"2020-03-19T13:33:47.347664Z","created_at":"2020-03-19T13:33:46.732410Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"a27ccbbc-deac-480d-a827-f51eca4d9b58","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-optimistic-heyrovsky","description":"","updated_at":"2020-03-19T14:42:34.241251Z","created_at":"2020-03-19T14:42:34.241251Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "390" + - "400" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Mar 2020 13:34:06 GMT + - Thu, 19 Mar 2020 14:42:54 GMT Server: - scaleway_api Strict-Transport-Security: @@ -230,7 +230,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - f1c20d70-efd8-4791-a85a-58646e692538 + - c39999e2-da7c-49bd-b8da-f3d2d814147b status: 200 OK code: 200 duration: "" @@ -240,19 +240,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a9b69187-6700-4378-a1c3-f8b0f492fd9c + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a27ccbbc-deac-480d-a827-f51eca4d9b58 method: GET response: - body: '{"id":"a9b69187-6700-4378-a1c3-f8b0f492fd9c","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-kind-raman","description":"","updated_at":"2020-03-19T13:33:47.347664Z","created_at":"2020-03-19T13:33:46.732410Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"a27ccbbc-deac-480d-a827-f51eca4d9b58","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-optimistic-heyrovsky","description":"","updated_at":"2020-03-19T14:42:56.646147Z","created_at":"2020-03-19T14:42:34.241251Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "390" + - "400" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Mar 2020 13:34:11 GMT + - Thu, 19 Mar 2020 14:42:59 GMT Server: - scaleway_api Strict-Transport-Security: @@ -262,7 +262,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 798bf1ec-400d-4f14-997c-5df2ff53ee1b + - b4da9a08-d71e-432b-9aa0-d352546edd16 status: 200 OK code: 200 duration: "" @@ -272,19 +272,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a9b69187-6700-4378-a1c3-f8b0f492fd9c + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a27ccbbc-deac-480d-a827-f51eca4d9b58 method: GET response: - body: '{"id":"a9b69187-6700-4378-a1c3-f8b0f492fd9c","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-kind-raman","description":"","updated_at":"2020-03-19T13:33:47.347664Z","created_at":"2020-03-19T13:33:46.732410Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"a27ccbbc-deac-480d-a827-f51eca4d9b58","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-optimistic-heyrovsky","description":"","updated_at":"2020-03-19T14:42:56.646147Z","created_at":"2020-03-19T14:42:34.241251Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "390" + - "400" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Mar 2020 13:34:16 GMT + - Thu, 19 Mar 2020 14:43:04 GMT Server: - scaleway_api Strict-Transport-Security: @@ -294,7 +294,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 8fd3e06e-0f07-4b26-a8f1-231159f7d701 + - 1a3b1828-a3fb-4ef9-95d0-64f072bf547e status: 200 OK code: 200 duration: "" @@ -304,19 +304,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a9b69187-6700-4378-a1c3-f8b0f492fd9c + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a27ccbbc-deac-480d-a827-f51eca4d9b58 method: GET response: - body: '{"id":"a9b69187-6700-4378-a1c3-f8b0f492fd9c","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-kind-raman","description":"","updated_at":"2020-03-19T13:33:47.347664Z","created_at":"2020-03-19T13:33:46.732410Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"a27ccbbc-deac-480d-a827-f51eca4d9b58","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-optimistic-heyrovsky","description":"","updated_at":"2020-03-19T14:42:56.646147Z","created_at":"2020-03-19T14:42:34.241251Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "390" + - "400" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Mar 2020 13:34:21 GMT + - Thu, 19 Mar 2020 14:43:09 GMT Server: - scaleway_api Strict-Transport-Security: @@ -326,7 +326,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 6be01a4d-8e34-463c-baf7-27bc73027490 + - f8a5de96-6d71-4e9d-a354-344989dce927 status: 200 OK code: 200 duration: "" @@ -336,19 +336,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a9b69187-6700-4378-a1c3-f8b0f492fd9c + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a27ccbbc-deac-480d-a827-f51eca4d9b58 method: GET response: - body: '{"id":"a9b69187-6700-4378-a1c3-f8b0f492fd9c","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-kind-raman","description":"","updated_at":"2020-03-19T13:33:47.347664Z","created_at":"2020-03-19T13:33:46.732410Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"a27ccbbc-deac-480d-a827-f51eca4d9b58","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-optimistic-heyrovsky","description":"","updated_at":"2020-03-19T14:42:56.646147Z","created_at":"2020-03-19T14:42:34.241251Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "390" + - "400" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Mar 2020 13:34:27 GMT + - Thu, 19 Mar 2020 14:43:14 GMT Server: - scaleway_api Strict-Transport-Security: @@ -358,7 +358,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 64494953-4bb9-4c3a-b7df-756cfc5a2e8f + - 7668eb37-256d-4e4c-bc0a-41925f48d8cf status: 200 OK code: 200 duration: "" @@ -368,19 +368,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a9b69187-6700-4378-a1c3-f8b0f492fd9c + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a27ccbbc-deac-480d-a827-f51eca4d9b58 method: GET response: - body: '{"id":"a9b69187-6700-4378-a1c3-f8b0f492fd9c","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-kind-raman","description":"","updated_at":"2020-03-19T13:33:47.347664Z","created_at":"2020-03-19T13:33:46.732410Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"a27ccbbc-deac-480d-a827-f51eca4d9b58","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-optimistic-heyrovsky","description":"","updated_at":"2020-03-19T14:42:56.646147Z","created_at":"2020-03-19T14:42:34.241251Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "390" + - "400" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Mar 2020 13:34:32 GMT + - Thu, 19 Mar 2020 14:43:19 GMT Server: - scaleway_api Strict-Transport-Security: @@ -390,7 +390,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 92919bac-6bd8-41e1-820c-7521f1d81946 + - 8538e136-073b-41ef-93b9-d3897d71b1aa status: 200 OK code: 200 duration: "" @@ -400,19 +400,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a9b69187-6700-4378-a1c3-f8b0f492fd9c + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a27ccbbc-deac-480d-a827-f51eca4d9b58 method: GET response: - body: '{"id":"a9b69187-6700-4378-a1c3-f8b0f492fd9c","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-kind-raman","description":"","updated_at":"2020-03-19T13:33:47.347664Z","created_at":"2020-03-19T13:33:46.732410Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"a27ccbbc-deac-480d-a827-f51eca4d9b58","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-optimistic-heyrovsky","description":"","updated_at":"2020-03-19T14:42:56.646147Z","created_at":"2020-03-19T14:42:34.241251Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "390" + - "400" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Mar 2020 13:34:37 GMT + - Thu, 19 Mar 2020 14:43:24 GMT Server: - scaleway_api Strict-Transport-Security: @@ -422,7 +422,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 16c76c5f-41ab-4c1e-8b4f-0d5904821398 + - 95edf52f-5aab-455b-a2be-4606f7e39298 status: 200 OK code: 200 duration: "" @@ -432,19 +432,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a9b69187-6700-4378-a1c3-f8b0f492fd9c + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a27ccbbc-deac-480d-a827-f51eca4d9b58 method: GET response: - body: '{"id":"a9b69187-6700-4378-a1c3-f8b0f492fd9c","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-kind-raman","description":"","updated_at":"2020-03-19T13:33:47.347664Z","created_at":"2020-03-19T13:33:46.732410Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"a27ccbbc-deac-480d-a827-f51eca4d9b58","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-optimistic-heyrovsky","description":"","updated_at":"2020-03-19T14:42:56.646147Z","created_at":"2020-03-19T14:42:34.241251Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "390" + - "400" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Mar 2020 13:34:42 GMT + - Thu, 19 Mar 2020 14:43:29 GMT Server: - scaleway_api Strict-Transport-Security: @@ -454,7 +454,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 0793b5a4-dcd9-4b44-9f7e-4cb7fde6d413 + - 8e1817bc-f327-438b-9755-edfb974e740c status: 200 OK code: 200 duration: "" @@ -464,19 +464,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a9b69187-6700-4378-a1c3-f8b0f492fd9c + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a27ccbbc-deac-480d-a827-f51eca4d9b58 method: GET response: - body: '{"id":"a9b69187-6700-4378-a1c3-f8b0f492fd9c","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-kind-raman","description":"","updated_at":"2020-03-19T13:33:47.347664Z","created_at":"2020-03-19T13:33:46.732410Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"a27ccbbc-deac-480d-a827-f51eca4d9b58","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-optimistic-heyrovsky","description":"","updated_at":"2020-03-19T14:42:56.646147Z","created_at":"2020-03-19T14:42:34.241251Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "390" + - "400" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Mar 2020 13:34:47 GMT + - Thu, 19 Mar 2020 14:43:34 GMT Server: - scaleway_api Strict-Transport-Security: @@ -486,7 +486,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - faa42357-3dac-4efa-9e68-72aad5730573 + - 70ec9496-1be2-4eeb-a323-f914145861fd status: 200 OK code: 200 duration: "" @@ -496,19 +496,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a9b69187-6700-4378-a1c3-f8b0f492fd9c + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a27ccbbc-deac-480d-a827-f51eca4d9b58 method: GET response: - body: '{"id":"a9b69187-6700-4378-a1c3-f8b0f492fd9c","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-kind-raman","description":"","updated_at":"2020-03-19T13:33:47.347664Z","created_at":"2020-03-19T13:33:46.732410Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"a27ccbbc-deac-480d-a827-f51eca4d9b58","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-optimistic-heyrovsky","description":"","updated_at":"2020-03-19T14:42:56.646147Z","created_at":"2020-03-19T14:42:34.241251Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "390" + - "400" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Mar 2020 13:34:52 GMT + - Thu, 19 Mar 2020 14:43:39 GMT Server: - scaleway_api Strict-Transport-Security: @@ -518,7 +518,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 275d044f-b060-4f9f-99b8-32307b9bf75f + - e744a7ff-b247-4321-a3ce-4798883421ea status: 200 OK code: 200 duration: "" @@ -528,19 +528,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a9b69187-6700-4378-a1c3-f8b0f492fd9c + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a27ccbbc-deac-480d-a827-f51eca4d9b58 method: GET response: - body: '{"id":"a9b69187-6700-4378-a1c3-f8b0f492fd9c","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-kind-raman","description":"","updated_at":"2020-03-19T13:33:47.347664Z","created_at":"2020-03-19T13:33:46.732410Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"a27ccbbc-deac-480d-a827-f51eca4d9b58","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-optimistic-heyrovsky","description":"","updated_at":"2020-03-19T14:42:56.646147Z","created_at":"2020-03-19T14:42:34.241251Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "390" + - "400" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Mar 2020 13:34:57 GMT + - Thu, 19 Mar 2020 14:43:44 GMT Server: - scaleway_api Strict-Transport-Security: @@ -550,7 +550,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - dce49796-b3e7-435c-9471-d096d9a3146a + - c59ffaa5-f62f-4c97-ada1-35cd65c09f00 status: 200 OK code: 200 duration: "" @@ -560,19 +560,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a9b69187-6700-4378-a1c3-f8b0f492fd9c + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a27ccbbc-deac-480d-a827-f51eca4d9b58 method: GET response: - body: '{"id":"a9b69187-6700-4378-a1c3-f8b0f492fd9c","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-kind-raman","description":"","updated_at":"2020-03-19T13:33:47.347664Z","created_at":"2020-03-19T13:33:46.732410Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"a27ccbbc-deac-480d-a827-f51eca4d9b58","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-optimistic-heyrovsky","description":"","updated_at":"2020-03-19T14:42:56.646147Z","created_at":"2020-03-19T14:42:34.241251Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "390" + - "400" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Mar 2020 13:35:02 GMT + - Thu, 19 Mar 2020 14:43:49 GMT Server: - scaleway_api Strict-Transport-Security: @@ -582,7 +582,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 089f5c17-da49-4382-9054-b344c3040835 + - 0ac55250-b492-49a5-a272-4864cb344370 status: 200 OK code: 200 duration: "" @@ -592,19 +592,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a9b69187-6700-4378-a1c3-f8b0f492fd9c + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a27ccbbc-deac-480d-a827-f51eca4d9b58 method: GET response: - body: '{"id":"a9b69187-6700-4378-a1c3-f8b0f492fd9c","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-kind-raman","description":"","updated_at":"2020-03-19T13:33:47.347664Z","created_at":"2020-03-19T13:33:46.732410Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"a27ccbbc-deac-480d-a827-f51eca4d9b58","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-optimistic-heyrovsky","description":"","updated_at":"2020-03-19T14:42:56.646147Z","created_at":"2020-03-19T14:42:34.241251Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "390" + - "400" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Mar 2020 13:35:07 GMT + - Thu, 19 Mar 2020 14:43:54 GMT Server: - scaleway_api Strict-Transport-Security: @@ -614,7 +614,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - ed17cb57-ce83-4e01-bfda-18f4f9fb0c01 + - 535f1d69-f600-4a32-8316-a38a27f2d4d6 status: 200 OK code: 200 duration: "" @@ -624,19 +624,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a9b69187-6700-4378-a1c3-f8b0f492fd9c + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a27ccbbc-deac-480d-a827-f51eca4d9b58 method: GET response: - body: '{"id":"a9b69187-6700-4378-a1c3-f8b0f492fd9c","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-kind-raman","description":"","updated_at":"2020-03-19T13:33:47.347664Z","created_at":"2020-03-19T13:33:46.732410Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"a27ccbbc-deac-480d-a827-f51eca4d9b58","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-optimistic-heyrovsky","description":"","updated_at":"2020-03-19T14:42:56.646147Z","created_at":"2020-03-19T14:42:34.241251Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "390" + - "400" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Mar 2020 13:35:12 GMT + - Thu, 19 Mar 2020 14:43:59 GMT Server: - scaleway_api Strict-Transport-Security: @@ -646,7 +646,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - c1d6bc0f-bcca-4a7a-9eaf-8da84d776940 + - 7e08cd00-6658-4e29-ad38-77e07b293e93 status: 200 OK code: 200 duration: "" @@ -656,19 +656,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a9b69187-6700-4378-a1c3-f8b0f492fd9c + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a27ccbbc-deac-480d-a827-f51eca4d9b58 method: GET response: - body: '{"id":"a9b69187-6700-4378-a1c3-f8b0f492fd9c","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-kind-raman","description":"","updated_at":"2020-03-19T13:33:47.347664Z","created_at":"2020-03-19T13:33:46.732410Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"a27ccbbc-deac-480d-a827-f51eca4d9b58","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-optimistic-heyrovsky","description":"","updated_at":"2020-03-19T14:42:56.646147Z","created_at":"2020-03-19T14:42:34.241251Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "390" + - "400" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Mar 2020 13:35:17 GMT + - Thu, 19 Mar 2020 14:44:04 GMT Server: - scaleway_api Strict-Transport-Security: @@ -678,7 +678,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 48e120e1-88dd-4781-8a63-bfa1ad2628da + - 65161d6e-61de-4325-a080-6f784d1d2ad4 status: 200 OK code: 200 duration: "" @@ -688,19 +688,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a9b69187-6700-4378-a1c3-f8b0f492fd9c + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a27ccbbc-deac-480d-a827-f51eca4d9b58 method: GET response: - body: '{"id":"a9b69187-6700-4378-a1c3-f8b0f492fd9c","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-kind-raman","description":"","updated_at":"2020-03-19T13:33:47.347664Z","created_at":"2020-03-19T13:33:46.732410Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"a27ccbbc-deac-480d-a827-f51eca4d9b58","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-optimistic-heyrovsky","description":"","updated_at":"2020-03-19T14:42:56.646147Z","created_at":"2020-03-19T14:42:34.241251Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "390" + - "400" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Mar 2020 13:35:22 GMT + - Thu, 19 Mar 2020 14:44:09 GMT Server: - scaleway_api Strict-Transport-Security: @@ -710,7 +710,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - cbb8c162-5d16-43d1-a8be-ad8e0799e0e9 + - e2f94775-7007-4fda-809d-f32f3e932932 status: 200 OK code: 200 duration: "" @@ -720,19 +720,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a9b69187-6700-4378-a1c3-f8b0f492fd9c + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a27ccbbc-deac-480d-a827-f51eca4d9b58 method: GET response: - body: '{"id":"a9b69187-6700-4378-a1c3-f8b0f492fd9c","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-kind-raman","description":"","updated_at":"2020-03-19T13:33:47.347664Z","created_at":"2020-03-19T13:33:46.732410Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"a27ccbbc-deac-480d-a827-f51eca4d9b58","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-optimistic-heyrovsky","description":"","updated_at":"2020-03-19T14:42:56.646147Z","created_at":"2020-03-19T14:42:34.241251Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "390" + - "400" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Mar 2020 13:35:27 GMT + - Thu, 19 Mar 2020 14:44:14 GMT Server: - scaleway_api Strict-Transport-Security: @@ -742,7 +742,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 305fa38a-b0ab-4590-836b-aa7cb8706ed4 + - 485b79e4-2ba6-4d6f-8747-f076be1c5482 status: 200 OK code: 200 duration: "" @@ -752,19 +752,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a9b69187-6700-4378-a1c3-f8b0f492fd9c + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a27ccbbc-deac-480d-a827-f51eca4d9b58 method: GET response: - body: '{"id":"a9b69187-6700-4378-a1c3-f8b0f492fd9c","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-kind-raman","description":"","updated_at":"2020-03-19T13:35:29.015101Z","created_at":"2020-03-19T13:33:46.732410Z","status":"ready","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[{"id":"0a43192c-5485-4539-864b-7236babbdfd7","address":"2001:0bc8:1200:0000:dac4:97ff:fe5b:776d","reverse":"a9b69187-6700-4378-a1c3-f8b0f492fd9c.fr-par-2.baremetal.scw.cloud","version":"Ipv6","reverse_status":"pending","reverse_status_message":null},{"id":"43dc1569-bb9f-4eed-a8fb-5875235b1932","address":"51.159.56.99","reverse":"a9b69187-6700-4378-a1c3-f8b0f492fd9c.fr-par-2.baremetal.scw.cloud","version":"Ipv4","reverse_status":"pending","reverse_status_message":null}],"domain":"a9b69187-6700-4378-a1c3-f8b0f492fd9c.fr-par-2.baremetal.scw.cloud","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"a27ccbbc-deac-480d-a827-f51eca4d9b58","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-optimistic-heyrovsky","description":"","updated_at":"2020-03-19T14:42:56.646147Z","created_at":"2020-03-19T14:42:34.241251Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "921" + - "400" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Mar 2020 13:35:32 GMT + - Thu, 19 Mar 2020 14:44:19 GMT Server: - scaleway_api Strict-Transport-Security: @@ -774,7 +774,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 19100686-b738-4562-9417-2743b9aecbf4 + - d5003018-4c84-40d9-95ac-59ccf709f0bb status: 200 OK code: 200 duration: "" @@ -784,19 +784,403 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a9b69187-6700-4378-a1c3-f8b0f492fd9c + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a27ccbbc-deac-480d-a827-f51eca4d9b58 + method: GET + response: + body: '{"id":"a27ccbbc-deac-480d-a827-f51eca4d9b58","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-optimistic-heyrovsky","description":"","updated_at":"2020-03-19T14:42:56.646147Z","created_at":"2020-03-19T14:42:34.241251Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "400" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 14:44:25 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - a3ec05e0-f5dc-4114-8f1c-2c0b99ca229d + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a27ccbbc-deac-480d-a827-f51eca4d9b58 + method: GET + response: + body: '{"id":"a27ccbbc-deac-480d-a827-f51eca4d9b58","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-optimistic-heyrovsky","description":"","updated_at":"2020-03-19T14:42:56.646147Z","created_at":"2020-03-19T14:42:34.241251Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "400" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 14:44:30 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - f1f346e8-33cd-4588-97a3-3e74c19e6dea + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a27ccbbc-deac-480d-a827-f51eca4d9b58 + method: GET + response: + body: '{"id":"a27ccbbc-deac-480d-a827-f51eca4d9b58","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-optimistic-heyrovsky","description":"","updated_at":"2020-03-19T14:42:56.646147Z","created_at":"2020-03-19T14:42:34.241251Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "400" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 14:44:35 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - e8a7a62e-3c87-43b8-8e21-0315ffbafd28 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a27ccbbc-deac-480d-a827-f51eca4d9b58 + method: GET + response: + body: '{"id":"a27ccbbc-deac-480d-a827-f51eca4d9b58","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-optimistic-heyrovsky","description":"","updated_at":"2020-03-19T14:42:56.646147Z","created_at":"2020-03-19T14:42:34.241251Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "400" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 14:44:40 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 8156459a-7763-4da2-90f2-6b4b04fc1b97 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a27ccbbc-deac-480d-a827-f51eca4d9b58 + method: GET + response: + body: '{"id":"a27ccbbc-deac-480d-a827-f51eca4d9b58","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-optimistic-heyrovsky","description":"","updated_at":"2020-03-19T14:42:56.646147Z","created_at":"2020-03-19T14:42:34.241251Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "400" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 14:44:45 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 10ea781e-3219-4d0e-a111-228002fc7ba9 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a27ccbbc-deac-480d-a827-f51eca4d9b58 + method: GET + response: + body: '{"id":"a27ccbbc-deac-480d-a827-f51eca4d9b58","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-optimistic-heyrovsky","description":"","updated_at":"2020-03-19T14:42:56.646147Z","created_at":"2020-03-19T14:42:34.241251Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "400" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 14:44:50 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - ca69aee8-24d5-4573-a82c-ed885dc61549 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a27ccbbc-deac-480d-a827-f51eca4d9b58 + method: GET + response: + body: '{"id":"a27ccbbc-deac-480d-a827-f51eca4d9b58","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-optimistic-heyrovsky","description":"","updated_at":"2020-03-19T14:42:56.646147Z","created_at":"2020-03-19T14:42:34.241251Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "400" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 14:44:55 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 58cc63c9-9cac-4b23-af82-0b5c9b3435f0 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a27ccbbc-deac-480d-a827-f51eca4d9b58 + method: GET + response: + body: '{"id":"a27ccbbc-deac-480d-a827-f51eca4d9b58","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-optimistic-heyrovsky","description":"","updated_at":"2020-03-19T14:42:56.646147Z","created_at":"2020-03-19T14:42:34.241251Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "400" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 14:45:00 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 72738985-91c8-4f18-9f13-b00db3eebe82 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a27ccbbc-deac-480d-a827-f51eca4d9b58 + method: GET + response: + body: '{"id":"a27ccbbc-deac-480d-a827-f51eca4d9b58","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-optimistic-heyrovsky","description":"","updated_at":"2020-03-19T14:42:56.646147Z","created_at":"2020-03-19T14:42:34.241251Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "400" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 14:45:05 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 5e326ff1-25fc-4b42-b1ea-aa1039bd1aa2 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a27ccbbc-deac-480d-a827-f51eca4d9b58 + method: GET + response: + body: '{"id":"a27ccbbc-deac-480d-a827-f51eca4d9b58","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-optimistic-heyrovsky","description":"","updated_at":"2020-03-19T14:42:56.646147Z","created_at":"2020-03-19T14:42:34.241251Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "400" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 14:45:10 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 2bf316c3-0b7e-4b82-9d39-473c062509a3 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a27ccbbc-deac-480d-a827-f51eca4d9b58 + method: GET + response: + body: '{"id":"a27ccbbc-deac-480d-a827-f51eca4d9b58","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-optimistic-heyrovsky","description":"","updated_at":"2020-03-19T14:42:56.646147Z","created_at":"2020-03-19T14:42:34.241251Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "400" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 14:45:15 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 89229402-cabe-4927-b00d-24fcc71d934f + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a27ccbbc-deac-480d-a827-f51eca4d9b58 + method: GET + response: + body: '{"id":"a27ccbbc-deac-480d-a827-f51eca4d9b58","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-optimistic-heyrovsky","description":"","updated_at":"2020-03-19T14:45:18.703005Z","created_at":"2020-03-19T14:42:34.241251Z","status":"ready","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[{"id":"a695d333-123b-43de-8e66-e1b7ebc1bc50","address":"2001:0bc8:1200:0000:dac4:97ff:fe5b:7429","reverse":"a27ccbbc-deac-480d-a827-f51eca4d9b58.fr-par-2.baremetal.scw.cloud","version":"Ipv6","reverse_status":"pending","reverse_status_message":null},{"id":"b4750757-7fbe-4f00-aafd-926dcaa34764","address":"51.159.56.123","reverse":"a27ccbbc-deac-480d-a827-f51eca4d9b58.fr-par-2.baremetal.scw.cloud","version":"Ipv4","reverse_status":"pending","reverse_status_message":null}],"domain":"a27ccbbc-deac-480d-a827-f51eca4d9b58.fr-par-2.baremetal.scw.cloud","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "932" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 14:45:20 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - abf3e9bd-f86a-484c-a89d-e6d1abb45aae + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a27ccbbc-deac-480d-a827-f51eca4d9b58 method: DELETE response: - body: '{"id":"a9b69187-6700-4378-a1c3-f8b0f492fd9c","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-kind-raman","description":"","updated_at":"2020-03-19T13:35:32.608600Z","created_at":"2020-03-19T13:33:46.732410Z","status":"deleting","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[{"id":"0a43192c-5485-4539-864b-7236babbdfd7","address":"2001:0bc8:1200:0000:dac4:97ff:fe5b:776d","reverse":"a9b69187-6700-4378-a1c3-f8b0f492fd9c.fr-par-2.baremetal.scw.cloud","version":"Ipv6","reverse_status":"pending","reverse_status_message":null},{"id":"43dc1569-bb9f-4eed-a8fb-5875235b1932","address":"51.159.56.99","reverse":"a9b69187-6700-4378-a1c3-f8b0f492fd9c.fr-par-2.baremetal.scw.cloud","version":"Ipv4","reverse_status":"pending","reverse_status_message":null}],"domain":"a9b69187-6700-4378-a1c3-f8b0f492fd9c.fr-par-2.baremetal.scw.cloud","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"a27ccbbc-deac-480d-a827-f51eca4d9b58","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-optimistic-heyrovsky","description":"","updated_at":"2020-03-19T14:45:20.432275Z","created_at":"2020-03-19T14:42:34.241251Z","status":"deleting","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[{"id":"a695d333-123b-43de-8e66-e1b7ebc1bc50","address":"2001:0bc8:1200:0000:dac4:97ff:fe5b:7429","reverse":"a27ccbbc-deac-480d-a827-f51eca4d9b58.fr-par-2.baremetal.scw.cloud","version":"Ipv6","reverse_status":"pending","reverse_status_message":null},{"id":"b4750757-7fbe-4f00-aafd-926dcaa34764","address":"51.159.56.123","reverse":"a27ccbbc-deac-480d-a827-f51eca4d9b58.fr-par-2.baremetal.scw.cloud","version":"Ipv4","reverse_status":"pending","reverse_status_message":null}],"domain":"a27ccbbc-deac-480d-a827-f51eca4d9b58.fr-par-2.baremetal.scw.cloud","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "924" + - "935" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Mar 2020 13:35:32 GMT + - Thu, 19 Mar 2020 14:45:20 GMT Server: - scaleway_api Strict-Transport-Security: @@ -806,7 +1190,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - c98f9573-889a-4f0b-82ef-246e71f9235c + - ab513bf5-6b59-4781-9dc1-7442734da7ec status: 200 OK code: 200 duration: "" diff --git a/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.stderr.golden b/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.stderr.golden deleted file mode 100644 index 3bb50949d0..0000000000 --- a/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.stderr.golden +++ /dev/null @@ -1,60 +0,0 @@ -DEBUG: 2019/12/09 16:04:07 creating GET request on https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/offers?page=1 -DEBUG: 2019/12/09 16:04:07 ---------------- Scaleway SDK REQUEST 1 : --------------- -GET /baremetal/v1alpha1/zones/fr-par-2/offers?page=1 HTTP/1.1 -Host: api.scaleway.com -User-Agent: scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test -X-Auth-Token: 148499e0-xxxx-xxxx-xxxx-xxxxxxxxxxxx -Accept-Encoding: gzip - - ---------------------------------------------------------- -DEBUG: 2019/12/09 16:04:07 ---------------- Scaleway SDK RESPONSE 1 : --------------- -HTTP/1.0 200 OK -Connection: close -Content-Length: 4676 -Content-Security-Policy: default-src 'none'; frame-ancestors 'none' -Content-Type: application/json -Date: Thu, 19 Mar 2020 13:33:46 GMT -Server: scaleway_api -Strict-Transport-Security: max-age=63072000 -X-Content-Type-Options: nosniff -X-Frame-Options: DENY -X-Request-Id: 116eea0a-5a24-4cdd-b877-eefc0e990b8b - -{"total_count":6,"offers":[{"id":"3ab0dc29-2fd4-486e-88bf-d08fbf49214b","name":"HC-BM1-L","stock":"available","bandwidth":1000,"commercial_range":"high_cpu","price_by_minute":{"currency_code":"EUR","units":1,"nanos":499900000},"price_by_month":{"currency_code":"EUR","units":749,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"Intel Xeon Gold 5120","cores":28,"threads":56,"frequency":2200},{"name":"Intel Xeon Gold 5120","cores":28,"threads":56,"frequency":2200}],"memory":[{"capacity":384,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":1,"nanos":499900000},"price_per_month":{"currency_code":"EUR","units":749,"nanos":990000000}},{"id":"5363865f-2266-40f9-a43f-4f3aba251524","name":"HM-BM1-XL","stock":"empty","bandwidth":1000,"commercial_range":"high_memory","price_by_minute":{"currency_code":"EUR","units":2,"nanos":599900000},"price_by_month":{"currency_code":"EUR","units":1299,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"Intel Xeon Gold 6140","cores":36,"threads":72,"frequency":2300},{"name":"Intel Xeon Gold 6140","cores":36,"threads":72,"frequency":2300}],"memory":[{"capacity":768,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":2,"nanos":599900000},"price_per_month":{"currency_code":"EUR","units":1299,"nanos":990000000}},{"id":"737f18c8-febc-4408-b69e-776bca0a3f48","name":"HC-BM1-S","stock":"available","bandwidth":1000,"commercial_range":"high_cpu","price_by_minute":{"currency_code":"EUR","units":0,"nanos":659900000},"price_by_month":{"currency_code":"EUR","units":329,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"Intel Xeon Silver 4114","cores":10,"threads":20,"frequency":2200},{"name":"Intel Xeon Silver 4114","cores":10,"threads":20,"frequency":2200}],"memory":[{"capacity":128,"type":"DDR4","frequency":2400,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":659900000},"price_per_month":{"currency_code":"EUR","units":329,"nanos":990000000}},{"id":"8090d302-3545-4905-9cf3-bcb77a299f47","name":"GP-BM1-L","stock":"empty","bandwidth":750,"commercial_range":"general_purpose","price_by_minute":{"currency_code":"EUR","units":0,"nanos":499900000},"price_by_month":{"currency_code":"EUR","units":249,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"AMD EPYC 7281","cores":16,"threads":32,"frequency":2100}],"memory":[{"capacity":96,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_gp","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":499900000},"price_per_month":{"currency_code":"EUR","units":249,"nanos":990000000}},{"id":"964f9b38-577e-470f-a220-7d762f9e8672","name":"GP-BM1-M","stock":"available","bandwidth":500,"commercial_range":"general_purpose","price_by_minute":{"currency_code":"EUR","units":0,"nanos":399900000},"price_by_month":{"currency_code":"EUR","units":199,"nanos":990000000},"disk":[{"capacity":1024,"type":"SSD"},{"capacity":1024,"type":"SSD"},{"capacity":1024,"type":"SSD"}],"enable":true,"cpu":[{"name":"Intel Xeon E3 1240v6","cores":4,"threads":8,"frequency":3700}],"memory":[{"capacity":64,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_gp","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":399900000},"price_per_month":{"currency_code":"EUR","units":199,"nanos":990000000}},{"id":"c452f76a-2cda-4a1b-9658-a16952dc5ff0","name":"HM-BM1-M","stock":"available","bandwidth":1000,"commercial_range":"high_memory","price_by_minute":{"currency_code":"EUR","units":0,"nanos":799900000},"price_by_month":{"currency_code":"EUR","units":399,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"AMD EPYC 7401P","cores":24,"threads":48,"frequency":2000}],"memory":[{"capacity":256,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":799900000},"price_per_month":{"currency_code":"EUR","units":399,"nanos":990000000}}]} ----------------------------------------------------------- -DEBUG: 2019/12/09 16:04:07 creating POST request on https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers -DEBUG: 2019/12/09 16:04:07 ---------------- Scaleway SDK REQUEST 2 : --------------- -POST /baremetal/v1alpha1/zones/fr-par-2/servers HTTP/1.1 -Host: api.scaleway.com -User-Agent: scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test -Content-Length: 164 -Content-Type: application/json -X-Auth-Token: 148499e0-xxxx-xxxx-xxxx-xxxxxxxxxxxx -Accept-Encoding: gzip - -{"offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-kind-raman","description":"","tags":null} ---------------------------------------------------------- -DEBUG: 2019/12/09 16:04:07 ---------------- Scaleway SDK RESPONSE 2 : --------------- -HTTP/1.0 200 OK -Connection: close -Content-Length: 396 -Content-Security-Policy: default-src 'none'; frame-ancestors 'none' -Content-Type: application/json -Date: Thu, 19 Mar 2020 13:33:46 GMT -Server: scaleway_api -Strict-Transport-Security: max-age=63072000 -X-Content-Type-Options: nosniff -X-Frame-Options: DENY -X-Request-Id: 664e5e38-1d46-43b3-b649-affc362fd8cc - -{"id":"a9b69187-6700-4378-a1c3-f8b0f492fd9c","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-kind-raman","description":"","updated_at":"2020-03-19T13:33:46.732409663Z","created_at":"2020-03-19T13:33:46.732409663Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"} ----------------------------------------------------------- -DEBUG: 2019/12/09 16:04:07 marshalling type '*baremetal.Server' -DEBUG: 2019/12/09 16:04:07 marshalling type 'baremetal.Server' -DEBUG: 2019/12/09 16:04:07 skipping check version -DEBUG: 2019/12/09 16:04:07 skipping telemetry report diff --git a/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.stdout.golden b/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.stdout.golden index e656f65c6e..6e2f2f6326 100644 --- a/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.stdout.golden +++ b/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.stdout.golden @@ -1,6 +1,6 @@ -id a9b69187-6700-4378-a1c3-f8b0f492fd9c +id a27ccbbc-deac-480d-a827-f51eca4d9b58 organization-id 951df375-e094-4d26-97c1-ba548eeb9c42 -name cli-bm-kind-raman +name cli-bm-optimistic-heyrovsky description - updated-at few seconds ago created-at few seconds ago diff --git a/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-tags.cassette.yaml b/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-tags.cassette.yaml index dd8e69f281..a0dcb191cf 100644 --- a/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-tags.cassette.yaml +++ b/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-tags.cassette.yaml @@ -10,13 +10,13 @@ interactions: url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/offers?page=1 method: GET response: - body: '{"total_count":6,"offers":[{"id":"3ab0dc29-2fd4-486e-88bf-d08fbf49214b","name":"HC-BM1-L","stock":"empty","bandwidth":1000,"commercial_range":"high_cpu","price_by_minute":{"currency_code":"EUR","units":1,"nanos":499900000},"price_by_month":{"currency_code":"EUR","units":749,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"Intel + body: '{"total_count":6,"offers":[{"id":"3ab0dc29-2fd4-486e-88bf-d08fbf49214b","name":"HC-BM1-L","stock":"available","bandwidth":1000,"commercial_range":"high_cpu","price_by_minute":{"currency_code":"EUR","units":1,"nanos":499900000},"price_by_month":{"currency_code":"EUR","units":749,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"Intel Xeon Gold 5120","cores":28,"threads":56,"frequency":2200},{"name":"Intel Xeon Gold 5120","cores":28,"threads":56,"frequency":2200}],"memory":[{"capacity":384,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":1,"nanos":499900000},"price_per_month":{"currency_code":"EUR","units":749,"nanos":990000000}},{"id":"5363865f-2266-40f9-a43f-4f3aba251524","name":"HM-BM1-XL","stock":"empty","bandwidth":1000,"commercial_range":"high_memory","price_by_minute":{"currency_code":"EUR","units":2,"nanos":599900000},"price_by_month":{"currency_code":"EUR","units":1299,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"Intel Xeon Gold 6140","cores":36,"threads":72,"frequency":2300},{"name":"Intel Xeon Gold 6140","cores":36,"threads":72,"frequency":2300}],"memory":[{"capacity":768,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":2,"nanos":599900000},"price_per_month":{"currency_code":"EUR","units":1299,"nanos":990000000}},{"id":"737f18c8-febc-4408-b69e-776bca0a3f48","name":"HC-BM1-S","stock":"available","bandwidth":1000,"commercial_range":"high_cpu","price_by_minute":{"currency_code":"EUR","units":0,"nanos":659900000},"price_by_month":{"currency_code":"EUR","units":329,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"Intel Xeon Silver 4114","cores":10,"threads":20,"frequency":2200},{"name":"Intel Xeon - Silver 4114","cores":10,"threads":20,"frequency":2200}],"memory":[{"capacity":128,"type":"DDR4","frequency":2400,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":659900000},"price_per_month":{"currency_code":"EUR","units":329,"nanos":990000000}},{"id":"8090d302-3545-4905-9cf3-bcb77a299f47","name":"GP-BM1-L","stock":"empty","bandwidth":750,"commercial_range":"general_purpose","price_by_minute":{"currency_code":"EUR","units":0,"nanos":499900000},"price_by_month":{"currency_code":"EUR","units":249,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"AMD + Silver 4114","cores":10,"threads":20,"frequency":2200}],"memory":[{"capacity":128,"type":"DDR4","frequency":2400,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":659900000},"price_per_month":{"currency_code":"EUR","units":329,"nanos":990000000}},{"id":"8090d302-3545-4905-9cf3-bcb77a299f47","name":"GP-BM1-L","stock":"available","bandwidth":750,"commercial_range":"general_purpose","price_by_minute":{"currency_code":"EUR","units":0,"nanos":499900000},"price_by_month":{"currency_code":"EUR","units":249,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"AMD EPYC 7281","cores":16,"threads":32,"frequency":2100}],"memory":[{"capacity":96,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_gp","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":499900000},"price_per_month":{"currency_code":"EUR","units":249,"nanos":990000000}},{"id":"964f9b38-577e-470f-a220-7d762f9e8672","name":"GP-BM1-M","stock":"available","bandwidth":500,"commercial_range":"general_purpose","price_by_minute":{"currency_code":"EUR","units":0,"nanos":399900000},"price_by_month":{"currency_code":"EUR","units":199,"nanos":990000000},"disk":[{"capacity":1024,"type":"SSD"},{"capacity":1024,"type":"SSD"},{"capacity":1024,"type":"SSD"}],"enable":true,"cpu":[{"name":"Intel Xeon E3 1240v6","cores":4,"threads":8,"frequency":3700}],"memory":[{"capacity":64,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_gp","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":399900000},"price_per_month":{"currency_code":"EUR","units":199,"nanos":990000000}},{"id":"c452f76a-2cda-4a1b-9658-a16952dc5ff0","name":"HM-BM1-M","stock":"available","bandwidth":1000,"commercial_range":"high_memory","price_by_minute":{"currency_code":"EUR","units":0,"nanos":799900000},"price_by_month":{"currency_code":"EUR","units":399,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"AMD EPYC 7401P","cores":24,"threads":48,"frequency":2000}],"memory":[{"capacity":256,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":799900000},"price_per_month":{"currency_code":"EUR","units":399,"nanos":990000000}}]}' @@ -26,7 +26,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 19 Mar 2020 11:22:48 GMT + - Thu, 19 Mar 2020 14:42:33 GMT Server: - scaleway_api Strict-Transport-Security: @@ -36,12 +36,12 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 4c16f61f-14a1-40b9-9195-d623c19668f1 + - 97fc9612-b0fa-4e65-aa09-0812f4bab160 status: 200 OK code: 200 duration: "" - request: - body: '{"offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-optimistic-poitras","description":"","tags":["prod","blue"]}' + body: '{"offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-wonderful-hamilton","description":"","tags":["prod","blue"]}' form: {} headers: Content-Type: @@ -51,7 +51,7 @@ interactions: url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers method: POST response: - body: '{"id":"6ae68ed4-55eb-43a9-8223-e7bf3e886fc0","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-optimistic-poitras","description":"","updated_at":"2020-03-19T11:22:48.835472949Z","created_at":"2020-03-19T11:22:48.835472949Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"be97d840-353b-47f6-8929-ebec8bc9e753","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-wonderful-hamilton","description":"","updated_at":"2020-03-19T14:42:34.232843878Z","created_at":"2020-03-19T14:42:34.232843878Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - "417" @@ -60,7 +60,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 19 Mar 2020 11:22:48 GMT + - Thu, 19 Mar 2020 14:42:34 GMT Server: - scaleway_api Strict-Transport-Security: @@ -70,7 +70,1127 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 6176a805-2f8a-48f6-98a5-3f5c0164755e + - 910d44cb-2990-4b96-ba5f-2a2aa66efebf + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/be97d840-353b-47f6-8929-ebec8bc9e753 + method: GET + response: + body: '{"id":"be97d840-353b-47f6-8929-ebec8bc9e753","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-wonderful-hamilton","description":"","updated_at":"2020-03-19T14:42:34.232844Z","created_at":"2020-03-19T14:42:34.232844Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "411" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 14:42:34 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - ddd32bbd-c07e-4bf3-b06f-b3010a7e6cb3 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/be97d840-353b-47f6-8929-ebec8bc9e753 + method: GET + response: + body: '{"id":"be97d840-353b-47f6-8929-ebec8bc9e753","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-wonderful-hamilton","description":"","updated_at":"2020-03-19T14:42:34.892826Z","created_at":"2020-03-19T14:42:34.232844Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "411" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 14:42:39 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - da68576c-209c-4d29-aa8d-0481940b3e46 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/be97d840-353b-47f6-8929-ebec8bc9e753 + method: GET + response: + body: '{"id":"be97d840-353b-47f6-8929-ebec8bc9e753","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-wonderful-hamilton","description":"","updated_at":"2020-03-19T14:42:34.892826Z","created_at":"2020-03-19T14:42:34.232844Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "411" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 14:42:44 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 09704322-255c-4241-a581-4040db369236 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/be97d840-353b-47f6-8929-ebec8bc9e753 + method: GET + response: + body: '{"id":"be97d840-353b-47f6-8929-ebec8bc9e753","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-wonderful-hamilton","description":"","updated_at":"2020-03-19T14:42:34.892826Z","created_at":"2020-03-19T14:42:34.232844Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "411" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 14:42:49 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 4e0474dc-03dc-4db3-b8f1-911f73075ffd + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/be97d840-353b-47f6-8929-ebec8bc9e753 + method: GET + response: + body: '{"id":"be97d840-353b-47f6-8929-ebec8bc9e753","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-wonderful-hamilton","description":"","updated_at":"2020-03-19T14:42:34.892826Z","created_at":"2020-03-19T14:42:34.232844Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "411" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 14:42:54 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 1cc993c6-97f1-4b5c-9861-c5ce1f533591 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/be97d840-353b-47f6-8929-ebec8bc9e753 + method: GET + response: + body: '{"id":"be97d840-353b-47f6-8929-ebec8bc9e753","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-wonderful-hamilton","description":"","updated_at":"2020-03-19T14:42:34.892826Z","created_at":"2020-03-19T14:42:34.232844Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "411" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 14:42:59 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - d3c377b3-50f2-4dda-8549-2cfd75868052 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/be97d840-353b-47f6-8929-ebec8bc9e753 + method: GET + response: + body: '{"id":"be97d840-353b-47f6-8929-ebec8bc9e753","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-wonderful-hamilton","description":"","updated_at":"2020-03-19T14:42:34.892826Z","created_at":"2020-03-19T14:42:34.232844Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "411" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 14:43:04 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 67fdea5f-d675-401c-8ead-9f82f6f78c2a + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/be97d840-353b-47f6-8929-ebec8bc9e753 + method: GET + response: + body: '{"id":"be97d840-353b-47f6-8929-ebec8bc9e753","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-wonderful-hamilton","description":"","updated_at":"2020-03-19T14:42:34.892826Z","created_at":"2020-03-19T14:42:34.232844Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "411" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 14:43:09 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - af099bcb-5bea-47f0-8efd-10d03518f959 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/be97d840-353b-47f6-8929-ebec8bc9e753 + method: GET + response: + body: '{"id":"be97d840-353b-47f6-8929-ebec8bc9e753","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-wonderful-hamilton","description":"","updated_at":"2020-03-19T14:42:34.892826Z","created_at":"2020-03-19T14:42:34.232844Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "411" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 14:43:14 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 8977f4a4-654a-46ac-90b6-8d592594d13b + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/be97d840-353b-47f6-8929-ebec8bc9e753 + method: GET + response: + body: '{"id":"be97d840-353b-47f6-8929-ebec8bc9e753","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-wonderful-hamilton","description":"","updated_at":"2020-03-19T14:42:34.892826Z","created_at":"2020-03-19T14:42:34.232844Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "411" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 14:43:19 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 486338b3-b303-4b26-a6d8-5af5e6ea70cb + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/be97d840-353b-47f6-8929-ebec8bc9e753 + method: GET + response: + body: '{"id":"be97d840-353b-47f6-8929-ebec8bc9e753","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-wonderful-hamilton","description":"","updated_at":"2020-03-19T14:42:34.892826Z","created_at":"2020-03-19T14:42:34.232844Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "411" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 14:43:24 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - fe7428a6-d8bb-499f-8bd1-c7de64ea72c0 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/be97d840-353b-47f6-8929-ebec8bc9e753 + method: GET + response: + body: '{"id":"be97d840-353b-47f6-8929-ebec8bc9e753","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-wonderful-hamilton","description":"","updated_at":"2020-03-19T14:42:34.892826Z","created_at":"2020-03-19T14:42:34.232844Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "411" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 14:43:29 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 1174be13-e2e9-4512-998f-ab3643ad3963 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/be97d840-353b-47f6-8929-ebec8bc9e753 + method: GET + response: + body: '{"id":"be97d840-353b-47f6-8929-ebec8bc9e753","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-wonderful-hamilton","description":"","updated_at":"2020-03-19T14:42:34.892826Z","created_at":"2020-03-19T14:42:34.232844Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "411" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 14:43:34 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 3c3316e8-e930-4cab-9af7-16a81c1490e3 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/be97d840-353b-47f6-8929-ebec8bc9e753 + method: GET + response: + body: '{"id":"be97d840-353b-47f6-8929-ebec8bc9e753","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-wonderful-hamilton","description":"","updated_at":"2020-03-19T14:42:34.892826Z","created_at":"2020-03-19T14:42:34.232844Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "411" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 14:43:39 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 4ee069b3-eb86-4940-aded-3e50e7600f0f + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/be97d840-353b-47f6-8929-ebec8bc9e753 + method: GET + response: + body: '{"id":"be97d840-353b-47f6-8929-ebec8bc9e753","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-wonderful-hamilton","description":"","updated_at":"2020-03-19T14:42:34.892826Z","created_at":"2020-03-19T14:42:34.232844Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "411" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 14:43:44 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 0fa7c816-eedc-4e26-8a70-ecc56a9a309e + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/be97d840-353b-47f6-8929-ebec8bc9e753 + method: GET + response: + body: '{"id":"be97d840-353b-47f6-8929-ebec8bc9e753","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-wonderful-hamilton","description":"","updated_at":"2020-03-19T14:42:34.892826Z","created_at":"2020-03-19T14:42:34.232844Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "411" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 14:43:49 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 673dc977-273a-4140-85a7-86620e787764 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/be97d840-353b-47f6-8929-ebec8bc9e753 + method: GET + response: + body: '{"id":"be97d840-353b-47f6-8929-ebec8bc9e753","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-wonderful-hamilton","description":"","updated_at":"2020-03-19T14:42:34.892826Z","created_at":"2020-03-19T14:42:34.232844Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "411" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 14:43:54 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 86be6d84-2382-40a6-99ba-83807b369fc0 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/be97d840-353b-47f6-8929-ebec8bc9e753 + method: GET + response: + body: '{"id":"be97d840-353b-47f6-8929-ebec8bc9e753","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-wonderful-hamilton","description":"","updated_at":"2020-03-19T14:42:34.892826Z","created_at":"2020-03-19T14:42:34.232844Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "411" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 14:43:59 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 94562027-0706-44cb-b752-5168175d4641 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/be97d840-353b-47f6-8929-ebec8bc9e753 + method: GET + response: + body: '{"id":"be97d840-353b-47f6-8929-ebec8bc9e753","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-wonderful-hamilton","description":"","updated_at":"2020-03-19T14:42:34.892826Z","created_at":"2020-03-19T14:42:34.232844Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "411" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 14:44:04 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 43ff5aab-d0db-4004-a3f8-caa9722acf89 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/be97d840-353b-47f6-8929-ebec8bc9e753 + method: GET + response: + body: '{"id":"be97d840-353b-47f6-8929-ebec8bc9e753","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-wonderful-hamilton","description":"","updated_at":"2020-03-19T14:42:34.892826Z","created_at":"2020-03-19T14:42:34.232844Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "411" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 14:44:09 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - f1843e1b-fa2b-4b30-985d-c1d61ff5be5a + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/be97d840-353b-47f6-8929-ebec8bc9e753 + method: GET + response: + body: '{"id":"be97d840-353b-47f6-8929-ebec8bc9e753","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-wonderful-hamilton","description":"","updated_at":"2020-03-19T14:42:34.892826Z","created_at":"2020-03-19T14:42:34.232844Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "411" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 14:44:14 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - cb06453f-0ca9-4b62-9775-8aeadb8b4ff1 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/be97d840-353b-47f6-8929-ebec8bc9e753 + method: GET + response: + body: '{"id":"be97d840-353b-47f6-8929-ebec8bc9e753","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-wonderful-hamilton","description":"","updated_at":"2020-03-19T14:42:34.892826Z","created_at":"2020-03-19T14:42:34.232844Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "411" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 14:44:19 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 40bdaa91-a7c4-41f0-8395-58a698ad4811 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/be97d840-353b-47f6-8929-ebec8bc9e753 + method: GET + response: + body: '{"id":"be97d840-353b-47f6-8929-ebec8bc9e753","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-wonderful-hamilton","description":"","updated_at":"2020-03-19T14:42:34.892826Z","created_at":"2020-03-19T14:42:34.232844Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "411" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 14:44:25 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 7b9f033b-d06b-41a8-998d-f424d07e0215 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/be97d840-353b-47f6-8929-ebec8bc9e753 + method: GET + response: + body: '{"id":"be97d840-353b-47f6-8929-ebec8bc9e753","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-wonderful-hamilton","description":"","updated_at":"2020-03-19T14:42:34.892826Z","created_at":"2020-03-19T14:42:34.232844Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "411" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 14:44:30 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 486d6a9a-2b27-4db3-b182-983f352fba80 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/be97d840-353b-47f6-8929-ebec8bc9e753 + method: GET + response: + body: '{"id":"be97d840-353b-47f6-8929-ebec8bc9e753","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-wonderful-hamilton","description":"","updated_at":"2020-03-19T14:42:34.892826Z","created_at":"2020-03-19T14:42:34.232844Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "411" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 14:44:35 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 745e421e-c7cd-469d-b6f6-5ee1d6753ca4 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/be97d840-353b-47f6-8929-ebec8bc9e753 + method: GET + response: + body: '{"id":"be97d840-353b-47f6-8929-ebec8bc9e753","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-wonderful-hamilton","description":"","updated_at":"2020-03-19T14:42:34.892826Z","created_at":"2020-03-19T14:42:34.232844Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "411" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 14:44:40 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 1f69fb61-a576-45af-8945-ce68f0e6bc09 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/be97d840-353b-47f6-8929-ebec8bc9e753 + method: GET + response: + body: '{"id":"be97d840-353b-47f6-8929-ebec8bc9e753","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-wonderful-hamilton","description":"","updated_at":"2020-03-19T14:42:34.892826Z","created_at":"2020-03-19T14:42:34.232844Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "411" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 14:44:45 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 450c8ca7-4ce9-409f-98c4-e6cffdfd0ac8 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/be97d840-353b-47f6-8929-ebec8bc9e753 + method: GET + response: + body: '{"id":"be97d840-353b-47f6-8929-ebec8bc9e753","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-wonderful-hamilton","description":"","updated_at":"2020-03-19T14:42:34.892826Z","created_at":"2020-03-19T14:42:34.232844Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "411" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 14:44:50 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 2fef508c-589a-43fe-ac3e-e13c5cc6e8cd + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/be97d840-353b-47f6-8929-ebec8bc9e753 + method: GET + response: + body: '{"id":"be97d840-353b-47f6-8929-ebec8bc9e753","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-wonderful-hamilton","description":"","updated_at":"2020-03-19T14:42:34.892826Z","created_at":"2020-03-19T14:42:34.232844Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "411" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 14:44:55 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 98534bdd-dbc2-4249-b198-071eb4160134 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/be97d840-353b-47f6-8929-ebec8bc9e753 + method: GET + response: + body: '{"id":"be97d840-353b-47f6-8929-ebec8bc9e753","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-wonderful-hamilton","description":"","updated_at":"2020-03-19T14:42:34.892826Z","created_at":"2020-03-19T14:42:34.232844Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "411" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 14:45:00 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 0ac88eeb-e00b-4ceb-8e79-0135f3dfad26 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/be97d840-353b-47f6-8929-ebec8bc9e753 + method: GET + response: + body: '{"id":"be97d840-353b-47f6-8929-ebec8bc9e753","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-wonderful-hamilton","description":"","updated_at":"2020-03-19T14:42:34.892826Z","created_at":"2020-03-19T14:42:34.232844Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "411" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 14:45:05 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - f29c8b6c-c109-4ebd-bf8d-c9b713c3e36b + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/be97d840-353b-47f6-8929-ebec8bc9e753 + method: GET + response: + body: '{"id":"be97d840-353b-47f6-8929-ebec8bc9e753","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-wonderful-hamilton","description":"","updated_at":"2020-03-19T14:42:34.892826Z","created_at":"2020-03-19T14:42:34.232844Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "411" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 14:45:10 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 95de6d3f-966e-4163-9af9-6158d842c3f6 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/be97d840-353b-47f6-8929-ebec8bc9e753 + method: GET + response: + body: '{"id":"be97d840-353b-47f6-8929-ebec8bc9e753","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-wonderful-hamilton","description":"","updated_at":"2020-03-19T14:42:34.892826Z","created_at":"2020-03-19T14:42:34.232844Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "411" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 14:45:15 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 3485ac95-90d1-47d2-8d82-fcf2de10c78e + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/be97d840-353b-47f6-8929-ebec8bc9e753 + method: GET + response: + body: '{"id":"be97d840-353b-47f6-8929-ebec8bc9e753","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-wonderful-hamilton","description":"","updated_at":"2020-03-19T14:45:16.721321Z","created_at":"2020-03-19T14:42:34.232844Z","status":"ready","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[{"id":"cf3e22ce-429f-4034-ac3b-662d16659517","address":"51.159.56.113","reverse":"be97d840-353b-47f6-8929-ebec8bc9e753.fr-par-2.baremetal.scw.cloud","version":"Ipv4","reverse_status":"pending","reverse_status_message":null},{"id":"f2fa09bd-2fd1-4587-82d3-4a3ff1dd6194","address":"2001:0bc8:1200:0000:dac4:97ff:fe5b:7aad","reverse":"be97d840-353b-47f6-8929-ebec8bc9e753.fr-par-2.baremetal.scw.cloud","version":"Ipv6","reverse_status":"pending","reverse_status_message":null}],"domain":"be97d840-353b-47f6-8929-ebec8bc9e753.fr-par-2.baremetal.scw.cloud","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "943" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 14:45:20 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 7d13fb2b-7b13-4446-8434-0e19790d6353 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/be97d840-353b-47f6-8929-ebec8bc9e753 + method: DELETE + response: + body: '{"id":"be97d840-353b-47f6-8929-ebec8bc9e753","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-wonderful-hamilton","description":"","updated_at":"2020-03-19T14:45:20.492789Z","created_at":"2020-03-19T14:42:34.232844Z","status":"deleting","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[{"id":"cf3e22ce-429f-4034-ac3b-662d16659517","address":"51.159.56.113","reverse":"be97d840-353b-47f6-8929-ebec8bc9e753.fr-par-2.baremetal.scw.cloud","version":"Ipv4","reverse_status":"pending","reverse_status_message":null},{"id":"f2fa09bd-2fd1-4587-82d3-4a3ff1dd6194","address":"2001:0bc8:1200:0000:dac4:97ff:fe5b:7aad","reverse":"be97d840-353b-47f6-8929-ebec8bc9e753.fr-par-2.baremetal.scw.cloud","version":"Ipv6","reverse_status":"pending","reverse_status_message":null}],"domain":"be97d840-353b-47f6-8929-ebec8bc9e753.fr-par-2.baremetal.scw.cloud","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "946" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 14:45:20 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - d253d393-3663-43b3-9343-e2714dc3c1f8 status: 200 OK code: 200 duration: "" diff --git a/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-with-name.cassette.yaml b/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-with-name.cassette.yaml index 97a432cbfe..18c0bf1202 100644 --- a/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-with-name.cassette.yaml +++ b/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-with-name.cassette.yaml @@ -10,13 +10,13 @@ interactions: url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/offers?page=1 method: GET response: - body: '{"total_count":6,"offers":[{"id":"3ab0dc29-2fd4-486e-88bf-d08fbf49214b","name":"HC-BM1-L","stock":"empty","bandwidth":1000,"commercial_range":"high_cpu","price_by_minute":{"currency_code":"EUR","units":1,"nanos":499900000},"price_by_month":{"currency_code":"EUR","units":749,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"Intel + body: '{"total_count":6,"offers":[{"id":"3ab0dc29-2fd4-486e-88bf-d08fbf49214b","name":"HC-BM1-L","stock":"available","bandwidth":1000,"commercial_range":"high_cpu","price_by_minute":{"currency_code":"EUR","units":1,"nanos":499900000},"price_by_month":{"currency_code":"EUR","units":749,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"Intel Xeon Gold 5120","cores":28,"threads":56,"frequency":2200},{"name":"Intel Xeon Gold 5120","cores":28,"threads":56,"frequency":2200}],"memory":[{"capacity":384,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":1,"nanos":499900000},"price_per_month":{"currency_code":"EUR","units":749,"nanos":990000000}},{"id":"5363865f-2266-40f9-a43f-4f3aba251524","name":"HM-BM1-XL","stock":"empty","bandwidth":1000,"commercial_range":"high_memory","price_by_minute":{"currency_code":"EUR","units":2,"nanos":599900000},"price_by_month":{"currency_code":"EUR","units":1299,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"Intel Xeon Gold 6140","cores":36,"threads":72,"frequency":2300},{"name":"Intel Xeon Gold 6140","cores":36,"threads":72,"frequency":2300}],"memory":[{"capacity":768,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":2,"nanos":599900000},"price_per_month":{"currency_code":"EUR","units":1299,"nanos":990000000}},{"id":"737f18c8-febc-4408-b69e-776bca0a3f48","name":"HC-BM1-S","stock":"available","bandwidth":1000,"commercial_range":"high_cpu","price_by_minute":{"currency_code":"EUR","units":0,"nanos":659900000},"price_by_month":{"currency_code":"EUR","units":329,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"Intel Xeon Silver 4114","cores":10,"threads":20,"frequency":2200},{"name":"Intel Xeon - Silver 4114","cores":10,"threads":20,"frequency":2200}],"memory":[{"capacity":128,"type":"DDR4","frequency":2400,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":659900000},"price_per_month":{"currency_code":"EUR","units":329,"nanos":990000000}},{"id":"8090d302-3545-4905-9cf3-bcb77a299f47","name":"GP-BM1-L","stock":"empty","bandwidth":750,"commercial_range":"general_purpose","price_by_minute":{"currency_code":"EUR","units":0,"nanos":499900000},"price_by_month":{"currency_code":"EUR","units":249,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"AMD + Silver 4114","cores":10,"threads":20,"frequency":2200}],"memory":[{"capacity":128,"type":"DDR4","frequency":2400,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":659900000},"price_per_month":{"currency_code":"EUR","units":329,"nanos":990000000}},{"id":"8090d302-3545-4905-9cf3-bcb77a299f47","name":"GP-BM1-L","stock":"available","bandwidth":750,"commercial_range":"general_purpose","price_by_minute":{"currency_code":"EUR","units":0,"nanos":499900000},"price_by_month":{"currency_code":"EUR","units":249,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"AMD EPYC 7281","cores":16,"threads":32,"frequency":2100}],"memory":[{"capacity":96,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_gp","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":499900000},"price_per_month":{"currency_code":"EUR","units":249,"nanos":990000000}},{"id":"964f9b38-577e-470f-a220-7d762f9e8672","name":"GP-BM1-M","stock":"available","bandwidth":500,"commercial_range":"general_purpose","price_by_minute":{"currency_code":"EUR","units":0,"nanos":399900000},"price_by_month":{"currency_code":"EUR","units":199,"nanos":990000000},"disk":[{"capacity":1024,"type":"SSD"},{"capacity":1024,"type":"SSD"},{"capacity":1024,"type":"SSD"}],"enable":true,"cpu":[{"name":"Intel Xeon E3 1240v6","cores":4,"threads":8,"frequency":3700}],"memory":[{"capacity":64,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_gp","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":399900000},"price_per_month":{"currency_code":"EUR","units":199,"nanos":990000000}},{"id":"c452f76a-2cda-4a1b-9658-a16952dc5ff0","name":"HM-BM1-M","stock":"available","bandwidth":1000,"commercial_range":"high_memory","price_by_minute":{"currency_code":"EUR","units":0,"nanos":799900000},"price_by_month":{"currency_code":"EUR","units":399,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"AMD EPYC 7401P","cores":24,"threads":48,"frequency":2000}],"memory":[{"capacity":256,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":799900000},"price_per_month":{"currency_code":"EUR","units":399,"nanos":990000000}}]}' @@ -26,7 +26,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 19 Mar 2020 13:10:30 GMT + - Thu, 19 Mar 2020 14:42:33 GMT Server: - scaleway_api Strict-Transport-Security: @@ -36,12 +36,12 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 70ce60c1-6ef0-4a93-8a6d-5fda287fd314 + - a9d19cf9-6209-443e-b60d-c63942a0aebf status: 200 OK code: 200 duration: "" - request: - body: '{"offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","tags":null}' + body: '{"offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","tags":null}' form: {} headers: Content-Type: @@ -51,16 +51,16 @@ interactions: url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers method: POST response: - body: '{"id":"6c5f1fab-79a4-4b10-920b-70f562062dea","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-19T13:10:31.010638393Z","created_at":"2020-03-19T13:10:31.010638393Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"47d42b1d-2d01-48ec-a6bb-2df21af1b4f7","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-19T14:42:34.236156187Z","created_at":"2020-03-19T14:42:34.236156187Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "381" + - "407" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Mar 2020 13:10:30 GMT + - Thu, 19 Mar 2020 14:42:34 GMT Server: - scaleway_api Strict-Transport-Security: @@ -70,7 +70,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - e7907f9f-b6f3-4255-88f5-4bc8fc4e545c + - 7876c846-ef3b-4555-a2da-5ec279bebd79 status: 200 OK code: 200 duration: "" @@ -80,19 +80,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/6c5f1fab-79a4-4b10-920b-70f562062dea + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/47d42b1d-2d01-48ec-a6bb-2df21af1b4f7 method: GET response: - body: '{"id":"6c5f1fab-79a4-4b10-920b-70f562062dea","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-19T13:10:31.010638Z","created_at":"2020-03-19T13:10:31.010638Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"47d42b1d-2d01-48ec-a6bb-2df21af1b4f7","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-19T14:42:34.236156Z","created_at":"2020-03-19T14:42:34.236156Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "375" + - "401" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Mar 2020 13:10:30 GMT + - Thu, 19 Mar 2020 14:42:34 GMT Server: - scaleway_api Strict-Transport-Security: @@ -102,7 +102,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 48e4ed6a-4d8e-468c-bc0f-14ec06740ea2 + - e3a039b4-ea82-4e95-87f3-ad8feea72076 status: 200 OK code: 200 duration: "" @@ -112,19 +112,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/6c5f1fab-79a4-4b10-920b-70f562062dea + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/47d42b1d-2d01-48ec-a6bb-2df21af1b4f7 method: GET response: - body: '{"id":"6c5f1fab-79a4-4b10-920b-70f562062dea","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-19T13:10:31.528578Z","created_at":"2020-03-19T13:10:31.010638Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"47d42b1d-2d01-48ec-a6bb-2df21af1b4f7","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-19T14:42:34.236156Z","created_at":"2020-03-19T14:42:34.236156Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "375" + - "401" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Mar 2020 13:10:35 GMT + - Thu, 19 Mar 2020 14:42:39 GMT Server: - scaleway_api Strict-Transport-Security: @@ -134,7 +134,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - fc4de9c5-5940-4d2b-ab35-42cfaaae4166 + - c8e4d82e-6aab-4913-9f89-d78a47709c01 status: 200 OK code: 200 duration: "" @@ -144,19 +144,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/6c5f1fab-79a4-4b10-920b-70f562062dea + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/47d42b1d-2d01-48ec-a6bb-2df21af1b4f7 method: GET response: - body: '{"id":"6c5f1fab-79a4-4b10-920b-70f562062dea","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-19T13:10:31.528578Z","created_at":"2020-03-19T13:10:31.010638Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"47d42b1d-2d01-48ec-a6bb-2df21af1b4f7","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-19T14:42:34.236156Z","created_at":"2020-03-19T14:42:34.236156Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "375" + - "401" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Mar 2020 13:10:41 GMT + - Thu, 19 Mar 2020 14:42:44 GMT Server: - scaleway_api Strict-Transport-Security: @@ -166,7 +166,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 3229319d-fe52-4683-a989-cd6bfd764eeb + - 6681ed96-21f9-4e14-a946-a25564700aeb status: 200 OK code: 200 duration: "" @@ -176,19 +176,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/6c5f1fab-79a4-4b10-920b-70f562062dea + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/47d42b1d-2d01-48ec-a6bb-2df21af1b4f7 method: GET response: - body: '{"id":"6c5f1fab-79a4-4b10-920b-70f562062dea","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-19T13:10:31.528578Z","created_at":"2020-03-19T13:10:31.010638Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"47d42b1d-2d01-48ec-a6bb-2df21af1b4f7","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-19T14:42:34.236156Z","created_at":"2020-03-19T14:42:34.236156Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "375" + - "401" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Mar 2020 13:10:46 GMT + - Thu, 19 Mar 2020 14:42:49 GMT Server: - scaleway_api Strict-Transport-Security: @@ -198,7 +198,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 3de4beea-cd3a-4755-90b3-48568f6374bc + - 4947da50-5bb0-404c-9ea5-ebb13f3506a7 status: 200 OK code: 200 duration: "" @@ -208,19 +208,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/6c5f1fab-79a4-4b10-920b-70f562062dea + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/47d42b1d-2d01-48ec-a6bb-2df21af1b4f7 method: GET response: - body: '{"id":"6c5f1fab-79a4-4b10-920b-70f562062dea","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-19T13:10:31.528578Z","created_at":"2020-03-19T13:10:31.010638Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"47d42b1d-2d01-48ec-a6bb-2df21af1b4f7","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-19T14:42:34.236156Z","created_at":"2020-03-19T14:42:34.236156Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "375" + - "401" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Mar 2020 13:10:51 GMT + - Thu, 19 Mar 2020 14:42:54 GMT Server: - scaleway_api Strict-Transport-Security: @@ -230,7 +230,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - bade1c2c-52d1-432f-8966-09952689d9a4 + - 6c3a7b97-3260-46a9-8a52-6bf5228e80bd status: 200 OK code: 200 duration: "" @@ -240,19 +240,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/6c5f1fab-79a4-4b10-920b-70f562062dea + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/47d42b1d-2d01-48ec-a6bb-2df21af1b4f7 method: GET response: - body: '{"id":"6c5f1fab-79a4-4b10-920b-70f562062dea","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-19T13:10:31.528578Z","created_at":"2020-03-19T13:10:31.010638Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"47d42b1d-2d01-48ec-a6bb-2df21af1b4f7","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-19T14:42:55.718951Z","created_at":"2020-03-19T14:42:34.236156Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "375" + - "401" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Mar 2020 13:10:56 GMT + - Thu, 19 Mar 2020 14:42:59 GMT Server: - scaleway_api Strict-Transport-Security: @@ -262,7 +262,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 81179bb0-6f84-4361-9126-70618d52488e + - 07761298-4b25-4fcd-8aee-2676ac006112 status: 200 OK code: 200 duration: "" @@ -272,19 +272,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/6c5f1fab-79a4-4b10-920b-70f562062dea + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/47d42b1d-2d01-48ec-a6bb-2df21af1b4f7 method: GET response: - body: '{"id":"6c5f1fab-79a4-4b10-920b-70f562062dea","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-19T13:10:31.528578Z","created_at":"2020-03-19T13:10:31.010638Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"47d42b1d-2d01-48ec-a6bb-2df21af1b4f7","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-19T14:42:55.718951Z","created_at":"2020-03-19T14:42:34.236156Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "375" + - "401" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Mar 2020 13:11:01 GMT + - Thu, 19 Mar 2020 14:43:04 GMT Server: - scaleway_api Strict-Transport-Security: @@ -294,7 +294,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - bfb12d3d-2815-493b-9498-5a96edf3c1be + - ade50d2b-e30b-4325-ae98-fff2404645fa status: 200 OK code: 200 duration: "" @@ -304,19 +304,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/6c5f1fab-79a4-4b10-920b-70f562062dea + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/47d42b1d-2d01-48ec-a6bb-2df21af1b4f7 method: GET response: - body: '{"id":"6c5f1fab-79a4-4b10-920b-70f562062dea","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-19T13:10:31.528578Z","created_at":"2020-03-19T13:10:31.010638Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"47d42b1d-2d01-48ec-a6bb-2df21af1b4f7","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-19T14:42:55.718951Z","created_at":"2020-03-19T14:42:34.236156Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "375" + - "401" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Mar 2020 13:11:06 GMT + - Thu, 19 Mar 2020 14:43:09 GMT Server: - scaleway_api Strict-Transport-Security: @@ -326,7 +326,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 8899a9ec-d1a0-4c1b-80ef-86ec1c97b725 + - 18828995-fe24-4cc5-aa68-f15e0619e763 status: 200 OK code: 200 duration: "" @@ -336,19 +336,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/6c5f1fab-79a4-4b10-920b-70f562062dea + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/47d42b1d-2d01-48ec-a6bb-2df21af1b4f7 method: GET response: - body: '{"id":"6c5f1fab-79a4-4b10-920b-70f562062dea","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-19T13:10:31.528578Z","created_at":"2020-03-19T13:10:31.010638Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"47d42b1d-2d01-48ec-a6bb-2df21af1b4f7","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-19T14:42:55.718951Z","created_at":"2020-03-19T14:42:34.236156Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "375" + - "401" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Mar 2020 13:11:11 GMT + - Thu, 19 Mar 2020 14:43:14 GMT Server: - scaleway_api Strict-Transport-Security: @@ -358,7 +358,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 20eb4bb2-a7a0-4cb2-b202-5b87d1d4fb97 + - 6fe0ac2d-325a-43d4-ba42-e22b284f5d48 status: 200 OK code: 200 duration: "" @@ -368,19 +368,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/6c5f1fab-79a4-4b10-920b-70f562062dea + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/47d42b1d-2d01-48ec-a6bb-2df21af1b4f7 method: GET response: - body: '{"id":"6c5f1fab-79a4-4b10-920b-70f562062dea","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-19T13:10:31.528578Z","created_at":"2020-03-19T13:10:31.010638Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"47d42b1d-2d01-48ec-a6bb-2df21af1b4f7","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-19T14:42:55.718951Z","created_at":"2020-03-19T14:42:34.236156Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "375" + - "401" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Mar 2020 13:11:16 GMT + - Thu, 19 Mar 2020 14:43:19 GMT Server: - scaleway_api Strict-Transport-Security: @@ -390,7 +390,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - bbf3b925-812f-4ab9-b98d-7b2856311fad + - 5f954ce8-920d-4e37-b05f-6453c4f22b30 status: 200 OK code: 200 duration: "" @@ -400,19 +400,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/6c5f1fab-79a4-4b10-920b-70f562062dea + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/47d42b1d-2d01-48ec-a6bb-2df21af1b4f7 method: GET response: - body: '{"id":"6c5f1fab-79a4-4b10-920b-70f562062dea","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-19T13:10:31.528578Z","created_at":"2020-03-19T13:10:31.010638Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"47d42b1d-2d01-48ec-a6bb-2df21af1b4f7","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-19T14:42:55.718951Z","created_at":"2020-03-19T14:42:34.236156Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "375" + - "401" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Mar 2020 13:11:21 GMT + - Thu, 19 Mar 2020 14:43:24 GMT Server: - scaleway_api Strict-Transport-Security: @@ -422,7 +422,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - b911430e-8f92-4364-9b00-f94e5b5ea21c + - b1a89288-aee2-47ba-adde-cc9742a38c2a status: 200 OK code: 200 duration: "" @@ -432,19 +432,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/6c5f1fab-79a4-4b10-920b-70f562062dea + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/47d42b1d-2d01-48ec-a6bb-2df21af1b4f7 method: GET response: - body: '{"id":"6c5f1fab-79a4-4b10-920b-70f562062dea","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-19T13:10:31.528578Z","created_at":"2020-03-19T13:10:31.010638Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"47d42b1d-2d01-48ec-a6bb-2df21af1b4f7","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-19T14:42:55.718951Z","created_at":"2020-03-19T14:42:34.236156Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "375" + - "401" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Mar 2020 13:11:26 GMT + - Thu, 19 Mar 2020 14:43:29 GMT Server: - scaleway_api Strict-Transport-Security: @@ -454,7 +454,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 93c25cb1-ea49-4cd6-81db-ad32759eb055 + - cfe23aee-64f6-471d-a1b4-92d9c3dc8e19 status: 200 OK code: 200 duration: "" @@ -464,19 +464,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/6c5f1fab-79a4-4b10-920b-70f562062dea + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/47d42b1d-2d01-48ec-a6bb-2df21af1b4f7 method: GET response: - body: '{"id":"6c5f1fab-79a4-4b10-920b-70f562062dea","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-19T13:10:31.528578Z","created_at":"2020-03-19T13:10:31.010638Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"47d42b1d-2d01-48ec-a6bb-2df21af1b4f7","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-19T14:42:55.718951Z","created_at":"2020-03-19T14:42:34.236156Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "375" + - "401" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Mar 2020 13:11:31 GMT + - Thu, 19 Mar 2020 14:43:34 GMT Server: - scaleway_api Strict-Transport-Security: @@ -486,7 +486,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - ecf1ca10-f1ce-4ff4-a29a-d3825b367524 + - 5f40c440-d262-4a0e-a78b-1b092b83f722 status: 200 OK code: 200 duration: "" @@ -496,19 +496,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/6c5f1fab-79a4-4b10-920b-70f562062dea + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/47d42b1d-2d01-48ec-a6bb-2df21af1b4f7 method: GET response: - body: '{"id":"6c5f1fab-79a4-4b10-920b-70f562062dea","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-19T13:10:31.528578Z","created_at":"2020-03-19T13:10:31.010638Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"47d42b1d-2d01-48ec-a6bb-2df21af1b4f7","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-19T14:42:55.718951Z","created_at":"2020-03-19T14:42:34.236156Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "375" + - "401" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Mar 2020 13:11:36 GMT + - Thu, 19 Mar 2020 14:43:39 GMT Server: - scaleway_api Strict-Transport-Security: @@ -518,7 +518,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - d95d5fb3-7046-49ab-874c-3d5dcc1c942e + - 47e4d78c-a8a3-4026-bf91-be615d54066f status: 200 OK code: 200 duration: "" @@ -528,19 +528,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/6c5f1fab-79a4-4b10-920b-70f562062dea + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/47d42b1d-2d01-48ec-a6bb-2df21af1b4f7 method: GET response: - body: '{"id":"6c5f1fab-79a4-4b10-920b-70f562062dea","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-19T13:10:31.528578Z","created_at":"2020-03-19T13:10:31.010638Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"47d42b1d-2d01-48ec-a6bb-2df21af1b4f7","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-19T14:42:55.718951Z","created_at":"2020-03-19T14:42:34.236156Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "375" + - "401" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Mar 2020 13:11:41 GMT + - Thu, 19 Mar 2020 14:43:44 GMT Server: - scaleway_api Strict-Transport-Security: @@ -550,7 +550,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 99202779-8f14-4f0c-a62c-8605cc206363 + - 8e24d056-a810-4a83-afdb-02de7eca7d07 status: 200 OK code: 200 duration: "" @@ -560,19 +560,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/6c5f1fab-79a4-4b10-920b-70f562062dea + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/47d42b1d-2d01-48ec-a6bb-2df21af1b4f7 method: GET response: - body: '{"id":"6c5f1fab-79a4-4b10-920b-70f562062dea","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-19T13:10:31.528578Z","created_at":"2020-03-19T13:10:31.010638Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"47d42b1d-2d01-48ec-a6bb-2df21af1b4f7","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-19T14:42:55.718951Z","created_at":"2020-03-19T14:42:34.236156Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "375" + - "401" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Mar 2020 13:11:46 GMT + - Thu, 19 Mar 2020 14:43:49 GMT Server: - scaleway_api Strict-Transport-Security: @@ -582,7 +582,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - a652cd63-a1ea-488e-a2ea-910e343acadc + - d5aee717-be33-48a5-a2a4-55c8968d307e status: 200 OK code: 200 duration: "" @@ -592,19 +592,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/6c5f1fab-79a4-4b10-920b-70f562062dea + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/47d42b1d-2d01-48ec-a6bb-2df21af1b4f7 method: GET response: - body: '{"id":"6c5f1fab-79a4-4b10-920b-70f562062dea","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-19T13:10:31.528578Z","created_at":"2020-03-19T13:10:31.010638Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"47d42b1d-2d01-48ec-a6bb-2df21af1b4f7","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-19T14:42:55.718951Z","created_at":"2020-03-19T14:42:34.236156Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "375" + - "401" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Mar 2020 13:11:51 GMT + - Thu, 19 Mar 2020 14:43:54 GMT Server: - scaleway_api Strict-Transport-Security: @@ -614,7 +614,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 23a5a9db-b222-4c2e-baf8-fe0e3c5b27b7 + - 40b82592-fb6e-4389-8388-43db39e55b7f status: 200 OK code: 200 duration: "" @@ -624,19 +624,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/6c5f1fab-79a4-4b10-920b-70f562062dea + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/47d42b1d-2d01-48ec-a6bb-2df21af1b4f7 method: GET response: - body: '{"id":"6c5f1fab-79a4-4b10-920b-70f562062dea","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-19T13:10:31.528578Z","created_at":"2020-03-19T13:10:31.010638Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"47d42b1d-2d01-48ec-a6bb-2df21af1b4f7","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-19T14:42:55.718951Z","created_at":"2020-03-19T14:42:34.236156Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "375" + - "401" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Mar 2020 13:11:56 GMT + - Thu, 19 Mar 2020 14:43:59 GMT Server: - scaleway_api Strict-Transport-Security: @@ -646,7 +646,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 246076ec-7d6d-4b2a-b2f3-f8814eeba2c1 + - 8c241034-41f2-4ec7-9bf6-dfd3eb343306 status: 200 OK code: 200 duration: "" @@ -656,19 +656,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/6c5f1fab-79a4-4b10-920b-70f562062dea + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/47d42b1d-2d01-48ec-a6bb-2df21af1b4f7 method: GET response: - body: '{"id":"6c5f1fab-79a4-4b10-920b-70f562062dea","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-19T13:10:31.528578Z","created_at":"2020-03-19T13:10:31.010638Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"47d42b1d-2d01-48ec-a6bb-2df21af1b4f7","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-19T14:42:55.718951Z","created_at":"2020-03-19T14:42:34.236156Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "375" + - "401" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Mar 2020 13:12:01 GMT + - Thu, 19 Mar 2020 14:44:04 GMT Server: - scaleway_api Strict-Transport-Security: @@ -678,7 +678,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - cb204a7f-4251-4cae-8314-21f2643c0d8a + - 6f8226c8-db4d-4505-8936-4684401a069b status: 200 OK code: 200 duration: "" @@ -688,19 +688,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/6c5f1fab-79a4-4b10-920b-70f562062dea + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/47d42b1d-2d01-48ec-a6bb-2df21af1b4f7 method: GET response: - body: '{"id":"6c5f1fab-79a4-4b10-920b-70f562062dea","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-19T13:10:31.528578Z","created_at":"2020-03-19T13:10:31.010638Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"47d42b1d-2d01-48ec-a6bb-2df21af1b4f7","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-19T14:42:55.718951Z","created_at":"2020-03-19T14:42:34.236156Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "375" + - "401" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Mar 2020 13:12:06 GMT + - Thu, 19 Mar 2020 14:44:09 GMT Server: - scaleway_api Strict-Transport-Security: @@ -710,7 +710,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 2cd04f08-ad0a-485b-a099-a32a2bd517f0 + - f72c520a-9a9f-4ac2-978a-d445b8e084a5 status: 200 OK code: 200 duration: "" @@ -720,19 +720,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/6c5f1fab-79a4-4b10-920b-70f562062dea + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/47d42b1d-2d01-48ec-a6bb-2df21af1b4f7 method: GET response: - body: '{"id":"6c5f1fab-79a4-4b10-920b-70f562062dea","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-19T13:10:31.528578Z","created_at":"2020-03-19T13:10:31.010638Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"47d42b1d-2d01-48ec-a6bb-2df21af1b4f7","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-19T14:42:55.718951Z","created_at":"2020-03-19T14:42:34.236156Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "375" + - "401" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Mar 2020 13:12:11 GMT + - Thu, 19 Mar 2020 14:44:14 GMT Server: - scaleway_api Strict-Transport-Security: @@ -742,7 +742,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 78a684c6-c8b9-4614-a511-91e38e56d306 + - b58d6a27-9efb-48b9-b6c5-e6af9ff0c0a5 status: 200 OK code: 200 duration: "" @@ -752,19 +752,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/6c5f1fab-79a4-4b10-920b-70f562062dea + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/47d42b1d-2d01-48ec-a6bb-2df21af1b4f7 method: GET response: - body: '{"id":"6c5f1fab-79a4-4b10-920b-70f562062dea","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-19T13:10:31.528578Z","created_at":"2020-03-19T13:10:31.010638Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"47d42b1d-2d01-48ec-a6bb-2df21af1b4f7","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-19T14:42:55.718951Z","created_at":"2020-03-19T14:42:34.236156Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "375" + - "401" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Mar 2020 13:12:16 GMT + - Thu, 19 Mar 2020 14:44:19 GMT Server: - scaleway_api Strict-Transport-Security: @@ -774,7 +774,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - c7d90b2c-e122-4e67-bd0c-6705e712e2ac + - 36ee4bad-2123-42ca-9013-99fee68a7dcb status: 200 OK code: 200 duration: "" @@ -784,19 +784,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/6c5f1fab-79a4-4b10-920b-70f562062dea + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/47d42b1d-2d01-48ec-a6bb-2df21af1b4f7 method: GET response: - body: '{"id":"6c5f1fab-79a4-4b10-920b-70f562062dea","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-19T13:10:31.528578Z","created_at":"2020-03-19T13:10:31.010638Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"47d42b1d-2d01-48ec-a6bb-2df21af1b4f7","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-19T14:42:55.718951Z","created_at":"2020-03-19T14:42:34.236156Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "375" + - "401" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Mar 2020 13:12:21 GMT + - Thu, 19 Mar 2020 14:44:25 GMT Server: - scaleway_api Strict-Transport-Security: @@ -806,7 +806,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 0e6b3b71-3614-48f7-ad41-7a20f3f0a669 + - fd316c3b-d658-4073-8227-1b961713b350 status: 200 OK code: 200 duration: "" @@ -816,19 +816,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/6c5f1fab-79a4-4b10-920b-70f562062dea + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/47d42b1d-2d01-48ec-a6bb-2df21af1b4f7 method: GET response: - body: '{"id":"6c5f1fab-79a4-4b10-920b-70f562062dea","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-19T13:10:31.528578Z","created_at":"2020-03-19T13:10:31.010638Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"47d42b1d-2d01-48ec-a6bb-2df21af1b4f7","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-19T14:42:55.718951Z","created_at":"2020-03-19T14:42:34.236156Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "375" + - "401" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Mar 2020 13:12:26 GMT + - Thu, 19 Mar 2020 14:44:30 GMT Server: - scaleway_api Strict-Transport-Security: @@ -838,7 +838,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 424b449c-3f9d-422e-a2bb-3ec1adb037cc + - 629d84ed-40c4-4c0c-a666-73a21fd73d95 status: 200 OK code: 200 duration: "" @@ -848,19 +848,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/6c5f1fab-79a4-4b10-920b-70f562062dea + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/47d42b1d-2d01-48ec-a6bb-2df21af1b4f7 method: GET response: - body: '{"id":"6c5f1fab-79a4-4b10-920b-70f562062dea","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-19T13:10:31.528578Z","created_at":"2020-03-19T13:10:31.010638Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"47d42b1d-2d01-48ec-a6bb-2df21af1b4f7","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-19T14:42:55.718951Z","created_at":"2020-03-19T14:42:34.236156Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "375" + - "401" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Mar 2020 13:12:31 GMT + - Thu, 19 Mar 2020 14:44:35 GMT Server: - scaleway_api Strict-Transport-Security: @@ -870,7 +870,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - d2266603-f941-4314-adf3-19ec133e048c + - a7c0af09-27ac-4891-980d-30fd6f3a45a3 status: 200 OK code: 200 duration: "" @@ -880,19 +880,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/6c5f1fab-79a4-4b10-920b-70f562062dea + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/47d42b1d-2d01-48ec-a6bb-2df21af1b4f7 method: GET response: - body: '{"id":"6c5f1fab-79a4-4b10-920b-70f562062dea","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-19T13:10:31.528578Z","created_at":"2020-03-19T13:10:31.010638Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"47d42b1d-2d01-48ec-a6bb-2df21af1b4f7","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-19T14:42:55.718951Z","created_at":"2020-03-19T14:42:34.236156Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "375" + - "401" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Mar 2020 13:12:36 GMT + - Thu, 19 Mar 2020 14:44:40 GMT Server: - scaleway_api Strict-Transport-Security: @@ -902,7 +902,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - c9264cd9-d2dd-4124-b429-28ecab640df6 + - e0e2e836-db21-4807-833d-42d78aa7647f status: 200 OK code: 200 duration: "" @@ -912,19 +912,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/6c5f1fab-79a4-4b10-920b-70f562062dea + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/47d42b1d-2d01-48ec-a6bb-2df21af1b4f7 method: GET response: - body: '{"id":"6c5f1fab-79a4-4b10-920b-70f562062dea","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-19T13:10:31.528578Z","created_at":"2020-03-19T13:10:31.010638Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"47d42b1d-2d01-48ec-a6bb-2df21af1b4f7","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-19T14:42:55.718951Z","created_at":"2020-03-19T14:42:34.236156Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "375" + - "401" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Mar 2020 13:12:41 GMT + - Thu, 19 Mar 2020 14:44:45 GMT Server: - scaleway_api Strict-Transport-Security: @@ -934,7 +934,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 65ab31c8-8c4d-4884-a2d5-07a8222678ea + - 14308fe9-1f59-453b-b21f-6a3a109091c0 status: 200 OK code: 200 duration: "" @@ -944,19 +944,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/6c5f1fab-79a4-4b10-920b-70f562062dea + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/47d42b1d-2d01-48ec-a6bb-2df21af1b4f7 method: GET response: - body: '{"id":"6c5f1fab-79a4-4b10-920b-70f562062dea","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-19T13:10:31.528578Z","created_at":"2020-03-19T13:10:31.010638Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"47d42b1d-2d01-48ec-a6bb-2df21af1b4f7","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-19T14:42:55.718951Z","created_at":"2020-03-19T14:42:34.236156Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "375" + - "401" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Mar 2020 13:12:46 GMT + - Thu, 19 Mar 2020 14:44:50 GMT Server: - scaleway_api Strict-Transport-Security: @@ -966,7 +966,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 38b3144e-db1b-490c-8f3b-6d2a5d1b9964 + - 1b9e0acd-28bc-4604-baaf-647f446352c7 status: 200 OK code: 200 duration: "" @@ -976,19 +976,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/6c5f1fab-79a4-4b10-920b-70f562062dea + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/47d42b1d-2d01-48ec-a6bb-2df21af1b4f7 method: GET response: - body: '{"id":"6c5f1fab-79a4-4b10-920b-70f562062dea","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-19T13:10:31.528578Z","created_at":"2020-03-19T13:10:31.010638Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"47d42b1d-2d01-48ec-a6bb-2df21af1b4f7","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-19T14:42:55.718951Z","created_at":"2020-03-19T14:42:34.236156Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "375" + - "401" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Mar 2020 13:12:51 GMT + - Thu, 19 Mar 2020 14:44:55 GMT Server: - scaleway_api Strict-Transport-Security: @@ -998,7 +998,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 02cc5105-f0c4-4870-9fa8-1c71308ad3c0 + - a9b154e7-e8b5-4ec3-bccd-6e79ba7404ce status: 200 OK code: 200 duration: "" @@ -1008,19 +1008,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/6c5f1fab-79a4-4b10-920b-70f562062dea + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/47d42b1d-2d01-48ec-a6bb-2df21af1b4f7 method: GET response: - body: '{"id":"6c5f1fab-79a4-4b10-920b-70f562062dea","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-19T13:10:31.528578Z","created_at":"2020-03-19T13:10:31.010638Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"47d42b1d-2d01-48ec-a6bb-2df21af1b4f7","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-19T14:42:55.718951Z","created_at":"2020-03-19T14:42:34.236156Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "375" + - "401" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Mar 2020 13:12:56 GMT + - Thu, 19 Mar 2020 14:45:00 GMT Server: - scaleway_api Strict-Transport-Security: @@ -1030,7 +1030,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 728c0156-4c57-4213-abcb-9610ba3d3091 + - 4aa27424-9e1e-486d-8da1-49ecbb2f4b24 status: 200 OK code: 200 duration: "" @@ -1040,19 +1040,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/6c5f1fab-79a4-4b10-920b-70f562062dea + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/47d42b1d-2d01-48ec-a6bb-2df21af1b4f7 method: GET response: - body: '{"id":"6c5f1fab-79a4-4b10-920b-70f562062dea","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-19T13:10:31.528578Z","created_at":"2020-03-19T13:10:31.010638Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"47d42b1d-2d01-48ec-a6bb-2df21af1b4f7","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-19T14:42:55.718951Z","created_at":"2020-03-19T14:42:34.236156Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "375" + - "401" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Mar 2020 13:13:01 GMT + - Thu, 19 Mar 2020 14:45:05 GMT Server: - scaleway_api Strict-Transport-Security: @@ -1062,7 +1062,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 7d974656-3328-42da-97fe-63410d049a9b + - 4d5e3baa-06f1-4336-8a29-9207ccec9281 status: 200 OK code: 200 duration: "" @@ -1072,19 +1072,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/6c5f1fab-79a4-4b10-920b-70f562062dea + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/47d42b1d-2d01-48ec-a6bb-2df21af1b4f7 method: GET response: - body: '{"id":"6c5f1fab-79a4-4b10-920b-70f562062dea","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-19T13:10:31.528578Z","created_at":"2020-03-19T13:10:31.010638Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"47d42b1d-2d01-48ec-a6bb-2df21af1b4f7","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-19T14:42:55.718951Z","created_at":"2020-03-19T14:42:34.236156Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "375" + - "401" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Mar 2020 13:13:06 GMT + - Thu, 19 Mar 2020 14:45:10 GMT Server: - scaleway_api Strict-Transport-Security: @@ -1094,7 +1094,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 2b5bb4d6-e4f6-401e-8ca0-6ada982d0e8c + - 528bd1e0-2b02-416d-a59a-588914dc4d36 status: 200 OK code: 200 duration: "" @@ -1104,19 +1104,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/6c5f1fab-79a4-4b10-920b-70f562062dea + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/47d42b1d-2d01-48ec-a6bb-2df21af1b4f7 method: GET response: - body: '{"id":"6c5f1fab-79a4-4b10-920b-70f562062dea","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-19T13:10:31.528578Z","created_at":"2020-03-19T13:10:31.010638Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"47d42b1d-2d01-48ec-a6bb-2df21af1b4f7","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-19T14:42:55.718951Z","created_at":"2020-03-19T14:42:34.236156Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "375" + - "401" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Mar 2020 13:13:11 GMT + - Thu, 19 Mar 2020 14:45:15 GMT Server: - scaleway_api Strict-Transport-Security: @@ -1126,7 +1126,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 008fca26-c4fb-4cf9-b86a-3b17d275e4db + - d404aa30-6405-4c74-8576-d9016227cccb status: 200 OK code: 200 duration: "" @@ -1136,19 +1136,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/6c5f1fab-79a4-4b10-920b-70f562062dea + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/47d42b1d-2d01-48ec-a6bb-2df21af1b4f7 method: GET response: - body: '{"id":"6c5f1fab-79a4-4b10-920b-70f562062dea","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-19T13:10:31.528578Z","created_at":"2020-03-19T13:10:31.010638Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"47d42b1d-2d01-48ec-a6bb-2df21af1b4f7","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-19T14:45:17.815561Z","created_at":"2020-03-19T14:42:34.236156Z","status":"ready","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[{"id":"f0846742-6fb6-48e4-a90f-0e6f6aa084b0","address":"51.159.56.122","reverse":"47d42b1d-2d01-48ec-a6bb-2df21af1b4f7.fr-par-2.baremetal.scw.cloud","version":"Ipv4","reverse_status":"pending","reverse_status_message":null},{"id":"fce15128-1870-4fc4-ab91-401222242a76","address":"2001:0bc8:1200:0000:dac4:97ff:fe5b:7a89","reverse":"47d42b1d-2d01-48ec-a6bb-2df21af1b4f7.fr-par-2.baremetal.scw.cloud","version":"Ipv6","reverse_status":"pending","reverse_status_message":null}],"domain":"47d42b1d-2d01-48ec-a6bb-2df21af1b4f7.fr-par-2.baremetal.scw.cloud","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "375" + - "933" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Mar 2020 13:13:16 GMT + - Thu, 19 Mar 2020 14:45:20 GMT Server: - scaleway_api Strict-Transport-Security: @@ -1158,7 +1158,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - d5d75c16-1e9d-4a18-9213-21fd5b584d3f + - aa96627c-2bcb-473d-9dcf-8ed38b0c7c60 status: 200 OK code: 200 duration: "" @@ -1168,787 +1168,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/6c5f1fab-79a4-4b10-920b-70f562062dea - method: GET - response: - body: '{"id":"6c5f1fab-79a4-4b10-920b-70f562062dea","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-19T13:10:31.528578Z","created_at":"2020-03-19T13:10:31.010638Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "375" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 19 Mar 2020 13:13:21 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 42a00f88-27fc-45e3-a311-87089d8a9b29 - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/6c5f1fab-79a4-4b10-920b-70f562062dea - method: GET - response: - body: '{"id":"6c5f1fab-79a4-4b10-920b-70f562062dea","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-19T13:10:31.528578Z","created_at":"2020-03-19T13:10:31.010638Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "375" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 19 Mar 2020 13:13:27 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 05ad22a7-599b-4e16-b33e-02d95c1e1cb0 - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/6c5f1fab-79a4-4b10-920b-70f562062dea - method: GET - response: - body: '{"id":"6c5f1fab-79a4-4b10-920b-70f562062dea","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-19T13:10:31.528578Z","created_at":"2020-03-19T13:10:31.010638Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "375" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 19 Mar 2020 13:13:32 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 5e335fae-80a6-4515-bdb6-d86a7938375d - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/6c5f1fab-79a4-4b10-920b-70f562062dea - method: GET - response: - body: '{"id":"6c5f1fab-79a4-4b10-920b-70f562062dea","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-19T13:10:31.528578Z","created_at":"2020-03-19T13:10:31.010638Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "375" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 19 Mar 2020 13:13:37 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 372a3ff8-8be2-4bf4-ba71-8ebad389536c - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/6c5f1fab-79a4-4b10-920b-70f562062dea - method: GET - response: - body: '{"id":"6c5f1fab-79a4-4b10-920b-70f562062dea","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-19T13:10:31.528578Z","created_at":"2020-03-19T13:10:31.010638Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "375" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 19 Mar 2020 13:13:42 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 5fab1063-eb0f-4c8d-8513-584be2593ce4 - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/6c5f1fab-79a4-4b10-920b-70f562062dea - method: GET - response: - body: '{"id":"6c5f1fab-79a4-4b10-920b-70f562062dea","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-19T13:10:31.528578Z","created_at":"2020-03-19T13:10:31.010638Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "375" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 19 Mar 2020 13:13:47 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 6f14bfe8-f08a-467c-b392-2f287d08769c - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/6c5f1fab-79a4-4b10-920b-70f562062dea - method: GET - response: - body: '{"id":"6c5f1fab-79a4-4b10-920b-70f562062dea","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-19T13:10:31.528578Z","created_at":"2020-03-19T13:10:31.010638Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "375" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 19 Mar 2020 13:13:52 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 233af923-aa9b-4842-996d-e9086fe206c8 - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/6c5f1fab-79a4-4b10-920b-70f562062dea - method: GET - response: - body: '{"id":"6c5f1fab-79a4-4b10-920b-70f562062dea","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-19T13:10:31.528578Z","created_at":"2020-03-19T13:10:31.010638Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "375" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 19 Mar 2020 13:13:57 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 15f4841c-494f-475d-a330-7428c5ede784 - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/6c5f1fab-79a4-4b10-920b-70f562062dea - method: GET - response: - body: '{"id":"6c5f1fab-79a4-4b10-920b-70f562062dea","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-19T13:10:31.528578Z","created_at":"2020-03-19T13:10:31.010638Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "375" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 19 Mar 2020 13:14:02 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 3d3f56ac-8ab4-45dc-81b3-f67a8b253cce - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/6c5f1fab-79a4-4b10-920b-70f562062dea - method: GET - response: - body: '{"id":"6c5f1fab-79a4-4b10-920b-70f562062dea","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-19T13:10:31.528578Z","created_at":"2020-03-19T13:10:31.010638Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "375" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 19 Mar 2020 13:14:07 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 952a821e-19b1-4ff3-9ae5-e58065f44d32 - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/6c5f1fab-79a4-4b10-920b-70f562062dea - method: GET - response: - body: '{"id":"6c5f1fab-79a4-4b10-920b-70f562062dea","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-19T13:10:31.528578Z","created_at":"2020-03-19T13:10:31.010638Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "375" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 19 Mar 2020 13:14:12 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 61a7af6a-1158-42af-9d6f-c80beddd4c1c - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/6c5f1fab-79a4-4b10-920b-70f562062dea - method: GET - response: - body: '{"id":"6c5f1fab-79a4-4b10-920b-70f562062dea","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-19T13:10:31.528578Z","created_at":"2020-03-19T13:10:31.010638Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "375" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 19 Mar 2020 13:14:17 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - a425f0b0-ad40-4b5d-8b22-38314b460b4f - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/6c5f1fab-79a4-4b10-920b-70f562062dea - method: GET - response: - body: '{"id":"6c5f1fab-79a4-4b10-920b-70f562062dea","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-19T13:10:31.528578Z","created_at":"2020-03-19T13:10:31.010638Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "375" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 19 Mar 2020 13:14:22 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 4666933f-8e48-4067-a6a5-3b23384ec5bc - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/6c5f1fab-79a4-4b10-920b-70f562062dea - method: GET - response: - body: '{"id":"6c5f1fab-79a4-4b10-920b-70f562062dea","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-19T13:10:31.528578Z","created_at":"2020-03-19T13:10:31.010638Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "375" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 19 Mar 2020 13:14:27 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - e3c715e7-6bd5-4fa3-b77b-38647641ff57 - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/6c5f1fab-79a4-4b10-920b-70f562062dea - method: GET - response: - body: '{"id":"6c5f1fab-79a4-4b10-920b-70f562062dea","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-19T13:10:31.528578Z","created_at":"2020-03-19T13:10:31.010638Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "375" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 19 Mar 2020 13:14:32 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 2fc990cf-4d14-421d-a286-379a300927ec - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/6c5f1fab-79a4-4b10-920b-70f562062dea - method: GET - response: - body: '{"id":"6c5f1fab-79a4-4b10-920b-70f562062dea","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-19T13:10:31.528578Z","created_at":"2020-03-19T13:10:31.010638Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "375" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 19 Mar 2020 13:14:37 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - d0ab1ceb-79bd-4249-83ca-4125444bc264 - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/6c5f1fab-79a4-4b10-920b-70f562062dea - method: GET - response: - body: '{"id":"6c5f1fab-79a4-4b10-920b-70f562062dea","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-19T13:10:31.528578Z","created_at":"2020-03-19T13:10:31.010638Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "375" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 19 Mar 2020 13:14:42 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 9de9c751-5820-4b85-89a3-8b3e88c8270a - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/6c5f1fab-79a4-4b10-920b-70f562062dea - method: GET - response: - body: '{"id":"6c5f1fab-79a4-4b10-920b-70f562062dea","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-19T13:10:31.528578Z","created_at":"2020-03-19T13:10:31.010638Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "375" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 19 Mar 2020 13:14:47 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 3673bc5a-b466-4c11-869c-2dd0e323b971 - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/6c5f1fab-79a4-4b10-920b-70f562062dea - method: GET - response: - body: '{"id":"6c5f1fab-79a4-4b10-920b-70f562062dea","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-19T13:10:31.528578Z","created_at":"2020-03-19T13:10:31.010638Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "375" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 19 Mar 2020 13:14:52 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - ab45a782-2a2e-4dde-9ffd-eea249b72e0d - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/6c5f1fab-79a4-4b10-920b-70f562062dea - method: GET - response: - body: '{"id":"6c5f1fab-79a4-4b10-920b-70f562062dea","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-19T13:10:31.528578Z","created_at":"2020-03-19T13:10:31.010638Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "375" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 19 Mar 2020 13:14:57 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - c3fbccc5-b2a7-4ead-8704-46213f000461 - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/6c5f1fab-79a4-4b10-920b-70f562062dea - method: GET - response: - body: '{"id":"6c5f1fab-79a4-4b10-920b-70f562062dea","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-19T13:10:31.528578Z","created_at":"2020-03-19T13:10:31.010638Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "375" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 19 Mar 2020 13:15:02 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 605d91ff-4d1b-482b-af86-26544809068b - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/6c5f1fab-79a4-4b10-920b-70f562062dea - method: GET - response: - body: '{"id":"6c5f1fab-79a4-4b10-920b-70f562062dea","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-19T13:10:31.528578Z","created_at":"2020-03-19T13:10:31.010638Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "375" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 19 Mar 2020 13:15:07 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - a37d5470-3202-4476-88c7-6c42ccfe6f2b - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/6c5f1fab-79a4-4b10-920b-70f562062dea - method: GET - response: - body: '{"id":"6c5f1fab-79a4-4b10-920b-70f562062dea","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-19T13:10:31.528578Z","created_at":"2020-03-19T13:10:31.010638Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "375" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 19 Mar 2020 13:15:12 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 6c7af882-0ae6-490c-ad43-007b0ff4a744 - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/6c5f1fab-79a4-4b10-920b-70f562062dea - method: GET - response: - body: '{"id":"6c5f1fab-79a4-4b10-920b-70f562062dea","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-19T13:15:14.180870Z","created_at":"2020-03-19T13:10:31.010638Z","status":"ready","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[{"id":"225cd07b-bead-4f21-9356-2b9c7d0db4c6","address":"51.159.56.96","reverse":"6c5f1fab-79a4-4b10-920b-70f562062dea.fr-par-2.baremetal.scw.cloud","version":"Ipv4","reverse_status":"pending","reverse_status_message":null},{"id":"4782904c-9f2b-4c1f-94d2-571c1e7399cf","address":"2001:0bc8:1200:0000:dac4:97ff:fe5b:778d","reverse":"6c5f1fab-79a4-4b10-920b-70f562062dea.fr-par-2.baremetal.scw.cloud","version":"Ipv6","reverse_status":"pending","reverse_status_message":null}],"domain":"6c5f1fab-79a4-4b10-920b-70f562062dea.fr-par-2.baremetal.scw.cloud","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "906" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 19 Mar 2020 13:15:17 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - c674a4e0-e85e-40a8-94f0-00b84dd43864 - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/6c5f1fab-79a4-4b10-920b-70f562062dea + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/47d42b1d-2d01-48ec-a6bb-2df21af1b4f7 method: DELETE response: - body: '{"id":"6c5f1fab-79a4-4b10-920b-70f562062dea","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-19T13:15:17.942539Z","created_at":"2020-03-19T13:10:31.010638Z","status":"deleting","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[{"id":"225cd07b-bead-4f21-9356-2b9c7d0db4c6","address":"51.159.56.96","reverse":"6c5f1fab-79a4-4b10-920b-70f562062dea.fr-par-2.baremetal.scw.cloud","version":"Ipv4","reverse_status":"pending","reverse_status_message":null},{"id":"4782904c-9f2b-4c1f-94d2-571c1e7399cf","address":"2001:0bc8:1200:0000:dac4:97ff:fe5b:778d","reverse":"6c5f1fab-79a4-4b10-920b-70f562062dea.fr-par-2.baremetal.scw.cloud","version":"Ipv6","reverse_status":"pending","reverse_status_message":null}],"domain":"6c5f1fab-79a4-4b10-920b-70f562062dea.fr-par-2.baremetal.scw.cloud","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"47d42b1d-2d01-48ec-a6bb-2df21af1b4f7","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-19T14:45:20.433246Z","created_at":"2020-03-19T14:42:34.236156Z","status":"deleting","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[{"id":"f0846742-6fb6-48e4-a90f-0e6f6aa084b0","address":"51.159.56.122","reverse":"47d42b1d-2d01-48ec-a6bb-2df21af1b4f7.fr-par-2.baremetal.scw.cloud","version":"Ipv4","reverse_status":"pending","reverse_status_message":null},{"id":"fce15128-1870-4fc4-ab91-401222242a76","address":"2001:0bc8:1200:0000:dac4:97ff:fe5b:7a89","reverse":"47d42b1d-2d01-48ec-a6bb-2df21af1b4f7.fr-par-2.baremetal.scw.cloud","version":"Ipv6","reverse_status":"pending","reverse_status_message":null}],"domain":"47d42b1d-2d01-48ec-a6bb-2df21af1b4f7.fr-par-2.baremetal.scw.cloud","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "909" + - "936" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Mar 2020 13:15:17 GMT + - Thu, 19 Mar 2020 14:45:20 GMT Server: - scaleway_api Strict-Transport-Security: @@ -1958,7 +1190,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 5dfa3e7a-b219-4f1b-bf11-2f89d726ebd6 + - ca47d174-cb20-4dfb-b51d-66ec3e2f19f2 status: 200 OK code: 200 duration: "" From 609d6d96e23cb4a25434f81fd52c16dcabaabc17 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20L=C3=A9one?= Date: Thu, 19 Mar 2020 16:31:11 +0100 Subject: [PATCH 26/67] FIx --- .../baremetal/v1alpha1/baremetal_cli_test.go | 4 +- .../v1alpha1/custom_server_create.go | 2 +- ...create-server-simple-default.cassette.yaml | 760 +++--------------- ...create-server-simple-default.stdout.golden | 4 +- ...st-create-server-simple-tags.cassette.yaml | 760 +++--------------- ...eate-server-simple-with-name.cassette.yaml | 726 ++--------------- 6 files changed, 264 insertions(+), 1992 deletions(-) diff --git a/internal/namespaces/baremetal/v1alpha1/baremetal_cli_test.go b/internal/namespaces/baremetal/v1alpha1/baremetal_cli_test.go index b65d136858..3196a8e681 100644 --- a/internal/namespaces/baremetal/v1alpha1/baremetal_cli_test.go +++ b/internal/namespaces/baremetal/v1alpha1/baremetal_cli_test.go @@ -4,13 +4,13 @@ import ( "testing" "github.com/scaleway/scaleway-cli/internal/core" - "github.com/scaleway/scaleway-sdk-go/api/instance/v1" + baremetal "github.com/scaleway/scaleway-sdk-go/api/baremetal/v1alpha1" "github.com/scaleway/scaleway-sdk-go/scw" ) func init() { if !core.UpdateCassettes { - instance.RetryInterval = 0 + baremetal.RetryInterval = 0 } } diff --git a/internal/namespaces/baremetal/v1alpha1/custom_server_create.go b/internal/namespaces/baremetal/v1alpha1/custom_server_create.go index 985dcd8099..c4be55aef2 100644 --- a/internal/namespaces/baremetal/v1alpha1/custom_server_create.go +++ b/internal/namespaces/baremetal/v1alpha1/custom_server_create.go @@ -121,7 +121,7 @@ func baremetalServerCreateRun(ctx context.Context, argsI interface{}) (i interfa // while baremetal does not have listoffer name filter we are forced to iterate // on the list of offers provided requestedType := tmpRequest.Type - offer, err := api.GetOfferFromName(&baremetal.GetOfferIDFromOfferNameRequest{ + offer, err := api.GetOfferFromName(&baremetal.GetOfferFromOfferNameRequest{ OfferName: requestedType, Zone: tmpRequest.Zone, }) diff --git a/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.cassette.yaml b/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.cassette.yaml index 3b2bdd3430..b20d4244ab 100644 --- a/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.cassette.yaml +++ b/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.cassette.yaml @@ -26,7 +26,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 19 Mar 2020 14:42:33 GMT + - Thu, 19 Mar 2020 15:26:33 GMT Server: - scaleway_api Strict-Transport-Security: @@ -36,12 +36,12 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - f0e31a6c-f746-430b-b6c4-62b5124dfd54 + - 56b48c3e-3b06-498b-beb0-090be1064c05 status: 200 OK code: 200 duration: "" - request: - body: '{"offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-optimistic-heyrovsky","description":"","tags":null}' + body: '{"offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-silly-allen","description":"","tags":null}' form: {} headers: Content-Type: @@ -51,16 +51,16 @@ interactions: url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers method: POST response: - body: '{"id":"a27ccbbc-deac-480d-a827-f51eca4d9b58","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-optimistic-heyrovsky","description":"","updated_at":"2020-03-19T14:42:34.241251449Z","created_at":"2020-03-19T14:42:34.241251449Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"298714cd-d601-4073-af83-1ee941303597","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-silly-allen","description":"","updated_at":"2020-03-19T15:26:33.884729571Z","created_at":"2020-03-19T15:26:33.884729571Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "406" + - "397" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Mar 2020 14:42:34 GMT + - Thu, 19 Mar 2020 15:26:33 GMT Server: - scaleway_api Strict-Transport-Security: @@ -70,7 +70,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - fe2a442b-9ff2-47b4-8a0f-8aff586924e3 + - b86b6be8-b593-4d3e-9503-767b54e9266a status: 200 OK code: 200 duration: "" @@ -80,19 +80,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a27ccbbc-deac-480d-a827-f51eca4d9b58 + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/298714cd-d601-4073-af83-1ee941303597 method: GET response: - body: '{"id":"a27ccbbc-deac-480d-a827-f51eca4d9b58","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-optimistic-heyrovsky","description":"","updated_at":"2020-03-19T14:42:34.241251Z","created_at":"2020-03-19T14:42:34.241251Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"298714cd-d601-4073-af83-1ee941303597","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-silly-allen","description":"","updated_at":"2020-03-19T15:26:33.884730Z","created_at":"2020-03-19T15:26:33.884730Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "400" + - "391" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Mar 2020 14:42:34 GMT + - Thu, 19 Mar 2020 15:26:33 GMT Server: - scaleway_api Strict-Transport-Security: @@ -102,7 +102,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - b5108110-9445-40f4-8530-00cc1f7ae94a + - a227c144-6fe6-4e25-9595-b5bbd2207955 status: 200 OK code: 200 duration: "" @@ -112,19 +112,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a27ccbbc-deac-480d-a827-f51eca4d9b58 + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/298714cd-d601-4073-af83-1ee941303597 method: GET response: - body: '{"id":"a27ccbbc-deac-480d-a827-f51eca4d9b58","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-optimistic-heyrovsky","description":"","updated_at":"2020-03-19T14:42:34.241251Z","created_at":"2020-03-19T14:42:34.241251Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"298714cd-d601-4073-af83-1ee941303597","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-silly-allen","description":"","updated_at":"2020-03-19T15:26:33.884730Z","created_at":"2020-03-19T15:26:33.884730Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "400" + - "391" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Mar 2020 14:42:39 GMT + - Thu, 19 Mar 2020 15:26:48 GMT Server: - scaleway_api Strict-Transport-Security: @@ -134,7 +134,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 77e7760f-15c7-44b8-ac86-88c8fd1bf995 + - 362e13d9-f51a-4036-a6d2-855947ec7222 status: 200 OK code: 200 duration: "" @@ -144,19 +144,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a27ccbbc-deac-480d-a827-f51eca4d9b58 + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/298714cd-d601-4073-af83-1ee941303597 method: GET response: - body: '{"id":"a27ccbbc-deac-480d-a827-f51eca4d9b58","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-optimistic-heyrovsky","description":"","updated_at":"2020-03-19T14:42:34.241251Z","created_at":"2020-03-19T14:42:34.241251Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"298714cd-d601-4073-af83-1ee941303597","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-silly-allen","description":"","updated_at":"2020-03-19T15:26:55.076380Z","created_at":"2020-03-19T15:26:33.884730Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "400" + - "391" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Mar 2020 14:42:44 GMT + - Thu, 19 Mar 2020 15:27:03 GMT Server: - scaleway_api Strict-Transport-Security: @@ -166,7 +166,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - b72cf614-4e9e-46dd-b49b-1529daa62136 + - 9aec3ea7-0362-48a4-87f2-37938da39522 status: 200 OK code: 200 duration: "" @@ -176,19 +176,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a27ccbbc-deac-480d-a827-f51eca4d9b58 + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/298714cd-d601-4073-af83-1ee941303597 method: GET response: - body: '{"id":"a27ccbbc-deac-480d-a827-f51eca4d9b58","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-optimistic-heyrovsky","description":"","updated_at":"2020-03-19T14:42:34.241251Z","created_at":"2020-03-19T14:42:34.241251Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"298714cd-d601-4073-af83-1ee941303597","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-silly-allen","description":"","updated_at":"2020-03-19T15:26:55.076380Z","created_at":"2020-03-19T15:26:33.884730Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "400" + - "391" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Mar 2020 14:42:49 GMT + - Thu, 19 Mar 2020 15:27:18 GMT Server: - scaleway_api Strict-Transport-Security: @@ -198,7 +198,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 1dcb1282-1a25-4c2e-8fa6-ce9989e19676 + - 9a906ce3-2740-4e89-83d5-4678056311d0 status: 200 OK code: 200 duration: "" @@ -208,19 +208,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a27ccbbc-deac-480d-a827-f51eca4d9b58 + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/298714cd-d601-4073-af83-1ee941303597 method: GET response: - body: '{"id":"a27ccbbc-deac-480d-a827-f51eca4d9b58","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-optimistic-heyrovsky","description":"","updated_at":"2020-03-19T14:42:34.241251Z","created_at":"2020-03-19T14:42:34.241251Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"298714cd-d601-4073-af83-1ee941303597","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-silly-allen","description":"","updated_at":"2020-03-19T15:26:55.076380Z","created_at":"2020-03-19T15:26:33.884730Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "400" + - "391" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Mar 2020 14:42:54 GMT + - Thu, 19 Mar 2020 15:27:33 GMT Server: - scaleway_api Strict-Transport-Security: @@ -230,7 +230,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - c39999e2-da7c-49bd-b8da-f3d2d814147b + - 2d03e4c7-e513-4821-b99a-afd2ee097b72 status: 200 OK code: 200 duration: "" @@ -240,19 +240,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a27ccbbc-deac-480d-a827-f51eca4d9b58 + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/298714cd-d601-4073-af83-1ee941303597 method: GET response: - body: '{"id":"a27ccbbc-deac-480d-a827-f51eca4d9b58","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-optimistic-heyrovsky","description":"","updated_at":"2020-03-19T14:42:56.646147Z","created_at":"2020-03-19T14:42:34.241251Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"298714cd-d601-4073-af83-1ee941303597","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-silly-allen","description":"","updated_at":"2020-03-19T15:26:55.076380Z","created_at":"2020-03-19T15:26:33.884730Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "400" + - "391" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Mar 2020 14:42:59 GMT + - Thu, 19 Mar 2020 15:27:48 GMT Server: - scaleway_api Strict-Transport-Security: @@ -262,7 +262,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - b4da9a08-d71e-432b-9aa0-d352546edd16 + - ae6ff86a-c8bd-4b21-98bd-3183c2ccf163 status: 200 OK code: 200 duration: "" @@ -272,19 +272,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a27ccbbc-deac-480d-a827-f51eca4d9b58 + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/298714cd-d601-4073-af83-1ee941303597 method: GET response: - body: '{"id":"a27ccbbc-deac-480d-a827-f51eca4d9b58","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-optimistic-heyrovsky","description":"","updated_at":"2020-03-19T14:42:56.646147Z","created_at":"2020-03-19T14:42:34.241251Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"298714cd-d601-4073-af83-1ee941303597","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-silly-allen","description":"","updated_at":"2020-03-19T15:26:55.076380Z","created_at":"2020-03-19T15:26:33.884730Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "400" + - "391" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Mar 2020 14:43:04 GMT + - Thu, 19 Mar 2020 15:28:03 GMT Server: - scaleway_api Strict-Transport-Security: @@ -294,7 +294,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 1a3b1828-a3fb-4ef9-95d0-64f072bf547e + - 770e7e5c-721d-4b62-b4b5-b7481d3dcddf status: 200 OK code: 200 duration: "" @@ -304,19 +304,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a27ccbbc-deac-480d-a827-f51eca4d9b58 + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/298714cd-d601-4073-af83-1ee941303597 method: GET response: - body: '{"id":"a27ccbbc-deac-480d-a827-f51eca4d9b58","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-optimistic-heyrovsky","description":"","updated_at":"2020-03-19T14:42:56.646147Z","created_at":"2020-03-19T14:42:34.241251Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"298714cd-d601-4073-af83-1ee941303597","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-silly-allen","description":"","updated_at":"2020-03-19T15:26:55.076380Z","created_at":"2020-03-19T15:26:33.884730Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "400" + - "391" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Mar 2020 14:43:09 GMT + - Thu, 19 Mar 2020 15:28:18 GMT Server: - scaleway_api Strict-Transport-Security: @@ -326,7 +326,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - f8a5de96-6d71-4e9d-a354-344989dce927 + - 6301e81c-7f26-4604-b0db-32a965ee799a status: 200 OK code: 200 duration: "" @@ -336,19 +336,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a27ccbbc-deac-480d-a827-f51eca4d9b58 + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/298714cd-d601-4073-af83-1ee941303597 method: GET response: - body: '{"id":"a27ccbbc-deac-480d-a827-f51eca4d9b58","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-optimistic-heyrovsky","description":"","updated_at":"2020-03-19T14:42:56.646147Z","created_at":"2020-03-19T14:42:34.241251Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"298714cd-d601-4073-af83-1ee941303597","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-silly-allen","description":"","updated_at":"2020-03-19T15:26:55.076380Z","created_at":"2020-03-19T15:26:33.884730Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "400" + - "391" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Mar 2020 14:43:14 GMT + - Thu, 19 Mar 2020 15:28:33 GMT Server: - scaleway_api Strict-Transport-Security: @@ -358,7 +358,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 7668eb37-256d-4e4c-bc0a-41925f48d8cf + - 73678da1-a745-4da2-bcbe-229f3da3c4d0 status: 200 OK code: 200 duration: "" @@ -368,19 +368,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a27ccbbc-deac-480d-a827-f51eca4d9b58 + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/298714cd-d601-4073-af83-1ee941303597 method: GET response: - body: '{"id":"a27ccbbc-deac-480d-a827-f51eca4d9b58","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-optimistic-heyrovsky","description":"","updated_at":"2020-03-19T14:42:56.646147Z","created_at":"2020-03-19T14:42:34.241251Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"298714cd-d601-4073-af83-1ee941303597","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-silly-allen","description":"","updated_at":"2020-03-19T15:26:55.076380Z","created_at":"2020-03-19T15:26:33.884730Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "400" + - "391" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Mar 2020 14:43:19 GMT + - Thu, 19 Mar 2020 15:28:48 GMT Server: - scaleway_api Strict-Transport-Security: @@ -390,7 +390,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 8538e136-073b-41ef-93b9-d3897d71b1aa + - b522397b-e730-4e86-987b-7e5c8133357f status: 200 OK code: 200 duration: "" @@ -400,19 +400,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a27ccbbc-deac-480d-a827-f51eca4d9b58 + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/298714cd-d601-4073-af83-1ee941303597 method: GET response: - body: '{"id":"a27ccbbc-deac-480d-a827-f51eca4d9b58","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-optimistic-heyrovsky","description":"","updated_at":"2020-03-19T14:42:56.646147Z","created_at":"2020-03-19T14:42:34.241251Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"298714cd-d601-4073-af83-1ee941303597","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-silly-allen","description":"","updated_at":"2020-03-19T15:26:55.076380Z","created_at":"2020-03-19T15:26:33.884730Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "400" + - "391" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Mar 2020 14:43:24 GMT + - Thu, 19 Mar 2020 15:29:03 GMT Server: - scaleway_api Strict-Transport-Security: @@ -422,7 +422,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 95edf52f-5aab-455b-a2be-4606f7e39298 + - 83767cc7-6792-4be3-b080-d49756576eea status: 200 OK code: 200 duration: "" @@ -432,19 +432,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a27ccbbc-deac-480d-a827-f51eca4d9b58 + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/298714cd-d601-4073-af83-1ee941303597 method: GET response: - body: '{"id":"a27ccbbc-deac-480d-a827-f51eca4d9b58","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-optimistic-heyrovsky","description":"","updated_at":"2020-03-19T14:42:56.646147Z","created_at":"2020-03-19T14:42:34.241251Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"298714cd-d601-4073-af83-1ee941303597","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-silly-allen","description":"","updated_at":"2020-03-19T15:26:55.076380Z","created_at":"2020-03-19T15:26:33.884730Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "400" + - "391" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Mar 2020 14:43:29 GMT + - Thu, 19 Mar 2020 15:29:18 GMT Server: - scaleway_api Strict-Transport-Security: @@ -454,7 +454,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 8e1817bc-f327-438b-9755-edfb974e740c + - 5d5421d6-84e8-44e4-9876-1d65cfb8c97a status: 200 OK code: 200 duration: "" @@ -464,19 +464,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a27ccbbc-deac-480d-a827-f51eca4d9b58 + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/298714cd-d601-4073-af83-1ee941303597 method: GET response: - body: '{"id":"a27ccbbc-deac-480d-a827-f51eca4d9b58","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-optimistic-heyrovsky","description":"","updated_at":"2020-03-19T14:42:56.646147Z","created_at":"2020-03-19T14:42:34.241251Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"298714cd-d601-4073-af83-1ee941303597","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-silly-allen","description":"","updated_at":"2020-03-19T15:26:55.076380Z","created_at":"2020-03-19T15:26:33.884730Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "400" + - "391" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Mar 2020 14:43:34 GMT + - Thu, 19 Mar 2020 15:29:34 GMT Server: - scaleway_api Strict-Transport-Security: @@ -486,7 +486,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 70ec9496-1be2-4eeb-a323-f914145861fd + - afa36f0d-f6d2-4dcc-8936-1bff88a6552a status: 200 OK code: 200 duration: "" @@ -496,19 +496,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a27ccbbc-deac-480d-a827-f51eca4d9b58 + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/298714cd-d601-4073-af83-1ee941303597 method: GET response: - body: '{"id":"a27ccbbc-deac-480d-a827-f51eca4d9b58","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-optimistic-heyrovsky","description":"","updated_at":"2020-03-19T14:42:56.646147Z","created_at":"2020-03-19T14:42:34.241251Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"298714cd-d601-4073-af83-1ee941303597","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-silly-allen","description":"","updated_at":"2020-03-19T15:26:55.076380Z","created_at":"2020-03-19T15:26:33.884730Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "400" + - "391" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Mar 2020 14:43:39 GMT + - Thu, 19 Mar 2020 15:29:49 GMT Server: - scaleway_api Strict-Transport-Security: @@ -518,7 +518,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - e744a7ff-b247-4321-a3ce-4798883421ea + - f093d5ce-a445-4661-b051-bb653934eb7c status: 200 OK code: 200 duration: "" @@ -528,19 +528,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a27ccbbc-deac-480d-a827-f51eca4d9b58 + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/298714cd-d601-4073-af83-1ee941303597 method: GET response: - body: '{"id":"a27ccbbc-deac-480d-a827-f51eca4d9b58","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-optimistic-heyrovsky","description":"","updated_at":"2020-03-19T14:42:56.646147Z","created_at":"2020-03-19T14:42:34.241251Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"298714cd-d601-4073-af83-1ee941303597","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-silly-allen","description":"","updated_at":"2020-03-19T15:26:55.076380Z","created_at":"2020-03-19T15:26:33.884730Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "400" + - "391" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Mar 2020 14:43:44 GMT + - Thu, 19 Mar 2020 15:30:04 GMT Server: - scaleway_api Strict-Transport-Security: @@ -550,7 +550,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - c59ffaa5-f62f-4c97-ada1-35cd65c09f00 + - 905cbf81-b8fb-4673-a943-80fdd424296b status: 200 OK code: 200 duration: "" @@ -560,19 +560,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a27ccbbc-deac-480d-a827-f51eca4d9b58 + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/298714cd-d601-4073-af83-1ee941303597 method: GET response: - body: '{"id":"a27ccbbc-deac-480d-a827-f51eca4d9b58","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-optimistic-heyrovsky","description":"","updated_at":"2020-03-19T14:42:56.646147Z","created_at":"2020-03-19T14:42:34.241251Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"298714cd-d601-4073-af83-1ee941303597","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-silly-allen","description":"","updated_at":"2020-03-19T15:30:17.693473Z","created_at":"2020-03-19T15:26:33.884730Z","status":"ready","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[{"id":"12bc3672-a8e5-47f3-aca9-89ccea32d3c0","address":"51.159.56.112","reverse":"298714cd-d601-4073-af83-1ee941303597.fr-par-2.baremetal.scw.cloud","version":"Ipv4","reverse_status":"pending","reverse_status_message":null},{"id":"b4f6910b-5c45-4370-9d8d-5898cb544f08","address":"2001:0bc8:1200:0000:dac4:97ff:fe5b:72fd","reverse":"298714cd-d601-4073-af83-1ee941303597.fr-par-2.baremetal.scw.cloud","version":"Ipv6","reverse_status":"pending","reverse_status_message":null}],"domain":"298714cd-d601-4073-af83-1ee941303597.fr-par-2.baremetal.scw.cloud","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "400" + - "923" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Mar 2020 14:43:49 GMT + - Thu, 19 Mar 2020 15:30:19 GMT Server: - scaleway_api Strict-Transport-Security: @@ -582,7 +582,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 0ac55250-b492-49a5-a272-4864cb344370 + - 9580a842-b166-4ee2-a3cb-0289a5f00cc3 status: 200 OK code: 200 duration: "" @@ -592,595 +592,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a27ccbbc-deac-480d-a827-f51eca4d9b58 - method: GET - response: - body: '{"id":"a27ccbbc-deac-480d-a827-f51eca4d9b58","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-optimistic-heyrovsky","description":"","updated_at":"2020-03-19T14:42:56.646147Z","created_at":"2020-03-19T14:42:34.241251Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "400" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 19 Mar 2020 14:43:54 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 535f1d69-f600-4a32-8316-a38a27f2d4d6 - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a27ccbbc-deac-480d-a827-f51eca4d9b58 - method: GET - response: - body: '{"id":"a27ccbbc-deac-480d-a827-f51eca4d9b58","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-optimistic-heyrovsky","description":"","updated_at":"2020-03-19T14:42:56.646147Z","created_at":"2020-03-19T14:42:34.241251Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "400" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 19 Mar 2020 14:43:59 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 7e08cd00-6658-4e29-ad38-77e07b293e93 - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a27ccbbc-deac-480d-a827-f51eca4d9b58 - method: GET - response: - body: '{"id":"a27ccbbc-deac-480d-a827-f51eca4d9b58","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-optimistic-heyrovsky","description":"","updated_at":"2020-03-19T14:42:56.646147Z","created_at":"2020-03-19T14:42:34.241251Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "400" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 19 Mar 2020 14:44:04 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 65161d6e-61de-4325-a080-6f784d1d2ad4 - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a27ccbbc-deac-480d-a827-f51eca4d9b58 - method: GET - response: - body: '{"id":"a27ccbbc-deac-480d-a827-f51eca4d9b58","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-optimistic-heyrovsky","description":"","updated_at":"2020-03-19T14:42:56.646147Z","created_at":"2020-03-19T14:42:34.241251Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "400" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 19 Mar 2020 14:44:09 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - e2f94775-7007-4fda-809d-f32f3e932932 - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a27ccbbc-deac-480d-a827-f51eca4d9b58 - method: GET - response: - body: '{"id":"a27ccbbc-deac-480d-a827-f51eca4d9b58","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-optimistic-heyrovsky","description":"","updated_at":"2020-03-19T14:42:56.646147Z","created_at":"2020-03-19T14:42:34.241251Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "400" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 19 Mar 2020 14:44:14 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 485b79e4-2ba6-4d6f-8747-f076be1c5482 - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a27ccbbc-deac-480d-a827-f51eca4d9b58 - method: GET - response: - body: '{"id":"a27ccbbc-deac-480d-a827-f51eca4d9b58","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-optimistic-heyrovsky","description":"","updated_at":"2020-03-19T14:42:56.646147Z","created_at":"2020-03-19T14:42:34.241251Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "400" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 19 Mar 2020 14:44:19 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - d5003018-4c84-40d9-95ac-59ccf709f0bb - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a27ccbbc-deac-480d-a827-f51eca4d9b58 - method: GET - response: - body: '{"id":"a27ccbbc-deac-480d-a827-f51eca4d9b58","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-optimistic-heyrovsky","description":"","updated_at":"2020-03-19T14:42:56.646147Z","created_at":"2020-03-19T14:42:34.241251Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "400" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 19 Mar 2020 14:44:25 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - a3ec05e0-f5dc-4114-8f1c-2c0b99ca229d - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a27ccbbc-deac-480d-a827-f51eca4d9b58 - method: GET - response: - body: '{"id":"a27ccbbc-deac-480d-a827-f51eca4d9b58","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-optimistic-heyrovsky","description":"","updated_at":"2020-03-19T14:42:56.646147Z","created_at":"2020-03-19T14:42:34.241251Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "400" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 19 Mar 2020 14:44:30 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - f1f346e8-33cd-4588-97a3-3e74c19e6dea - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a27ccbbc-deac-480d-a827-f51eca4d9b58 - method: GET - response: - body: '{"id":"a27ccbbc-deac-480d-a827-f51eca4d9b58","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-optimistic-heyrovsky","description":"","updated_at":"2020-03-19T14:42:56.646147Z","created_at":"2020-03-19T14:42:34.241251Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "400" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 19 Mar 2020 14:44:35 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - e8a7a62e-3c87-43b8-8e21-0315ffbafd28 - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a27ccbbc-deac-480d-a827-f51eca4d9b58 - method: GET - response: - body: '{"id":"a27ccbbc-deac-480d-a827-f51eca4d9b58","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-optimistic-heyrovsky","description":"","updated_at":"2020-03-19T14:42:56.646147Z","created_at":"2020-03-19T14:42:34.241251Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "400" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 19 Mar 2020 14:44:40 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 8156459a-7763-4da2-90f2-6b4b04fc1b97 - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a27ccbbc-deac-480d-a827-f51eca4d9b58 - method: GET - response: - body: '{"id":"a27ccbbc-deac-480d-a827-f51eca4d9b58","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-optimistic-heyrovsky","description":"","updated_at":"2020-03-19T14:42:56.646147Z","created_at":"2020-03-19T14:42:34.241251Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "400" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 19 Mar 2020 14:44:45 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 10ea781e-3219-4d0e-a111-228002fc7ba9 - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a27ccbbc-deac-480d-a827-f51eca4d9b58 - method: GET - response: - body: '{"id":"a27ccbbc-deac-480d-a827-f51eca4d9b58","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-optimistic-heyrovsky","description":"","updated_at":"2020-03-19T14:42:56.646147Z","created_at":"2020-03-19T14:42:34.241251Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "400" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 19 Mar 2020 14:44:50 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - ca69aee8-24d5-4573-a82c-ed885dc61549 - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a27ccbbc-deac-480d-a827-f51eca4d9b58 - method: GET - response: - body: '{"id":"a27ccbbc-deac-480d-a827-f51eca4d9b58","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-optimistic-heyrovsky","description":"","updated_at":"2020-03-19T14:42:56.646147Z","created_at":"2020-03-19T14:42:34.241251Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "400" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 19 Mar 2020 14:44:55 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 58cc63c9-9cac-4b23-af82-0b5c9b3435f0 - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a27ccbbc-deac-480d-a827-f51eca4d9b58 - method: GET - response: - body: '{"id":"a27ccbbc-deac-480d-a827-f51eca4d9b58","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-optimistic-heyrovsky","description":"","updated_at":"2020-03-19T14:42:56.646147Z","created_at":"2020-03-19T14:42:34.241251Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "400" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 19 Mar 2020 14:45:00 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 72738985-91c8-4f18-9f13-b00db3eebe82 - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a27ccbbc-deac-480d-a827-f51eca4d9b58 - method: GET - response: - body: '{"id":"a27ccbbc-deac-480d-a827-f51eca4d9b58","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-optimistic-heyrovsky","description":"","updated_at":"2020-03-19T14:42:56.646147Z","created_at":"2020-03-19T14:42:34.241251Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "400" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 19 Mar 2020 14:45:05 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 5e326ff1-25fc-4b42-b1ea-aa1039bd1aa2 - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a27ccbbc-deac-480d-a827-f51eca4d9b58 - method: GET - response: - body: '{"id":"a27ccbbc-deac-480d-a827-f51eca4d9b58","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-optimistic-heyrovsky","description":"","updated_at":"2020-03-19T14:42:56.646147Z","created_at":"2020-03-19T14:42:34.241251Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "400" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 19 Mar 2020 14:45:10 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 2bf316c3-0b7e-4b82-9d39-473c062509a3 - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a27ccbbc-deac-480d-a827-f51eca4d9b58 - method: GET - response: - body: '{"id":"a27ccbbc-deac-480d-a827-f51eca4d9b58","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-optimistic-heyrovsky","description":"","updated_at":"2020-03-19T14:42:56.646147Z","created_at":"2020-03-19T14:42:34.241251Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "400" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 19 Mar 2020 14:45:15 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 89229402-cabe-4927-b00d-24fcc71d934f - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a27ccbbc-deac-480d-a827-f51eca4d9b58 - method: GET - response: - body: '{"id":"a27ccbbc-deac-480d-a827-f51eca4d9b58","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-optimistic-heyrovsky","description":"","updated_at":"2020-03-19T14:45:18.703005Z","created_at":"2020-03-19T14:42:34.241251Z","status":"ready","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[{"id":"a695d333-123b-43de-8e66-e1b7ebc1bc50","address":"2001:0bc8:1200:0000:dac4:97ff:fe5b:7429","reverse":"a27ccbbc-deac-480d-a827-f51eca4d9b58.fr-par-2.baremetal.scw.cloud","version":"Ipv6","reverse_status":"pending","reverse_status_message":null},{"id":"b4750757-7fbe-4f00-aafd-926dcaa34764","address":"51.159.56.123","reverse":"a27ccbbc-deac-480d-a827-f51eca4d9b58.fr-par-2.baremetal.scw.cloud","version":"Ipv4","reverse_status":"pending","reverse_status_message":null}],"domain":"a27ccbbc-deac-480d-a827-f51eca4d9b58.fr-par-2.baremetal.scw.cloud","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "932" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 19 Mar 2020 14:45:20 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - abf3e9bd-f86a-484c-a89d-e6d1abb45aae - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a27ccbbc-deac-480d-a827-f51eca4d9b58 + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/298714cd-d601-4073-af83-1ee941303597 method: DELETE response: - body: '{"id":"a27ccbbc-deac-480d-a827-f51eca4d9b58","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-optimistic-heyrovsky","description":"","updated_at":"2020-03-19T14:45:20.432275Z","created_at":"2020-03-19T14:42:34.241251Z","status":"deleting","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[{"id":"a695d333-123b-43de-8e66-e1b7ebc1bc50","address":"2001:0bc8:1200:0000:dac4:97ff:fe5b:7429","reverse":"a27ccbbc-deac-480d-a827-f51eca4d9b58.fr-par-2.baremetal.scw.cloud","version":"Ipv6","reverse_status":"pending","reverse_status_message":null},{"id":"b4750757-7fbe-4f00-aafd-926dcaa34764","address":"51.159.56.123","reverse":"a27ccbbc-deac-480d-a827-f51eca4d9b58.fr-par-2.baremetal.scw.cloud","version":"Ipv4","reverse_status":"pending","reverse_status_message":null}],"domain":"a27ccbbc-deac-480d-a827-f51eca4d9b58.fr-par-2.baremetal.scw.cloud","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"298714cd-d601-4073-af83-1ee941303597","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-silly-allen","description":"","updated_at":"2020-03-19T15:30:19.559416Z","created_at":"2020-03-19T15:26:33.884730Z","status":"deleting","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[{"id":"12bc3672-a8e5-47f3-aca9-89ccea32d3c0","address":"51.159.56.112","reverse":"298714cd-d601-4073-af83-1ee941303597.fr-par-2.baremetal.scw.cloud","version":"Ipv4","reverse_status":"pending","reverse_status_message":null},{"id":"b4f6910b-5c45-4370-9d8d-5898cb544f08","address":"2001:0bc8:1200:0000:dac4:97ff:fe5b:72fd","reverse":"298714cd-d601-4073-af83-1ee941303597.fr-par-2.baremetal.scw.cloud","version":"Ipv6","reverse_status":"pending","reverse_status_message":null}],"domain":"298714cd-d601-4073-af83-1ee941303597.fr-par-2.baremetal.scw.cloud","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "935" + - "926" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Mar 2020 14:45:20 GMT + - Thu, 19 Mar 2020 15:30:19 GMT Server: - scaleway_api Strict-Transport-Security: @@ -1190,7 +614,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - ab513bf5-6b59-4781-9dc1-7442734da7ec + - 63a6614a-5d75-464d-9185-31d568214f41 status: 200 OK code: 200 duration: "" diff --git a/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.stdout.golden b/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.stdout.golden index 6e2f2f6326..1351616837 100644 --- a/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.stdout.golden +++ b/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.stdout.golden @@ -1,6 +1,6 @@ -id a27ccbbc-deac-480d-a827-f51eca4d9b58 +id 298714cd-d601-4073-af83-1ee941303597 organization-id 951df375-e094-4d26-97c1-ba548eeb9c42 -name cli-bm-optimistic-heyrovsky +name cli-bm-silly-allen description - updated-at few seconds ago created-at few seconds ago diff --git a/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-tags.cassette.yaml b/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-tags.cassette.yaml index a0dcb191cf..c701a1deb3 100644 --- a/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-tags.cassette.yaml +++ b/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-tags.cassette.yaml @@ -26,7 +26,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 19 Mar 2020 14:42:33 GMT + - Thu, 19 Mar 2020 15:26:33 GMT Server: - scaleway_api Strict-Transport-Security: @@ -36,12 +36,12 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 97fc9612-b0fa-4e65-aa09-0812f4bab160 + - 639fec20-d742-46c3-9fc6-8ad9e9167c6c status: 200 OK code: 200 duration: "" - request: - body: '{"offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-wonderful-hamilton","description":"","tags":["prod","blue"]}' + body: '{"offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-heuristic-golick","description":"","tags":["prod","blue"]}' form: {} headers: Content-Type: @@ -51,16 +51,16 @@ interactions: url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers method: POST response: - body: '{"id":"be97d840-353b-47f6-8929-ebec8bc9e753","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-wonderful-hamilton","description":"","updated_at":"2020-03-19T14:42:34.232843878Z","created_at":"2020-03-19T14:42:34.232843878Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"51e00334-cadc-4f4f-a309-7afa91cd94f7","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-heuristic-golick","description":"","updated_at":"2020-03-19T15:26:33.868307498Z","created_at":"2020-03-19T15:26:33.868307498Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "417" + - "415" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Mar 2020 14:42:34 GMT + - Thu, 19 Mar 2020 15:26:33 GMT Server: - scaleway_api Strict-Transport-Security: @@ -70,7 +70,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 910d44cb-2990-4b96-ba5f-2a2aa66efebf + - 3919e550-890e-44db-a9f4-d5907cdff773 status: 200 OK code: 200 duration: "" @@ -80,19 +80,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/be97d840-353b-47f6-8929-ebec8bc9e753 + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/51e00334-cadc-4f4f-a309-7afa91cd94f7 method: GET response: - body: '{"id":"be97d840-353b-47f6-8929-ebec8bc9e753","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-wonderful-hamilton","description":"","updated_at":"2020-03-19T14:42:34.232844Z","created_at":"2020-03-19T14:42:34.232844Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"51e00334-cadc-4f4f-a309-7afa91cd94f7","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-heuristic-golick","description":"","updated_at":"2020-03-19T15:26:33.868307Z","created_at":"2020-03-19T15:26:33.868307Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "411" + - "409" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Mar 2020 14:42:34 GMT + - Thu, 19 Mar 2020 15:26:33 GMT Server: - scaleway_api Strict-Transport-Security: @@ -102,7 +102,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - ddd32bbd-c07e-4bf3-b06f-b3010a7e6cb3 + - a25a7c7f-ced3-4d4a-9e85-2352905eb369 status: 200 OK code: 200 duration: "" @@ -112,19 +112,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/be97d840-353b-47f6-8929-ebec8bc9e753 + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/51e00334-cadc-4f4f-a309-7afa91cd94f7 method: GET response: - body: '{"id":"be97d840-353b-47f6-8929-ebec8bc9e753","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-wonderful-hamilton","description":"","updated_at":"2020-03-19T14:42:34.892826Z","created_at":"2020-03-19T14:42:34.232844Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"51e00334-cadc-4f4f-a309-7afa91cd94f7","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-heuristic-golick","description":"","updated_at":"2020-03-19T15:26:34.546213Z","created_at":"2020-03-19T15:26:33.868307Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "411" + - "409" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Mar 2020 14:42:39 GMT + - Thu, 19 Mar 2020 15:26:48 GMT Server: - scaleway_api Strict-Transport-Security: @@ -134,7 +134,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - da68576c-209c-4d29-aa8d-0481940b3e46 + - b9e1d353-1c26-4515-be5b-4d8960104966 status: 200 OK code: 200 duration: "" @@ -144,19 +144,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/be97d840-353b-47f6-8929-ebec8bc9e753 + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/51e00334-cadc-4f4f-a309-7afa91cd94f7 method: GET response: - body: '{"id":"be97d840-353b-47f6-8929-ebec8bc9e753","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-wonderful-hamilton","description":"","updated_at":"2020-03-19T14:42:34.892826Z","created_at":"2020-03-19T14:42:34.232844Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"51e00334-cadc-4f4f-a309-7afa91cd94f7","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-heuristic-golick","description":"","updated_at":"2020-03-19T15:26:34.546213Z","created_at":"2020-03-19T15:26:33.868307Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "411" + - "409" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Mar 2020 14:42:44 GMT + - Thu, 19 Mar 2020 15:27:03 GMT Server: - scaleway_api Strict-Transport-Security: @@ -166,7 +166,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 09704322-255c-4241-a581-4040db369236 + - 3741a28a-8267-4421-ba1c-940df93cb83d status: 200 OK code: 200 duration: "" @@ -176,19 +176,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/be97d840-353b-47f6-8929-ebec8bc9e753 + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/51e00334-cadc-4f4f-a309-7afa91cd94f7 method: GET response: - body: '{"id":"be97d840-353b-47f6-8929-ebec8bc9e753","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-wonderful-hamilton","description":"","updated_at":"2020-03-19T14:42:34.892826Z","created_at":"2020-03-19T14:42:34.232844Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"51e00334-cadc-4f4f-a309-7afa91cd94f7","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-heuristic-golick","description":"","updated_at":"2020-03-19T15:26:34.546213Z","created_at":"2020-03-19T15:26:33.868307Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "411" + - "409" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Mar 2020 14:42:49 GMT + - Thu, 19 Mar 2020 15:27:18 GMT Server: - scaleway_api Strict-Transport-Security: @@ -198,7 +198,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 4e0474dc-03dc-4db3-b8f1-911f73075ffd + - ce4b87e1-5bbc-475c-b99d-1fa150674c1c status: 200 OK code: 200 duration: "" @@ -208,19 +208,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/be97d840-353b-47f6-8929-ebec8bc9e753 + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/51e00334-cadc-4f4f-a309-7afa91cd94f7 method: GET response: - body: '{"id":"be97d840-353b-47f6-8929-ebec8bc9e753","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-wonderful-hamilton","description":"","updated_at":"2020-03-19T14:42:34.892826Z","created_at":"2020-03-19T14:42:34.232844Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"51e00334-cadc-4f4f-a309-7afa91cd94f7","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-heuristic-golick","description":"","updated_at":"2020-03-19T15:26:34.546213Z","created_at":"2020-03-19T15:26:33.868307Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "411" + - "409" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Mar 2020 14:42:54 GMT + - Thu, 19 Mar 2020 15:27:33 GMT Server: - scaleway_api Strict-Transport-Security: @@ -230,7 +230,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 1cc993c6-97f1-4b5c-9861-c5ce1f533591 + - ef265d65-fb9d-448f-9191-f043f19d04a6 status: 200 OK code: 200 duration: "" @@ -240,19 +240,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/be97d840-353b-47f6-8929-ebec8bc9e753 + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/51e00334-cadc-4f4f-a309-7afa91cd94f7 method: GET response: - body: '{"id":"be97d840-353b-47f6-8929-ebec8bc9e753","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-wonderful-hamilton","description":"","updated_at":"2020-03-19T14:42:34.892826Z","created_at":"2020-03-19T14:42:34.232844Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"51e00334-cadc-4f4f-a309-7afa91cd94f7","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-heuristic-golick","description":"","updated_at":"2020-03-19T15:26:34.546213Z","created_at":"2020-03-19T15:26:33.868307Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "411" + - "409" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Mar 2020 14:42:59 GMT + - Thu, 19 Mar 2020 15:27:48 GMT Server: - scaleway_api Strict-Transport-Security: @@ -262,7 +262,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - d3c377b3-50f2-4dda-8549-2cfd75868052 + - 6c23c1bf-f568-451a-9240-41c5866c7510 status: 200 OK code: 200 duration: "" @@ -272,19 +272,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/be97d840-353b-47f6-8929-ebec8bc9e753 + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/51e00334-cadc-4f4f-a309-7afa91cd94f7 method: GET response: - body: '{"id":"be97d840-353b-47f6-8929-ebec8bc9e753","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-wonderful-hamilton","description":"","updated_at":"2020-03-19T14:42:34.892826Z","created_at":"2020-03-19T14:42:34.232844Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"51e00334-cadc-4f4f-a309-7afa91cd94f7","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-heuristic-golick","description":"","updated_at":"2020-03-19T15:26:34.546213Z","created_at":"2020-03-19T15:26:33.868307Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "411" + - "409" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Mar 2020 14:43:04 GMT + - Thu, 19 Mar 2020 15:28:03 GMT Server: - scaleway_api Strict-Transport-Security: @@ -294,7 +294,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 67fdea5f-d675-401c-8ead-9f82f6f78c2a + - 1a71e917-3d83-4cfb-a890-fdd719637212 status: 200 OK code: 200 duration: "" @@ -304,19 +304,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/be97d840-353b-47f6-8929-ebec8bc9e753 + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/51e00334-cadc-4f4f-a309-7afa91cd94f7 method: GET response: - body: '{"id":"be97d840-353b-47f6-8929-ebec8bc9e753","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-wonderful-hamilton","description":"","updated_at":"2020-03-19T14:42:34.892826Z","created_at":"2020-03-19T14:42:34.232844Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"51e00334-cadc-4f4f-a309-7afa91cd94f7","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-heuristic-golick","description":"","updated_at":"2020-03-19T15:26:34.546213Z","created_at":"2020-03-19T15:26:33.868307Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "411" + - "409" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Mar 2020 14:43:09 GMT + - Thu, 19 Mar 2020 15:28:18 GMT Server: - scaleway_api Strict-Transport-Security: @@ -326,7 +326,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - af099bcb-5bea-47f0-8efd-10d03518f959 + - 7e61c0f6-ed15-4a0d-b752-82a97adaba2b status: 200 OK code: 200 duration: "" @@ -336,19 +336,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/be97d840-353b-47f6-8929-ebec8bc9e753 + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/51e00334-cadc-4f4f-a309-7afa91cd94f7 method: GET response: - body: '{"id":"be97d840-353b-47f6-8929-ebec8bc9e753","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-wonderful-hamilton","description":"","updated_at":"2020-03-19T14:42:34.892826Z","created_at":"2020-03-19T14:42:34.232844Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"51e00334-cadc-4f4f-a309-7afa91cd94f7","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-heuristic-golick","description":"","updated_at":"2020-03-19T15:26:34.546213Z","created_at":"2020-03-19T15:26:33.868307Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "411" + - "409" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Mar 2020 14:43:14 GMT + - Thu, 19 Mar 2020 15:28:33 GMT Server: - scaleway_api Strict-Transport-Security: @@ -358,7 +358,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 8977f4a4-654a-46ac-90b6-8d592594d13b + - b80dbb66-144e-4365-b3da-f4e6d500311f status: 200 OK code: 200 duration: "" @@ -368,19 +368,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/be97d840-353b-47f6-8929-ebec8bc9e753 + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/51e00334-cadc-4f4f-a309-7afa91cd94f7 method: GET response: - body: '{"id":"be97d840-353b-47f6-8929-ebec8bc9e753","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-wonderful-hamilton","description":"","updated_at":"2020-03-19T14:42:34.892826Z","created_at":"2020-03-19T14:42:34.232844Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"51e00334-cadc-4f4f-a309-7afa91cd94f7","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-heuristic-golick","description":"","updated_at":"2020-03-19T15:26:34.546213Z","created_at":"2020-03-19T15:26:33.868307Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "411" + - "409" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Mar 2020 14:43:19 GMT + - Thu, 19 Mar 2020 15:28:48 GMT Server: - scaleway_api Strict-Transport-Security: @@ -390,7 +390,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 486338b3-b303-4b26-a6d8-5af5e6ea70cb + - 16c038c9-72c3-4097-9b23-4f7b1a7224cc status: 200 OK code: 200 duration: "" @@ -400,19 +400,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/be97d840-353b-47f6-8929-ebec8bc9e753 + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/51e00334-cadc-4f4f-a309-7afa91cd94f7 method: GET response: - body: '{"id":"be97d840-353b-47f6-8929-ebec8bc9e753","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-wonderful-hamilton","description":"","updated_at":"2020-03-19T14:42:34.892826Z","created_at":"2020-03-19T14:42:34.232844Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"51e00334-cadc-4f4f-a309-7afa91cd94f7","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-heuristic-golick","description":"","updated_at":"2020-03-19T15:26:34.546213Z","created_at":"2020-03-19T15:26:33.868307Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "411" + - "409" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Mar 2020 14:43:24 GMT + - Thu, 19 Mar 2020 15:29:03 GMT Server: - scaleway_api Strict-Transport-Security: @@ -422,7 +422,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - fe7428a6-d8bb-499f-8bd1-c7de64ea72c0 + - ad84c35d-6b61-4930-b7ce-0354d012d284 status: 200 OK code: 200 duration: "" @@ -432,19 +432,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/be97d840-353b-47f6-8929-ebec8bc9e753 + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/51e00334-cadc-4f4f-a309-7afa91cd94f7 method: GET response: - body: '{"id":"be97d840-353b-47f6-8929-ebec8bc9e753","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-wonderful-hamilton","description":"","updated_at":"2020-03-19T14:42:34.892826Z","created_at":"2020-03-19T14:42:34.232844Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"51e00334-cadc-4f4f-a309-7afa91cd94f7","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-heuristic-golick","description":"","updated_at":"2020-03-19T15:26:34.546213Z","created_at":"2020-03-19T15:26:33.868307Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "411" + - "409" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Mar 2020 14:43:29 GMT + - Thu, 19 Mar 2020 15:29:18 GMT Server: - scaleway_api Strict-Transport-Security: @@ -454,7 +454,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 1174be13-e2e9-4512-998f-ab3643ad3963 + - aaa68825-d555-44af-8aa3-4575658f1131 status: 200 OK code: 200 duration: "" @@ -464,19 +464,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/be97d840-353b-47f6-8929-ebec8bc9e753 + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/51e00334-cadc-4f4f-a309-7afa91cd94f7 method: GET response: - body: '{"id":"be97d840-353b-47f6-8929-ebec8bc9e753","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-wonderful-hamilton","description":"","updated_at":"2020-03-19T14:42:34.892826Z","created_at":"2020-03-19T14:42:34.232844Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"51e00334-cadc-4f4f-a309-7afa91cd94f7","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-heuristic-golick","description":"","updated_at":"2020-03-19T15:26:34.546213Z","created_at":"2020-03-19T15:26:33.868307Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "411" + - "409" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Mar 2020 14:43:34 GMT + - Thu, 19 Mar 2020 15:29:34 GMT Server: - scaleway_api Strict-Transport-Security: @@ -486,7 +486,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 3c3316e8-e930-4cab-9af7-16a81c1490e3 + - 4c63b59b-a287-4fa1-8055-ea00b6b39471 status: 200 OK code: 200 duration: "" @@ -496,19 +496,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/be97d840-353b-47f6-8929-ebec8bc9e753 + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/51e00334-cadc-4f4f-a309-7afa91cd94f7 method: GET response: - body: '{"id":"be97d840-353b-47f6-8929-ebec8bc9e753","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-wonderful-hamilton","description":"","updated_at":"2020-03-19T14:42:34.892826Z","created_at":"2020-03-19T14:42:34.232844Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"51e00334-cadc-4f4f-a309-7afa91cd94f7","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-heuristic-golick","description":"","updated_at":"2020-03-19T15:26:34.546213Z","created_at":"2020-03-19T15:26:33.868307Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "411" + - "409" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Mar 2020 14:43:39 GMT + - Thu, 19 Mar 2020 15:29:49 GMT Server: - scaleway_api Strict-Transport-Security: @@ -518,7 +518,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 4ee069b3-eb86-4940-aded-3e50e7600f0f + - daa5cc82-dfb8-4f2f-9480-1adbc82a83b4 status: 200 OK code: 200 duration: "" @@ -528,19 +528,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/be97d840-353b-47f6-8929-ebec8bc9e753 + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/51e00334-cadc-4f4f-a309-7afa91cd94f7 method: GET response: - body: '{"id":"be97d840-353b-47f6-8929-ebec8bc9e753","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-wonderful-hamilton","description":"","updated_at":"2020-03-19T14:42:34.892826Z","created_at":"2020-03-19T14:42:34.232844Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"51e00334-cadc-4f4f-a309-7afa91cd94f7","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-heuristic-golick","description":"","updated_at":"2020-03-19T15:26:34.546213Z","created_at":"2020-03-19T15:26:33.868307Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "411" + - "409" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Mar 2020 14:43:44 GMT + - Thu, 19 Mar 2020 15:30:04 GMT Server: - scaleway_api Strict-Transport-Security: @@ -550,7 +550,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 0fa7c816-eedc-4e26-8a70-ecc56a9a309e + - 78483dbe-9246-4b14-b10b-838f2832c846 status: 200 OK code: 200 duration: "" @@ -560,19 +560,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/be97d840-353b-47f6-8929-ebec8bc9e753 + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/51e00334-cadc-4f4f-a309-7afa91cd94f7 method: GET response: - body: '{"id":"be97d840-353b-47f6-8929-ebec8bc9e753","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-wonderful-hamilton","description":"","updated_at":"2020-03-19T14:42:34.892826Z","created_at":"2020-03-19T14:42:34.232844Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"51e00334-cadc-4f4f-a309-7afa91cd94f7","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-heuristic-golick","description":"","updated_at":"2020-03-19T15:30:17.142178Z","created_at":"2020-03-19T15:26:33.868307Z","status":"ready","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[{"id":"85d9d591-fd7a-4186-9f30-ffd2cc19bcee","address":"51.159.56.111","reverse":"51e00334-cadc-4f4f-a309-7afa91cd94f7.fr-par-2.baremetal.scw.cloud","version":"Ipv4","reverse_status":"pending","reverse_status_message":null},{"id":"d6aa7362-f91f-4794-863e-1580b1fa51c9","address":"2001:0bc8:1200:0000:dac4:97ff:fe5b:75e1","reverse":"51e00334-cadc-4f4f-a309-7afa91cd94f7.fr-par-2.baremetal.scw.cloud","version":"Ipv6","reverse_status":"pending","reverse_status_message":null}],"domain":"51e00334-cadc-4f4f-a309-7afa91cd94f7.fr-par-2.baremetal.scw.cloud","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "411" + - "941" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Mar 2020 14:43:49 GMT + - Thu, 19 Mar 2020 15:30:19 GMT Server: - scaleway_api Strict-Transport-Security: @@ -582,7 +582,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 673dc977-273a-4140-85a7-86620e787764 + - 2277bee3-49cc-4e13-956d-9f9e02cd6cbb status: 200 OK code: 200 duration: "" @@ -592,595 +592,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/be97d840-353b-47f6-8929-ebec8bc9e753 - method: GET - response: - body: '{"id":"be97d840-353b-47f6-8929-ebec8bc9e753","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-wonderful-hamilton","description":"","updated_at":"2020-03-19T14:42:34.892826Z","created_at":"2020-03-19T14:42:34.232844Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "411" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 19 Mar 2020 14:43:54 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 86be6d84-2382-40a6-99ba-83807b369fc0 - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/be97d840-353b-47f6-8929-ebec8bc9e753 - method: GET - response: - body: '{"id":"be97d840-353b-47f6-8929-ebec8bc9e753","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-wonderful-hamilton","description":"","updated_at":"2020-03-19T14:42:34.892826Z","created_at":"2020-03-19T14:42:34.232844Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "411" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 19 Mar 2020 14:43:59 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 94562027-0706-44cb-b752-5168175d4641 - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/be97d840-353b-47f6-8929-ebec8bc9e753 - method: GET - response: - body: '{"id":"be97d840-353b-47f6-8929-ebec8bc9e753","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-wonderful-hamilton","description":"","updated_at":"2020-03-19T14:42:34.892826Z","created_at":"2020-03-19T14:42:34.232844Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "411" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 19 Mar 2020 14:44:04 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 43ff5aab-d0db-4004-a3f8-caa9722acf89 - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/be97d840-353b-47f6-8929-ebec8bc9e753 - method: GET - response: - body: '{"id":"be97d840-353b-47f6-8929-ebec8bc9e753","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-wonderful-hamilton","description":"","updated_at":"2020-03-19T14:42:34.892826Z","created_at":"2020-03-19T14:42:34.232844Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "411" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 19 Mar 2020 14:44:09 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - f1843e1b-fa2b-4b30-985d-c1d61ff5be5a - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/be97d840-353b-47f6-8929-ebec8bc9e753 - method: GET - response: - body: '{"id":"be97d840-353b-47f6-8929-ebec8bc9e753","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-wonderful-hamilton","description":"","updated_at":"2020-03-19T14:42:34.892826Z","created_at":"2020-03-19T14:42:34.232844Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "411" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 19 Mar 2020 14:44:14 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - cb06453f-0ca9-4b62-9775-8aeadb8b4ff1 - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/be97d840-353b-47f6-8929-ebec8bc9e753 - method: GET - response: - body: '{"id":"be97d840-353b-47f6-8929-ebec8bc9e753","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-wonderful-hamilton","description":"","updated_at":"2020-03-19T14:42:34.892826Z","created_at":"2020-03-19T14:42:34.232844Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "411" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 19 Mar 2020 14:44:19 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 40bdaa91-a7c4-41f0-8395-58a698ad4811 - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/be97d840-353b-47f6-8929-ebec8bc9e753 - method: GET - response: - body: '{"id":"be97d840-353b-47f6-8929-ebec8bc9e753","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-wonderful-hamilton","description":"","updated_at":"2020-03-19T14:42:34.892826Z","created_at":"2020-03-19T14:42:34.232844Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "411" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 19 Mar 2020 14:44:25 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 7b9f033b-d06b-41a8-998d-f424d07e0215 - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/be97d840-353b-47f6-8929-ebec8bc9e753 - method: GET - response: - body: '{"id":"be97d840-353b-47f6-8929-ebec8bc9e753","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-wonderful-hamilton","description":"","updated_at":"2020-03-19T14:42:34.892826Z","created_at":"2020-03-19T14:42:34.232844Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "411" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 19 Mar 2020 14:44:30 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 486d6a9a-2b27-4db3-b182-983f352fba80 - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/be97d840-353b-47f6-8929-ebec8bc9e753 - method: GET - response: - body: '{"id":"be97d840-353b-47f6-8929-ebec8bc9e753","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-wonderful-hamilton","description":"","updated_at":"2020-03-19T14:42:34.892826Z","created_at":"2020-03-19T14:42:34.232844Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "411" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 19 Mar 2020 14:44:35 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 745e421e-c7cd-469d-b6f6-5ee1d6753ca4 - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/be97d840-353b-47f6-8929-ebec8bc9e753 - method: GET - response: - body: '{"id":"be97d840-353b-47f6-8929-ebec8bc9e753","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-wonderful-hamilton","description":"","updated_at":"2020-03-19T14:42:34.892826Z","created_at":"2020-03-19T14:42:34.232844Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "411" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 19 Mar 2020 14:44:40 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 1f69fb61-a576-45af-8945-ce68f0e6bc09 - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/be97d840-353b-47f6-8929-ebec8bc9e753 - method: GET - response: - body: '{"id":"be97d840-353b-47f6-8929-ebec8bc9e753","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-wonderful-hamilton","description":"","updated_at":"2020-03-19T14:42:34.892826Z","created_at":"2020-03-19T14:42:34.232844Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "411" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 19 Mar 2020 14:44:45 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 450c8ca7-4ce9-409f-98c4-e6cffdfd0ac8 - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/be97d840-353b-47f6-8929-ebec8bc9e753 - method: GET - response: - body: '{"id":"be97d840-353b-47f6-8929-ebec8bc9e753","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-wonderful-hamilton","description":"","updated_at":"2020-03-19T14:42:34.892826Z","created_at":"2020-03-19T14:42:34.232844Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "411" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 19 Mar 2020 14:44:50 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 2fef508c-589a-43fe-ac3e-e13c5cc6e8cd - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/be97d840-353b-47f6-8929-ebec8bc9e753 - method: GET - response: - body: '{"id":"be97d840-353b-47f6-8929-ebec8bc9e753","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-wonderful-hamilton","description":"","updated_at":"2020-03-19T14:42:34.892826Z","created_at":"2020-03-19T14:42:34.232844Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "411" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 19 Mar 2020 14:44:55 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 98534bdd-dbc2-4249-b198-071eb4160134 - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/be97d840-353b-47f6-8929-ebec8bc9e753 - method: GET - response: - body: '{"id":"be97d840-353b-47f6-8929-ebec8bc9e753","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-wonderful-hamilton","description":"","updated_at":"2020-03-19T14:42:34.892826Z","created_at":"2020-03-19T14:42:34.232844Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "411" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 19 Mar 2020 14:45:00 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 0ac88eeb-e00b-4ceb-8e79-0135f3dfad26 - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/be97d840-353b-47f6-8929-ebec8bc9e753 - method: GET - response: - body: '{"id":"be97d840-353b-47f6-8929-ebec8bc9e753","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-wonderful-hamilton","description":"","updated_at":"2020-03-19T14:42:34.892826Z","created_at":"2020-03-19T14:42:34.232844Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "411" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 19 Mar 2020 14:45:05 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - f29c8b6c-c109-4ebd-bf8d-c9b713c3e36b - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/be97d840-353b-47f6-8929-ebec8bc9e753 - method: GET - response: - body: '{"id":"be97d840-353b-47f6-8929-ebec8bc9e753","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-wonderful-hamilton","description":"","updated_at":"2020-03-19T14:42:34.892826Z","created_at":"2020-03-19T14:42:34.232844Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "411" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 19 Mar 2020 14:45:10 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 95de6d3f-966e-4163-9af9-6158d842c3f6 - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/be97d840-353b-47f6-8929-ebec8bc9e753 - method: GET - response: - body: '{"id":"be97d840-353b-47f6-8929-ebec8bc9e753","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-wonderful-hamilton","description":"","updated_at":"2020-03-19T14:42:34.892826Z","created_at":"2020-03-19T14:42:34.232844Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "411" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 19 Mar 2020 14:45:15 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 3485ac95-90d1-47d2-8d82-fcf2de10c78e - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/be97d840-353b-47f6-8929-ebec8bc9e753 - method: GET - response: - body: '{"id":"be97d840-353b-47f6-8929-ebec8bc9e753","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-wonderful-hamilton","description":"","updated_at":"2020-03-19T14:45:16.721321Z","created_at":"2020-03-19T14:42:34.232844Z","status":"ready","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[{"id":"cf3e22ce-429f-4034-ac3b-662d16659517","address":"51.159.56.113","reverse":"be97d840-353b-47f6-8929-ebec8bc9e753.fr-par-2.baremetal.scw.cloud","version":"Ipv4","reverse_status":"pending","reverse_status_message":null},{"id":"f2fa09bd-2fd1-4587-82d3-4a3ff1dd6194","address":"2001:0bc8:1200:0000:dac4:97ff:fe5b:7aad","reverse":"be97d840-353b-47f6-8929-ebec8bc9e753.fr-par-2.baremetal.scw.cloud","version":"Ipv6","reverse_status":"pending","reverse_status_message":null}],"domain":"be97d840-353b-47f6-8929-ebec8bc9e753.fr-par-2.baremetal.scw.cloud","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "943" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 19 Mar 2020 14:45:20 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 7d13fb2b-7b13-4446-8434-0e19790d6353 - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/be97d840-353b-47f6-8929-ebec8bc9e753 + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/51e00334-cadc-4f4f-a309-7afa91cd94f7 method: DELETE response: - body: '{"id":"be97d840-353b-47f6-8929-ebec8bc9e753","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-wonderful-hamilton","description":"","updated_at":"2020-03-19T14:45:20.492789Z","created_at":"2020-03-19T14:42:34.232844Z","status":"deleting","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[{"id":"cf3e22ce-429f-4034-ac3b-662d16659517","address":"51.159.56.113","reverse":"be97d840-353b-47f6-8929-ebec8bc9e753.fr-par-2.baremetal.scw.cloud","version":"Ipv4","reverse_status":"pending","reverse_status_message":null},{"id":"f2fa09bd-2fd1-4587-82d3-4a3ff1dd6194","address":"2001:0bc8:1200:0000:dac4:97ff:fe5b:7aad","reverse":"be97d840-353b-47f6-8929-ebec8bc9e753.fr-par-2.baremetal.scw.cloud","version":"Ipv6","reverse_status":"pending","reverse_status_message":null}],"domain":"be97d840-353b-47f6-8929-ebec8bc9e753.fr-par-2.baremetal.scw.cloud","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"51e00334-cadc-4f4f-a309-7afa91cd94f7","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-heuristic-golick","description":"","updated_at":"2020-03-19T15:30:19.558274Z","created_at":"2020-03-19T15:26:33.868307Z","status":"deleting","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[{"id":"85d9d591-fd7a-4186-9f30-ffd2cc19bcee","address":"51.159.56.111","reverse":"51e00334-cadc-4f4f-a309-7afa91cd94f7.fr-par-2.baremetal.scw.cloud","version":"Ipv4","reverse_status":"pending","reverse_status_message":null},{"id":"d6aa7362-f91f-4794-863e-1580b1fa51c9","address":"2001:0bc8:1200:0000:dac4:97ff:fe5b:75e1","reverse":"51e00334-cadc-4f4f-a309-7afa91cd94f7.fr-par-2.baremetal.scw.cloud","version":"Ipv6","reverse_status":"pending","reverse_status_message":null}],"domain":"51e00334-cadc-4f4f-a309-7afa91cd94f7.fr-par-2.baremetal.scw.cloud","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "946" + - "944" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Mar 2020 14:45:20 GMT + - Thu, 19 Mar 2020 15:30:19 GMT Server: - scaleway_api Strict-Transport-Security: @@ -1190,7 +614,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - d253d393-3663-43b3-9343-e2714dc3c1f8 + - 70b63fcd-1d01-463e-be85-155f3270466e status: 200 OK code: 200 duration: "" diff --git a/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-with-name.cassette.yaml b/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-with-name.cassette.yaml index 18c0bf1202..bc6e48c1c3 100644 --- a/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-with-name.cassette.yaml +++ b/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-with-name.cassette.yaml @@ -26,7 +26,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 19 Mar 2020 14:42:33 GMT + - Thu, 19 Mar 2020 15:26:33 GMT Server: - scaleway_api Strict-Transport-Security: @@ -36,7 +36,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - a9d19cf9-6209-443e-b60d-c63942a0aebf + - 6c4fc976-8e2e-4242-85e5-8c6eadb479d9 status: 200 OK code: 200 duration: "" @@ -51,7 +51,7 @@ interactions: url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers method: POST response: - body: '{"id":"47d42b1d-2d01-48ec-a6bb-2df21af1b4f7","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-19T14:42:34.236156187Z","created_at":"2020-03-19T14:42:34.236156187Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"b0b0b145-9396-44c1-bdb0-9639e091e3f4","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-19T15:26:33.871826495Z","created_at":"2020-03-19T15:26:33.871826495Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - "407" @@ -60,7 +60,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 19 Mar 2020 14:42:34 GMT + - Thu, 19 Mar 2020 15:26:33 GMT Server: - scaleway_api Strict-Transport-Security: @@ -70,7 +70,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 7876c846-ef3b-4555-a2da-5ec279bebd79 + - 9bb27d46-32f2-4f9f-b45b-17d574cb46f9 status: 200 OK code: 200 duration: "" @@ -80,10 +80,10 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/47d42b1d-2d01-48ec-a6bb-2df21af1b4f7 + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/b0b0b145-9396-44c1-bdb0-9639e091e3f4 method: GET response: - body: '{"id":"47d42b1d-2d01-48ec-a6bb-2df21af1b4f7","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-19T14:42:34.236156Z","created_at":"2020-03-19T14:42:34.236156Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"b0b0b145-9396-44c1-bdb0-9639e091e3f4","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-19T15:26:33.871826Z","created_at":"2020-03-19T15:26:33.871826Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - "401" @@ -92,7 +92,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 19 Mar 2020 14:42:34 GMT + - Thu, 19 Mar 2020 15:26:33 GMT Server: - scaleway_api Strict-Transport-Security: @@ -102,7 +102,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - e3a039b4-ea82-4e95-87f3-ad8feea72076 + - b58fe1f0-9914-4550-a590-0a82275c4217 status: 200 OK code: 200 duration: "" @@ -112,10 +112,10 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/47d42b1d-2d01-48ec-a6bb-2df21af1b4f7 + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/b0b0b145-9396-44c1-bdb0-9639e091e3f4 method: GET response: - body: '{"id":"47d42b1d-2d01-48ec-a6bb-2df21af1b4f7","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-19T14:42:34.236156Z","created_at":"2020-03-19T14:42:34.236156Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"b0b0b145-9396-44c1-bdb0-9639e091e3f4","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-19T15:26:34.400800Z","created_at":"2020-03-19T15:26:33.871826Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - "401" @@ -124,7 +124,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 19 Mar 2020 14:42:39 GMT + - Thu, 19 Mar 2020 15:26:48 GMT Server: - scaleway_api Strict-Transport-Security: @@ -134,7 +134,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - c8e4d82e-6aab-4913-9f89-d78a47709c01 + - d3cacbcb-6094-4ae0-900a-de3428a49829 status: 200 OK code: 200 duration: "" @@ -144,10 +144,10 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/47d42b1d-2d01-48ec-a6bb-2df21af1b4f7 + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/b0b0b145-9396-44c1-bdb0-9639e091e3f4 method: GET response: - body: '{"id":"47d42b1d-2d01-48ec-a6bb-2df21af1b4f7","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-19T14:42:34.236156Z","created_at":"2020-03-19T14:42:34.236156Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"b0b0b145-9396-44c1-bdb0-9639e091e3f4","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-19T15:26:34.400800Z","created_at":"2020-03-19T15:26:33.871826Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - "401" @@ -156,7 +156,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 19 Mar 2020 14:42:44 GMT + - Thu, 19 Mar 2020 15:27:03 GMT Server: - scaleway_api Strict-Transport-Security: @@ -166,7 +166,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 6681ed96-21f9-4e14-a946-a25564700aeb + - 3fb05bbc-3054-4db1-b73d-e4d7a698955d status: 200 OK code: 200 duration: "" @@ -176,10 +176,10 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/47d42b1d-2d01-48ec-a6bb-2df21af1b4f7 + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/b0b0b145-9396-44c1-bdb0-9639e091e3f4 method: GET response: - body: '{"id":"47d42b1d-2d01-48ec-a6bb-2df21af1b4f7","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-19T14:42:34.236156Z","created_at":"2020-03-19T14:42:34.236156Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"b0b0b145-9396-44c1-bdb0-9639e091e3f4","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-19T15:26:34.400800Z","created_at":"2020-03-19T15:26:33.871826Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - "401" @@ -188,7 +188,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 19 Mar 2020 14:42:49 GMT + - Thu, 19 Mar 2020 15:27:18 GMT Server: - scaleway_api Strict-Transport-Security: @@ -198,7 +198,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 4947da50-5bb0-404c-9ea5-ebb13f3506a7 + - d1165217-959f-41be-a885-51da4caf5471 status: 200 OK code: 200 duration: "" @@ -208,10 +208,10 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/47d42b1d-2d01-48ec-a6bb-2df21af1b4f7 + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/b0b0b145-9396-44c1-bdb0-9639e091e3f4 method: GET response: - body: '{"id":"47d42b1d-2d01-48ec-a6bb-2df21af1b4f7","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-19T14:42:34.236156Z","created_at":"2020-03-19T14:42:34.236156Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"b0b0b145-9396-44c1-bdb0-9639e091e3f4","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-19T15:26:34.400800Z","created_at":"2020-03-19T15:26:33.871826Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - "401" @@ -220,7 +220,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 19 Mar 2020 14:42:54 GMT + - Thu, 19 Mar 2020 15:27:33 GMT Server: - scaleway_api Strict-Transport-Security: @@ -230,7 +230,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 6c3a7b97-3260-46a9-8a52-6bf5228e80bd + - 26fce310-d7d2-41de-8433-96ff1ec5539c status: 200 OK code: 200 duration: "" @@ -240,10 +240,10 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/47d42b1d-2d01-48ec-a6bb-2df21af1b4f7 + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/b0b0b145-9396-44c1-bdb0-9639e091e3f4 method: GET response: - body: '{"id":"47d42b1d-2d01-48ec-a6bb-2df21af1b4f7","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-19T14:42:55.718951Z","created_at":"2020-03-19T14:42:34.236156Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"b0b0b145-9396-44c1-bdb0-9639e091e3f4","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-19T15:26:34.400800Z","created_at":"2020-03-19T15:26:33.871826Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - "401" @@ -252,7 +252,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 19 Mar 2020 14:42:59 GMT + - Thu, 19 Mar 2020 15:27:48 GMT Server: - scaleway_api Strict-Transport-Security: @@ -262,7 +262,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 07761298-4b25-4fcd-8aee-2676ac006112 + - 3990f728-b282-4739-9a09-108f25d2883c status: 200 OK code: 200 duration: "" @@ -272,10 +272,10 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/47d42b1d-2d01-48ec-a6bb-2df21af1b4f7 + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/b0b0b145-9396-44c1-bdb0-9639e091e3f4 method: GET response: - body: '{"id":"47d42b1d-2d01-48ec-a6bb-2df21af1b4f7","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-19T14:42:55.718951Z","created_at":"2020-03-19T14:42:34.236156Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"b0b0b145-9396-44c1-bdb0-9639e091e3f4","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-19T15:26:34.400800Z","created_at":"2020-03-19T15:26:33.871826Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - "401" @@ -284,7 +284,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 19 Mar 2020 14:43:04 GMT + - Thu, 19 Mar 2020 15:28:03 GMT Server: - scaleway_api Strict-Transport-Security: @@ -294,7 +294,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - ade50d2b-e30b-4325-ae98-fff2404645fa + - c6878c55-ec22-4028-8dfe-dbed4a7901ad status: 200 OK code: 200 duration: "" @@ -304,10 +304,10 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/47d42b1d-2d01-48ec-a6bb-2df21af1b4f7 + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/b0b0b145-9396-44c1-bdb0-9639e091e3f4 method: GET response: - body: '{"id":"47d42b1d-2d01-48ec-a6bb-2df21af1b4f7","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-19T14:42:55.718951Z","created_at":"2020-03-19T14:42:34.236156Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"b0b0b145-9396-44c1-bdb0-9639e091e3f4","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-19T15:26:34.400800Z","created_at":"2020-03-19T15:26:33.871826Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - "401" @@ -316,7 +316,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 19 Mar 2020 14:43:09 GMT + - Thu, 19 Mar 2020 15:28:18 GMT Server: - scaleway_api Strict-Transport-Security: @@ -326,7 +326,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 18828995-fe24-4cc5-aa68-f15e0619e763 + - 44544988-aef3-48d7-8acd-f0b1bd5bdb9e status: 200 OK code: 200 duration: "" @@ -336,10 +336,10 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/47d42b1d-2d01-48ec-a6bb-2df21af1b4f7 + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/b0b0b145-9396-44c1-bdb0-9639e091e3f4 method: GET response: - body: '{"id":"47d42b1d-2d01-48ec-a6bb-2df21af1b4f7","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-19T14:42:55.718951Z","created_at":"2020-03-19T14:42:34.236156Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"b0b0b145-9396-44c1-bdb0-9639e091e3f4","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-19T15:26:34.400800Z","created_at":"2020-03-19T15:26:33.871826Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - "401" @@ -348,7 +348,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 19 Mar 2020 14:43:14 GMT + - Thu, 19 Mar 2020 15:28:33 GMT Server: - scaleway_api Strict-Transport-Security: @@ -358,7 +358,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 6fe0ac2d-325a-43d4-ba42-e22b284f5d48 + - e9a9b253-8a27-4d3a-a71d-b5ef83edabc2 status: 200 OK code: 200 duration: "" @@ -368,10 +368,10 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/47d42b1d-2d01-48ec-a6bb-2df21af1b4f7 + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/b0b0b145-9396-44c1-bdb0-9639e091e3f4 method: GET response: - body: '{"id":"47d42b1d-2d01-48ec-a6bb-2df21af1b4f7","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-19T14:42:55.718951Z","created_at":"2020-03-19T14:42:34.236156Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"b0b0b145-9396-44c1-bdb0-9639e091e3f4","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-19T15:26:34.400800Z","created_at":"2020-03-19T15:26:33.871826Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - "401" @@ -380,7 +380,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 19 Mar 2020 14:43:19 GMT + - Thu, 19 Mar 2020 15:28:48 GMT Server: - scaleway_api Strict-Transport-Security: @@ -390,7 +390,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 5f954ce8-920d-4e37-b05f-6453c4f22b30 + - 5c86387e-79b4-4ea8-9204-84592cd303f0 status: 200 OK code: 200 duration: "" @@ -400,10 +400,10 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/47d42b1d-2d01-48ec-a6bb-2df21af1b4f7 + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/b0b0b145-9396-44c1-bdb0-9639e091e3f4 method: GET response: - body: '{"id":"47d42b1d-2d01-48ec-a6bb-2df21af1b4f7","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-19T14:42:55.718951Z","created_at":"2020-03-19T14:42:34.236156Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"b0b0b145-9396-44c1-bdb0-9639e091e3f4","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-19T15:26:34.400800Z","created_at":"2020-03-19T15:26:33.871826Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - "401" @@ -412,7 +412,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 19 Mar 2020 14:43:24 GMT + - Thu, 19 Mar 2020 15:29:03 GMT Server: - scaleway_api Strict-Transport-Security: @@ -422,7 +422,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - b1a89288-aee2-47ba-adde-cc9742a38c2a + - 8e3af1d2-5ee4-4df8-bdb8-d248af555ca6 status: 200 OK code: 200 duration: "" @@ -432,10 +432,10 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/47d42b1d-2d01-48ec-a6bb-2df21af1b4f7 + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/b0b0b145-9396-44c1-bdb0-9639e091e3f4 method: GET response: - body: '{"id":"47d42b1d-2d01-48ec-a6bb-2df21af1b4f7","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-19T14:42:55.718951Z","created_at":"2020-03-19T14:42:34.236156Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"b0b0b145-9396-44c1-bdb0-9639e091e3f4","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-19T15:26:34.400800Z","created_at":"2020-03-19T15:26:33.871826Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - "401" @@ -444,7 +444,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 19 Mar 2020 14:43:29 GMT + - Thu, 19 Mar 2020 15:29:18 GMT Server: - scaleway_api Strict-Transport-Security: @@ -454,7 +454,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - cfe23aee-64f6-471d-a1b4-92d9c3dc8e19 + - f7d641f8-c9b8-4fa7-a21b-f6d4b5944943 status: 200 OK code: 200 duration: "" @@ -464,10 +464,10 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/47d42b1d-2d01-48ec-a6bb-2df21af1b4f7 + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/b0b0b145-9396-44c1-bdb0-9639e091e3f4 method: GET response: - body: '{"id":"47d42b1d-2d01-48ec-a6bb-2df21af1b4f7","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-19T14:42:55.718951Z","created_at":"2020-03-19T14:42:34.236156Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"b0b0b145-9396-44c1-bdb0-9639e091e3f4","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-19T15:26:34.400800Z","created_at":"2020-03-19T15:26:33.871826Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - "401" @@ -476,7 +476,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 19 Mar 2020 14:43:34 GMT + - Thu, 19 Mar 2020 15:29:34 GMT Server: - scaleway_api Strict-Transport-Security: @@ -486,7 +486,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 5f40c440-d262-4a0e-a78b-1b092b83f722 + - 6a26a5b8-ea1a-4d3e-a04a-543f015d7dbb status: 200 OK code: 200 duration: "" @@ -496,10 +496,10 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/47d42b1d-2d01-48ec-a6bb-2df21af1b4f7 + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/b0b0b145-9396-44c1-bdb0-9639e091e3f4 method: GET response: - body: '{"id":"47d42b1d-2d01-48ec-a6bb-2df21af1b4f7","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-19T14:42:55.718951Z","created_at":"2020-03-19T14:42:34.236156Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"b0b0b145-9396-44c1-bdb0-9639e091e3f4","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-19T15:26:34.400800Z","created_at":"2020-03-19T15:26:33.871826Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - "401" @@ -508,7 +508,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 19 Mar 2020 14:43:39 GMT + - Thu, 19 Mar 2020 15:29:49 GMT Server: - scaleway_api Strict-Transport-Security: @@ -518,7 +518,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 47e4d78c-a8a3-4026-bf91-be615d54066f + - b19d3f00-88f5-447a-91fa-d2778dcf5933 status: 200 OK code: 200 duration: "" @@ -528,10 +528,10 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/47d42b1d-2d01-48ec-a6bb-2df21af1b4f7 + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/b0b0b145-9396-44c1-bdb0-9639e091e3f4 method: GET response: - body: '{"id":"47d42b1d-2d01-48ec-a6bb-2df21af1b4f7","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-19T14:42:55.718951Z","created_at":"2020-03-19T14:42:34.236156Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"b0b0b145-9396-44c1-bdb0-9639e091e3f4","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-19T15:26:34.400800Z","created_at":"2020-03-19T15:26:33.871826Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - "401" @@ -540,7 +540,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 19 Mar 2020 14:43:44 GMT + - Thu, 19 Mar 2020 15:30:04 GMT Server: - scaleway_api Strict-Transport-Security: @@ -550,7 +550,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 8e24d056-a810-4a83-afdb-02de7eca7d07 + - 82ca3556-b1e8-448a-aa56-2d576333b227 status: 200 OK code: 200 duration: "" @@ -560,595 +560,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/47d42b1d-2d01-48ec-a6bb-2df21af1b4f7 + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/b0b0b145-9396-44c1-bdb0-9639e091e3f4 method: GET response: - body: '{"id":"47d42b1d-2d01-48ec-a6bb-2df21af1b4f7","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-19T14:42:55.718951Z","created_at":"2020-03-19T14:42:34.236156Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"b0b0b145-9396-44c1-bdb0-9639e091e3f4","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-19T15:30:16.730113Z","created_at":"2020-03-19T15:26:33.871826Z","status":"ready","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[{"id":"67502263-f891-478f-9f70-70fa36c0c7ed","address":"51.159.56.58","reverse":"b0b0b145-9396-44c1-bdb0-9639e091e3f4.fr-par-2.baremetal.scw.cloud","version":"Ipv4","reverse_status":"pending","reverse_status_message":null},{"id":"db1f5cb4-6b2f-47be-90d8-68ffcb8247a2","address":"2001:0bc8:1200:0000:aa1e:84ff:fef3:59f4","reverse":"b0b0b145-9396-44c1-bdb0-9639e091e3f4.fr-par-2.baremetal.scw.cloud","version":"Ipv6","reverse_status":"pending","reverse_status_message":null}],"domain":"b0b0b145-9396-44c1-bdb0-9639e091e3f4.fr-par-2.baremetal.scw.cloud","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "401" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 19 Mar 2020 14:43:49 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - d5aee717-be33-48a5-a2a4-55c8968d307e - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/47d42b1d-2d01-48ec-a6bb-2df21af1b4f7 - method: GET - response: - body: '{"id":"47d42b1d-2d01-48ec-a6bb-2df21af1b4f7","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-19T14:42:55.718951Z","created_at":"2020-03-19T14:42:34.236156Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "401" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 19 Mar 2020 14:43:54 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 40b82592-fb6e-4389-8388-43db39e55b7f - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/47d42b1d-2d01-48ec-a6bb-2df21af1b4f7 - method: GET - response: - body: '{"id":"47d42b1d-2d01-48ec-a6bb-2df21af1b4f7","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-19T14:42:55.718951Z","created_at":"2020-03-19T14:42:34.236156Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "401" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 19 Mar 2020 14:43:59 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 8c241034-41f2-4ec7-9bf6-dfd3eb343306 - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/47d42b1d-2d01-48ec-a6bb-2df21af1b4f7 - method: GET - response: - body: '{"id":"47d42b1d-2d01-48ec-a6bb-2df21af1b4f7","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-19T14:42:55.718951Z","created_at":"2020-03-19T14:42:34.236156Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "401" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 19 Mar 2020 14:44:04 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 6f8226c8-db4d-4505-8936-4684401a069b - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/47d42b1d-2d01-48ec-a6bb-2df21af1b4f7 - method: GET - response: - body: '{"id":"47d42b1d-2d01-48ec-a6bb-2df21af1b4f7","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-19T14:42:55.718951Z","created_at":"2020-03-19T14:42:34.236156Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "401" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 19 Mar 2020 14:44:09 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - f72c520a-9a9f-4ac2-978a-d445b8e084a5 - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/47d42b1d-2d01-48ec-a6bb-2df21af1b4f7 - method: GET - response: - body: '{"id":"47d42b1d-2d01-48ec-a6bb-2df21af1b4f7","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-19T14:42:55.718951Z","created_at":"2020-03-19T14:42:34.236156Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "401" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 19 Mar 2020 14:44:14 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - b58d6a27-9efb-48b9-b6c5-e6af9ff0c0a5 - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/47d42b1d-2d01-48ec-a6bb-2df21af1b4f7 - method: GET - response: - body: '{"id":"47d42b1d-2d01-48ec-a6bb-2df21af1b4f7","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-19T14:42:55.718951Z","created_at":"2020-03-19T14:42:34.236156Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "401" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 19 Mar 2020 14:44:19 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 36ee4bad-2123-42ca-9013-99fee68a7dcb - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/47d42b1d-2d01-48ec-a6bb-2df21af1b4f7 - method: GET - response: - body: '{"id":"47d42b1d-2d01-48ec-a6bb-2df21af1b4f7","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-19T14:42:55.718951Z","created_at":"2020-03-19T14:42:34.236156Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "401" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 19 Mar 2020 14:44:25 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - fd316c3b-d658-4073-8227-1b961713b350 - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/47d42b1d-2d01-48ec-a6bb-2df21af1b4f7 - method: GET - response: - body: '{"id":"47d42b1d-2d01-48ec-a6bb-2df21af1b4f7","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-19T14:42:55.718951Z","created_at":"2020-03-19T14:42:34.236156Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "401" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 19 Mar 2020 14:44:30 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 629d84ed-40c4-4c0c-a666-73a21fd73d95 - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/47d42b1d-2d01-48ec-a6bb-2df21af1b4f7 - method: GET - response: - body: '{"id":"47d42b1d-2d01-48ec-a6bb-2df21af1b4f7","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-19T14:42:55.718951Z","created_at":"2020-03-19T14:42:34.236156Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "401" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 19 Mar 2020 14:44:35 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - a7c0af09-27ac-4891-980d-30fd6f3a45a3 - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/47d42b1d-2d01-48ec-a6bb-2df21af1b4f7 - method: GET - response: - body: '{"id":"47d42b1d-2d01-48ec-a6bb-2df21af1b4f7","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-19T14:42:55.718951Z","created_at":"2020-03-19T14:42:34.236156Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "401" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 19 Mar 2020 14:44:40 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - e0e2e836-db21-4807-833d-42d78aa7647f - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/47d42b1d-2d01-48ec-a6bb-2df21af1b4f7 - method: GET - response: - body: '{"id":"47d42b1d-2d01-48ec-a6bb-2df21af1b4f7","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-19T14:42:55.718951Z","created_at":"2020-03-19T14:42:34.236156Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "401" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 19 Mar 2020 14:44:45 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 14308fe9-1f59-453b-b21f-6a3a109091c0 - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/47d42b1d-2d01-48ec-a6bb-2df21af1b4f7 - method: GET - response: - body: '{"id":"47d42b1d-2d01-48ec-a6bb-2df21af1b4f7","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-19T14:42:55.718951Z","created_at":"2020-03-19T14:42:34.236156Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "401" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 19 Mar 2020 14:44:50 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 1b9e0acd-28bc-4604-baaf-647f446352c7 - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/47d42b1d-2d01-48ec-a6bb-2df21af1b4f7 - method: GET - response: - body: '{"id":"47d42b1d-2d01-48ec-a6bb-2df21af1b4f7","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-19T14:42:55.718951Z","created_at":"2020-03-19T14:42:34.236156Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "401" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 19 Mar 2020 14:44:55 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - a9b154e7-e8b5-4ec3-bccd-6e79ba7404ce - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/47d42b1d-2d01-48ec-a6bb-2df21af1b4f7 - method: GET - response: - body: '{"id":"47d42b1d-2d01-48ec-a6bb-2df21af1b4f7","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-19T14:42:55.718951Z","created_at":"2020-03-19T14:42:34.236156Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "401" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 19 Mar 2020 14:45:00 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 4aa27424-9e1e-486d-8da1-49ecbb2f4b24 - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/47d42b1d-2d01-48ec-a6bb-2df21af1b4f7 - method: GET - response: - body: '{"id":"47d42b1d-2d01-48ec-a6bb-2df21af1b4f7","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-19T14:42:55.718951Z","created_at":"2020-03-19T14:42:34.236156Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "401" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 19 Mar 2020 14:45:05 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 4d5e3baa-06f1-4336-8a29-9207ccec9281 - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/47d42b1d-2d01-48ec-a6bb-2df21af1b4f7 - method: GET - response: - body: '{"id":"47d42b1d-2d01-48ec-a6bb-2df21af1b4f7","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-19T14:42:55.718951Z","created_at":"2020-03-19T14:42:34.236156Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "401" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 19 Mar 2020 14:45:10 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 528bd1e0-2b02-416d-a59a-588914dc4d36 - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/47d42b1d-2d01-48ec-a6bb-2df21af1b4f7 - method: GET - response: - body: '{"id":"47d42b1d-2d01-48ec-a6bb-2df21af1b4f7","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-19T14:42:55.718951Z","created_at":"2020-03-19T14:42:34.236156Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "401" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 19 Mar 2020 14:45:15 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - d404aa30-6405-4c74-8576-d9016227cccb - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/47d42b1d-2d01-48ec-a6bb-2df21af1b4f7 - method: GET - response: - body: '{"id":"47d42b1d-2d01-48ec-a6bb-2df21af1b4f7","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-19T14:45:17.815561Z","created_at":"2020-03-19T14:42:34.236156Z","status":"ready","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[{"id":"f0846742-6fb6-48e4-a90f-0e6f6aa084b0","address":"51.159.56.122","reverse":"47d42b1d-2d01-48ec-a6bb-2df21af1b4f7.fr-par-2.baremetal.scw.cloud","version":"Ipv4","reverse_status":"pending","reverse_status_message":null},{"id":"fce15128-1870-4fc4-ab91-401222242a76","address":"2001:0bc8:1200:0000:dac4:97ff:fe5b:7a89","reverse":"47d42b1d-2d01-48ec-a6bb-2df21af1b4f7.fr-par-2.baremetal.scw.cloud","version":"Ipv6","reverse_status":"pending","reverse_status_message":null}],"domain":"47d42b1d-2d01-48ec-a6bb-2df21af1b4f7.fr-par-2.baremetal.scw.cloud","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "933" + - "932" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Mar 2020 14:45:20 GMT + - Thu, 19 Mar 2020 15:30:19 GMT Server: - scaleway_api Strict-Transport-Security: @@ -1158,7 +582,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - aa96627c-2bcb-473d-9dcf-8ed38b0c7c60 + - d98c1329-1734-4959-b618-e2d69eb33fd7 status: 200 OK code: 200 duration: "" @@ -1168,19 +592,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/47d42b1d-2d01-48ec-a6bb-2df21af1b4f7 + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/b0b0b145-9396-44c1-bdb0-9639e091e3f4 method: DELETE response: - body: '{"id":"47d42b1d-2d01-48ec-a6bb-2df21af1b4f7","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-19T14:45:20.433246Z","created_at":"2020-03-19T14:42:34.236156Z","status":"deleting","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[{"id":"f0846742-6fb6-48e4-a90f-0e6f6aa084b0","address":"51.159.56.122","reverse":"47d42b1d-2d01-48ec-a6bb-2df21af1b4f7.fr-par-2.baremetal.scw.cloud","version":"Ipv4","reverse_status":"pending","reverse_status_message":null},{"id":"fce15128-1870-4fc4-ab91-401222242a76","address":"2001:0bc8:1200:0000:dac4:97ff:fe5b:7a89","reverse":"47d42b1d-2d01-48ec-a6bb-2df21af1b4f7.fr-par-2.baremetal.scw.cloud","version":"Ipv6","reverse_status":"pending","reverse_status_message":null}],"domain":"47d42b1d-2d01-48ec-a6bb-2df21af1b4f7.fr-par-2.baremetal.scw.cloud","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"b0b0b145-9396-44c1-bdb0-9639e091e3f4","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-19T15:30:19.557561Z","created_at":"2020-03-19T15:26:33.871826Z","status":"deleting","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[{"id":"67502263-f891-478f-9f70-70fa36c0c7ed","address":"51.159.56.58","reverse":"b0b0b145-9396-44c1-bdb0-9639e091e3f4.fr-par-2.baremetal.scw.cloud","version":"Ipv4","reverse_status":"pending","reverse_status_message":null},{"id":"db1f5cb4-6b2f-47be-90d8-68ffcb8247a2","address":"2001:0bc8:1200:0000:aa1e:84ff:fef3:59f4","reverse":"b0b0b145-9396-44c1-bdb0-9639e091e3f4.fr-par-2.baremetal.scw.cloud","version":"Ipv6","reverse_status":"pending","reverse_status_message":null}],"domain":"b0b0b145-9396-44c1-bdb0-9639e091e3f4.fr-par-2.baremetal.scw.cloud","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "936" + - "935" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Mar 2020 14:45:20 GMT + - Thu, 19 Mar 2020 15:30:19 GMT Server: - scaleway_api Strict-Transport-Security: @@ -1190,7 +614,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - ca47d174-cb20-4dfb-b51d-66ec3e2f19f2 + - 4a8071ff-1798-439c-ac3e-8c708b416969 status: 200 OK code: 200 duration: "" From 9b70b006ee97e86003221ba89ddbb656a775299e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20L=C3=A9one?= Date: Thu, 19 Mar 2020 16:37:55 +0100 Subject: [PATCH 27/67] FIx --- ...aremetal-server-create-usage.stderr.golden | 29 ++++++++++++++----- ...usage-baremetal-server-usage.stderr.golden | 3 +- ...-baremetal-server-wait-usage.stderr.golden | 20 +++++++++++++ ...create-server-simple-default.stdout.golden | 4 +-- ...t-list-server-list-with-tags.cassette.yaml | 4 +-- .../test-list-server-simple.cassette.yaml | 8 +++-- .../test-list-server-simple.stdout.golden | 10 +------ 7 files changed, 54 insertions(+), 24 deletions(-) create mode 100644 cmd/scw/testdata/test-all-usage-baremetal-server-wait-usage.stderr.golden diff --git a/cmd/scw/testdata/test-all-usage-baremetal-server-create-usage.stderr.golden b/cmd/scw/testdata/test-all-usage-baremetal-server-create-usage.stderr.golden index 10dae18cae..b28aa08291 100644 --- a/cmd/scw/testdata/test-all-usage-baremetal-server-create-usage.stderr.golden +++ b/cmd/scw/testdata/test-all-usage-baremetal-server-create-usage.stderr.golden @@ -1,20 +1,35 @@ -Create a new server. Once the server is created, you probably want to install an OS. +Create a new server. USAGE: scw baremetal server create [arg=value ...] +EXAMPLES: + Create instance + scw baremetal server create + + Create a GP-BM1-M instance, give it a name and add tags + scw baremetal server create name=foo tags.0=prod tags.1=blue type=GP-BM1-M + ARGS: - offer-id Offer ID of the new server - name Name of the server (≠hostname) - description Description associated to the server, max 255 characters - [tags.{index}] Tags to associate to the server - [organization-id] Organization ID to use. If none is passed will use default organization ID from the config - [zone] Zone to target. If none is passed will use default zone from the config (fr-par-2) + [type=GP-BM1-M] Server commercial type (GP-BM1-L | GP-BM1-M | HC-BM1-L | HC-BM1-S | HM-BM1-XL | HM-BM1-M) + [name=] Name of the server + [description] Description associated to the server, max 255 characters + [tags.{index}] Tags to associate to the server + [zone] Zone to target. If none is passed will use default zone from the config (fr-par-2) + [organization-id] Organization ID to use. If none is passed will use default organization ID from the config FLAGS: -h, --help help for create + -w, --wait wait until the server is ready GLOBAL FLAGS: -D, --debug Enable debug mode -o, --output string Output format: json or human -p, --profile string The config profile to use + +SEE ALSO: + # List os + scw baremetal os list + + # Install an OS on your server + scw baremetal server install diff --git a/cmd/scw/testdata/test-all-usage-baremetal-server-usage.stderr.golden b/cmd/scw/testdata/test-all-usage-baremetal-server-usage.stderr.golden index 0164fb6788..63650e107f 100644 --- a/cmd/scw/testdata/test-all-usage-baremetal-server-usage.stderr.golden +++ b/cmd/scw/testdata/test-all-usage-baremetal-server-usage.stderr.golden @@ -6,13 +6,14 @@ USAGE: AVAILABLE COMMANDS: list List servers get Get server - create Create server update Update server install Install server delete Delete server reboot Reboot server start Start server stop Stop server + create Create server + wait Wait for server to reach a stable state FLAGS: -h, --help help for server diff --git a/cmd/scw/testdata/test-all-usage-baremetal-server-wait-usage.stderr.golden b/cmd/scw/testdata/test-all-usage-baremetal-server-wait-usage.stderr.golden new file mode 100644 index 0000000000..d3cb7491b8 --- /dev/null +++ b/cmd/scw/testdata/test-all-usage-baremetal-server-wait-usage.stderr.golden @@ -0,0 +1,20 @@ +Wait for server to reach a stable state. This is similar to using --wait flag on other action commands, but without requiring a new action on the server. + +USAGE: + scw baremetal server wait [arg=value ...] + +EXAMPLES: + Wait for a server to reach a stable state + scw baremetal server wait server-id=11111111-1111-1111-1111-111111111111 + +ARGS: + server-id ID of the server affected by the action. + [zone] Zone to target. If none is passed will use default zone from the config + +FLAGS: + -h, --help help for wait + +GLOBAL FLAGS: + -D, --debug Enable debug mode + -o, --output string Output format: json or human + -p, --profile string The config profile to use diff --git a/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.stdout.golden b/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.stdout.golden index 1351616837..13953c1727 100644 --- a/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.stdout.golden +++ b/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.stdout.golden @@ -1,6 +1,6 @@ -id 298714cd-d601-4073-af83-1ee941303597 +id 6d7256ff-a572-48c0-9f8a-dd0204241cad organization-id 951df375-e094-4d26-97c1-ba548eeb9c42 -name cli-bm-silly-allen +name cli-bm-nice-snyder description - updated-at few seconds ago created-at few seconds ago diff --git a/internal/namespaces/baremetal/v1alpha1/testdata/test-list-server-list-with-tags.cassette.yaml b/internal/namespaces/baremetal/v1alpha1/testdata/test-list-server-list-with-tags.cassette.yaml index adb854c01d..8a074973ff 100644 --- a/internal/namespaces/baremetal/v1alpha1/testdata/test-list-server-list-with-tags.cassette.yaml +++ b/internal/namespaces/baremetal/v1alpha1/testdata/test-list-server-list-with-tags.cassette.yaml @@ -19,7 +19,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 19 Mar 2020 11:22:48 GMT + - Thu, 19 Mar 2020 15:36:24 GMT Server: - scaleway_api Strict-Transport-Security: @@ -29,7 +29,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - b44dc69b-5bf6-4d09-bf2c-d5490813041a + - 78254370-c59b-4160-a334-cccac14ea62f status: 200 OK code: 200 duration: "" diff --git a/internal/namespaces/baremetal/v1alpha1/testdata/test-list-server-simple.cassette.yaml b/internal/namespaces/baremetal/v1alpha1/testdata/test-list-server-simple.cassette.yaml index 8916cb896a..96875e708b 100644 --- a/internal/namespaces/baremetal/v1alpha1/testdata/test-list-server-simple.cassette.yaml +++ b/internal/namespaces/baremetal/v1alpha1/testdata/test-list-server-simple.cassette.yaml @@ -10,14 +10,16 @@ interactions: url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers?order_by=created_at_asc&page=1 method: GET response: - body: '{"total_count":8,"servers":[{"id":"a3d5a790-2abe-4ae4-816e-b20f2957bf1b","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-angry-hofstadter","description":"","updated_at":"2020-03-19T11:05:09.352605Z","created_at":"2020-03-19T11:02:06.215470Z","status":"ready","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[{"id":"2c90a64b-c4a7-4b71-b657-6c37431d1141","address":"2001:0bc8:1200:0000:dac4:97ff:fe2a:334c","reverse":"a3d5a790-2abe-4ae4-816e-b20f2957bf1b.fr-par-2.baremetal.scw.cloud","version":"Ipv6","reverse_status":"active","reverse_status_message":null},{"id":"bacf8df9-9e64-41ef-996d-b59788302a7a","address":"51.159.56.5","reverse":"a3d5a790-2abe-4ae4-816e-b20f2957bf1b.fr-par-2.baremetal.scw.cloud","version":"Ipv4","reverse_status":"active","reverse_status_message":null}],"domain":"a3d5a790-2abe-4ae4-816e-b20f2957bf1b.fr-par-2.baremetal.scw.cloud","boot_type":"normal","zone":"fr-par-2"},{"id":"07bbf448-e001-49c8-809b-4994684ed905","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-naughty-nightingale","description":"","updated_at":"2020-03-19T11:05:09.471918Z","created_at":"2020-03-19T11:02:46.384076Z","status":"ready","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[{"id":"9708b6c6-4a10-4665-b53d-3a17956e1adc","address":"51.159.56.59","reverse":"07bbf448-e001-49c8-809b-4994684ed905.fr-par-2.baremetal.scw.cloud","version":"Ipv4","reverse_status":"active","reverse_status_message":null},{"id":"b43b4eea-6f8b-4c8f-8db9-2ba34ef43dcf","address":"2001:0bc8:1200:0000:aa1e:84ff:fef3:5f54","reverse":"07bbf448-e001-49c8-809b-4994684ed905.fr-par-2.baremetal.scw.cloud","version":"Ipv6","reverse_status":"active","reverse_status_message":null}],"domain":"07bbf448-e001-49c8-809b-4994684ed905.fr-par-2.baremetal.scw.cloud","boot_type":"normal","zone":"fr-par-2"},{"id":"f816c65d-ef2b-4e5d-a7eb-6b46054b5e4c","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-19T11:05:09.545452Z","created_at":"2020-03-19T11:02:46.584339Z","status":"ready","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[{"id":"05b23557-516e-4b35-9b45-24b509f123f2","address":"2001:0bc8:1200:0000:dac4:97ff:fe2a:2f70","reverse":"f816c65d-ef2b-4e5d-a7eb-6b46054b5e4c.fr-par-2.baremetal.scw.cloud","version":"Ipv6","reverse_status":"active","reverse_status_message":null},{"id":"1d96d0fc-4a14-4ac6-9505-ed87f40de791","address":"51.159.56.65","reverse":"f816c65d-ef2b-4e5d-a7eb-6b46054b5e4c.fr-par-2.baremetal.scw.cloud","version":"Ipv4","reverse_status":"active","reverse_status_message":null}],"domain":"f816c65d-ef2b-4e5d-a7eb-6b46054b5e4c.fr-par-2.baremetal.scw.cloud","boot_type":"normal","zone":"fr-par-2"},{"id":"6de3a6a9-58ab-44bb-bb46-2ecbaf0aa289","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-confident-bose","description":"","updated_at":"2020-03-19T11:05:09.573494Z","created_at":"2020-03-19T11:02:46.729715Z","status":"ready","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[{"id":"b1f138a5-d3ab-4b8b-95c9-96cf07888e90","address":"51.159.56.96","reverse":"6de3a6a9-58ab-44bb-bb46-2ecbaf0aa289.fr-par-2.baremetal.scw.cloud","version":"Ipv4","reverse_status":"active","reverse_status_message":null},{"id":"952650d7-c1d9-4991-be5d-5365d8178bf4","address":"2001:0bc8:1200:0000:dac4:97ff:fe5b:778d","reverse":"6de3a6a9-58ab-44bb-bb46-2ecbaf0aa289.fr-par-2.baremetal.scw.cloud","version":"Ipv6","reverse_status":"active","reverse_status_message":null}],"domain":"6de3a6a9-58ab-44bb-bb46-2ecbaf0aa289.fr-par-2.baremetal.scw.cloud","boot_type":"normal","zone":"fr-par-2"},{"id":"d304fcdc-78ed-4f85-a3da-f182bc9b2346","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-exciting-noyce","description":"","updated_at":"2020-03-19T11:15:33.678102Z","created_at":"2020-03-19T11:11:10.427848Z","status":"ready","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[{"id":"bcfacf82-3fa7-42f5-a44c-4b7b7f36b8ba","address":"51.159.56.97","reverse":"d304fcdc-78ed-4f85-a3da-f182bc9b2346.fr-par-2.baremetal.scw.cloud","version":"Ipv4","reverse_status":"active","reverse_status_message":null},{"id":"9361590c-36e3-44cc-8114-5d96481608ae","address":"2001:0bc8:1200:0000:dac4:97ff:fe5b:7be5","reverse":"d304fcdc-78ed-4f85-a3da-f182bc9b2346.fr-par-2.baremetal.scw.cloud","version":"Ipv6","reverse_status":"active","reverse_status_message":null}],"domain":"d304fcdc-78ed-4f85-a3da-f182bc9b2346.fr-par-2.baremetal.scw.cloud","boot_type":"normal","zone":"fr-par-2"},{"id":"1ad5567d-6052-4bee-ac68-7ea278e4718d","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-sharp-mcclintock","description":"","updated_at":"2020-03-19T11:22:28.684869Z","created_at":"2020-03-19T11:22:28.078438Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"},{"id":"8d7961c0-ba96-40b7-86ee-502921505eb4","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"yo","description":"","updated_at":"2020-03-19T11:22:28.863180Z","created_at":"2020-03-19T11:22:28.304816Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"},{"id":"ce242525-c343-4cf9-95a3-8a66ab3f16e6","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-funny-shtern","description":"","updated_at":"2020-03-19T11:22:29.237301Z","created_at":"2020-03-19T11:22:28.478023Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}]}' + body: '{"total_count":0,"servers":[]}' headers: + Content-Length: + - "30" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Mar 2020 11:22:48 GMT + - Thu, 19 Mar 2020 15:36:24 GMT Server: - scaleway_api Strict-Transport-Security: @@ -27,7 +29,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 8c080adf-b0af-47b8-ac64-a08d92ac82da + - fbe385c2-fccd-41cc-842c-45c54c64a1d7 status: 200 OK code: 200 duration: "" diff --git a/internal/namespaces/baremetal/v1alpha1/testdata/test-list-server-simple.stdout.golden b/internal/namespaces/baremetal/v1alpha1/testdata/test-list-server-simple.stdout.golden index beb375bdc1..39cdd0ded6 100644 --- a/internal/namespaces/baremetal/v1alpha1/testdata/test-list-server-simple.stdout.golden +++ b/internal/namespaces/baremetal/v1alpha1/testdata/test-list-server-simple.stdout.golden @@ -1,9 +1 @@ -ID ORGANIZATION ID NAME DESCRIPTION UPDATED AT CREATED AT STATUS OFFER ID TAGS IPS DOMAIN BOOT TYPE ZONE -a3d5a790-2abe-4ae4-816e-b20f2957bf1b 951df375-e094-4d26-97c1-ba548eeb9c42 cli-bm-angry-hofstadter - few seconds ago few seconds ago ready 964f9b38-577e-470f-a220-7d762f9e8672 [] 2 a3d5a790-2abe-4ae4-816e-b20f2957bf1b.fr-par-2.baremetal.scw.cloud normal fr-par-2 -07bbf448-e001-49c8-809b-4994684ed905 951df375-e094-4d26-97c1-ba548eeb9c42 cli-bm-naughty-nightingale - few seconds ago few seconds ago ready 964f9b38-577e-470f-a220-7d762f9e8672 [] 2 07bbf448-e001-49c8-809b-4994684ed905.fr-par-2.baremetal.scw.cloud normal fr-par-2 -f816c65d-ef2b-4e5d-a7eb-6b46054b5e4c 951df375-e094-4d26-97c1-ba548eeb9c42 yo - few seconds ago few seconds ago ready 964f9b38-577e-470f-a220-7d762f9e8672 [] 2 f816c65d-ef2b-4e5d-a7eb-6b46054b5e4c.fr-par-2.baremetal.scw.cloud normal fr-par-2 -6de3a6a9-58ab-44bb-bb46-2ecbaf0aa289 951df375-e094-4d26-97c1-ba548eeb9c42 cli-bm-confident-bose - few seconds ago few seconds ago ready 964f9b38-577e-470f-a220-7d762f9e8672 [prod blue] 2 6de3a6a9-58ab-44bb-bb46-2ecbaf0aa289.fr-par-2.baremetal.scw.cloud normal fr-par-2 -d304fcdc-78ed-4f85-a3da-f182bc9b2346 951df375-e094-4d26-97c1-ba548eeb9c42 cli-bm-exciting-noyce - few seconds ago few seconds ago ready 964f9b38-577e-470f-a220-7d762f9e8672 [] 2 d304fcdc-78ed-4f85-a3da-f182bc9b2346.fr-par-2.baremetal.scw.cloud normal fr-par-2 -1ad5567d-6052-4bee-ac68-7ea278e4718d 951df375-e094-4d26-97c1-ba548eeb9c42 cli-bm-sharp-mcclintock - few seconds ago few seconds ago undelivered 964f9b38-577e-470f-a220-7d762f9e8672 [] 0 - normal fr-par-2 -8d7961c0-ba96-40b7-86ee-502921505eb4 951df375-e094-4d26-97c1-ba548eeb9c42 yo - few seconds ago few seconds ago undelivered 964f9b38-577e-470f-a220-7d762f9e8672 [] 0 - normal fr-par-2 -ce242525-c343-4cf9-95a3-8a66ab3f16e6 951df375-e094-4d26-97c1-ba548eeb9c42 cli-bm-funny-shtern - few seconds ago few seconds ago undelivered 964f9b38-577e-470f-a220-7d762f9e8672 [prod blue] 0 - normal fr-par-2 +- From 4b36b72c2e1949b26cf08e84a65812c73b1f66ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20L=C3=A9one?= Date: Thu, 19 Mar 2020 16:52:34 +0100 Subject: [PATCH 28/67] Fix --- ...create-server-simple-default.cassette.yaml | 436 ++---------------- ...create-server-simple-default.stdout.golden | 4 +- 2 files changed, 28 insertions(+), 412 deletions(-) diff --git a/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.cassette.yaml b/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.cassette.yaml index b20d4244ab..ec4ff690ee 100644 --- a/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.cassette.yaml +++ b/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.cassette.yaml @@ -26,7 +26,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 19 Mar 2020 15:26:33 GMT + - Thu, 19 Mar 2020 15:49:46 GMT Server: - scaleway_api Strict-Transport-Security: @@ -36,12 +36,12 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 56b48c3e-3b06-498b-beb0-090be1064c05 + - bc8803da-cfbe-4630-8892-7e98bd33e4cc status: 200 OK code: 200 duration: "" - request: - body: '{"offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-silly-allen","description":"","tags":null}' + body: '{"offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-great-gates","description":"","tags":null}' form: {} headers: Content-Type: @@ -51,7 +51,7 @@ interactions: url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers method: POST response: - body: '{"id":"298714cd-d601-4073-af83-1ee941303597","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-silly-allen","description":"","updated_at":"2020-03-19T15:26:33.884729571Z","created_at":"2020-03-19T15:26:33.884729571Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"a7ca72d0-b0d1-4388-acac-2d2095a70c4d","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-great-gates","description":"","updated_at":"2020-03-19T15:49:47.168566304Z","created_at":"2020-03-19T15:49:47.168566304Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - "397" @@ -60,7 +60,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 19 Mar 2020 15:26:33 GMT + - Thu, 19 Mar 2020 15:49:46 GMT Server: - scaleway_api Strict-Transport-Security: @@ -70,7 +70,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - b86b6be8-b593-4d3e-9503-767b54e9266a + - 9cbdcac6-63ff-44b0-8da8-8db5562e4703 status: 200 OK code: 200 duration: "" @@ -80,10 +80,10 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/298714cd-d601-4073-af83-1ee941303597 + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a7ca72d0-b0d1-4388-acac-2d2095a70c4d method: GET response: - body: '{"id":"298714cd-d601-4073-af83-1ee941303597","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-silly-allen","description":"","updated_at":"2020-03-19T15:26:33.884730Z","created_at":"2020-03-19T15:26:33.884730Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"a7ca72d0-b0d1-4388-acac-2d2095a70c4d","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-great-gates","description":"","updated_at":"2020-03-19T15:49:47.168566Z","created_at":"2020-03-19T15:49:47.168566Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - "391" @@ -92,7 +92,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 19 Mar 2020 15:26:33 GMT + - Thu, 19 Mar 2020 15:49:46 GMT Server: - scaleway_api Strict-Transport-Security: @@ -102,7 +102,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - a227c144-6fe6-4e25-9595-b5bbd2207955 + - a91e012b-ffde-4a3a-b27c-6842d01828b0 status: 200 OK code: 200 duration: "" @@ -112,10 +112,10 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/298714cd-d601-4073-af83-1ee941303597 + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a7ca72d0-b0d1-4388-acac-2d2095a70c4d method: GET response: - body: '{"id":"298714cd-d601-4073-af83-1ee941303597","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-silly-allen","description":"","updated_at":"2020-03-19T15:26:33.884730Z","created_at":"2020-03-19T15:26:33.884730Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"a7ca72d0-b0d1-4388-acac-2d2095a70c4d","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-great-gates","description":"","updated_at":"2020-03-19T15:49:47.168566Z","created_at":"2020-03-19T15:49:47.168566Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - "391" @@ -124,7 +124,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 19 Mar 2020 15:26:48 GMT + - Thu, 19 Mar 2020 15:50:01 GMT Server: - scaleway_api Strict-Transport-Security: @@ -134,7 +134,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 362e13d9-f51a-4036-a6d2-855947ec7222 + - fc532df3-1836-489f-a17a-ef7b36a51f94 status: 200 OK code: 200 duration: "" @@ -144,10 +144,10 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/298714cd-d601-4073-af83-1ee941303597 + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a7ca72d0-b0d1-4388-acac-2d2095a70c4d method: GET response: - body: '{"id":"298714cd-d601-4073-af83-1ee941303597","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-silly-allen","description":"","updated_at":"2020-03-19T15:26:55.076380Z","created_at":"2020-03-19T15:26:33.884730Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"a7ca72d0-b0d1-4388-acac-2d2095a70c4d","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-great-gates","description":"","updated_at":"2020-03-19T15:50:08.399241Z","created_at":"2020-03-19T15:49:47.168566Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - "391" @@ -156,7 +156,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 19 Mar 2020 15:27:03 GMT + - Thu, 19 Mar 2020 15:50:17 GMT Server: - scaleway_api Strict-Transport-Security: @@ -166,7 +166,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 9aec3ea7-0362-48a4-87f2-37938da39522 + - 2075f6c1-7d33-483e-991e-b2328689f1fb status: 200 OK code: 200 duration: "" @@ -176,394 +176,10 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/298714cd-d601-4073-af83-1ee941303597 + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a7ca72d0-b0d1-4388-acac-2d2095a70c4d method: GET response: - body: '{"id":"298714cd-d601-4073-af83-1ee941303597","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-silly-allen","description":"","updated_at":"2020-03-19T15:26:55.076380Z","created_at":"2020-03-19T15:26:33.884730Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "391" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 19 Mar 2020 15:27:18 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 9a906ce3-2740-4e89-83d5-4678056311d0 - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/298714cd-d601-4073-af83-1ee941303597 - method: GET - response: - body: '{"id":"298714cd-d601-4073-af83-1ee941303597","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-silly-allen","description":"","updated_at":"2020-03-19T15:26:55.076380Z","created_at":"2020-03-19T15:26:33.884730Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "391" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 19 Mar 2020 15:27:33 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 2d03e4c7-e513-4821-b99a-afd2ee097b72 - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/298714cd-d601-4073-af83-1ee941303597 - method: GET - response: - body: '{"id":"298714cd-d601-4073-af83-1ee941303597","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-silly-allen","description":"","updated_at":"2020-03-19T15:26:55.076380Z","created_at":"2020-03-19T15:26:33.884730Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "391" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 19 Mar 2020 15:27:48 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - ae6ff86a-c8bd-4b21-98bd-3183c2ccf163 - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/298714cd-d601-4073-af83-1ee941303597 - method: GET - response: - body: '{"id":"298714cd-d601-4073-af83-1ee941303597","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-silly-allen","description":"","updated_at":"2020-03-19T15:26:55.076380Z","created_at":"2020-03-19T15:26:33.884730Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "391" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 19 Mar 2020 15:28:03 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 770e7e5c-721d-4b62-b4b5-b7481d3dcddf - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/298714cd-d601-4073-af83-1ee941303597 - method: GET - response: - body: '{"id":"298714cd-d601-4073-af83-1ee941303597","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-silly-allen","description":"","updated_at":"2020-03-19T15:26:55.076380Z","created_at":"2020-03-19T15:26:33.884730Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "391" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 19 Mar 2020 15:28:18 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 6301e81c-7f26-4604-b0db-32a965ee799a - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/298714cd-d601-4073-af83-1ee941303597 - method: GET - response: - body: '{"id":"298714cd-d601-4073-af83-1ee941303597","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-silly-allen","description":"","updated_at":"2020-03-19T15:26:55.076380Z","created_at":"2020-03-19T15:26:33.884730Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "391" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 19 Mar 2020 15:28:33 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 73678da1-a745-4da2-bcbe-229f3da3c4d0 - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/298714cd-d601-4073-af83-1ee941303597 - method: GET - response: - body: '{"id":"298714cd-d601-4073-af83-1ee941303597","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-silly-allen","description":"","updated_at":"2020-03-19T15:26:55.076380Z","created_at":"2020-03-19T15:26:33.884730Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "391" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 19 Mar 2020 15:28:48 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - b522397b-e730-4e86-987b-7e5c8133357f - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/298714cd-d601-4073-af83-1ee941303597 - method: GET - response: - body: '{"id":"298714cd-d601-4073-af83-1ee941303597","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-silly-allen","description":"","updated_at":"2020-03-19T15:26:55.076380Z","created_at":"2020-03-19T15:26:33.884730Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "391" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 19 Mar 2020 15:29:03 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 83767cc7-6792-4be3-b080-d49756576eea - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/298714cd-d601-4073-af83-1ee941303597 - method: GET - response: - body: '{"id":"298714cd-d601-4073-af83-1ee941303597","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-silly-allen","description":"","updated_at":"2020-03-19T15:26:55.076380Z","created_at":"2020-03-19T15:26:33.884730Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "391" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 19 Mar 2020 15:29:18 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 5d5421d6-84e8-44e4-9876-1d65cfb8c97a - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/298714cd-d601-4073-af83-1ee941303597 - method: GET - response: - body: '{"id":"298714cd-d601-4073-af83-1ee941303597","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-silly-allen","description":"","updated_at":"2020-03-19T15:26:55.076380Z","created_at":"2020-03-19T15:26:33.884730Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "391" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 19 Mar 2020 15:29:34 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - afa36f0d-f6d2-4dcc-8936-1bff88a6552a - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/298714cd-d601-4073-af83-1ee941303597 - method: GET - response: - body: '{"id":"298714cd-d601-4073-af83-1ee941303597","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-silly-allen","description":"","updated_at":"2020-03-19T15:26:55.076380Z","created_at":"2020-03-19T15:26:33.884730Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "391" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 19 Mar 2020 15:29:49 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - f093d5ce-a445-4661-b051-bb653934eb7c - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/298714cd-d601-4073-af83-1ee941303597 - method: GET - response: - body: '{"id":"298714cd-d601-4073-af83-1ee941303597","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-silly-allen","description":"","updated_at":"2020-03-19T15:26:55.076380Z","created_at":"2020-03-19T15:26:33.884730Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "391" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 19 Mar 2020 15:30:04 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 905cbf81-b8fb-4673-a943-80fdd424296b - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/298714cd-d601-4073-af83-1ee941303597 - method: GET - response: - body: '{"id":"298714cd-d601-4073-af83-1ee941303597","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-silly-allen","description":"","updated_at":"2020-03-19T15:30:17.693473Z","created_at":"2020-03-19T15:26:33.884730Z","status":"ready","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[{"id":"12bc3672-a8e5-47f3-aca9-89ccea32d3c0","address":"51.159.56.112","reverse":"298714cd-d601-4073-af83-1ee941303597.fr-par-2.baremetal.scw.cloud","version":"Ipv4","reverse_status":"pending","reverse_status_message":null},{"id":"b4f6910b-5c45-4370-9d8d-5898cb544f08","address":"2001:0bc8:1200:0000:dac4:97ff:fe5b:72fd","reverse":"298714cd-d601-4073-af83-1ee941303597.fr-par-2.baremetal.scw.cloud","version":"Ipv6","reverse_status":"pending","reverse_status_message":null}],"domain":"298714cd-d601-4073-af83-1ee941303597.fr-par-2.baremetal.scw.cloud","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"a7ca72d0-b0d1-4388-acac-2d2095a70c4d","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-great-gates","description":"","updated_at":"2020-03-19T15:50:29.217221Z","created_at":"2020-03-19T15:49:47.168566Z","status":"ready","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[{"id":"19bdc0eb-e123-4a4d-a10e-87978ce1f574","address":"2001:0bc8:1200:0000:dac4:97ff:fe67:e139","reverse":"a7ca72d0-b0d1-4388-acac-2d2095a70c4d.fr-par-2.baremetal.scw.cloud","version":"Ipv6","reverse_status":"pending","reverse_status_message":null},{"id":"4ef83826-df9d-434c-85c0-4c42006abe87","address":"51.159.56.154","reverse":"a7ca72d0-b0d1-4388-acac-2d2095a70c4d.fr-par-2.baremetal.scw.cloud","version":"Ipv4","reverse_status":"pending","reverse_status_message":null}],"domain":"a7ca72d0-b0d1-4388-acac-2d2095a70c4d.fr-par-2.baremetal.scw.cloud","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - "923" @@ -572,7 +188,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 19 Mar 2020 15:30:19 GMT + - Thu, 19 Mar 2020 15:50:32 GMT Server: - scaleway_api Strict-Transport-Security: @@ -582,7 +198,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 9580a842-b166-4ee2-a3cb-0289a5f00cc3 + - 5a9d7a59-1c42-402f-a00e-ed93b599a95d status: 200 OK code: 200 duration: "" @@ -592,10 +208,10 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/298714cd-d601-4073-af83-1ee941303597 + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a7ca72d0-b0d1-4388-acac-2d2095a70c4d method: DELETE response: - body: '{"id":"298714cd-d601-4073-af83-1ee941303597","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-silly-allen","description":"","updated_at":"2020-03-19T15:30:19.559416Z","created_at":"2020-03-19T15:26:33.884730Z","status":"deleting","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[{"id":"12bc3672-a8e5-47f3-aca9-89ccea32d3c0","address":"51.159.56.112","reverse":"298714cd-d601-4073-af83-1ee941303597.fr-par-2.baremetal.scw.cloud","version":"Ipv4","reverse_status":"pending","reverse_status_message":null},{"id":"b4f6910b-5c45-4370-9d8d-5898cb544f08","address":"2001:0bc8:1200:0000:dac4:97ff:fe5b:72fd","reverse":"298714cd-d601-4073-af83-1ee941303597.fr-par-2.baremetal.scw.cloud","version":"Ipv6","reverse_status":"pending","reverse_status_message":null}],"domain":"298714cd-d601-4073-af83-1ee941303597.fr-par-2.baremetal.scw.cloud","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"a7ca72d0-b0d1-4388-acac-2d2095a70c4d","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-great-gates","description":"","updated_at":"2020-03-19T15:50:32.332367Z","created_at":"2020-03-19T15:49:47.168566Z","status":"deleting","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[{"id":"19bdc0eb-e123-4a4d-a10e-87978ce1f574","address":"2001:0bc8:1200:0000:dac4:97ff:fe67:e139","reverse":"a7ca72d0-b0d1-4388-acac-2d2095a70c4d.fr-par-2.baremetal.scw.cloud","version":"Ipv6","reverse_status":"pending","reverse_status_message":null},{"id":"4ef83826-df9d-434c-85c0-4c42006abe87","address":"51.159.56.154","reverse":"a7ca72d0-b0d1-4388-acac-2d2095a70c4d.fr-par-2.baremetal.scw.cloud","version":"Ipv4","reverse_status":"pending","reverse_status_message":null}],"domain":"a7ca72d0-b0d1-4388-acac-2d2095a70c4d.fr-par-2.baremetal.scw.cloud","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - "926" @@ -604,7 +220,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 19 Mar 2020 15:30:19 GMT + - Thu, 19 Mar 2020 15:50:32 GMT Server: - scaleway_api Strict-Transport-Security: @@ -614,7 +230,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 63a6614a-5d75-464d-9185-31d568214f41 + - 78348e4a-0a91-48ce-b639-eb90f97498e5 status: 200 OK code: 200 duration: "" diff --git a/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.stdout.golden b/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.stdout.golden index 13953c1727..357b61fe27 100644 --- a/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.stdout.golden +++ b/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.stdout.golden @@ -1,6 +1,6 @@ -id 6d7256ff-a572-48c0-9f8a-dd0204241cad +id a7ca72d0-b0d1-4388-acac-2d2095a70c4d organization-id 951df375-e094-4d26-97c1-ba548eeb9c42 -name cli-bm-nice-snyder +name cli-bm-great-gates description - updated-at few seconds ago created-at few seconds ago From e40576c126aba0411f5c73e1a22f419e7f4ec243 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20L=C3=A9one?= Date: Thu, 19 Mar 2020 17:24:44 +0100 Subject: [PATCH 29/67] Fix --- .../baremetal/v1alpha1/custom_server_create_test.go | 7 ++++++- ...server-errors-error-invalid-instance-type.stderr.golden | 5 ++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/internal/namespaces/baremetal/v1alpha1/custom_server_create_test.go b/internal/namespaces/baremetal/v1alpha1/custom_server_create_test.go index 2bdcf76688..883febf011 100644 --- a/internal/namespaces/baremetal/v1alpha1/custom_server_create_test.go +++ b/internal/namespaces/baremetal/v1alpha1/custom_server_create_test.go @@ -1,6 +1,7 @@ package baremetal import ( + "fmt" "testing" "github.com/alecthomas/assert" @@ -87,9 +88,13 @@ func Test_CreateServerErrors(t *testing.T) { //// t.Run("Error: invalid instance type", core.Test(&core.TestConfig{ Commands: GetCommands(), - Cmd: "scw instance server create type=MACBOOK1-S image=ubuntu_bionic", + Cmd: "scw baremetal server create type=foobar", Check: core.TestCheckCombine( core.TestCheckGolden(), + core.TestCheckError(&core.CliError{ + Err: fmt.Errorf("invalid value 'foobar' for arg 'type'"), + Hint: "Accepted values for 'type' are [GP-BM1-L GP-BM1-M HC-BM1-L HC-BM1-S HM-BM1-XL HM-BM1-M]", + }), core.TestCheckExitCode(1), ), })) diff --git a/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-errors-error-invalid-instance-type.stderr.golden b/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-errors-error-invalid-instance-type.stderr.golden index 93b20472e6..e39142a2e3 100644 --- a/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-errors-error-invalid-instance-type.stderr.golden +++ b/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-errors-error-invalid-instance-type.stderr.golden @@ -1 +1,4 @@ -Unknown command "instance" for "scw" +Invalid value 'foobar' for arg 'type' + +Hint: +Accepted values for 'type' are [GP-BM1-L GP-BM1-M HC-BM1-L HC-BM1-S HM-BM1-XL HM-BM1-M] From d3bdf9531d37f4b7d02bbd27020802002e7d414a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20L=C3=A9one?= Date: Thu, 19 Mar 2020 18:40:22 +0100 Subject: [PATCH 30/67] Fix --- internal/namespaces/baremetal/v1alpha1/helpers_test.go | 1 - .../testdata/test-list-server-list-with-tags.stdout.golden | 1 - .../v1alpha1/testdata/test-list-server-simple.stdout.golden | 1 - 3 files changed, 3 deletions(-) delete mode 100644 internal/namespaces/baremetal/v1alpha1/helpers_test.go delete mode 100644 internal/namespaces/baremetal/v1alpha1/testdata/test-list-server-list-with-tags.stdout.golden delete mode 100644 internal/namespaces/baremetal/v1alpha1/testdata/test-list-server-simple.stdout.golden diff --git a/internal/namespaces/baremetal/v1alpha1/helpers_test.go b/internal/namespaces/baremetal/v1alpha1/helpers_test.go deleted file mode 100644 index 6c95009e49..0000000000 --- a/internal/namespaces/baremetal/v1alpha1/helpers_test.go +++ /dev/null @@ -1 +0,0 @@ -package baremetal diff --git a/internal/namespaces/baremetal/v1alpha1/testdata/test-list-server-list-with-tags.stdout.golden b/internal/namespaces/baremetal/v1alpha1/testdata/test-list-server-list-with-tags.stdout.golden deleted file mode 100644 index 39cdd0ded6..0000000000 --- a/internal/namespaces/baremetal/v1alpha1/testdata/test-list-server-list-with-tags.stdout.golden +++ /dev/null @@ -1 +0,0 @@ -- diff --git a/internal/namespaces/baremetal/v1alpha1/testdata/test-list-server-simple.stdout.golden b/internal/namespaces/baremetal/v1alpha1/testdata/test-list-server-simple.stdout.golden deleted file mode 100644 index 39cdd0ded6..0000000000 --- a/internal/namespaces/baremetal/v1alpha1/testdata/test-list-server-simple.stdout.golden +++ /dev/null @@ -1 +0,0 @@ -- From 19ed7b174c5c884c5c97ce68a7dce5f58555de75 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20L=C3=A9one?= Date: Fri, 20 Mar 2020 14:56:28 +0100 Subject: [PATCH 31/67] Fixc --- .../baremetal/v1alpha1/custom_server.go | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/internal/namespaces/baremetal/v1alpha1/custom_server.go b/internal/namespaces/baremetal/v1alpha1/custom_server.go index b6319c7fbd..a1fb9dd124 100644 --- a/internal/namespaces/baremetal/v1alpha1/custom_server.go +++ b/internal/namespaces/baremetal/v1alpha1/custom_server.go @@ -19,6 +19,15 @@ type baremetalActionRequest struct { ServerID string } +var serverActionArgSpecs = core.ArgSpecs{ + { + Name: "server-id", + Short: `ID of the server affected by the action.`, + Required: true, + }, + core.ZoneArgSpec(), +} + func serverWaitCommand() *core.Command { return &core.Command{ Short: `Wait for server to reach a stable state`, @@ -40,15 +49,6 @@ func serverWaitCommand() *core.Command { } } -var serverActionArgSpecs = core.ArgSpecs{ - { - Name: "server-id", - Short: `ID of the server affected by the action.`, - Required: true, - }, - core.ZoneArgSpec(), -} - func waitForServerFunc() core.WaitFunc { return func(ctx context.Context, argsI, _ interface{}) (interface{}, error) { return baremetal.NewAPI(core.ExtractClient(ctx)).WaitForServer(&baremetal.WaitForServerRequest{ From ffd82062183cc55fcf770fd9a9e3d7f15b1affb1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20L=C3=A9one?= Date: Fri, 20 Mar 2020 15:48:23 +0100 Subject: [PATCH 32/67] Fix --- .../baremetal/v1alpha1/baremetal_cli.go | 1 + .../namespaces/baremetal/v1alpha1/custom.go | 3 +- .../v1alpha1/custom_server_create.go | 203 ++++++++---------- 3 files changed, 95 insertions(+), 112 deletions(-) diff --git a/internal/namespaces/baremetal/v1alpha1/baremetal_cli.go b/internal/namespaces/baremetal/v1alpha1/baremetal_cli.go index 3334b48b8b..01dbeffca7 100644 --- a/internal/namespaces/baremetal/v1alpha1/baremetal_cli.go +++ b/internal/namespaces/baremetal/v1alpha1/baremetal_cli.go @@ -27,6 +27,7 @@ func GetGeneratedCommands() *core.Commands { baremetalOffer(), baremetalServerList(), baremetalServerGet(), + baremetalServerCreate(), baremetalServerUpdate(), baremetalServerInstall(), baremetalServerDelete(), diff --git a/internal/namespaces/baremetal/v1alpha1/custom.go b/internal/namespaces/baremetal/v1alpha1/custom.go index c750507819..197676d84a 100644 --- a/internal/namespaces/baremetal/v1alpha1/custom.go +++ b/internal/namespaces/baremetal/v1alpha1/custom.go @@ -6,9 +6,10 @@ func GetCommands() *core.Commands { cmds := GetGeneratedCommands() cmds.Merge(core.NewCommands( - serverCreateCommand(), serverWaitCommand(), )) + cmds.MustFind("baremetal", "server", "create").Override(serverCreateBuilder) + return cmds } diff --git a/internal/namespaces/baremetal/v1alpha1/custom_server_create.go b/internal/namespaces/baremetal/v1alpha1/custom_server_create.go index c4be55aef2..c0f65349de 100644 --- a/internal/namespaces/baremetal/v1alpha1/custom_server_create.go +++ b/internal/namespaces/baremetal/v1alpha1/custom_server_create.go @@ -10,128 +10,109 @@ import ( "github.com/scaleway/scaleway-sdk-go/scw" ) -type createServerRequest struct { - Zone scw.Zone `json:"-"` - // OrganizationID with which the server will be created - OrganizationID string `json:"organization_id"` - // Name of the server (≠hostname) - Name string `json:"name"` - // Description associated to the server, max 255 characters - Description string `json:"description"` - // Tags associated with the server - Tags []string `json:"tags"` - // Type of the server - Type string -} +func serverCreateBuilder(c *core.Command) *core.Command { + type baremetalCreateServerRequestCustom struct { + Zone scw.Zone `json:"-"` + // OrganizationID with which the server will be created + OrganizationID string `json:"organization_id"` + // Name of the server (≠hostname) + Name string `json:"name"` + // Description associated to the server, max 255 characters + Description string `json:"description"` + // Tags associated with the server + Tags []string `json:"tags"` + // Type of the server + Type string + } + + c.ArgsType = reflect.TypeOf(baremetalCreateServerRequestCustom{}) + + c.ArgSpecs.DeleteByName("offer-id") + + c.ArgSpecs.GetByName("name").Default = core.RandomValueGenerator("bm") + c.ArgSpecs.GetByName("description").Required = false + + c.ArgSpecs.AddBefore("tags.{index}", &core.ArgSpec{ + Name: "type", + Short: "Server commercial type", + Default: core.DefaultValueSetter("GP-BM1-M"), + + EnumValues: []string{ + // General Purpose offers + "GP-BM1-L", + "GP-BM1-M", + + // High-computing offers + "HC-BM1-L", + "HC-BM1-S", + + // High-Memory offers + "HM-BM1-XL", + "HM-BM1-M", + }, + }) + + c.Run = func(ctx context.Context, argsI interface{}) (i interface{}, e error) { + client := core.ExtractClient(ctx) + api := baremetal.NewAPI(client) + + tmpRequest := argsI.(*baremetalCreateServerRequestCustom) + request := &baremetal.CreateServerRequest{ + Zone: tmpRequest.Zone, + OrganizationID: tmpRequest.OrganizationID, + Name: tmpRequest.Name, + Description: tmpRequest.Description, + Tags: tmpRequest.Tags, + } + + // We need to find the offer id. + // while baremetal does not have listoffer name filter we are forced to iterate + // on the list of offers provided + requestedType := tmpRequest.Type + offer, err := api.GetOfferFromName(&baremetal.GetOfferFromOfferNameRequest{ + OfferName: requestedType, + Zone: tmpRequest.Zone, + }) + if err != nil { + return nil, err + } + if offer == nil { + return nil, fmt.Errorf("could not match an offer with the type: %s", requestedType) + } + request.OfferID = offer.ID + + return api.CreateServer(request) + } -func serverCreateCommand() *core.Command { - return &core.Command{ - Short: `Create server`, - Long: `Create a new server.`, - Namespace: "baremetal", - Verb: "create", - Resource: "server", - ArgsType: reflect.TypeOf(createServerRequest{}), - ArgSpecs: core.ArgSpecs{ - { - Name: "type", - Short: "Server commercial type", - Default: core.DefaultValueSetter("GP-BM1-M"), - - EnumValues: []string{ - // General Purpose offers - "GP-BM1-L", - "GP-BM1-M", - - // High-computing offers - "HC-BM1-L", - "HC-BM1-S", - - // High-Memory offers - "HM-BM1-XL", - "HM-BM1-M", - }, - }, - { - Name: "name", - Short: `Name of the server`, - Default: core.RandomValueGenerator("bm"), - }, - { - Name: "description", - Short: `Description associated to the server, max 255 characters`, - }, - { - Name: "tags.{index}", - Short: `Tags to associate to the server`, - Required: false, - }, - core.ZoneArgSpec(scw.ZoneFrPar2), - core.OrganizationIDArgSpec(), + c.SeeAlsos = []*core.SeeAlso{ + { + Short: "List os", + Command: "scw baremetal os list", }, - Run: baremetalServerCreateRun, - WaitFunc: baremetalWaitServerCreateRun(), - SeeAlsos: []*core.SeeAlso{ - { - Short: "List os", - Command: "scw baremetal os list", - }, - { - Short: "Install an OS on your server", - Command: "scw baremetal server install ", - }, + { + Short: "Install an OS on your server", + Command: "scw baremetal server install ", }, - Examples: []*core.Example{ - { - Short: "Create instance", - Request: `{}`, - }, - { - Short: "Create a GP-BM1-M instance, give it a name and add tags", - Request: `{"type":"GP-BM1-M","name":"foo","tags":["prod","blue"]}`, - }, + } + + c.Examples = []*core.Example{ + { + Short: "Create instance", + Request: `{}`, + }, + { + Short: "Create a GP-BM1-M instance, give it a name and add tags", + Request: `{"type":"GP-BM1-M","name":"foo","tags":["prod","blue"]}`, }, } -} -func baremetalWaitServerCreateRun() core.WaitFunc { - return func(ctx context.Context, argsI, respI interface{}) (interface{}, error) { + c.WaitFunc = func(ctx context.Context, argsI, respI interface{}) (interface{}, error) { return baremetal.NewAPI(core.ExtractClient(ctx)).WaitForServer(&baremetal.WaitForServerRequest{ Zone: argsI.(*baremetal.CreateServerRequest).Zone, ServerID: respI.(*baremetal.Server).ID, Timeout: serverActionTimeout, }) } -} - -func baremetalServerCreateRun(ctx context.Context, argsI interface{}) (i interface{}, e error) { - client := core.ExtractClient(ctx) - api := baremetal.NewAPI(client) - - tmpRequest := argsI.(*createServerRequest) - request := &baremetal.CreateServerRequest{ - Zone: tmpRequest.Zone, - OrganizationID: tmpRequest.OrganizationID, - Name: tmpRequest.Name, - Description: tmpRequest.Description, - Tags: tmpRequest.Tags, - } - - // We need to find the offer id. - // while baremetal does not have listoffer name filter we are forced to iterate - // on the list of offers provided - requestedType := tmpRequest.Type - offer, err := api.GetOfferFromName(&baremetal.GetOfferFromOfferNameRequest{ - OfferName: requestedType, - Zone: tmpRequest.Zone, - }) - if err != nil { - return nil, err - } - if offer == nil { - return nil, fmt.Errorf("could not match an offer with the type: %s", requestedType) - } - request.OfferID = offer.ID - return api.CreateServer(request) + return c } From 655a1ebc8cde479226d2c612afcd2f8d42497d6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20L=C3=A9one?= Date: Fri, 20 Mar 2020 16:35:06 +0100 Subject: [PATCH 33/67] Fix --- .../namespaces/baremetal/v1alpha1/custom.go | 3 + .../baremetal/v1alpha1/custom_server.go | 105 ++++++++++++++++-- 2 files changed, 101 insertions(+), 7 deletions(-) diff --git a/internal/namespaces/baremetal/v1alpha1/custom.go b/internal/namespaces/baremetal/v1alpha1/custom.go index 197676d84a..2c8807619b 100644 --- a/internal/namespaces/baremetal/v1alpha1/custom.go +++ b/internal/namespaces/baremetal/v1alpha1/custom.go @@ -7,6 +7,9 @@ func GetCommands() *core.Commands { cmds.Merge(core.NewCommands( serverWaitCommand(), + serverStartCommand(), + serverStopCommand(), + serverRebootCommand(), )) cmds.MustFind("baremetal", "server", "create").Override(serverCreateBuilder) diff --git a/internal/namespaces/baremetal/v1alpha1/custom_server.go b/internal/namespaces/baremetal/v1alpha1/custom_server.go index a1fb9dd124..f7abd2035a 100644 --- a/internal/namespaces/baremetal/v1alpha1/custom_server.go +++ b/internal/namespaces/baremetal/v1alpha1/custom_server.go @@ -2,6 +2,7 @@ package baremetal import ( "context" + "fmt" "reflect" "time" @@ -28,6 +29,16 @@ var serverActionArgSpecs = core.ArgSpecs{ core.ZoneArgSpec(), } +func waitForServerFunc() core.WaitFunc { + return func(ctx context.Context, argsI, _ interface{}) (interface{}, error) { + return baremetal.NewAPI(core.ExtractClient(ctx)).WaitForServer(&baremetal.WaitForServerRequest{ + ServerID: argsI.(*baremetalActionRequest).ServerID, + Zone: argsI.(*baremetalActionRequest).Zone, + Timeout: serverActionTimeout, + }) + } +} + func serverWaitCommand() *core.Command { return &core.Command{ Short: `Wait for server to reach a stable state`, @@ -49,12 +60,92 @@ func serverWaitCommand() *core.Command { } } -func waitForServerFunc() core.WaitFunc { - return func(ctx context.Context, argsI, _ interface{}) (interface{}, error) { - return baremetal.NewAPI(core.ExtractClient(ctx)).WaitForServer(&baremetal.WaitForServerRequest{ - ServerID: argsI.(*baremetalActionRequest).ServerID, - Zone: argsI.(*baremetalActionRequest).Zone, - Timeout: serverActionTimeout, - }) +func serverStartCommand() *core.Command { + return &core.Command{ + Short: `Power on server`, + Namespace: "baremetal", + Resource: "server", + Verb: "start", + ArgsType: reflect.TypeOf(baremetalActionRequest{}), + Run: func(ctx context.Context, argsI interface{}) (i interface{}, e error) { + args := argsI.(*baremetalActionRequest) + + client := core.ExtractClient(ctx) + api := baremetal.NewAPI(client) + + _, err := api.StartServer(&baremetal.StartServerRequest{ + Zone: args.Zone, + ServerID: args.ServerID, + }) + return &core.SuccessResult{Message: fmt.Sprintf("%s successfully started", args.ServerID)}, err + }, + WaitFunc: waitForServerFunc(), + ArgSpecs: serverActionArgSpecs, + Examples: []*core.Example{ + { + Short: "Start a server in the default zone with a given id", + Request: `{"server_id": "11111111-1111-1111-1111-111111111111"}`, + }, + }, + } +} + +func serverStopCommand() *core.Command { + return &core.Command{ + Short: `Power off server`, + Namespace: "baremetal", + Resource: "server", + Verb: "stop", + ArgsType: reflect.TypeOf(baremetalActionRequest{}), + Run: func(ctx context.Context, argsI interface{}) (i interface{}, e error) { + args := argsI.(*baremetalActionRequest) + + client := core.ExtractClient(ctx) + api := baremetal.NewAPI(client) + + _, err := api.StopServer(&baremetal.StopServerRequest{ + Zone: args.Zone, + ServerID: args.ServerID, + }) + return &core.SuccessResult{Message: fmt.Sprintf("%s successfully stopped", args.ServerID)}, err + }, + WaitFunc: waitForServerFunc(), + ArgSpecs: serverActionArgSpecs, + Examples: []*core.Example{ + { + Short: "Stop a server in the default zone with a given id", + Request: `{"server_id": "11111111-1111-1111-1111-111111111111"}`, + }, + }, + } +} + +func serverRebootCommand() *core.Command { + return &core.Command{ + Short: `Reboot server`, + Namespace: "baremetal", + Resource: "server", + Verb: "reboot", + ArgsType: reflect.TypeOf(baremetalActionRequest{}), + Run: func(ctx context.Context, argsI interface{}) (i interface{}, e error) { + args := argsI.(*baremetalActionRequest) + + client := core.ExtractClient(ctx) + api := baremetal.NewAPI(client) + + _, err := api.RebootServer(&baremetal.RebootServerRequest{ + Zone: args.Zone, + ServerID: args.ServerID, + }) + return &core.SuccessResult{Message: fmt.Sprintf("%s successfully rebooted", args.ServerID)}, err + }, + WaitFunc: waitForServerFunc(), + ArgSpecs: serverActionArgSpecs, + Examples: []*core.Example{ + { + Short: "Reboot a server in the default zone with a given id", + Request: `{"server_id": "11111111-1111-1111-1111-111111111111"}`, + }, + }, } } From 2e5433a6ed2a872f0b7148af36021a7928da6dc4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20L=C3=A9one?= Date: Fri, 20 Mar 2020 16:38:11 +0100 Subject: [PATCH 34/67] Fix --- .../baremetal/v1alpha1/custom_server_create_test.go | 1 - ...te-server-errors-error-invalid-instance-type.stderr.golden | 4 ---- 2 files changed, 5 deletions(-) delete mode 100644 internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-errors-error-invalid-instance-type.stderr.golden diff --git a/internal/namespaces/baremetal/v1alpha1/custom_server_create_test.go b/internal/namespaces/baremetal/v1alpha1/custom_server_create_test.go index 883febf011..e9a42c19e5 100644 --- a/internal/namespaces/baremetal/v1alpha1/custom_server_create_test.go +++ b/internal/namespaces/baremetal/v1alpha1/custom_server_create_test.go @@ -90,7 +90,6 @@ func Test_CreateServerErrors(t *testing.T) { Commands: GetCommands(), Cmd: "scw baremetal server create type=foobar", Check: core.TestCheckCombine( - core.TestCheckGolden(), core.TestCheckError(&core.CliError{ Err: fmt.Errorf("invalid value 'foobar' for arg 'type'"), Hint: "Accepted values for 'type' are [GP-BM1-L GP-BM1-M HC-BM1-L HC-BM1-S HM-BM1-XL HM-BM1-M]", diff --git a/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-errors-error-invalid-instance-type.stderr.golden b/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-errors-error-invalid-instance-type.stderr.golden deleted file mode 100644 index e39142a2e3..0000000000 --- a/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-errors-error-invalid-instance-type.stderr.golden +++ /dev/null @@ -1,4 +0,0 @@ -Invalid value 'foobar' for arg 'type' - -Hint: -Accepted values for 'type' are [GP-BM1-L GP-BM1-M HC-BM1-L HC-BM1-S HM-BM1-XL HM-BM1-M] From 5ddb8b0915824a3281f716a68c163dad56e7809b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20L=C3=A9one?= Date: Fri, 20 Mar 2020 19:00:17 +0100 Subject: [PATCH 35/67] Fix --- .../namespaces/baremetal/v1alpha1/custom.go | 7 +- .../baremetal/v1alpha1/custom_server.go | 109 +++++------------- .../v1alpha1/custom_server_create_test.go | 12 +- .../baremetal/v1alpha1/custom_server_test.go | 50 ++++++++ .../baremetal/v1alpha1/helpers_test.go | 9 ++ 5 files changed, 99 insertions(+), 88 deletions(-) create mode 100644 internal/namespaces/baremetal/v1alpha1/custom_server_test.go create mode 100644 internal/namespaces/baremetal/v1alpha1/helpers_test.go diff --git a/internal/namespaces/baremetal/v1alpha1/custom.go b/internal/namespaces/baremetal/v1alpha1/custom.go index 2c8807619b..4a638a4460 100644 --- a/internal/namespaces/baremetal/v1alpha1/custom.go +++ b/internal/namespaces/baremetal/v1alpha1/custom.go @@ -7,12 +7,13 @@ func GetCommands() *core.Commands { cmds.Merge(core.NewCommands( serverWaitCommand(), - serverStartCommand(), - serverStopCommand(), - serverRebootCommand(), )) cmds.MustFind("baremetal", "server", "create").Override(serverCreateBuilder) + cmds.MustFind("baremetal", "server", "start").Override(serverStartBuilder) + cmds.MustFind("baremetal", "server", "stop").Override(serverStopBuilder) + cmds.MustFind("baremetal", "server", "reboot").Override(serverRebootBuilder) + return cmds } diff --git a/internal/namespaces/baremetal/v1alpha1/custom_server.go b/internal/namespaces/baremetal/v1alpha1/custom_server.go index f7abd2035a..42eefd19f3 100644 --- a/internal/namespaces/baremetal/v1alpha1/custom_server.go +++ b/internal/namespaces/baremetal/v1alpha1/custom_server.go @@ -2,7 +2,6 @@ package baremetal import ( "context" - "fmt" "reflect" "time" @@ -60,92 +59,44 @@ func serverWaitCommand() *core.Command { } } -func serverStartCommand() *core.Command { - return &core.Command{ - Short: `Power on server`, - Namespace: "baremetal", - Resource: "server", - Verb: "start", - ArgsType: reflect.TypeOf(baremetalActionRequest{}), - Run: func(ctx context.Context, argsI interface{}) (i interface{}, e error) { - args := argsI.(*baremetalActionRequest) - - client := core.ExtractClient(ctx) - api := baremetal.NewAPI(client) +// serverStartBuilder overrides the baremetalServerStart command +func serverStartBuilder(c *core.Command) *core.Command { - _, err := api.StartServer(&baremetal.StartServerRequest{ - Zone: args.Zone, - ServerID: args.ServerID, - }) - return &core.SuccessResult{Message: fmt.Sprintf("%s successfully started", args.ServerID)}, err - }, - WaitFunc: waitForServerFunc(), - ArgSpecs: serverActionArgSpecs, - Examples: []*core.Example{ - { - Short: "Start a server in the default zone with a given id", - Request: `{"server_id": "11111111-1111-1111-1111-111111111111"}`, - }, - }, + c.WaitFunc = func(ctx context.Context, argsI, respI interface{}) (interface{}, error) { + return baremetal.NewAPI(core.ExtractClient(ctx)).WaitForServer(&baremetal.WaitForServerRequest{ + Zone: argsI.(*baremetal.StartServerRequest).Zone, + ServerID: respI.(*baremetal.StartServerRequest).ServerID, + Timeout: serverActionTimeout, + }) } -} -func serverStopCommand() *core.Command { - return &core.Command{ - Short: `Power off server`, - Namespace: "baremetal", - Resource: "server", - Verb: "stop", - ArgsType: reflect.TypeOf(baremetalActionRequest{}), - Run: func(ctx context.Context, argsI interface{}) (i interface{}, e error) { - args := argsI.(*baremetalActionRequest) + return c +} - client := core.ExtractClient(ctx) - api := baremetal.NewAPI(client) +// serverStopBuilder overrides the baremetalServerStop command +func serverStopBuilder(c *core.Command) *core.Command { - _, err := api.StopServer(&baremetal.StopServerRequest{ - Zone: args.Zone, - ServerID: args.ServerID, - }) - return &core.SuccessResult{Message: fmt.Sprintf("%s successfully stopped", args.ServerID)}, err - }, - WaitFunc: waitForServerFunc(), - ArgSpecs: serverActionArgSpecs, - Examples: []*core.Example{ - { - Short: "Stop a server in the default zone with a given id", - Request: `{"server_id": "11111111-1111-1111-1111-111111111111"}`, - }, - }, + c.WaitFunc = func(ctx context.Context, argsI, respI interface{}) (interface{}, error) { + return baremetal.NewAPI(core.ExtractClient(ctx)).WaitForServer(&baremetal.WaitForServerRequest{ + Zone: argsI.(*baremetal.StopServerRequest).Zone, + ServerID: respI.(*baremetal.StopServerRequest).ServerID, + Timeout: serverActionTimeout, + }) } -} -func serverRebootCommand() *core.Command { - return &core.Command{ - Short: `Reboot server`, - Namespace: "baremetal", - Resource: "server", - Verb: "reboot", - ArgsType: reflect.TypeOf(baremetalActionRequest{}), - Run: func(ctx context.Context, argsI interface{}) (i interface{}, e error) { - args := argsI.(*baremetalActionRequest) + return c +} - client := core.ExtractClient(ctx) - api := baremetal.NewAPI(client) +// serverRebootBuilder overrides the baremetalServerReboot command +func serverRebootBuilder(c *core.Command) *core.Command { - _, err := api.RebootServer(&baremetal.RebootServerRequest{ - Zone: args.Zone, - ServerID: args.ServerID, - }) - return &core.SuccessResult{Message: fmt.Sprintf("%s successfully rebooted", args.ServerID)}, err - }, - WaitFunc: waitForServerFunc(), - ArgSpecs: serverActionArgSpecs, - Examples: []*core.Example{ - { - Short: "Reboot a server in the default zone with a given id", - Request: `{"server_id": "11111111-1111-1111-1111-111111111111"}`, - }, - }, + c.WaitFunc = func(ctx context.Context, argsI, respI interface{}) (interface{}, error) { + return baremetal.NewAPI(core.ExtractClient(ctx)).WaitForServer(&baremetal.WaitForServerRequest{ + Zone: argsI.(*baremetal.RebootServerRequest).Zone, + ServerID: respI.(*baremetal.RebootServerRequest).ServerID, + Timeout: serverActionTimeout, + }) } + + return c } diff --git a/internal/namespaces/baremetal/v1alpha1/custom_server_create_test.go b/internal/namespaces/baremetal/v1alpha1/custom_server_create_test.go index e9a42c19e5..0f2337a5de 100644 --- a/internal/namespaces/baremetal/v1alpha1/custom_server_create_test.go +++ b/internal/namespaces/baremetal/v1alpha1/custom_server_create_test.go @@ -10,8 +10,8 @@ import ( "github.com/scaleway/scaleway-sdk-go/scw" ) -// deleteServerAfterFunc deletes the created server and its attached volumes and IPs. -func deleteServerAfterFunc(ctx *core.AfterFuncCtx) error { +// waitAndDeleteServerAfterFunc wait for the server to be in a stable state and delete it +func waitAndDeleteServerAfterFunc(ctx *core.AfterFuncCtx) error { _, err := baremetal.NewAPI(ctx.Client).WaitForServer(&baremetal.WaitForServerRequest{ ServerID: ctx.CmdResult.(*baremetal.Server).ID, Zone: ctx.CmdResult.(*baremetal.Server).Zone, @@ -35,7 +35,7 @@ func Test_CreateServer(t *testing.T) { core.TestCheckGolden(), core.TestCheckExitCode(0), ), - AfterFunc: deleteServerAfterFunc, + AfterFunc: waitAndDeleteServerAfterFunc, DefaultZone: scw.ZoneFrPar2, })) @@ -49,7 +49,7 @@ func Test_CreateServer(t *testing.T) { core.TestCheckExitCode(0), ), DefaultZone: scw.ZoneFrPar2, - AfterFunc: deleteServerAfterFunc, + AfterFunc: waitAndDeleteServerAfterFunc, })) t.Run("Tags", core.Test(&core.TestConfig{ @@ -63,7 +63,7 @@ func Test_CreateServer(t *testing.T) { core.TestCheckExitCode(0), ), DefaultZone: scw.ZoneFrPar2, - AfterFunc: deleteServerAfterFunc, + AfterFunc: waitAndDeleteServerAfterFunc, })) //t.Run("HC-BM1-L", core.Test(&core.TestConfig{ @@ -75,7 +75,7 @@ func Test_CreateServer(t *testing.T) { // }, // core.TestCheckExitCode(0), // ), - // AfterFunc: deleteServerAfterFunc, + // AfterFunc: waitAndDeleteServerAfterFunc, // DefaultZone: scw.ZoneFrPar2, //})) }) diff --git a/internal/namespaces/baremetal/v1alpha1/custom_server_test.go b/internal/namespaces/baremetal/v1alpha1/custom_server_test.go new file mode 100644 index 0000000000..24579e4fbb --- /dev/null +++ b/internal/namespaces/baremetal/v1alpha1/custom_server_test.go @@ -0,0 +1,50 @@ +package baremetal + +import ( + "testing" + + "github.com/scaleway/scaleway-cli/internal/core" + "github.com/scaleway/scaleway-sdk-go/scw" +) + +func Test_StartServerErrors(t *testing.T) { + t.Run("Error: cannot be started while not delivered", core.Test(&core.TestConfig{ + BeforeFunc: createServer("Server"), + Commands: GetCommands(), + Cmd: "scw baremetal server start server-id={{ .Server.ID }}", + Check: core.TestCheckCombine( + core.TestCheckExitCode(1), + ), + AfterFunc: waitAndDeleteServerAfterFunc, + DefaultZone: scw.ZoneFrPar2, + })) + +} + +func Test_StopServerErrors(t *testing.T) { + t.Run("Error: cannot be stopped while not delivered", core.Test(&core.TestConfig{ + BeforeFunc: createServer("Server"), + Commands: GetCommands(), + Cmd: "scw baremetal server stop server-id={{ .Server.ID }}", + Check: core.TestCheckCombine( + core.TestCheckExitCode(1), + ), + AfterFunc: waitAndDeleteServerAfterFunc, + DefaultZone: scw.ZoneFrPar2, + })) + +} + +func Test_RebootServerErrors(t *testing.T) { + t.Run("Error: cannot be rebooted while not delivered", core.Test(&core.TestConfig{ + BeforeFunc: createServer("Server"), + Commands: GetCommands(), + Cmd: "scw baremetal server reboot server-id={{ .Server.ID }}", + Check: core.TestCheckCombine( + core.TestCheckExitCode(1), + ), + AfterFunc: waitAndDeleteServerAfterFunc, + DefaultZone: scw.ZoneFrPar2, + })) + +} diff --git a/internal/namespaces/baremetal/v1alpha1/helpers_test.go b/internal/namespaces/baremetal/v1alpha1/helpers_test.go new file mode 100644 index 0000000000..868a4d94ad --- /dev/null +++ b/internal/namespaces/baremetal/v1alpha1/helpers_test.go @@ -0,0 +1,9 @@ +package baremetal + +import "github.com/scaleway/scaleway-cli/internal/core" + +// createServer creates a baremetal instance +// register it in the context Meta at metaKey. +func createServer(metaKey string) core.BeforeFunc { + return core.ExecStoreBeforeCmd(metaKey, "scw baremetal server create") +} From 3dfd241843d60bc39e00d9ed3e0f81fe528539fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20L=C3=A9one?= Date: Fri, 20 Mar 2020 19:08:07 +0100 Subject: [PATCH 36/67] Fix --- ...age-baremetal-server-create-usage.stderr.golden | 14 +++++++------- ...age-baremetal-server-reboot-usage.stderr.golden | 1 + ...sage-baremetal-server-start-usage.stderr.golden | 1 + ...usage-baremetal-server-stop-usage.stderr.golden | 1 + ...-all-usage-baremetal-server-usage.stderr.golden | 2 +- 5 files changed, 11 insertions(+), 8 deletions(-) diff --git a/cmd/scw/testdata/test-all-usage-baremetal-server-create-usage.stderr.golden b/cmd/scw/testdata/test-all-usage-baremetal-server-create-usage.stderr.golden index b28aa08291..fdbfd24a4e 100644 --- a/cmd/scw/testdata/test-all-usage-baremetal-server-create-usage.stderr.golden +++ b/cmd/scw/testdata/test-all-usage-baremetal-server-create-usage.stderr.golden @@ -1,4 +1,4 @@ -Create a new server. +Create a new server. Once the server is created, you probably want to install an OS. USAGE: scw baremetal server create [arg=value ...] @@ -11,12 +11,12 @@ EXAMPLES: scw baremetal server create name=foo tags.0=prod tags.1=blue type=GP-BM1-M ARGS: - [type=GP-BM1-M] Server commercial type (GP-BM1-L | GP-BM1-M | HC-BM1-L | HC-BM1-S | HM-BM1-XL | HM-BM1-M) - [name=] Name of the server - [description] Description associated to the server, max 255 characters - [tags.{index}] Tags to associate to the server - [zone] Zone to target. If none is passed will use default zone from the config (fr-par-2) - [organization-id] Organization ID to use. If none is passed will use default organization ID from the config + name= Name of the server (≠hostname) + [description] Description associated to the server, max 255 characters + [type=GP-BM1-M] Server commercial type (GP-BM1-L | GP-BM1-M | HC-BM1-L | HC-BM1-S | HM-BM1-XL | HM-BM1-M) + [tags.{index}] Tags to associate to the server + [organization-id] Organization ID to use. If none is passed will use default organization ID from the config + [zone] Zone to target. If none is passed will use default zone from the config (fr-par-2) FLAGS: -h, --help help for create diff --git a/cmd/scw/testdata/test-all-usage-baremetal-server-reboot-usage.stderr.golden b/cmd/scw/testdata/test-all-usage-baremetal-server-reboot-usage.stderr.golden index 255c78ab2d..b8391fea92 100644 --- a/cmd/scw/testdata/test-all-usage-baremetal-server-reboot-usage.stderr.golden +++ b/cmd/scw/testdata/test-all-usage-baremetal-server-reboot-usage.stderr.golden @@ -10,6 +10,7 @@ ARGS: FLAGS: -h, --help help for reboot + -w, --wait wait until the server is ready GLOBAL FLAGS: -D, --debug Enable debug mode diff --git a/cmd/scw/testdata/test-all-usage-baremetal-server-start-usage.stderr.golden b/cmd/scw/testdata/test-all-usage-baremetal-server-start-usage.stderr.golden index 67a3210ba3..353a1431de 100644 --- a/cmd/scw/testdata/test-all-usage-baremetal-server-start-usage.stderr.golden +++ b/cmd/scw/testdata/test-all-usage-baremetal-server-start-usage.stderr.golden @@ -9,6 +9,7 @@ ARGS: FLAGS: -h, --help help for start + -w, --wait wait until the server is ready GLOBAL FLAGS: -D, --debug Enable debug mode diff --git a/cmd/scw/testdata/test-all-usage-baremetal-server-stop-usage.stderr.golden b/cmd/scw/testdata/test-all-usage-baremetal-server-stop-usage.stderr.golden index e40e16dd41..78ff08b17a 100644 --- a/cmd/scw/testdata/test-all-usage-baremetal-server-stop-usage.stderr.golden +++ b/cmd/scw/testdata/test-all-usage-baremetal-server-stop-usage.stderr.golden @@ -9,6 +9,7 @@ ARGS: FLAGS: -h, --help help for stop + -w, --wait wait until the server is ready GLOBAL FLAGS: -D, --debug Enable debug mode diff --git a/cmd/scw/testdata/test-all-usage-baremetal-server-usage.stderr.golden b/cmd/scw/testdata/test-all-usage-baremetal-server-usage.stderr.golden index 63650e107f..36c33f61ca 100644 --- a/cmd/scw/testdata/test-all-usage-baremetal-server-usage.stderr.golden +++ b/cmd/scw/testdata/test-all-usage-baremetal-server-usage.stderr.golden @@ -6,13 +6,13 @@ USAGE: AVAILABLE COMMANDS: list List servers get Get server + create Create server update Update server install Install server delete Delete server reboot Reboot server start Start server stop Stop server - create Create server wait Wait for server to reach a stable state FLAGS: From 5ce10e5e0e295005f3ceb5485779307af7a0ba62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20L=C3=A9one?= Date: Fri, 20 Mar 2020 19:10:30 +0100 Subject: [PATCH 37/67] Fix --- internal/namespaces/baremetal/v1alpha1/custom_server.go | 3 --- internal/namespaces/baremetal/v1alpha1/custom_server_test.go | 3 --- 2 files changed, 6 deletions(-) diff --git a/internal/namespaces/baremetal/v1alpha1/custom_server.go b/internal/namespaces/baremetal/v1alpha1/custom_server.go index 42eefd19f3..ad830e4d0b 100644 --- a/internal/namespaces/baremetal/v1alpha1/custom_server.go +++ b/internal/namespaces/baremetal/v1alpha1/custom_server.go @@ -61,7 +61,6 @@ func serverWaitCommand() *core.Command { // serverStartBuilder overrides the baremetalServerStart command func serverStartBuilder(c *core.Command) *core.Command { - c.WaitFunc = func(ctx context.Context, argsI, respI interface{}) (interface{}, error) { return baremetal.NewAPI(core.ExtractClient(ctx)).WaitForServer(&baremetal.WaitForServerRequest{ Zone: argsI.(*baremetal.StartServerRequest).Zone, @@ -75,7 +74,6 @@ func serverStartBuilder(c *core.Command) *core.Command { // serverStopBuilder overrides the baremetalServerStop command func serverStopBuilder(c *core.Command) *core.Command { - c.WaitFunc = func(ctx context.Context, argsI, respI interface{}) (interface{}, error) { return baremetal.NewAPI(core.ExtractClient(ctx)).WaitForServer(&baremetal.WaitForServerRequest{ Zone: argsI.(*baremetal.StopServerRequest).Zone, @@ -89,7 +87,6 @@ func serverStopBuilder(c *core.Command) *core.Command { // serverRebootBuilder overrides the baremetalServerReboot command func serverRebootBuilder(c *core.Command) *core.Command { - c.WaitFunc = func(ctx context.Context, argsI, respI interface{}) (interface{}, error) { return baremetal.NewAPI(core.ExtractClient(ctx)).WaitForServer(&baremetal.WaitForServerRequest{ Zone: argsI.(*baremetal.RebootServerRequest).Zone, diff --git a/internal/namespaces/baremetal/v1alpha1/custom_server_test.go b/internal/namespaces/baremetal/v1alpha1/custom_server_test.go index 24579e4fbb..bc8adde89c 100644 --- a/internal/namespaces/baremetal/v1alpha1/custom_server_test.go +++ b/internal/namespaces/baremetal/v1alpha1/custom_server_test.go @@ -18,7 +18,6 @@ func Test_StartServerErrors(t *testing.T) { AfterFunc: waitAndDeleteServerAfterFunc, DefaultZone: scw.ZoneFrPar2, })) - } func Test_StopServerErrors(t *testing.T) { @@ -32,7 +31,6 @@ func Test_StopServerErrors(t *testing.T) { AfterFunc: waitAndDeleteServerAfterFunc, DefaultZone: scw.ZoneFrPar2, })) - } func Test_RebootServerErrors(t *testing.T) { @@ -46,5 +44,4 @@ func Test_RebootServerErrors(t *testing.T) { AfterFunc: waitAndDeleteServerAfterFunc, DefaultZone: scw.ZoneFrPar2, })) - } From 739c1a13bacd68a19b87ceff580eb5ea6b508a39 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20L=C3=A9one?= Date: Thu, 26 Mar 2020 10:59:14 +0100 Subject: [PATCH 38/67] Fix --- .../test-list-server-list-with-tags.cassette.yaml | 8 ++++---- .../test-list-server-list-with-tags.stdout.golden | 2 ++ .../testdata/test-list-server-simple.cassette.yaml | 8 ++++---- .../testdata/test-list-server-simple.stdout.golden | 2 ++ 4 files changed, 12 insertions(+), 8 deletions(-) create mode 100644 internal/namespaces/baremetal/v1alpha1/testdata/test-list-server-list-with-tags.stdout.golden create mode 100644 internal/namespaces/baremetal/v1alpha1/testdata/test-list-server-simple.stdout.golden diff --git a/internal/namespaces/baremetal/v1alpha1/testdata/test-list-server-list-with-tags.cassette.yaml b/internal/namespaces/baremetal/v1alpha1/testdata/test-list-server-list-with-tags.cassette.yaml index 8a074973ff..20b2622f61 100644 --- a/internal/namespaces/baremetal/v1alpha1/testdata/test-list-server-list-with-tags.cassette.yaml +++ b/internal/namespaces/baremetal/v1alpha1/testdata/test-list-server-list-with-tags.cassette.yaml @@ -10,16 +10,16 @@ interactions: url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers?order_by=created_at_asc&page=1&tags=a method: GET response: - body: '{"total_count":0,"servers":[]}' + body: '{"total_count":1,"servers":[{"id":"63122914-918a-431b-aeb1-001fc1a7e3b2","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"bm-blissful-yonath","description":"","updated_at":"2020-03-26T09:58:55.787980Z","created_at":"2020-03-26T09:51:14.289250Z","status":"ready","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["a"],"ips":[{"id":"fe70a9b5-7f3d-4927-8730-cc3c995fefec","address":"51.159.56.110","reverse":"63122914-918a-431b-aeb1-001fc1a7e3b2.fr-par-2.baremetal.scw.cloud","version":"Ipv4","reverse_status":"active","reverse_status_message":null},{"id":"f160ce5b-58c1-47cf-a9ab-807e5f5f45dd","address":"2001:0bc8:1200:0000:dac4:97ff:fe5b:7c81","reverse":"63122914-918a-431b-aeb1-001fc1a7e3b2.fr-par-2.baremetal.scw.cloud","version":"Ipv6","reverse_status":"active","reverse_status_message":null}],"domain":"63122914-918a-431b-aeb1-001fc1a7e3b2.fr-par-2.baremetal.scw.cloud","boot_type":"normal","zone":"fr-par-2"}]}' headers: Content-Length: - - "30" + - "954" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Mar 2020 15:36:24 GMT + - Thu, 26 Mar 2020 09:58:58 GMT Server: - scaleway_api Strict-Transport-Security: @@ -29,7 +29,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 78254370-c59b-4160-a334-cccac14ea62f + - 0acae1a9-df5c-4a4d-8fe1-9787ef0d2e65 status: 200 OK code: 200 duration: "" diff --git a/internal/namespaces/baremetal/v1alpha1/testdata/test-list-server-list-with-tags.stdout.golden b/internal/namespaces/baremetal/v1alpha1/testdata/test-list-server-list-with-tags.stdout.golden new file mode 100644 index 0000000000..19ae1bf47c --- /dev/null +++ b/internal/namespaces/baremetal/v1alpha1/testdata/test-list-server-list-with-tags.stdout.golden @@ -0,0 +1,2 @@ +ID ORGANIZATION ID NAME DESCRIPTION UPDATED AT CREATED AT STATUS OFFER ID TAGS IPS DOMAIN BOOT TYPE ZONE +63122914-918a-431b-aeb1-001fc1a7e3b2 951df375-e094-4d26-97c1-ba548eeb9c42 bm-blissful-yonath - few seconds ago few seconds ago ready 964f9b38-577e-470f-a220-7d762f9e8672 [a] 2 63122914-918a-431b-aeb1-001fc1a7e3b2.fr-par-2.baremetal.scw.cloud normal fr-par-2 diff --git a/internal/namespaces/baremetal/v1alpha1/testdata/test-list-server-simple.cassette.yaml b/internal/namespaces/baremetal/v1alpha1/testdata/test-list-server-simple.cassette.yaml index 96875e708b..049b4f6e5c 100644 --- a/internal/namespaces/baremetal/v1alpha1/testdata/test-list-server-simple.cassette.yaml +++ b/internal/namespaces/baremetal/v1alpha1/testdata/test-list-server-simple.cassette.yaml @@ -10,16 +10,16 @@ interactions: url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers?order_by=created_at_asc&page=1 method: GET response: - body: '{"total_count":0,"servers":[]}' + body: '{"total_count":1,"servers":[{"id":"63122914-918a-431b-aeb1-001fc1a7e3b2","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"bm-blissful-yonath","description":"","updated_at":"2020-03-26T09:58:55.787980Z","created_at":"2020-03-26T09:51:14.289250Z","status":"ready","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["a"],"ips":[{"id":"fe70a9b5-7f3d-4927-8730-cc3c995fefec","address":"51.159.56.110","reverse":"63122914-918a-431b-aeb1-001fc1a7e3b2.fr-par-2.baremetal.scw.cloud","version":"Ipv4","reverse_status":"active","reverse_status_message":null},{"id":"f160ce5b-58c1-47cf-a9ab-807e5f5f45dd","address":"2001:0bc8:1200:0000:dac4:97ff:fe5b:7c81","reverse":"63122914-918a-431b-aeb1-001fc1a7e3b2.fr-par-2.baremetal.scw.cloud","version":"Ipv6","reverse_status":"active","reverse_status_message":null}],"domain":"63122914-918a-431b-aeb1-001fc1a7e3b2.fr-par-2.baremetal.scw.cloud","boot_type":"normal","zone":"fr-par-2"}]}' headers: Content-Length: - - "30" + - "954" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Mar 2020 15:36:24 GMT + - Thu, 26 Mar 2020 09:58:58 GMT Server: - scaleway_api Strict-Transport-Security: @@ -29,7 +29,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - fbe385c2-fccd-41cc-842c-45c54c64a1d7 + - 233a6a45-c1e7-43d4-ac8d-d2e347a7215c status: 200 OK code: 200 duration: "" diff --git a/internal/namespaces/baremetal/v1alpha1/testdata/test-list-server-simple.stdout.golden b/internal/namespaces/baremetal/v1alpha1/testdata/test-list-server-simple.stdout.golden new file mode 100644 index 0000000000..19ae1bf47c --- /dev/null +++ b/internal/namespaces/baremetal/v1alpha1/testdata/test-list-server-simple.stdout.golden @@ -0,0 +1,2 @@ +ID ORGANIZATION ID NAME DESCRIPTION UPDATED AT CREATED AT STATUS OFFER ID TAGS IPS DOMAIN BOOT TYPE ZONE +63122914-918a-431b-aeb1-001fc1a7e3b2 951df375-e094-4d26-97c1-ba548eeb9c42 bm-blissful-yonath - few seconds ago few seconds ago ready 964f9b38-577e-470f-a220-7d762f9e8672 [a] 2 63122914-918a-431b-aeb1-001fc1a7e3b2.fr-par-2.baremetal.scw.cloud normal fr-par-2 From 5a4920434094ef4e1478ad0dc072f6452dd1b20b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20L=C3=A9one?= Date: Thu, 26 Mar 2020 22:19:19 +0100 Subject: [PATCH 39/67] Fix --- .../v1alpha1/custom_server_create_test.go | 41 +- .../baremetal/v1alpha1/custom_server_test.go | 15 +- .../baremetal/v1alpha1/helpers_test.go | 17 +- ...rebooted-while-not-delivered.cassette.yaml | 239 +++ ...-started-while-not-delivered.cassette.yaml | 1359 +++++++++++++++++ ...-stopped-while-not-delivered.cassette.yaml | 783 ++++++++++ 6 files changed, 2434 insertions(+), 20 deletions(-) create mode 100644 internal/namespaces/baremetal/v1alpha1/testdata/test-reboot-server-errors-error-cannot-be-rebooted-while-not-delivered.cassette.yaml create mode 100644 internal/namespaces/baremetal/v1alpha1/testdata/test-start-server-errors-error-cannot-be-started-while-not-delivered.cassette.yaml create mode 100644 internal/namespaces/baremetal/v1alpha1/testdata/test-stop-server-errors-error-cannot-be-stopped-while-not-delivered.cassette.yaml diff --git a/internal/namespaces/baremetal/v1alpha1/custom_server_create_test.go b/internal/namespaces/baremetal/v1alpha1/custom_server_create_test.go index 0f2337a5de..05675502b6 100644 --- a/internal/namespaces/baremetal/v1alpha1/custom_server_create_test.go +++ b/internal/namespaces/baremetal/v1alpha1/custom_server_create_test.go @@ -10,19 +10,19 @@ import ( "github.com/scaleway/scaleway-sdk-go/scw" ) -// waitAndDeleteServerAfterFunc wait for the server to be in a stable state and delete it -func waitAndDeleteServerAfterFunc(ctx *core.AfterFuncCtx) error { - _, err := baremetal.NewAPI(ctx.Client).WaitForServer(&baremetal.WaitForServerRequest{ - ServerID: ctx.CmdResult.(*baremetal.Server).ID, - Zone: ctx.CmdResult.(*baremetal.Server).Zone, - Timeout: serverActionTimeout, - }) - if err != nil { - return err - } - ctx.ExecuteCmd("scw baremetal server delete server-id=" + ctx.CmdResult.(*baremetal.Server).ID) - return nil -} +//// waitAndDeleteServerAfterFunc wait for the server to be in a stable state and delete it +//func waitAndDeleteServerAfterFunc(ctx *core.AfterFuncCtx) error { +// _, err := baremetal.NewAPI(ctx.Client).WaitForServer(&baremetal.WaitForServerRequest{ +// ServerID: ctx.CmdResult.(*baremetal.Server).ID, +// Zone: ctx.CmdResult.(*baremetal.Server).Zone, +// Timeout: serverActionTimeout, +// }) +// if err != nil { +// return err +// } +// ctx.ExecuteCmd("scw baremetal server delete server-id=" + ctx.CmdResult.(*baremetal.Server).ID) +// return nil +//} // All test below should succeed to create an instance. func Test_CreateServer(t *testing.T) { @@ -35,7 +35,10 @@ func Test_CreateServer(t *testing.T) { core.TestCheckGolden(), core.TestCheckExitCode(0), ), - AfterFunc: waitAndDeleteServerAfterFunc, + AfterFunc: core.AfterFuncCombine( + waitServerAfter("Server"), + deleteServer("Server"), + ), DefaultZone: scw.ZoneFrPar2, })) @@ -49,7 +52,10 @@ func Test_CreateServer(t *testing.T) { core.TestCheckExitCode(0), ), DefaultZone: scw.ZoneFrPar2, - AfterFunc: waitAndDeleteServerAfterFunc, + AfterFunc: core.AfterFuncCombine( + waitServerAfter("Server"), + deleteServer("Server"), + ), })) t.Run("Tags", core.Test(&core.TestConfig{ @@ -63,7 +69,10 @@ func Test_CreateServer(t *testing.T) { core.TestCheckExitCode(0), ), DefaultZone: scw.ZoneFrPar2, - AfterFunc: waitAndDeleteServerAfterFunc, + AfterFunc: core.AfterFuncCombine( + waitServerAfter("Server"), + deleteServer("Server"), + ), })) //t.Run("HC-BM1-L", core.Test(&core.TestConfig{ diff --git a/internal/namespaces/baremetal/v1alpha1/custom_server_test.go b/internal/namespaces/baremetal/v1alpha1/custom_server_test.go index bc8adde89c..2c8cd95c47 100644 --- a/internal/namespaces/baremetal/v1alpha1/custom_server_test.go +++ b/internal/namespaces/baremetal/v1alpha1/custom_server_test.go @@ -15,7 +15,10 @@ func Test_StartServerErrors(t *testing.T) { Check: core.TestCheckCombine( core.TestCheckExitCode(1), ), - AfterFunc: waitAndDeleteServerAfterFunc, + AfterFunc: core.AfterFuncCombine( + waitServerAfter("Server"), + deleteServer("Server"), + ), DefaultZone: scw.ZoneFrPar2, })) } @@ -28,7 +31,10 @@ func Test_StopServerErrors(t *testing.T) { Check: core.TestCheckCombine( core.TestCheckExitCode(1), ), - AfterFunc: waitAndDeleteServerAfterFunc, + AfterFunc: core.AfterFuncCombine( + waitServerAfter("Server"), + deleteServer("Server"), + ), DefaultZone: scw.ZoneFrPar2, })) } @@ -41,7 +47,10 @@ func Test_RebootServerErrors(t *testing.T) { Check: core.TestCheckCombine( core.TestCheckExitCode(1), ), - AfterFunc: waitAndDeleteServerAfterFunc, + AfterFunc: core.AfterFuncCombine( + waitServerAfter("Server"), + deleteServer("Server"), + ), DefaultZone: scw.ZoneFrPar2, })) } diff --git a/internal/namespaces/baremetal/v1alpha1/helpers_test.go b/internal/namespaces/baremetal/v1alpha1/helpers_test.go index 868a4d94ad..fd1d0e8509 100644 --- a/internal/namespaces/baremetal/v1alpha1/helpers_test.go +++ b/internal/namespaces/baremetal/v1alpha1/helpers_test.go @@ -1,9 +1,24 @@ package baremetal -import "github.com/scaleway/scaleway-cli/internal/core" +import ( + "github.com/scaleway/scaleway-cli/internal/core" +) // createServer creates a baremetal instance // register it in the context Meta at metaKey. func createServer(metaKey string) core.BeforeFunc { return core.ExecStoreBeforeCmd(metaKey, "scw baremetal server create") } + +// deleteServer deletes a server +// previously registered in the context Meta at metaKey. +func deleteServer(metaKey string) core.AfterFunc { + return core.ExecAfterCmd("scw baremetal server delete server-id={{ ." + metaKey + ".ID }}") +} + +func waitServerAfter(metaKey string) core.AfterFunc { + return func(ctx *core.AfterFuncCtx) error { + ctx.ExecuteCmd("scw baremetal server wait server-id={{ ." + metaKey + ".ID }}") + return nil + } +} diff --git a/internal/namespaces/baremetal/v1alpha1/testdata/test-reboot-server-errors-error-cannot-be-rebooted-while-not-delivered.cassette.yaml b/internal/namespaces/baremetal/v1alpha1/testdata/test-reboot-server-errors-error-cannot-be-rebooted-while-not-delivered.cassette.yaml new file mode 100644 index 0000000000..66c3fe5cbf --- /dev/null +++ b/internal/namespaces/baremetal/v1alpha1/testdata/test-reboot-server-errors-error-cannot-be-rebooted-while-not-delivered.cassette.yaml @@ -0,0 +1,239 @@ +--- +version: 1 +interactions: +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/offers?page=1 + method: GET + response: + body: '{"total_count":7,"offers":[{"id":"3ab0dc29-2fd4-486e-88bf-d08fbf49214b","name":"HC-BM1-L","stock":"available","bandwidth":1000,"commercial_range":"high_cpu","price_by_minute":{"currency_code":"EUR","units":1,"nanos":499900000},"price_by_month":{"currency_code":"EUR","units":749,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"Intel + Xeon Gold 5120","cores":28,"threads":56,"frequency":2200},{"name":"Intel Xeon + Gold 5120","cores":28,"threads":56,"frequency":2200}],"memory":[{"capacity":384,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":1,"nanos":499900000},"price_per_month":{"currency_code":"EUR","units":749,"nanos":990000000}},{"id":"5363865f-2266-40f9-a43f-4f3aba251524","name":"HM-BM1-XL","stock":"empty","bandwidth":1000,"commercial_range":"high_memory","price_by_minute":{"currency_code":"EUR","units":2,"nanos":599900000},"price_by_month":{"currency_code":"EUR","units":1299,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"Intel + Xeon Gold 6140","cores":36,"threads":72,"frequency":2300},{"name":"Intel Xeon + Gold 6140","cores":36,"threads":72,"frequency":2300}],"memory":[{"capacity":768,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":2,"nanos":599900000},"price_per_month":{"currency_code":"EUR","units":1299,"nanos":990000000}},{"id":"737f18c8-febc-4408-b69e-776bca0a3f48","name":"HC-BM1-S","stock":"available","bandwidth":1000,"commercial_range":"high_cpu","price_by_minute":{"currency_code":"EUR","units":0,"nanos":659900000},"price_by_month":{"currency_code":"EUR","units":329,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"Intel + Xeon Silver 4114","cores":10,"threads":20,"frequency":2200},{"name":"Intel Xeon + Silver 4114","cores":10,"threads":20,"frequency":2200}],"memory":[{"capacity":128,"type":"DDR4","frequency":2400,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":659900000},"price_per_month":{"currency_code":"EUR","units":329,"nanos":990000000}},{"id":"7fde3890-9787-488c-ac89-c4e00a4e5f83","name":"GP-BM1-S","stock":"available","bandwidth":500,"commercial_range":"general_purpose","price_by_minute":{"currency_code":"EUR","units":0,"nanos":240000000},"price_by_month":{"currency_code":"EUR","units":119,"nanos":990000000},"disk":[{"capacity":250,"type":"SSD"},{"capacity":250,"type":"SSD"}],"enable":true,"cpu":[{"name":"Intel + Xeon E3 1240v6","cores":4,"threads":8,"frequency":3700}],"memory":[{"capacity":32,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_gp","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":240000000},"price_per_month":{"currency_code":"EUR","units":119,"nanos":990000000}},{"id":"8090d302-3545-4905-9cf3-bcb77a299f47","name":"GP-BM1-L","stock":"available","bandwidth":750,"commercial_range":"general_purpose","price_by_minute":{"currency_code":"EUR","units":0,"nanos":499900000},"price_by_month":{"currency_code":"EUR","units":249,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"AMD + EPYC 7281","cores":16,"threads":32,"frequency":2100}],"memory":[{"capacity":96,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_gp","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":499900000},"price_per_month":{"currency_code":"EUR","units":249,"nanos":990000000}},{"id":"964f9b38-577e-470f-a220-7d762f9e8672","name":"GP-BM1-M","stock":"available","bandwidth":500,"commercial_range":"general_purpose","price_by_minute":{"currency_code":"EUR","units":0,"nanos":399900000},"price_by_month":{"currency_code":"EUR","units":199,"nanos":990000000},"disk":[{"capacity":1024,"type":"SSD"},{"capacity":1024,"type":"SSD"},{"capacity":1024,"type":"SSD"}],"enable":true,"cpu":[{"name":"Intel + Xeon E3 1240v6","cores":4,"threads":8,"frequency":3700}],"memory":[{"capacity":64,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_gp","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":399900000},"price_per_month":{"currency_code":"EUR","units":199,"nanos":990000000}},{"id":"c452f76a-2cda-4a1b-9658-a16952dc5ff0","name":"HM-BM1-M","stock":"available","bandwidth":1000,"commercial_range":"high_memory","price_by_minute":{"currency_code":"EUR","units":0,"nanos":799900000},"price_by_month":{"currency_code":"EUR","units":399,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"AMD + EPYC 7401P","cores":24,"threads":48,"frequency":2000}],"memory":[{"capacity":256,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":799900000},"price_per_month":{"currency_code":"EUR","units":399,"nanos":990000000}}]}' + headers: + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 26 Mar 2020 19:50:22 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 9c245406-eef2-4927-b749-ecf4d0ac8242 + status: 200 OK + code: 200 + duration: "" +- request: + body: '{"offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-cocky-khorana","description":"","tags":null}' + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers + method: POST + response: + body: '{"id":"10bad816-0137-4547-853d-cb50525d2642","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-cocky-khorana","description":"","updated_at":"2020-03-26T19:50:22.480899320Z","created_at":"2020-03-26T19:50:22.480899320Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "399" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 26 Mar 2020 19:50:22 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 115f310a-b164-4e7b-af0e-53ccf9b65693 + status: 200 OK + code: 200 + duration: "" +- request: + body: '{"boot_type":"normal"}' + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/10bad816-0137-4547-853d-cb50525d2642/reboot + method: POST + response: + body: '{"message":"Server is not delivered"}' + headers: + Content-Length: + - "37" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 26 Mar 2020 19:50:22 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - dd8806a3-76b9-46e7-9c9a-670094231a6f + status: 400 Bad Request + code: 400 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/10bad816-0137-4547-853d-cb50525d2642 + method: GET + response: + body: '{"id":"10bad816-0137-4547-853d-cb50525d2642","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-cocky-khorana","description":"","updated_at":"2020-03-26T19:50:22.480899Z","created_at":"2020-03-26T19:50:22.480899Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "393" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 26 Mar 2020 19:50:22 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 9987130a-222a-4cb4-8931-40da94ee8afb + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/10bad816-0137-4547-853d-cb50525d2642 + method: GET + response: + body: '{"id":"10bad816-0137-4547-853d-cb50525d2642","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-cocky-khorana","description":"","updated_at":"2020-03-26T19:50:23.123991Z","created_at":"2020-03-26T19:50:22.480899Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "393" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 26 Mar 2020 19:55:13 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 849b79dc-8b3c-4401-a939-c7f7c82ed2cb + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/10bad816-0137-4547-853d-cb50525d2642 + method: GET + response: + body: '{"id":"10bad816-0137-4547-853d-cb50525d2642","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-cocky-khorana","description":"","updated_at":"2020-03-26T19:55:25.974314Z","created_at":"2020-03-26T19:50:22.480899Z","status":"ready","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[{"id":"354b59ab-b544-4200-98af-ca1366dd5457","address":"51.159.56.164","reverse":"10bad816-0137-4547-853d-cb50525d2642.fr-par-2.baremetal.scw.cloud","version":"Ipv4","reverse_status":"pending","reverse_status_message":null},{"id":"991d760e-e68d-41e3-8c2b-9bfa5a4f167d","address":"2001:0bc8:1200:0000:dac4:97ff:fe5b:7bb5","reverse":"10bad816-0137-4547-853d-cb50525d2642.fr-par-2.baremetal.scw.cloud","version":"Ipv6","reverse_status":"pending","reverse_status_message":null}],"domain":"10bad816-0137-4547-853d-cb50525d2642.fr-par-2.baremetal.scw.cloud","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "925" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 26 Mar 2020 19:55:28 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 8064b625-1887-4bc4-bc0b-e590ad62917a + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/10bad816-0137-4547-853d-cb50525d2642 + method: DELETE + response: + body: '{"id":"10bad816-0137-4547-853d-cb50525d2642","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-cocky-khorana","description":"","updated_at":"2020-03-26T19:55:29.286402Z","created_at":"2020-03-26T19:50:22.480899Z","status":"deleting","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[{"id":"354b59ab-b544-4200-98af-ca1366dd5457","address":"51.159.56.164","reverse":"10bad816-0137-4547-853d-cb50525d2642.fr-par-2.baremetal.scw.cloud","version":"Ipv4","reverse_status":"pending","reverse_status_message":null},{"id":"991d760e-e68d-41e3-8c2b-9bfa5a4f167d","address":"2001:0bc8:1200:0000:dac4:97ff:fe5b:7bb5","reverse":"10bad816-0137-4547-853d-cb50525d2642.fr-par-2.baremetal.scw.cloud","version":"Ipv6","reverse_status":"pending","reverse_status_message":null}],"domain":"10bad816-0137-4547-853d-cb50525d2642.fr-par-2.baremetal.scw.cloud","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "928" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 26 Mar 2020 19:55:28 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - a3b60462-27d9-4a74-b1d7-7232cec30564 + status: 200 OK + code: 200 + duration: "" diff --git a/internal/namespaces/baremetal/v1alpha1/testdata/test-start-server-errors-error-cannot-be-started-while-not-delivered.cassette.yaml b/internal/namespaces/baremetal/v1alpha1/testdata/test-start-server-errors-error-cannot-be-started-while-not-delivered.cassette.yaml new file mode 100644 index 0000000000..578811b85c --- /dev/null +++ b/internal/namespaces/baremetal/v1alpha1/testdata/test-start-server-errors-error-cannot-be-started-while-not-delivered.cassette.yaml @@ -0,0 +1,1359 @@ +--- +version: 1 +interactions: +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/offers?page=1 + method: GET + response: + body: '{"total_count":7,"offers":[{"id":"3ab0dc29-2fd4-486e-88bf-d08fbf49214b","name":"HC-BM1-L","stock":"available","bandwidth":1000,"commercial_range":"high_cpu","price_by_minute":{"currency_code":"EUR","units":1,"nanos":499900000},"price_by_month":{"currency_code":"EUR","units":749,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"Intel + Xeon Gold 5120","cores":28,"threads":56,"frequency":2200},{"name":"Intel Xeon + Gold 5120","cores":28,"threads":56,"frequency":2200}],"memory":[{"capacity":384,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":1,"nanos":499900000},"price_per_month":{"currency_code":"EUR","units":749,"nanos":990000000}},{"id":"5363865f-2266-40f9-a43f-4f3aba251524","name":"HM-BM1-XL","stock":"empty","bandwidth":1000,"commercial_range":"high_memory","price_by_minute":{"currency_code":"EUR","units":2,"nanos":599900000},"price_by_month":{"currency_code":"EUR","units":1299,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"Intel + Xeon Gold 6140","cores":36,"threads":72,"frequency":2300},{"name":"Intel Xeon + Gold 6140","cores":36,"threads":72,"frequency":2300}],"memory":[{"capacity":768,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":2,"nanos":599900000},"price_per_month":{"currency_code":"EUR","units":1299,"nanos":990000000}},{"id":"737f18c8-febc-4408-b69e-776bca0a3f48","name":"HC-BM1-S","stock":"available","bandwidth":1000,"commercial_range":"high_cpu","price_by_minute":{"currency_code":"EUR","units":0,"nanos":659900000},"price_by_month":{"currency_code":"EUR","units":329,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"Intel + Xeon Silver 4114","cores":10,"threads":20,"frequency":2200},{"name":"Intel Xeon + Silver 4114","cores":10,"threads":20,"frequency":2200}],"memory":[{"capacity":128,"type":"DDR4","frequency":2400,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":659900000},"price_per_month":{"currency_code":"EUR","units":329,"nanos":990000000}},{"id":"7fde3890-9787-488c-ac89-c4e00a4e5f83","name":"GP-BM1-S","stock":"available","bandwidth":500,"commercial_range":"general_purpose","price_by_minute":{"currency_code":"EUR","units":0,"nanos":240000000},"price_by_month":{"currency_code":"EUR","units":119,"nanos":990000000},"disk":[{"capacity":250,"type":"SSD"},{"capacity":250,"type":"SSD"}],"enable":true,"cpu":[{"name":"Intel + Xeon E3 1240v6","cores":4,"threads":8,"frequency":3700}],"memory":[{"capacity":32,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_gp","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":240000000},"price_per_month":{"currency_code":"EUR","units":119,"nanos":990000000}},{"id":"8090d302-3545-4905-9cf3-bcb77a299f47","name":"GP-BM1-L","stock":"available","bandwidth":750,"commercial_range":"general_purpose","price_by_minute":{"currency_code":"EUR","units":0,"nanos":499900000},"price_by_month":{"currency_code":"EUR","units":249,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"AMD + EPYC 7281","cores":16,"threads":32,"frequency":2100}],"memory":[{"capacity":96,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_gp","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":499900000},"price_per_month":{"currency_code":"EUR","units":249,"nanos":990000000}},{"id":"964f9b38-577e-470f-a220-7d762f9e8672","name":"GP-BM1-M","stock":"available","bandwidth":500,"commercial_range":"general_purpose","price_by_minute":{"currency_code":"EUR","units":0,"nanos":399900000},"price_by_month":{"currency_code":"EUR","units":199,"nanos":990000000},"disk":[{"capacity":1024,"type":"SSD"},{"capacity":1024,"type":"SSD"},{"capacity":1024,"type":"SSD"}],"enable":true,"cpu":[{"name":"Intel + Xeon E3 1240v6","cores":4,"threads":8,"frequency":3700}],"memory":[{"capacity":64,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_gp","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":399900000},"price_per_month":{"currency_code":"EUR","units":199,"nanos":990000000}},{"id":"c452f76a-2cda-4a1b-9658-a16952dc5ff0","name":"HM-BM1-M","stock":"available","bandwidth":1000,"commercial_range":"high_memory","price_by_minute":{"currency_code":"EUR","units":0,"nanos":799900000},"price_by_month":{"currency_code":"EUR","units":399,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"AMD + EPYC 7401P","cores":24,"threads":48,"frequency":2000}],"memory":[{"capacity":256,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":799900000},"price_per_month":{"currency_code":"EUR","units":399,"nanos":990000000}}]}' + headers: + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 26 Mar 2020 19:36:18 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - d831deeb-48db-4810-9aaf-8e19e8fd9eef + status: 200 OK + code: 200 + duration: "" +- request: + body: '{"offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-epic-knuth","description":"","tags":null}' + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers + method: POST + response: + body: '{"id":"97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-epic-knuth","description":"","updated_at":"2020-03-26T19:36:18.990926490Z","created_at":"2020-03-26T19:36:18.990926490Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "396" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 26 Mar 2020 19:36:18 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 6092c81e-5b00-4b49-8b2c-aece8fd4318c + status: 200 OK + code: 200 + duration: "" +- request: + body: '{}' + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5/start + method: POST + response: + body: '{"message":"Server is not delivered"}' + headers: + Content-Length: + - "37" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 26 Mar 2020 19:36:18 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 322dd2d1-d61a-4ffb-872c-02521d2c57c9 + status: 400 Bad Request + code: 400 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5 + method: GET + response: + body: '{"id":"97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-epic-knuth","description":"","updated_at":"2020-03-26T19:36:18.990926Z","created_at":"2020-03-26T19:36:18.990926Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "390" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 26 Mar 2020 19:36:18 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - c168fdfb-a3c6-4dec-b54b-a7fda81519b7 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5 + method: GET + response: + body: '{"id":"97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-epic-knuth","description":"","updated_at":"2020-03-26T19:36:19.652382Z","created_at":"2020-03-26T19:36:18.990926Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "390" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 26 Mar 2020 19:36:34 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - a390e2ab-975c-4220-9f03-19f1b00d1372 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5 + method: GET + response: + body: '{"id":"97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-epic-knuth","description":"","updated_at":"2020-03-26T19:36:19.652382Z","created_at":"2020-03-26T19:36:18.990926Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "390" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 26 Mar 2020 19:36:49 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 2efdf6a8-889b-4a26-b0d4-79a67db07452 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5 + method: GET + response: + body: '{"id":"97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-epic-knuth","description":"","updated_at":"2020-03-26T19:36:19.652382Z","created_at":"2020-03-26T19:36:18.990926Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "390" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 26 Mar 2020 19:37:04 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 29f3238e-c8f1-40a7-a595-ec7af054bde4 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5 + method: GET + response: + body: '{"id":"97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-epic-knuth","description":"","updated_at":"2020-03-26T19:36:19.652382Z","created_at":"2020-03-26T19:36:18.990926Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "390" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 26 Mar 2020 19:37:19 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 9abcd6b2-2256-48ac-b358-20299d5a5e1c + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5 + method: GET + response: + body: '{"id":"97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-epic-knuth","description":"","updated_at":"2020-03-26T19:36:19.652382Z","created_at":"2020-03-26T19:36:18.990926Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "390" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 26 Mar 2020 19:37:34 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 4f069234-f72b-4ddf-b2be-8828b5bc79e7 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5 + method: GET + response: + body: '{"id":"97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-epic-knuth","description":"","updated_at":"2020-03-26T19:36:19.652382Z","created_at":"2020-03-26T19:36:18.990926Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "390" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 26 Mar 2020 19:37:49 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - b45caffd-8b58-4246-b5bf-59c03844bbfe + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5 + method: GET + response: + body: '{"id":"97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-epic-knuth","description":"","updated_at":"2020-03-26T19:36:19.652382Z","created_at":"2020-03-26T19:36:18.990926Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "390" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 26 Mar 2020 19:38:04 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 69615152-f7e3-437d-a21c-3d533a46f907 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5 + method: GET + response: + body: '{"id":"97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-epic-knuth","description":"","updated_at":"2020-03-26T19:36:19.652382Z","created_at":"2020-03-26T19:36:18.990926Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "390" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 26 Mar 2020 19:38:19 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - ab7bf0ca-ef0b-4cfb-9c19-ecb4b1e52fbb + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5 + method: GET + response: + body: '{"id":"97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-epic-knuth","description":"","updated_at":"2020-03-26T19:36:19.652382Z","created_at":"2020-03-26T19:36:18.990926Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "390" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 26 Mar 2020 19:38:34 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 488ce079-a48f-44e1-bd0c-479a23901ba3 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5 + method: GET + response: + body: '{"id":"97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-epic-knuth","description":"","updated_at":"2020-03-26T19:36:19.652382Z","created_at":"2020-03-26T19:36:18.990926Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "390" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 26 Mar 2020 19:38:49 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 9350b8b4-1610-45d8-9562-4470d8cad538 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5 + method: GET + response: + body: '{"id":"97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-epic-knuth","description":"","updated_at":"2020-03-26T19:36:19.652382Z","created_at":"2020-03-26T19:36:18.990926Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "390" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 26 Mar 2020 19:39:04 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 7b92769e-d580-4dde-82a6-3ea7dee52cf4 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5 + method: GET + response: + body: '{"id":"97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-epic-knuth","description":"","updated_at":"2020-03-26T19:36:19.652382Z","created_at":"2020-03-26T19:36:18.990926Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "390" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 26 Mar 2020 19:39:19 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 75669047-7858-4582-9140-88e3d0caeff0 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5 + method: GET + response: + body: '{"id":"97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-epic-knuth","description":"","updated_at":"2020-03-26T19:36:19.652382Z","created_at":"2020-03-26T19:36:18.990926Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "390" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 26 Mar 2020 19:39:34 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 216424ae-a189-49e6-bb34-25f2a8bbef0c + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5 + method: GET + response: + body: '{"id":"97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-epic-knuth","description":"","updated_at":"2020-03-26T19:36:19.652382Z","created_at":"2020-03-26T19:36:18.990926Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "390" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 26 Mar 2020 19:39:49 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 0af24016-2eae-4d09-bf59-11f78e684e35 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5 + method: GET + response: + body: '{"id":"97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-epic-knuth","description":"","updated_at":"2020-03-26T19:36:19.652382Z","created_at":"2020-03-26T19:36:18.990926Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "390" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 26 Mar 2020 19:40:04 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 05fbb413-80d9-4cf2-8843-8fba63bffcf4 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5 + method: GET + response: + body: '{"id":"97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-epic-knuth","description":"","updated_at":"2020-03-26T19:36:19.652382Z","created_at":"2020-03-26T19:36:18.990926Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "390" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 26 Mar 2020 19:40:19 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 1bcdb5f0-89a6-49bf-bac1-a3c627999d70 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5 + method: GET + response: + body: '{"id":"97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-epic-knuth","description":"","updated_at":"2020-03-26T19:36:19.652382Z","created_at":"2020-03-26T19:36:18.990926Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "390" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 26 Mar 2020 19:40:34 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 6d4ef169-0a31-4f0a-a5c5-6556a6f78743 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5 + method: GET + response: + body: '{"id":"97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-epic-knuth","description":"","updated_at":"2020-03-26T19:36:19.652382Z","created_at":"2020-03-26T19:36:18.990926Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "390" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 26 Mar 2020 19:40:49 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - c058f762-fddd-4937-8a2b-72751cf727f2 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5 + method: GET + response: + body: '{"id":"97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-epic-knuth","description":"","updated_at":"2020-03-26T19:36:19.652382Z","created_at":"2020-03-26T19:36:18.990926Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "390" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 26 Mar 2020 19:41:04 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 477ea38c-7514-46b0-8baa-ea105513bde3 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5 + method: GET + response: + body: '{"id":"97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-epic-knuth","description":"","updated_at":"2020-03-26T19:36:19.652382Z","created_at":"2020-03-26T19:36:18.990926Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "390" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 26 Mar 2020 19:41:19 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 8b227a4c-3278-4563-a781-f9bac442a63a + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5 + method: GET + response: + body: '{"id":"97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-epic-knuth","description":"","updated_at":"2020-03-26T19:36:19.652382Z","created_at":"2020-03-26T19:36:18.990926Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "390" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 26 Mar 2020 19:41:34 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 947ea57f-8284-4e80-beee-f2fc4bb1c8a4 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5 + method: GET + response: + body: '{"id":"97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-epic-knuth","description":"","updated_at":"2020-03-26T19:36:19.652382Z","created_at":"2020-03-26T19:36:18.990926Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "390" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 26 Mar 2020 19:41:49 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - cb476220-2384-42e4-965c-05a5710db812 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5 + method: GET + response: + body: '{"id":"97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-epic-knuth","description":"","updated_at":"2020-03-26T19:36:19.652382Z","created_at":"2020-03-26T19:36:18.990926Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "390" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 26 Mar 2020 19:42:04 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - dcf5063e-8120-4597-a70c-ccf70664d51b + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5 + method: GET + response: + body: '{"id":"97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-epic-knuth","description":"","updated_at":"2020-03-26T19:36:19.652382Z","created_at":"2020-03-26T19:36:18.990926Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "390" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 26 Mar 2020 19:42:20 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 556268c1-d1ba-4f61-bc29-e6a24e9c4b49 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5 + method: GET + response: + body: '{"id":"97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-epic-knuth","description":"","updated_at":"2020-03-26T19:36:19.652382Z","created_at":"2020-03-26T19:36:18.990926Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "390" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 26 Mar 2020 19:42:35 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - d5d39e56-9ba3-4aeb-a61d-6029ef0b207b + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5 + method: GET + response: + body: '{"id":"97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-epic-knuth","description":"","updated_at":"2020-03-26T19:36:19.652382Z","created_at":"2020-03-26T19:36:18.990926Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "390" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 26 Mar 2020 19:42:50 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 72332218-4a99-4468-a623-24aaa62eb729 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5 + method: GET + response: + body: '{"id":"97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-epic-knuth","description":"","updated_at":"2020-03-26T19:36:19.652382Z","created_at":"2020-03-26T19:36:18.990926Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "390" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 26 Mar 2020 19:43:04 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - bc65e5d1-2bcc-469a-9ef5-4f63d465d5d8 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5 + method: GET + response: + body: '{"id":"97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-epic-knuth","description":"","updated_at":"2020-03-26T19:36:19.652382Z","created_at":"2020-03-26T19:36:18.990926Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "390" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 26 Mar 2020 19:43:20 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 66f6beb4-9584-42d7-a30c-2a96b5bbde82 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5 + method: GET + response: + body: '{"id":"97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-epic-knuth","description":"","updated_at":"2020-03-26T19:36:19.652382Z","created_at":"2020-03-26T19:36:18.990926Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "390" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 26 Mar 2020 19:43:35 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 04021f04-1ddc-47bd-9ec7-d3e9d82e175e + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5 + method: GET + response: + body: '{"id":"97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-epic-knuth","description":"","updated_at":"2020-03-26T19:36:19.652382Z","created_at":"2020-03-26T19:36:18.990926Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "390" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 26 Mar 2020 19:43:50 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 33cd7ecf-d152-4861-880a-3db13dee5cbd + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5 + method: GET + response: + body: '{"id":"97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-epic-knuth","description":"","updated_at":"2020-03-26T19:36:19.652382Z","created_at":"2020-03-26T19:36:18.990926Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "390" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 26 Mar 2020 19:44:05 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - d26fe383-27bc-4a98-b157-e9b0f79743ae + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5 + method: GET + response: + body: '{"id":"97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-epic-knuth","description":"","updated_at":"2020-03-26T19:36:19.652382Z","created_at":"2020-03-26T19:36:18.990926Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "390" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 26 Mar 2020 19:44:20 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 664bfe1d-1c7c-4405-994f-680bcefaeceb + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5 + method: GET + response: + body: '{"id":"97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-epic-knuth","description":"","updated_at":"2020-03-26T19:36:19.652382Z","created_at":"2020-03-26T19:36:18.990926Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "390" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 26 Mar 2020 19:44:35 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 1dd09ba1-cc1a-4730-9d1d-0affc7f9f434 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5 + method: GET + response: + body: '{"id":"97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-epic-knuth","description":"","updated_at":"2020-03-26T19:36:19.652382Z","created_at":"2020-03-26T19:36:18.990926Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "390" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 26 Mar 2020 19:44:50 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - df041bff-5ea6-4e67-bb3e-e0278e984a6e + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5 + method: GET + response: + body: '{"id":"97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-epic-knuth","description":"","updated_at":"2020-03-26T19:36:19.652382Z","created_at":"2020-03-26T19:36:18.990926Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "390" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 26 Mar 2020 19:45:05 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 126606bf-ac30-4f28-a438-3a22d8f57280 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5 + method: GET + response: + body: '{"id":"97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-epic-knuth","description":"","updated_at":"2020-03-26T19:36:19.652382Z","created_at":"2020-03-26T19:36:18.990926Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "390" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 26 Mar 2020 19:45:20 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 6813e746-98fd-4a8b-81d0-49b596fd2568 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5 + method: GET + response: + body: '{"id":"97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-epic-knuth","description":"","updated_at":"2020-03-26T19:45:23.823626Z","created_at":"2020-03-26T19:36:18.990926Z","status":"ready","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[{"id":"28d1234e-bd46-4d4e-af26-bb7ff4e9f94e","address":"51.159.56.161","reverse":"97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5.fr-par-2.baremetal.scw.cloud","version":"Ipv4","reverse_status":"pending","reverse_status_message":null},{"id":"7255984c-c888-4aed-96f4-306cb3db17d4","address":"2001:0bc8:1200:0000:dac4:97ff:fe5b:7cc1","reverse":"97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5.fr-par-2.baremetal.scw.cloud","version":"Ipv6","reverse_status":"pending","reverse_status_message":null}],"domain":"97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5.fr-par-2.baremetal.scw.cloud","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "922" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 26 Mar 2020 19:45:35 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 067f0343-37ae-437d-9705-692aea930a4b + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5 + method: DELETE + response: + body: '{"id":"97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-epic-knuth","description":"","updated_at":"2020-03-26T19:45:35.942272Z","created_at":"2020-03-26T19:36:18.990926Z","status":"deleting","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[{"id":"28d1234e-bd46-4d4e-af26-bb7ff4e9f94e","address":"51.159.56.161","reverse":"97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5.fr-par-2.baremetal.scw.cloud","version":"Ipv4","reverse_status":"pending","reverse_status_message":null},{"id":"7255984c-c888-4aed-96f4-306cb3db17d4","address":"2001:0bc8:1200:0000:dac4:97ff:fe5b:7cc1","reverse":"97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5.fr-par-2.baremetal.scw.cloud","version":"Ipv6","reverse_status":"pending","reverse_status_message":null}],"domain":"97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5.fr-par-2.baremetal.scw.cloud","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "925" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 26 Mar 2020 19:45:35 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 0e4f226a-8ead-4b35-9e02-479fc01c1abc + status: 200 OK + code: 200 + duration: "" diff --git a/internal/namespaces/baremetal/v1alpha1/testdata/test-stop-server-errors-error-cannot-be-stopped-while-not-delivered.cassette.yaml b/internal/namespaces/baremetal/v1alpha1/testdata/test-stop-server-errors-error-cannot-be-stopped-while-not-delivered.cassette.yaml new file mode 100644 index 0000000000..12b56a7cc7 --- /dev/null +++ b/internal/namespaces/baremetal/v1alpha1/testdata/test-stop-server-errors-error-cannot-be-stopped-while-not-delivered.cassette.yaml @@ -0,0 +1,783 @@ +--- +version: 1 +interactions: +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/offers?page=1 + method: GET + response: + body: '{"total_count":7,"offers":[{"id":"3ab0dc29-2fd4-486e-88bf-d08fbf49214b","name":"HC-BM1-L","stock":"available","bandwidth":1000,"commercial_range":"high_cpu","price_by_minute":{"currency_code":"EUR","units":1,"nanos":499900000},"price_by_month":{"currency_code":"EUR","units":749,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"Intel + Xeon Gold 5120","cores":28,"threads":56,"frequency":2200},{"name":"Intel Xeon + Gold 5120","cores":28,"threads":56,"frequency":2200}],"memory":[{"capacity":384,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":1,"nanos":499900000},"price_per_month":{"currency_code":"EUR","units":749,"nanos":990000000}},{"id":"5363865f-2266-40f9-a43f-4f3aba251524","name":"HM-BM1-XL","stock":"empty","bandwidth":1000,"commercial_range":"high_memory","price_by_minute":{"currency_code":"EUR","units":2,"nanos":599900000},"price_by_month":{"currency_code":"EUR","units":1299,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"Intel + Xeon Gold 6140","cores":36,"threads":72,"frequency":2300},{"name":"Intel Xeon + Gold 6140","cores":36,"threads":72,"frequency":2300}],"memory":[{"capacity":768,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":2,"nanos":599900000},"price_per_month":{"currency_code":"EUR","units":1299,"nanos":990000000}},{"id":"737f18c8-febc-4408-b69e-776bca0a3f48","name":"HC-BM1-S","stock":"available","bandwidth":1000,"commercial_range":"high_cpu","price_by_minute":{"currency_code":"EUR","units":0,"nanos":659900000},"price_by_month":{"currency_code":"EUR","units":329,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"Intel + Xeon Silver 4114","cores":10,"threads":20,"frequency":2200},{"name":"Intel Xeon + Silver 4114","cores":10,"threads":20,"frequency":2200}],"memory":[{"capacity":128,"type":"DDR4","frequency":2400,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":659900000},"price_per_month":{"currency_code":"EUR","units":329,"nanos":990000000}},{"id":"7fde3890-9787-488c-ac89-c4e00a4e5f83","name":"GP-BM1-S","stock":"available","bandwidth":500,"commercial_range":"general_purpose","price_by_minute":{"currency_code":"EUR","units":0,"nanos":240000000},"price_by_month":{"currency_code":"EUR","units":119,"nanos":990000000},"disk":[{"capacity":250,"type":"SSD"},{"capacity":250,"type":"SSD"}],"enable":true,"cpu":[{"name":"Intel + Xeon E3 1240v6","cores":4,"threads":8,"frequency":3700}],"memory":[{"capacity":32,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_gp","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":240000000},"price_per_month":{"currency_code":"EUR","units":119,"nanos":990000000}},{"id":"8090d302-3545-4905-9cf3-bcb77a299f47","name":"GP-BM1-L","stock":"available","bandwidth":750,"commercial_range":"general_purpose","price_by_minute":{"currency_code":"EUR","units":0,"nanos":499900000},"price_by_month":{"currency_code":"EUR","units":249,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"AMD + EPYC 7281","cores":16,"threads":32,"frequency":2100}],"memory":[{"capacity":96,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_gp","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":499900000},"price_per_month":{"currency_code":"EUR","units":249,"nanos":990000000}},{"id":"964f9b38-577e-470f-a220-7d762f9e8672","name":"GP-BM1-M","stock":"available","bandwidth":500,"commercial_range":"general_purpose","price_by_minute":{"currency_code":"EUR","units":0,"nanos":399900000},"price_by_month":{"currency_code":"EUR","units":199,"nanos":990000000},"disk":[{"capacity":1024,"type":"SSD"},{"capacity":1024,"type":"SSD"},{"capacity":1024,"type":"SSD"}],"enable":true,"cpu":[{"name":"Intel + Xeon E3 1240v6","cores":4,"threads":8,"frequency":3700}],"memory":[{"capacity":64,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_gp","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":399900000},"price_per_month":{"currency_code":"EUR","units":199,"nanos":990000000}},{"id":"c452f76a-2cda-4a1b-9658-a16952dc5ff0","name":"HM-BM1-M","stock":"available","bandwidth":1000,"commercial_range":"high_memory","price_by_minute":{"currency_code":"EUR","units":0,"nanos":799900000},"price_by_month":{"currency_code":"EUR","units":399,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"AMD + EPYC 7401P","cores":24,"threads":48,"frequency":2000}],"memory":[{"capacity":256,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":799900000},"price_per_month":{"currency_code":"EUR","units":399,"nanos":990000000}}]}' + headers: + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 26 Mar 2020 19:45:35 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 18bb20e6-137b-4895-a50e-7586b379641b + status: 200 OK + code: 200 + duration: "" +- request: + body: '{"offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-great-shaw","description":"","tags":null}' + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers + method: POST + response: + body: '{"id":"b205d00b-9e5b-4218-8fb3-7115083cc9fa","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-great-shaw","description":"","updated_at":"2020-03-26T19:45:36.191110875Z","created_at":"2020-03-26T19:45:36.191110875Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "396" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 26 Mar 2020 19:45:35 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 3552f614-4f47-409f-8850-718880da1da5 + status: 200 OK + code: 200 + duration: "" +- request: + body: '{}' + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/b205d00b-9e5b-4218-8fb3-7115083cc9fa/stop + method: POST + response: + body: '{"message":"Server is not delivered"}' + headers: + Content-Length: + - "37" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 26 Mar 2020 19:45:35 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - e7236095-0bf3-449a-9657-21e9edf3c521 + status: 400 Bad Request + code: 400 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/b205d00b-9e5b-4218-8fb3-7115083cc9fa + method: GET + response: + body: '{"id":"b205d00b-9e5b-4218-8fb3-7115083cc9fa","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-great-shaw","description":"","updated_at":"2020-03-26T19:45:36.191111Z","created_at":"2020-03-26T19:45:36.191111Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "390" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 26 Mar 2020 19:45:35 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 2fa8becd-1394-4cdb-ae32-fa4b507c57cd + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/b205d00b-9e5b-4218-8fb3-7115083cc9fa + method: GET + response: + body: '{"id":"b205d00b-9e5b-4218-8fb3-7115083cc9fa","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-great-shaw","description":"","updated_at":"2020-03-26T19:45:36.828335Z","created_at":"2020-03-26T19:45:36.191111Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "390" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 26 Mar 2020 19:45:50 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 117973a1-2e44-4ba2-8f10-10225aebcf15 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/b205d00b-9e5b-4218-8fb3-7115083cc9fa + method: GET + response: + body: '{"id":"b205d00b-9e5b-4218-8fb3-7115083cc9fa","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-great-shaw","description":"","updated_at":"2020-03-26T19:45:36.828335Z","created_at":"2020-03-26T19:45:36.191111Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "390" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 26 Mar 2020 19:46:06 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 15f798df-3239-4cfc-a81a-aac10de79c10 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/b205d00b-9e5b-4218-8fb3-7115083cc9fa + method: GET + response: + body: '{"id":"b205d00b-9e5b-4218-8fb3-7115083cc9fa","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-great-shaw","description":"","updated_at":"2020-03-26T19:45:36.828335Z","created_at":"2020-03-26T19:45:36.191111Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "390" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 26 Mar 2020 19:46:21 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - a5c3b24c-8d07-4b53-b970-109139915fde + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/b205d00b-9e5b-4218-8fb3-7115083cc9fa + method: GET + response: + body: '{"id":"b205d00b-9e5b-4218-8fb3-7115083cc9fa","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-great-shaw","description":"","updated_at":"2020-03-26T19:45:36.828335Z","created_at":"2020-03-26T19:45:36.191111Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "390" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 26 Mar 2020 19:46:36 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - b7946785-84d7-46e9-bbb9-15a68d66244f + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/b205d00b-9e5b-4218-8fb3-7115083cc9fa + method: GET + response: + body: '{"id":"b205d00b-9e5b-4218-8fb3-7115083cc9fa","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-great-shaw","description":"","updated_at":"2020-03-26T19:45:36.828335Z","created_at":"2020-03-26T19:45:36.191111Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "390" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 26 Mar 2020 19:46:51 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 251350e7-f42c-44c1-84a8-913b3c2d121b + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/b205d00b-9e5b-4218-8fb3-7115083cc9fa + method: GET + response: + body: '{"id":"b205d00b-9e5b-4218-8fb3-7115083cc9fa","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-great-shaw","description":"","updated_at":"2020-03-26T19:45:36.828335Z","created_at":"2020-03-26T19:45:36.191111Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "390" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 26 Mar 2020 19:47:06 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 5b52292f-d5e3-4a7c-9666-0cd1416aa211 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/b205d00b-9e5b-4218-8fb3-7115083cc9fa + method: GET + response: + body: '{"id":"b205d00b-9e5b-4218-8fb3-7115083cc9fa","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-great-shaw","description":"","updated_at":"2020-03-26T19:45:36.828335Z","created_at":"2020-03-26T19:45:36.191111Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "390" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 26 Mar 2020 19:47:21 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - ef1c4215-c359-4213-af74-fc4402fa5918 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/b205d00b-9e5b-4218-8fb3-7115083cc9fa + method: GET + response: + body: '{"id":"b205d00b-9e5b-4218-8fb3-7115083cc9fa","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-great-shaw","description":"","updated_at":"2020-03-26T19:45:36.828335Z","created_at":"2020-03-26T19:45:36.191111Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "390" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 26 Mar 2020 19:47:36 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - a35c599b-eec0-4d8c-8f03-6dcd03a1b2d5 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/b205d00b-9e5b-4218-8fb3-7115083cc9fa + method: GET + response: + body: '{"id":"b205d00b-9e5b-4218-8fb3-7115083cc9fa","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-great-shaw","description":"","updated_at":"2020-03-26T19:45:36.828335Z","created_at":"2020-03-26T19:45:36.191111Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "390" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 26 Mar 2020 19:47:51 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 58dbe6df-fb5d-4f17-9def-85b4a3c215c2 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/b205d00b-9e5b-4218-8fb3-7115083cc9fa + method: GET + response: + body: '{"id":"b205d00b-9e5b-4218-8fb3-7115083cc9fa","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-great-shaw","description":"","updated_at":"2020-03-26T19:45:36.828335Z","created_at":"2020-03-26T19:45:36.191111Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "390" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 26 Mar 2020 19:48:06 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - ced12d75-b1be-4b39-827d-223c34258dcb + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/b205d00b-9e5b-4218-8fb3-7115083cc9fa + method: GET + response: + body: '{"id":"b205d00b-9e5b-4218-8fb3-7115083cc9fa","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-great-shaw","description":"","updated_at":"2020-03-26T19:45:36.828335Z","created_at":"2020-03-26T19:45:36.191111Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "390" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 26 Mar 2020 19:48:21 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - d86a2717-6ede-4158-ba16-ebb5713ebe44 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/b205d00b-9e5b-4218-8fb3-7115083cc9fa + method: GET + response: + body: '{"id":"b205d00b-9e5b-4218-8fb3-7115083cc9fa","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-great-shaw","description":"","updated_at":"2020-03-26T19:45:36.828335Z","created_at":"2020-03-26T19:45:36.191111Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "390" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 26 Mar 2020 19:48:36 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 6b1e7ec3-9ed4-4a84-9227-b658f0206ea1 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/b205d00b-9e5b-4218-8fb3-7115083cc9fa + method: GET + response: + body: '{"id":"b205d00b-9e5b-4218-8fb3-7115083cc9fa","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-great-shaw","description":"","updated_at":"2020-03-26T19:45:36.828335Z","created_at":"2020-03-26T19:45:36.191111Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "390" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 26 Mar 2020 19:48:51 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 301dd6b8-70a5-4b77-8b8d-c4d0f9c417bd + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/b205d00b-9e5b-4218-8fb3-7115083cc9fa + method: GET + response: + body: '{"id":"b205d00b-9e5b-4218-8fb3-7115083cc9fa","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-great-shaw","description":"","updated_at":"2020-03-26T19:45:36.828335Z","created_at":"2020-03-26T19:45:36.191111Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "390" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 26 Mar 2020 19:49:06 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 37616ebc-08a0-47f1-b256-b295fca0adf8 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/b205d00b-9e5b-4218-8fb3-7115083cc9fa + method: GET + response: + body: '{"id":"b205d00b-9e5b-4218-8fb3-7115083cc9fa","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-great-shaw","description":"","updated_at":"2020-03-26T19:45:36.828335Z","created_at":"2020-03-26T19:45:36.191111Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "390" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 26 Mar 2020 19:49:21 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 9718e332-9931-45cd-87f3-8b477fce47e8 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/b205d00b-9e5b-4218-8fb3-7115083cc9fa + method: GET + response: + body: '{"id":"b205d00b-9e5b-4218-8fb3-7115083cc9fa","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-great-shaw","description":"","updated_at":"2020-03-26T19:45:36.828335Z","created_at":"2020-03-26T19:45:36.191111Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "390" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 26 Mar 2020 19:49:36 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 9ba17041-eb34-4e57-a169-b6e282847f00 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/b205d00b-9e5b-4218-8fb3-7115083cc9fa + method: GET + response: + body: '{"id":"b205d00b-9e5b-4218-8fb3-7115083cc9fa","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-great-shaw","description":"","updated_at":"2020-03-26T19:45:36.828335Z","created_at":"2020-03-26T19:45:36.191111Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "390" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 26 Mar 2020 19:49:51 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - ca048c80-0389-4f7b-abc6-f316910f3843 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/b205d00b-9e5b-4218-8fb3-7115083cc9fa + method: GET + response: + body: '{"id":"b205d00b-9e5b-4218-8fb3-7115083cc9fa","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-great-shaw","description":"","updated_at":"2020-03-26T19:45:36.828335Z","created_at":"2020-03-26T19:45:36.191111Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "390" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 26 Mar 2020 19:50:06 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 2c96b927-7a60-41b8-85d0-47d5caf04813 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/b205d00b-9e5b-4218-8fb3-7115083cc9fa + method: GET + response: + body: '{"id":"b205d00b-9e5b-4218-8fb3-7115083cc9fa","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-great-shaw","description":"","updated_at":"2020-03-26T19:50:19.491929Z","created_at":"2020-03-26T19:45:36.191111Z","status":"ready","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[{"id":"247bf949-814f-45e0-8d5f-fbdd04a3673f","address":"51.159.56.162","reverse":"b205d00b-9e5b-4218-8fb3-7115083cc9fa.fr-par-2.baremetal.scw.cloud","version":"Ipv4","reverse_status":"pending","reverse_status_message":null},{"id":"27bf03ca-b2fb-4efa-abd9-4b1dc171a53f","address":"2001:0bc8:1200:0000:dac4:97ff:fe5b:7f2d","reverse":"b205d00b-9e5b-4218-8fb3-7115083cc9fa.fr-par-2.baremetal.scw.cloud","version":"Ipv6","reverse_status":"pending","reverse_status_message":null}],"domain":"b205d00b-9e5b-4218-8fb3-7115083cc9fa.fr-par-2.baremetal.scw.cloud","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "922" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 26 Mar 2020 19:50:21 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - fadf301f-04f5-4af5-acbb-e2df2e8dba26 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/b205d00b-9e5b-4218-8fb3-7115083cc9fa + method: DELETE + response: + body: '{"id":"b205d00b-9e5b-4218-8fb3-7115083cc9fa","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-great-shaw","description":"","updated_at":"2020-03-26T19:50:22.262261Z","created_at":"2020-03-26T19:45:36.191111Z","status":"deleting","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[{"id":"247bf949-814f-45e0-8d5f-fbdd04a3673f","address":"51.159.56.162","reverse":"b205d00b-9e5b-4218-8fb3-7115083cc9fa.fr-par-2.baremetal.scw.cloud","version":"Ipv4","reverse_status":"pending","reverse_status_message":null},{"id":"27bf03ca-b2fb-4efa-abd9-4b1dc171a53f","address":"2001:0bc8:1200:0000:dac4:97ff:fe5b:7f2d","reverse":"b205d00b-9e5b-4218-8fb3-7115083cc9fa.fr-par-2.baremetal.scw.cloud","version":"Ipv6","reverse_status":"pending","reverse_status_message":null}],"domain":"b205d00b-9e5b-4218-8fb3-7115083cc9fa.fr-par-2.baremetal.scw.cloud","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "925" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 26 Mar 2020 19:50:22 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 4620d5c3-c032-4da3-bc5c-b731c6bd2827 + status: 200 OK + code: 200 + duration: "" From c3d71155198af78ebac8af12b86927cbfe67b71c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20L=C3=A9one?= Date: Fri, 27 Mar 2020 11:15:56 +0100 Subject: [PATCH 40/67] Fix --- .../baremetal/v1alpha1/custom_server_test.go | 12 +- ...rebooted-while-not-delivered.cassette.yaml | 606 ++++++++- ...-started-while-not-delivered.cassette.yaml | 1094 +---------------- ...-stopped-while-not-delivered.cassette.yaml | 296 +++-- 4 files changed, 809 insertions(+), 1199 deletions(-) diff --git a/internal/namespaces/baremetal/v1alpha1/custom_server_test.go b/internal/namespaces/baremetal/v1alpha1/custom_server_test.go index 2c8cd95c47..c3be8d2803 100644 --- a/internal/namespaces/baremetal/v1alpha1/custom_server_test.go +++ b/internal/namespaces/baremetal/v1alpha1/custom_server_test.go @@ -12,9 +12,7 @@ func Test_StartServerErrors(t *testing.T) { BeforeFunc: createServer("Server"), Commands: GetCommands(), Cmd: "scw baremetal server start server-id={{ .Server.ID }}", - Check: core.TestCheckCombine( - core.TestCheckExitCode(1), - ), + Check: core.TestCheckExitCode(1), AfterFunc: core.AfterFuncCombine( waitServerAfter("Server"), deleteServer("Server"), @@ -28,9 +26,7 @@ func Test_StopServerErrors(t *testing.T) { BeforeFunc: createServer("Server"), Commands: GetCommands(), Cmd: "scw baremetal server stop server-id={{ .Server.ID }}", - Check: core.TestCheckCombine( - core.TestCheckExitCode(1), - ), + Check: core.TestCheckExitCode(1), AfterFunc: core.AfterFuncCombine( waitServerAfter("Server"), deleteServer("Server"), @@ -44,9 +40,7 @@ func Test_RebootServerErrors(t *testing.T) { BeforeFunc: createServer("Server"), Commands: GetCommands(), Cmd: "scw baremetal server reboot server-id={{ .Server.ID }}", - Check: core.TestCheckCombine( - core.TestCheckExitCode(1), - ), + Check: core.TestCheckExitCode(1), AfterFunc: core.AfterFuncCombine( waitServerAfter("Server"), deleteServer("Server"), diff --git a/internal/namespaces/baremetal/v1alpha1/testdata/test-reboot-server-errors-error-cannot-be-rebooted-while-not-delivered.cassette.yaml b/internal/namespaces/baremetal/v1alpha1/testdata/test-reboot-server-errors-error-cannot-be-rebooted-while-not-delivered.cassette.yaml index 66c3fe5cbf..88ce96406b 100644 --- a/internal/namespaces/baremetal/v1alpha1/testdata/test-reboot-server-errors-error-cannot-be-rebooted-while-not-delivered.cassette.yaml +++ b/internal/namespaces/baremetal/v1alpha1/testdata/test-reboot-server-errors-error-cannot-be-rebooted-while-not-delivered.cassette.yaml @@ -17,7 +17,7 @@ interactions: Gold 6140","cores":36,"threads":72,"frequency":2300}],"memory":[{"capacity":768,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":2,"nanos":599900000},"price_per_month":{"currency_code":"EUR","units":1299,"nanos":990000000}},{"id":"737f18c8-febc-4408-b69e-776bca0a3f48","name":"HC-BM1-S","stock":"available","bandwidth":1000,"commercial_range":"high_cpu","price_by_minute":{"currency_code":"EUR","units":0,"nanos":659900000},"price_by_month":{"currency_code":"EUR","units":329,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"Intel Xeon Silver 4114","cores":10,"threads":20,"frequency":2200},{"name":"Intel Xeon Silver 4114","cores":10,"threads":20,"frequency":2200}],"memory":[{"capacity":128,"type":"DDR4","frequency":2400,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":659900000},"price_per_month":{"currency_code":"EUR","units":329,"nanos":990000000}},{"id":"7fde3890-9787-488c-ac89-c4e00a4e5f83","name":"GP-BM1-S","stock":"available","bandwidth":500,"commercial_range":"general_purpose","price_by_minute":{"currency_code":"EUR","units":0,"nanos":240000000},"price_by_month":{"currency_code":"EUR","units":119,"nanos":990000000},"disk":[{"capacity":250,"type":"SSD"},{"capacity":250,"type":"SSD"}],"enable":true,"cpu":[{"name":"Intel - Xeon E3 1240v6","cores":4,"threads":8,"frequency":3700}],"memory":[{"capacity":32,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_gp","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":240000000},"price_per_month":{"currency_code":"EUR","units":119,"nanos":990000000}},{"id":"8090d302-3545-4905-9cf3-bcb77a299f47","name":"GP-BM1-L","stock":"available","bandwidth":750,"commercial_range":"general_purpose","price_by_minute":{"currency_code":"EUR","units":0,"nanos":499900000},"price_by_month":{"currency_code":"EUR","units":249,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"AMD + Xeon E3 1240v6","cores":4,"threads":8,"frequency":3700}],"memory":[{"capacity":32,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_gp","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":240000000},"price_per_month":{"currency_code":"EUR","units":119,"nanos":990000000}},{"id":"8090d302-3545-4905-9cf3-bcb77a299f47","name":"GP-BM1-L","stock":"empty","bandwidth":750,"commercial_range":"general_purpose","price_by_minute":{"currency_code":"EUR","units":0,"nanos":499900000},"price_by_month":{"currency_code":"EUR","units":249,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"AMD EPYC 7281","cores":16,"threads":32,"frequency":2100}],"memory":[{"capacity":96,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_gp","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":499900000},"price_per_month":{"currency_code":"EUR","units":249,"nanos":990000000}},{"id":"964f9b38-577e-470f-a220-7d762f9e8672","name":"GP-BM1-M","stock":"available","bandwidth":500,"commercial_range":"general_purpose","price_by_minute":{"currency_code":"EUR","units":0,"nanos":399900000},"price_by_month":{"currency_code":"EUR","units":199,"nanos":990000000},"disk":[{"capacity":1024,"type":"SSD"},{"capacity":1024,"type":"SSD"},{"capacity":1024,"type":"SSD"}],"enable":true,"cpu":[{"name":"Intel Xeon E3 1240v6","cores":4,"threads":8,"frequency":3700}],"memory":[{"capacity":64,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_gp","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":399900000},"price_per_month":{"currency_code":"EUR","units":199,"nanos":990000000}},{"id":"c452f76a-2cda-4a1b-9658-a16952dc5ff0","name":"HM-BM1-M","stock":"available","bandwidth":1000,"commercial_range":"high_memory","price_by_minute":{"currency_code":"EUR","units":0,"nanos":799900000},"price_by_month":{"currency_code":"EUR","units":399,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"AMD EPYC 7401P","cores":24,"threads":48,"frequency":2000}],"memory":[{"capacity":256,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":799900000},"price_per_month":{"currency_code":"EUR","units":399,"nanos":990000000}}]}' @@ -27,7 +27,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 26 Mar 2020 19:50:22 GMT + - Fri, 27 Mar 2020 10:10:40 GMT Server: - scaleway_api Strict-Transport-Security: @@ -37,12 +37,12 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 9c245406-eef2-4927-b749-ecf4d0ac8242 + - 00a6f953-ecd9-415f-a502-f8321fa2cf6c status: 200 OK code: 200 duration: "" - request: - body: '{"offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-cocky-khorana","description":"","tags":null}' + body: '{"offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-jovial-brown","description":"","tags":null}' form: {} headers: Content-Type: @@ -52,16 +52,16 @@ interactions: url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers method: POST response: - body: '{"id":"10bad816-0137-4547-853d-cb50525d2642","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-cocky-khorana","description":"","updated_at":"2020-03-26T19:50:22.480899320Z","created_at":"2020-03-26T19:50:22.480899320Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"5c3fd7fa-6df0-4d44-983a-819b749e6a7e","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-jovial-brown","description":"","updated_at":"2020-03-27T10:10:40.358951329Z","created_at":"2020-03-27T10:10:40.358951329Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "399" + - "398" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 26 Mar 2020 19:50:22 GMT + - Fri, 27 Mar 2020 10:10:40 GMT Server: - scaleway_api Strict-Transport-Security: @@ -71,7 +71,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 115f310a-b164-4e7b-af0e-53ccf9b65693 + - d8dc1ee8-cdb7-422d-919e-4ca306f4df98 status: 200 OK code: 200 duration: "" @@ -83,7 +83,7 @@ interactions: - application/json User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/10bad816-0137-4547-853d-cb50525d2642/reboot + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/5c3fd7fa-6df0-4d44-983a-819b749e6a7e/reboot method: POST response: body: '{"message":"Server is not delivered"}' @@ -95,7 +95,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 26 Mar 2020 19:50:22 GMT + - Fri, 27 Mar 2020 10:10:40 GMT Server: - scaleway_api Strict-Transport-Security: @@ -105,7 +105,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - dd8806a3-76b9-46e7-9c9a-670094231a6f + - 1b63dfc7-20a8-4017-80e1-71572f038390 status: 400 Bad Request code: 400 duration: "" @@ -115,19 +115,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/10bad816-0137-4547-853d-cb50525d2642 + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/5c3fd7fa-6df0-4d44-983a-819b749e6a7e method: GET response: - body: '{"id":"10bad816-0137-4547-853d-cb50525d2642","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-cocky-khorana","description":"","updated_at":"2020-03-26T19:50:22.480899Z","created_at":"2020-03-26T19:50:22.480899Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"5c3fd7fa-6df0-4d44-983a-819b749e6a7e","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-jovial-brown","description":"","updated_at":"2020-03-27T10:10:40.358951Z","created_at":"2020-03-27T10:10:40.358951Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "393" + - "392" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 26 Mar 2020 19:50:22 GMT + - Fri, 27 Mar 2020 10:10:40 GMT Server: - scaleway_api Strict-Transport-Security: @@ -137,7 +137,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 9987130a-222a-4cb4-8931-40da94ee8afb + - f7f023f2-4fb0-4790-b4a6-2624d2d9f852 status: 200 OK code: 200 duration: "" @@ -147,19 +147,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/10bad816-0137-4547-853d-cb50525d2642 + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/5c3fd7fa-6df0-4d44-983a-819b749e6a7e method: GET response: - body: '{"id":"10bad816-0137-4547-853d-cb50525d2642","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-cocky-khorana","description":"","updated_at":"2020-03-26T19:50:23.123991Z","created_at":"2020-03-26T19:50:22.480899Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"5c3fd7fa-6df0-4d44-983a-819b749e6a7e","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-jovial-brown","description":"","updated_at":"2020-03-27T10:10:40.966173Z","created_at":"2020-03-27T10:10:40.358951Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "393" + - "392" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 26 Mar 2020 19:55:13 GMT + - Fri, 27 Mar 2020 10:10:55 GMT Server: - scaleway_api Strict-Transport-Security: @@ -169,7 +169,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 849b79dc-8b3c-4401-a939-c7f7c82ed2cb + - 3e571158-2f76-43a7-a62d-a415df0241c0 status: 200 OK code: 200 duration: "" @@ -179,19 +179,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/10bad816-0137-4547-853d-cb50525d2642 + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/5c3fd7fa-6df0-4d44-983a-819b749e6a7e method: GET response: - body: '{"id":"10bad816-0137-4547-853d-cb50525d2642","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-cocky-khorana","description":"","updated_at":"2020-03-26T19:55:25.974314Z","created_at":"2020-03-26T19:50:22.480899Z","status":"ready","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[{"id":"354b59ab-b544-4200-98af-ca1366dd5457","address":"51.159.56.164","reverse":"10bad816-0137-4547-853d-cb50525d2642.fr-par-2.baremetal.scw.cloud","version":"Ipv4","reverse_status":"pending","reverse_status_message":null},{"id":"991d760e-e68d-41e3-8c2b-9bfa5a4f167d","address":"2001:0bc8:1200:0000:dac4:97ff:fe5b:7bb5","reverse":"10bad816-0137-4547-853d-cb50525d2642.fr-par-2.baremetal.scw.cloud","version":"Ipv6","reverse_status":"pending","reverse_status_message":null}],"domain":"10bad816-0137-4547-853d-cb50525d2642.fr-par-2.baremetal.scw.cloud","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"5c3fd7fa-6df0-4d44-983a-819b749e6a7e","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-jovial-brown","description":"","updated_at":"2020-03-27T10:10:40.966173Z","created_at":"2020-03-27T10:10:40.358951Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "925" + - "392" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 26 Mar 2020 19:55:28 GMT + - Fri, 27 Mar 2020 10:11:10 GMT Server: - scaleway_api Strict-Transport-Security: @@ -201,7 +201,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 8064b625-1887-4bc4-bc0b-e590ad62917a + - bcc4ae45-e84e-4cbb-b8f6-717283edae36 status: 200 OK code: 200 duration: "" @@ -211,19 +211,563 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/10bad816-0137-4547-853d-cb50525d2642 + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/5c3fd7fa-6df0-4d44-983a-819b749e6a7e + method: GET + response: + body: '{"id":"5c3fd7fa-6df0-4d44-983a-819b749e6a7e","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-jovial-brown","description":"","updated_at":"2020-03-27T10:10:40.966173Z","created_at":"2020-03-27T10:10:40.358951Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "392" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Fri, 27 Mar 2020 10:11:25 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 5b8526f6-917e-48de-bedb-e877fc11e317 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/5c3fd7fa-6df0-4d44-983a-819b749e6a7e + method: GET + response: + body: '{"id":"5c3fd7fa-6df0-4d44-983a-819b749e6a7e","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-jovial-brown","description":"","updated_at":"2020-03-27T10:10:40.966173Z","created_at":"2020-03-27T10:10:40.358951Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "392" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Fri, 27 Mar 2020 10:11:40 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - f213cd10-630d-4062-8298-3972054b4077 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/5c3fd7fa-6df0-4d44-983a-819b749e6a7e + method: GET + response: + body: '{"id":"5c3fd7fa-6df0-4d44-983a-819b749e6a7e","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-jovial-brown","description":"","updated_at":"2020-03-27T10:10:40.966173Z","created_at":"2020-03-27T10:10:40.358951Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "392" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Fri, 27 Mar 2020 10:11:55 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 978be25e-250a-47c9-9f6e-ca26ee57b550 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/5c3fd7fa-6df0-4d44-983a-819b749e6a7e + method: GET + response: + body: '{"id":"5c3fd7fa-6df0-4d44-983a-819b749e6a7e","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-jovial-brown","description":"","updated_at":"2020-03-27T10:10:40.966173Z","created_at":"2020-03-27T10:10:40.358951Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "392" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Fri, 27 Mar 2020 10:12:10 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 077736d4-fe2a-49f4-8dad-72acb85dbbcc + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/5c3fd7fa-6df0-4d44-983a-819b749e6a7e + method: GET + response: + body: '{"id":"5c3fd7fa-6df0-4d44-983a-819b749e6a7e","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-jovial-brown","description":"","updated_at":"2020-03-27T10:10:40.966173Z","created_at":"2020-03-27T10:10:40.358951Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "392" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Fri, 27 Mar 2020 10:12:25 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - a0db9c18-909b-41c4-9bf4-baa28d25da03 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/5c3fd7fa-6df0-4d44-983a-819b749e6a7e + method: GET + response: + body: '{"id":"5c3fd7fa-6df0-4d44-983a-819b749e6a7e","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-jovial-brown","description":"","updated_at":"2020-03-27T10:10:40.966173Z","created_at":"2020-03-27T10:10:40.358951Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "392" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Fri, 27 Mar 2020 10:12:40 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 5024de51-83c6-4a3b-959e-acbe898235dd + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/5c3fd7fa-6df0-4d44-983a-819b749e6a7e + method: GET + response: + body: '{"id":"5c3fd7fa-6df0-4d44-983a-819b749e6a7e","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-jovial-brown","description":"","updated_at":"2020-03-27T10:10:40.966173Z","created_at":"2020-03-27T10:10:40.358951Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "392" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Fri, 27 Mar 2020 10:12:55 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - ba4f342f-ba8d-4df0-b908-9e5bb81d7be1 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/5c3fd7fa-6df0-4d44-983a-819b749e6a7e + method: GET + response: + body: '{"id":"5c3fd7fa-6df0-4d44-983a-819b749e6a7e","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-jovial-brown","description":"","updated_at":"2020-03-27T10:10:40.966173Z","created_at":"2020-03-27T10:10:40.358951Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "392" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Fri, 27 Mar 2020 10:13:10 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 000d73d7-899d-44d2-92e0-b716a0cb9c64 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/5c3fd7fa-6df0-4d44-983a-819b749e6a7e + method: GET + response: + body: '{"id":"5c3fd7fa-6df0-4d44-983a-819b749e6a7e","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-jovial-brown","description":"","updated_at":"2020-03-27T10:10:40.966173Z","created_at":"2020-03-27T10:10:40.358951Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "392" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Fri, 27 Mar 2020 10:13:25 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 3cd612f0-d08c-42ee-8909-2546fef24fa4 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/5c3fd7fa-6df0-4d44-983a-819b749e6a7e + method: GET + response: + body: '{"id":"5c3fd7fa-6df0-4d44-983a-819b749e6a7e","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-jovial-brown","description":"","updated_at":"2020-03-27T10:10:40.966173Z","created_at":"2020-03-27T10:10:40.358951Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "392" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Fri, 27 Mar 2020 10:13:40 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 2acdc1e4-e678-4fcc-9f2d-e74b95555245 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/5c3fd7fa-6df0-4d44-983a-819b749e6a7e + method: GET + response: + body: '{"id":"5c3fd7fa-6df0-4d44-983a-819b749e6a7e","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-jovial-brown","description":"","updated_at":"2020-03-27T10:10:40.966173Z","created_at":"2020-03-27T10:10:40.358951Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "392" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Fri, 27 Mar 2020 10:13:55 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - bf3775cd-7b94-4c16-b075-5d04cd591c99 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/5c3fd7fa-6df0-4d44-983a-819b749e6a7e + method: GET + response: + body: '{"id":"5c3fd7fa-6df0-4d44-983a-819b749e6a7e","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-jovial-brown","description":"","updated_at":"2020-03-27T10:10:40.966173Z","created_at":"2020-03-27T10:10:40.358951Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "392" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Fri, 27 Mar 2020 10:14:10 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - f4c90a5c-2ea9-4bc3-9c6d-acffaed18ebc + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/5c3fd7fa-6df0-4d44-983a-819b749e6a7e + method: GET + response: + body: '{"id":"5c3fd7fa-6df0-4d44-983a-819b749e6a7e","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-jovial-brown","description":"","updated_at":"2020-03-27T10:10:40.966173Z","created_at":"2020-03-27T10:10:40.358951Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "392" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Fri, 27 Mar 2020 10:14:26 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 9ffd24f7-8247-44df-8e0b-c3de0c93337d + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/5c3fd7fa-6df0-4d44-983a-819b749e6a7e + method: GET + response: + body: '{"id":"5c3fd7fa-6df0-4d44-983a-819b749e6a7e","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-jovial-brown","description":"","updated_at":"2020-03-27T10:10:40.966173Z","created_at":"2020-03-27T10:10:40.358951Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "392" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Fri, 27 Mar 2020 10:14:41 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 9985a264-5c8f-4416-9003-ac5969cb0b35 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/5c3fd7fa-6df0-4d44-983a-819b749e6a7e + method: GET + response: + body: '{"id":"5c3fd7fa-6df0-4d44-983a-819b749e6a7e","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-jovial-brown","description":"","updated_at":"2020-03-27T10:10:40.966173Z","created_at":"2020-03-27T10:10:40.358951Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "392" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Fri, 27 Mar 2020 10:14:56 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - a4195cc8-27b6-4ecb-bb9e-f13ac3724bb7 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/5c3fd7fa-6df0-4d44-983a-819b749e6a7e + method: GET + response: + body: '{"id":"5c3fd7fa-6df0-4d44-983a-819b749e6a7e","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-jovial-brown","description":"","updated_at":"2020-03-27T10:10:40.966173Z","created_at":"2020-03-27T10:10:40.358951Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "392" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Fri, 27 Mar 2020 10:15:11 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 59672270-ef22-4a7a-96b9-35eef458d67d + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/5c3fd7fa-6df0-4d44-983a-819b749e6a7e + method: GET + response: + body: '{"id":"5c3fd7fa-6df0-4d44-983a-819b749e6a7e","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-jovial-brown","description":"","updated_at":"2020-03-27T10:15:23.684191Z","created_at":"2020-03-27T10:10:40.358951Z","status":"ready","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[{"id":"71955658-ee4e-4a8f-a2b3-c8f974dc475f","address":"51.159.56.110","reverse":"5c3fd7fa-6df0-4d44-983a-819b749e6a7e.fr-par-2.baremetal.scw.cloud","version":"Ipv4","reverse_status":"pending","reverse_status_message":null},{"id":"b89d1699-7ffd-4ccb-baf5-e01ac432d594","address":"2001:0bc8:1200:0000:dac4:97ff:fe5b:7c81","reverse":"5c3fd7fa-6df0-4d44-983a-819b749e6a7e.fr-par-2.baremetal.scw.cloud","version":"Ipv6","reverse_status":"pending","reverse_status_message":null}],"domain":"5c3fd7fa-6df0-4d44-983a-819b749e6a7e.fr-par-2.baremetal.scw.cloud","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "924" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Fri, 27 Mar 2020 10:15:26 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 7c877eb5-48de-430c-a6ef-63efe3341efa + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/5c3fd7fa-6df0-4d44-983a-819b749e6a7e method: DELETE response: - body: '{"id":"10bad816-0137-4547-853d-cb50525d2642","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-cocky-khorana","description":"","updated_at":"2020-03-26T19:55:29.286402Z","created_at":"2020-03-26T19:50:22.480899Z","status":"deleting","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[{"id":"354b59ab-b544-4200-98af-ca1366dd5457","address":"51.159.56.164","reverse":"10bad816-0137-4547-853d-cb50525d2642.fr-par-2.baremetal.scw.cloud","version":"Ipv4","reverse_status":"pending","reverse_status_message":null},{"id":"991d760e-e68d-41e3-8c2b-9bfa5a4f167d","address":"2001:0bc8:1200:0000:dac4:97ff:fe5b:7bb5","reverse":"10bad816-0137-4547-853d-cb50525d2642.fr-par-2.baremetal.scw.cloud","version":"Ipv6","reverse_status":"pending","reverse_status_message":null}],"domain":"10bad816-0137-4547-853d-cb50525d2642.fr-par-2.baremetal.scw.cloud","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"5c3fd7fa-6df0-4d44-983a-819b749e6a7e","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-jovial-brown","description":"","updated_at":"2020-03-27T10:15:26.418826Z","created_at":"2020-03-27T10:10:40.358951Z","status":"deleting","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[{"id":"71955658-ee4e-4a8f-a2b3-c8f974dc475f","address":"51.159.56.110","reverse":"5c3fd7fa-6df0-4d44-983a-819b749e6a7e.fr-par-2.baremetal.scw.cloud","version":"Ipv4","reverse_status":"pending","reverse_status_message":null},{"id":"b89d1699-7ffd-4ccb-baf5-e01ac432d594","address":"2001:0bc8:1200:0000:dac4:97ff:fe5b:7c81","reverse":"5c3fd7fa-6df0-4d44-983a-819b749e6a7e.fr-par-2.baremetal.scw.cloud","version":"Ipv6","reverse_status":"pending","reverse_status_message":null}],"domain":"5c3fd7fa-6df0-4d44-983a-819b749e6a7e.fr-par-2.baremetal.scw.cloud","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "928" + - "927" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 26 Mar 2020 19:55:28 GMT + - Fri, 27 Mar 2020 10:15:26 GMT Server: - scaleway_api Strict-Transport-Security: @@ -233,7 +777,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - a3b60462-27d9-4a74-b1d7-7232cec30564 + - 0ae2b05b-b233-48cf-add4-8f5f616583b8 status: 200 OK code: 200 duration: "" diff --git a/internal/namespaces/baremetal/v1alpha1/testdata/test-start-server-errors-error-cannot-be-started-while-not-delivered.cassette.yaml b/internal/namespaces/baremetal/v1alpha1/testdata/test-start-server-errors-error-cannot-be-started-while-not-delivered.cassette.yaml index 578811b85c..fbb342c1c0 100644 --- a/internal/namespaces/baremetal/v1alpha1/testdata/test-start-server-errors-error-cannot-be-started-while-not-delivered.cassette.yaml +++ b/internal/namespaces/baremetal/v1alpha1/testdata/test-start-server-errors-error-cannot-be-started-while-not-delivered.cassette.yaml @@ -17,7 +17,7 @@ interactions: Gold 6140","cores":36,"threads":72,"frequency":2300}],"memory":[{"capacity":768,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":2,"nanos":599900000},"price_per_month":{"currency_code":"EUR","units":1299,"nanos":990000000}},{"id":"737f18c8-febc-4408-b69e-776bca0a3f48","name":"HC-BM1-S","stock":"available","bandwidth":1000,"commercial_range":"high_cpu","price_by_minute":{"currency_code":"EUR","units":0,"nanos":659900000},"price_by_month":{"currency_code":"EUR","units":329,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"Intel Xeon Silver 4114","cores":10,"threads":20,"frequency":2200},{"name":"Intel Xeon Silver 4114","cores":10,"threads":20,"frequency":2200}],"memory":[{"capacity":128,"type":"DDR4","frequency":2400,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":659900000},"price_per_month":{"currency_code":"EUR","units":329,"nanos":990000000}},{"id":"7fde3890-9787-488c-ac89-c4e00a4e5f83","name":"GP-BM1-S","stock":"available","bandwidth":500,"commercial_range":"general_purpose","price_by_minute":{"currency_code":"EUR","units":0,"nanos":240000000},"price_by_month":{"currency_code":"EUR","units":119,"nanos":990000000},"disk":[{"capacity":250,"type":"SSD"},{"capacity":250,"type":"SSD"}],"enable":true,"cpu":[{"name":"Intel - Xeon E3 1240v6","cores":4,"threads":8,"frequency":3700}],"memory":[{"capacity":32,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_gp","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":240000000},"price_per_month":{"currency_code":"EUR","units":119,"nanos":990000000}},{"id":"8090d302-3545-4905-9cf3-bcb77a299f47","name":"GP-BM1-L","stock":"available","bandwidth":750,"commercial_range":"general_purpose","price_by_minute":{"currency_code":"EUR","units":0,"nanos":499900000},"price_by_month":{"currency_code":"EUR","units":249,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"AMD + Xeon E3 1240v6","cores":4,"threads":8,"frequency":3700}],"memory":[{"capacity":32,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_gp","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":240000000},"price_per_month":{"currency_code":"EUR","units":119,"nanos":990000000}},{"id":"8090d302-3545-4905-9cf3-bcb77a299f47","name":"GP-BM1-L","stock":"empty","bandwidth":750,"commercial_range":"general_purpose","price_by_minute":{"currency_code":"EUR","units":0,"nanos":499900000},"price_by_month":{"currency_code":"EUR","units":249,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"AMD EPYC 7281","cores":16,"threads":32,"frequency":2100}],"memory":[{"capacity":96,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_gp","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":499900000},"price_per_month":{"currency_code":"EUR","units":249,"nanos":990000000}},{"id":"964f9b38-577e-470f-a220-7d762f9e8672","name":"GP-BM1-M","stock":"available","bandwidth":500,"commercial_range":"general_purpose","price_by_minute":{"currency_code":"EUR","units":0,"nanos":399900000},"price_by_month":{"currency_code":"EUR","units":199,"nanos":990000000},"disk":[{"capacity":1024,"type":"SSD"},{"capacity":1024,"type":"SSD"},{"capacity":1024,"type":"SSD"}],"enable":true,"cpu":[{"name":"Intel Xeon E3 1240v6","cores":4,"threads":8,"frequency":3700}],"memory":[{"capacity":64,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_gp","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":399900000},"price_per_month":{"currency_code":"EUR","units":199,"nanos":990000000}},{"id":"c452f76a-2cda-4a1b-9658-a16952dc5ff0","name":"HM-BM1-M","stock":"available","bandwidth":1000,"commercial_range":"high_memory","price_by_minute":{"currency_code":"EUR","units":0,"nanos":799900000},"price_by_month":{"currency_code":"EUR","units":399,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"AMD EPYC 7401P","cores":24,"threads":48,"frequency":2000}],"memory":[{"capacity":256,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":799900000},"price_per_month":{"currency_code":"EUR","units":399,"nanos":990000000}}]}' @@ -27,7 +27,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 26 Mar 2020 19:36:18 GMT + - Fri, 27 Mar 2020 10:03:52 GMT Server: - scaleway_api Strict-Transport-Security: @@ -37,12 +37,12 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - d831deeb-48db-4810-9aaf-8e19e8fd9eef + - 628ddea4-ee72-43c9-9d7a-825c4a252fc0 status: 200 OK code: 200 duration: "" - request: - body: '{"offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-epic-knuth","description":"","tags":null}' + body: '{"offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-nostalgic-aryabhata","description":"","tags":null}' form: {} headers: Content-Type: @@ -52,16 +52,16 @@ interactions: url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers method: POST response: - body: '{"id":"97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-epic-knuth","description":"","updated_at":"2020-03-26T19:36:18.990926490Z","created_at":"2020-03-26T19:36:18.990926490Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"aa4b70b6-9825-4efe-ad2f-f201951b224c","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-nostalgic-aryabhata","description":"","updated_at":"2020-03-27T10:03:53.277880412Z","created_at":"2020-03-27T10:03:53.277880412Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "396" + - "405" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 26 Mar 2020 19:36:18 GMT + - Fri, 27 Mar 2020 10:03:53 GMT Server: - scaleway_api Strict-Transport-Security: @@ -71,7 +71,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 6092c81e-5b00-4b49-8b2c-aece8fd4318c + - ea621287-7982-4c20-a16f-77b3bb1cb4c8 status: 200 OK code: 200 duration: "" @@ -83,7 +83,7 @@ interactions: - application/json User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5/start + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/aa4b70b6-9825-4efe-ad2f-f201951b224c/start method: POST response: body: '{"message":"Server is not delivered"}' @@ -95,7 +95,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 26 Mar 2020 19:36:18 GMT + - Fri, 27 Mar 2020 10:03:53 GMT Server: - scaleway_api Strict-Transport-Security: @@ -105,7 +105,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 322dd2d1-d61a-4ffb-872c-02521d2c57c9 + - eb9edfc7-7f62-44a0-906c-30fdf65057b6 status: 400 Bad Request code: 400 duration: "" @@ -115,19 +115,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5 + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/aa4b70b6-9825-4efe-ad2f-f201951b224c method: GET response: - body: '{"id":"97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-epic-knuth","description":"","updated_at":"2020-03-26T19:36:18.990926Z","created_at":"2020-03-26T19:36:18.990926Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"aa4b70b6-9825-4efe-ad2f-f201951b224c","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-nostalgic-aryabhata","description":"","updated_at":"2020-03-27T10:03:53.277880Z","created_at":"2020-03-27T10:03:53.277880Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "390" + - "399" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 26 Mar 2020 19:36:18 GMT + - Fri, 27 Mar 2020 10:03:53 GMT Server: - scaleway_api Strict-Transport-Security: @@ -137,7 +137,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - c168fdfb-a3c6-4dec-b54b-a7fda81519b7 + - 097a3b94-409f-4589-81bc-5bdd967ef3a4 status: 200 OK code: 200 duration: "" @@ -147,19 +147,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5 + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/aa4b70b6-9825-4efe-ad2f-f201951b224c method: GET response: - body: '{"id":"97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-epic-knuth","description":"","updated_at":"2020-03-26T19:36:19.652382Z","created_at":"2020-03-26T19:36:18.990926Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"aa4b70b6-9825-4efe-ad2f-f201951b224c","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-nostalgic-aryabhata","description":"","updated_at":"2020-03-27T10:03:53.940178Z","created_at":"2020-03-27T10:03:53.277880Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "390" + - "399" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 26 Mar 2020 19:36:34 GMT + - Fri, 27 Mar 2020 10:04:08 GMT Server: - scaleway_api Strict-Transport-Security: @@ -169,7 +169,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - a390e2ab-975c-4220-9f03-19f1b00d1372 + - f5083ff7-3fd0-46e5-90e1-f9fd0cf96fee status: 200 OK code: 200 duration: "" @@ -179,19 +179,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5 + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/aa4b70b6-9825-4efe-ad2f-f201951b224c method: GET response: - body: '{"id":"97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-epic-knuth","description":"","updated_at":"2020-03-26T19:36:19.652382Z","created_at":"2020-03-26T19:36:18.990926Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"aa4b70b6-9825-4efe-ad2f-f201951b224c","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-nostalgic-aryabhata","description":"","updated_at":"2020-03-27T10:03:53.940178Z","created_at":"2020-03-27T10:03:53.277880Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "390" + - "399" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 26 Mar 2020 19:36:49 GMT + - Fri, 27 Mar 2020 10:04:23 GMT Server: - scaleway_api Strict-Transport-Security: @@ -201,7 +201,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 2efdf6a8-889b-4a26-b0d4-79a67db07452 + - 1d8e5d2b-4e68-4006-b0f4-4313e6ea7423 status: 200 OK code: 200 duration: "" @@ -211,19 +211,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5 + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/aa4b70b6-9825-4efe-ad2f-f201951b224c method: GET response: - body: '{"id":"97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-epic-knuth","description":"","updated_at":"2020-03-26T19:36:19.652382Z","created_at":"2020-03-26T19:36:18.990926Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"aa4b70b6-9825-4efe-ad2f-f201951b224c","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-nostalgic-aryabhata","description":"","updated_at":"2020-03-27T10:03:53.940178Z","created_at":"2020-03-27T10:03:53.277880Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "390" + - "399" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 26 Mar 2020 19:37:04 GMT + - Fri, 27 Mar 2020 10:04:38 GMT Server: - scaleway_api Strict-Transport-Security: @@ -233,7 +233,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 29f3238e-c8f1-40a7-a595-ec7af054bde4 + - 7b67f3da-3df7-4bcc-99ee-252d17b0889c status: 200 OK code: 200 duration: "" @@ -243,19 +243,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5 + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/aa4b70b6-9825-4efe-ad2f-f201951b224c method: GET response: - body: '{"id":"97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-epic-knuth","description":"","updated_at":"2020-03-26T19:36:19.652382Z","created_at":"2020-03-26T19:36:18.990926Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"aa4b70b6-9825-4efe-ad2f-f201951b224c","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-nostalgic-aryabhata","description":"","updated_at":"2020-03-27T10:03:53.940178Z","created_at":"2020-03-27T10:03:53.277880Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "390" + - "399" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 26 Mar 2020 19:37:19 GMT + - Fri, 27 Mar 2020 10:04:53 GMT Server: - scaleway_api Strict-Transport-Security: @@ -265,7 +265,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 9abcd6b2-2256-48ac-b358-20299d5a5e1c + - e9b47578-5624-4ec3-9a0b-5534eb9b7a21 status: 200 OK code: 200 duration: "" @@ -275,19 +275,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5 + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/aa4b70b6-9825-4efe-ad2f-f201951b224c method: GET response: - body: '{"id":"97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-epic-knuth","description":"","updated_at":"2020-03-26T19:36:19.652382Z","created_at":"2020-03-26T19:36:18.990926Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"aa4b70b6-9825-4efe-ad2f-f201951b224c","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-nostalgic-aryabhata","description":"","updated_at":"2020-03-27T10:03:53.940178Z","created_at":"2020-03-27T10:03:53.277880Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "390" + - "399" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 26 Mar 2020 19:37:34 GMT + - Fri, 27 Mar 2020 10:05:08 GMT Server: - scaleway_api Strict-Transport-Security: @@ -297,7 +297,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 4f069234-f72b-4ddf-b2be-8828b5bc79e7 + - 965f7cff-29e0-42ea-950b-71a72628dfef status: 200 OK code: 200 duration: "" @@ -307,19 +307,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5 + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/aa4b70b6-9825-4efe-ad2f-f201951b224c method: GET response: - body: '{"id":"97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-epic-knuth","description":"","updated_at":"2020-03-26T19:36:19.652382Z","created_at":"2020-03-26T19:36:18.990926Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"aa4b70b6-9825-4efe-ad2f-f201951b224c","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-nostalgic-aryabhata","description":"","updated_at":"2020-03-27T10:05:15.445998Z","created_at":"2020-03-27T10:03:53.277880Z","status":"ready","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[{"id":"4ff33a3c-b605-447d-96d2-eb0a3bd025c6","address":"51.159.56.72","reverse":"aa4b70b6-9825-4efe-ad2f-f201951b224c.fr-par-2.baremetal.scw.cloud","version":"Ipv4","reverse_status":"pending","reverse_status_message":null},{"id":"9fee40e0-190a-4a9b-b773-3739171dc8a7","address":"2001:0bc8:1200:0000:dac4:97ff:fe2a:30f4","reverse":"aa4b70b6-9825-4efe-ad2f-f201951b224c.fr-par-2.baremetal.scw.cloud","version":"Ipv6","reverse_status":"pending","reverse_status_message":null}],"domain":"aa4b70b6-9825-4efe-ad2f-f201951b224c.fr-par-2.baremetal.scw.cloud","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "390" + - "930" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 26 Mar 2020 19:37:49 GMT + - Fri, 27 Mar 2020 10:05:23 GMT Server: - scaleway_api Strict-Transport-Security: @@ -329,7 +329,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - b45caffd-8b58-4246-b5bf-59c03844bbfe + - baf5f5d6-e823-4f56-a305-366562a6a621 status: 200 OK code: 200 duration: "" @@ -339,1011 +339,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5 - method: GET - response: - body: '{"id":"97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-epic-knuth","description":"","updated_at":"2020-03-26T19:36:19.652382Z","created_at":"2020-03-26T19:36:18.990926Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "390" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 26 Mar 2020 19:38:04 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 69615152-f7e3-437d-a21c-3d533a46f907 - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5 - method: GET - response: - body: '{"id":"97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-epic-knuth","description":"","updated_at":"2020-03-26T19:36:19.652382Z","created_at":"2020-03-26T19:36:18.990926Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "390" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 26 Mar 2020 19:38:19 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - ab7bf0ca-ef0b-4cfb-9c19-ecb4b1e52fbb - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5 - method: GET - response: - body: '{"id":"97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-epic-knuth","description":"","updated_at":"2020-03-26T19:36:19.652382Z","created_at":"2020-03-26T19:36:18.990926Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "390" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 26 Mar 2020 19:38:34 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 488ce079-a48f-44e1-bd0c-479a23901ba3 - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5 - method: GET - response: - body: '{"id":"97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-epic-knuth","description":"","updated_at":"2020-03-26T19:36:19.652382Z","created_at":"2020-03-26T19:36:18.990926Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "390" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 26 Mar 2020 19:38:49 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 9350b8b4-1610-45d8-9562-4470d8cad538 - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5 - method: GET - response: - body: '{"id":"97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-epic-knuth","description":"","updated_at":"2020-03-26T19:36:19.652382Z","created_at":"2020-03-26T19:36:18.990926Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "390" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 26 Mar 2020 19:39:04 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 7b92769e-d580-4dde-82a6-3ea7dee52cf4 - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5 - method: GET - response: - body: '{"id":"97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-epic-knuth","description":"","updated_at":"2020-03-26T19:36:19.652382Z","created_at":"2020-03-26T19:36:18.990926Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "390" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 26 Mar 2020 19:39:19 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 75669047-7858-4582-9140-88e3d0caeff0 - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5 - method: GET - response: - body: '{"id":"97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-epic-knuth","description":"","updated_at":"2020-03-26T19:36:19.652382Z","created_at":"2020-03-26T19:36:18.990926Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "390" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 26 Mar 2020 19:39:34 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 216424ae-a189-49e6-bb34-25f2a8bbef0c - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5 - method: GET - response: - body: '{"id":"97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-epic-knuth","description":"","updated_at":"2020-03-26T19:36:19.652382Z","created_at":"2020-03-26T19:36:18.990926Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "390" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 26 Mar 2020 19:39:49 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 0af24016-2eae-4d09-bf59-11f78e684e35 - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5 - method: GET - response: - body: '{"id":"97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-epic-knuth","description":"","updated_at":"2020-03-26T19:36:19.652382Z","created_at":"2020-03-26T19:36:18.990926Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "390" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 26 Mar 2020 19:40:04 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 05fbb413-80d9-4cf2-8843-8fba63bffcf4 - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5 - method: GET - response: - body: '{"id":"97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-epic-knuth","description":"","updated_at":"2020-03-26T19:36:19.652382Z","created_at":"2020-03-26T19:36:18.990926Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "390" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 26 Mar 2020 19:40:19 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 1bcdb5f0-89a6-49bf-bac1-a3c627999d70 - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5 - method: GET - response: - body: '{"id":"97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-epic-knuth","description":"","updated_at":"2020-03-26T19:36:19.652382Z","created_at":"2020-03-26T19:36:18.990926Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "390" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 26 Mar 2020 19:40:34 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 6d4ef169-0a31-4f0a-a5c5-6556a6f78743 - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5 - method: GET - response: - body: '{"id":"97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-epic-knuth","description":"","updated_at":"2020-03-26T19:36:19.652382Z","created_at":"2020-03-26T19:36:18.990926Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "390" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 26 Mar 2020 19:40:49 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - c058f762-fddd-4937-8a2b-72751cf727f2 - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5 - method: GET - response: - body: '{"id":"97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-epic-knuth","description":"","updated_at":"2020-03-26T19:36:19.652382Z","created_at":"2020-03-26T19:36:18.990926Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "390" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 26 Mar 2020 19:41:04 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 477ea38c-7514-46b0-8baa-ea105513bde3 - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5 - method: GET - response: - body: '{"id":"97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-epic-knuth","description":"","updated_at":"2020-03-26T19:36:19.652382Z","created_at":"2020-03-26T19:36:18.990926Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "390" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 26 Mar 2020 19:41:19 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 8b227a4c-3278-4563-a781-f9bac442a63a - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5 - method: GET - response: - body: '{"id":"97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-epic-knuth","description":"","updated_at":"2020-03-26T19:36:19.652382Z","created_at":"2020-03-26T19:36:18.990926Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "390" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 26 Mar 2020 19:41:34 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 947ea57f-8284-4e80-beee-f2fc4bb1c8a4 - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5 - method: GET - response: - body: '{"id":"97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-epic-knuth","description":"","updated_at":"2020-03-26T19:36:19.652382Z","created_at":"2020-03-26T19:36:18.990926Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "390" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 26 Mar 2020 19:41:49 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - cb476220-2384-42e4-965c-05a5710db812 - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5 - method: GET - response: - body: '{"id":"97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-epic-knuth","description":"","updated_at":"2020-03-26T19:36:19.652382Z","created_at":"2020-03-26T19:36:18.990926Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "390" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 26 Mar 2020 19:42:04 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - dcf5063e-8120-4597-a70c-ccf70664d51b - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5 - method: GET - response: - body: '{"id":"97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-epic-knuth","description":"","updated_at":"2020-03-26T19:36:19.652382Z","created_at":"2020-03-26T19:36:18.990926Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "390" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 26 Mar 2020 19:42:20 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 556268c1-d1ba-4f61-bc29-e6a24e9c4b49 - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5 - method: GET - response: - body: '{"id":"97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-epic-knuth","description":"","updated_at":"2020-03-26T19:36:19.652382Z","created_at":"2020-03-26T19:36:18.990926Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "390" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 26 Mar 2020 19:42:35 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - d5d39e56-9ba3-4aeb-a61d-6029ef0b207b - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5 - method: GET - response: - body: '{"id":"97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-epic-knuth","description":"","updated_at":"2020-03-26T19:36:19.652382Z","created_at":"2020-03-26T19:36:18.990926Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "390" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 26 Mar 2020 19:42:50 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 72332218-4a99-4468-a623-24aaa62eb729 - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5 - method: GET - response: - body: '{"id":"97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-epic-knuth","description":"","updated_at":"2020-03-26T19:36:19.652382Z","created_at":"2020-03-26T19:36:18.990926Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "390" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 26 Mar 2020 19:43:04 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - bc65e5d1-2bcc-469a-9ef5-4f63d465d5d8 - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5 - method: GET - response: - body: '{"id":"97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-epic-knuth","description":"","updated_at":"2020-03-26T19:36:19.652382Z","created_at":"2020-03-26T19:36:18.990926Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "390" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 26 Mar 2020 19:43:20 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 66f6beb4-9584-42d7-a30c-2a96b5bbde82 - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5 - method: GET - response: - body: '{"id":"97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-epic-knuth","description":"","updated_at":"2020-03-26T19:36:19.652382Z","created_at":"2020-03-26T19:36:18.990926Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "390" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 26 Mar 2020 19:43:35 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 04021f04-1ddc-47bd-9ec7-d3e9d82e175e - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5 - method: GET - response: - body: '{"id":"97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-epic-knuth","description":"","updated_at":"2020-03-26T19:36:19.652382Z","created_at":"2020-03-26T19:36:18.990926Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "390" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 26 Mar 2020 19:43:50 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 33cd7ecf-d152-4861-880a-3db13dee5cbd - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5 - method: GET - response: - body: '{"id":"97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-epic-knuth","description":"","updated_at":"2020-03-26T19:36:19.652382Z","created_at":"2020-03-26T19:36:18.990926Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "390" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 26 Mar 2020 19:44:05 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - d26fe383-27bc-4a98-b157-e9b0f79743ae - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5 - method: GET - response: - body: '{"id":"97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-epic-knuth","description":"","updated_at":"2020-03-26T19:36:19.652382Z","created_at":"2020-03-26T19:36:18.990926Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "390" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 26 Mar 2020 19:44:20 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 664bfe1d-1c7c-4405-994f-680bcefaeceb - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5 - method: GET - response: - body: '{"id":"97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-epic-knuth","description":"","updated_at":"2020-03-26T19:36:19.652382Z","created_at":"2020-03-26T19:36:18.990926Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "390" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 26 Mar 2020 19:44:35 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 1dd09ba1-cc1a-4730-9d1d-0affc7f9f434 - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5 - method: GET - response: - body: '{"id":"97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-epic-knuth","description":"","updated_at":"2020-03-26T19:36:19.652382Z","created_at":"2020-03-26T19:36:18.990926Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "390" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 26 Mar 2020 19:44:50 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - df041bff-5ea6-4e67-bb3e-e0278e984a6e - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5 - method: GET - response: - body: '{"id":"97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-epic-knuth","description":"","updated_at":"2020-03-26T19:36:19.652382Z","created_at":"2020-03-26T19:36:18.990926Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "390" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 26 Mar 2020 19:45:05 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 126606bf-ac30-4f28-a438-3a22d8f57280 - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5 - method: GET - response: - body: '{"id":"97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-epic-knuth","description":"","updated_at":"2020-03-26T19:36:19.652382Z","created_at":"2020-03-26T19:36:18.990926Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "390" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 26 Mar 2020 19:45:20 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 6813e746-98fd-4a8b-81d0-49b596fd2568 - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5 - method: GET - response: - body: '{"id":"97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-epic-knuth","description":"","updated_at":"2020-03-26T19:45:23.823626Z","created_at":"2020-03-26T19:36:18.990926Z","status":"ready","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[{"id":"28d1234e-bd46-4d4e-af26-bb7ff4e9f94e","address":"51.159.56.161","reverse":"97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5.fr-par-2.baremetal.scw.cloud","version":"Ipv4","reverse_status":"pending","reverse_status_message":null},{"id":"7255984c-c888-4aed-96f4-306cb3db17d4","address":"2001:0bc8:1200:0000:dac4:97ff:fe5b:7cc1","reverse":"97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5.fr-par-2.baremetal.scw.cloud","version":"Ipv6","reverse_status":"pending","reverse_status_message":null}],"domain":"97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5.fr-par-2.baremetal.scw.cloud","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "922" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 26 Mar 2020 19:45:35 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 067f0343-37ae-437d-9705-692aea930a4b - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5 + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/aa4b70b6-9825-4efe-ad2f-f201951b224c method: DELETE response: - body: '{"id":"97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-epic-knuth","description":"","updated_at":"2020-03-26T19:45:35.942272Z","created_at":"2020-03-26T19:36:18.990926Z","status":"deleting","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[{"id":"28d1234e-bd46-4d4e-af26-bb7ff4e9f94e","address":"51.159.56.161","reverse":"97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5.fr-par-2.baremetal.scw.cloud","version":"Ipv4","reverse_status":"pending","reverse_status_message":null},{"id":"7255984c-c888-4aed-96f4-306cb3db17d4","address":"2001:0bc8:1200:0000:dac4:97ff:fe5b:7cc1","reverse":"97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5.fr-par-2.baremetal.scw.cloud","version":"Ipv6","reverse_status":"pending","reverse_status_message":null}],"domain":"97a2732c-fcdc-4401-88f4-fe2b0b3fd8f5.fr-par-2.baremetal.scw.cloud","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"aa4b70b6-9825-4efe-ad2f-f201951b224c","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-nostalgic-aryabhata","description":"","updated_at":"2020-03-27T10:05:23.674284Z","created_at":"2020-03-27T10:03:53.277880Z","status":"deleting","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[{"id":"4ff33a3c-b605-447d-96d2-eb0a3bd025c6","address":"51.159.56.72","reverse":"aa4b70b6-9825-4efe-ad2f-f201951b224c.fr-par-2.baremetal.scw.cloud","version":"Ipv4","reverse_status":"pending","reverse_status_message":null},{"id":"9fee40e0-190a-4a9b-b773-3739171dc8a7","address":"2001:0bc8:1200:0000:dac4:97ff:fe2a:30f4","reverse":"aa4b70b6-9825-4efe-ad2f-f201951b224c.fr-par-2.baremetal.scw.cloud","version":"Ipv6","reverse_status":"pending","reverse_status_message":null}],"domain":"aa4b70b6-9825-4efe-ad2f-f201951b224c.fr-par-2.baremetal.scw.cloud","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "925" + - "933" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 26 Mar 2020 19:45:35 GMT + - Fri, 27 Mar 2020 10:05:23 GMT Server: - scaleway_api Strict-Transport-Security: @@ -1353,7 +361,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 0e4f226a-8ead-4b35-9e02-479fc01c1abc + - df4984cf-f0e7-4d9e-9806-8b10332d4fba status: 200 OK code: 200 duration: "" diff --git a/internal/namespaces/baremetal/v1alpha1/testdata/test-stop-server-errors-error-cannot-be-stopped-while-not-delivered.cassette.yaml b/internal/namespaces/baremetal/v1alpha1/testdata/test-stop-server-errors-error-cannot-be-stopped-while-not-delivered.cassette.yaml index 12b56a7cc7..dff5d7c204 100644 --- a/internal/namespaces/baremetal/v1alpha1/testdata/test-stop-server-errors-error-cannot-be-stopped-while-not-delivered.cassette.yaml +++ b/internal/namespaces/baremetal/v1alpha1/testdata/test-stop-server-errors-error-cannot-be-stopped-while-not-delivered.cassette.yaml @@ -17,7 +17,7 @@ interactions: Gold 6140","cores":36,"threads":72,"frequency":2300}],"memory":[{"capacity":768,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":2,"nanos":599900000},"price_per_month":{"currency_code":"EUR","units":1299,"nanos":990000000}},{"id":"737f18c8-febc-4408-b69e-776bca0a3f48","name":"HC-BM1-S","stock":"available","bandwidth":1000,"commercial_range":"high_cpu","price_by_minute":{"currency_code":"EUR","units":0,"nanos":659900000},"price_by_month":{"currency_code":"EUR","units":329,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"Intel Xeon Silver 4114","cores":10,"threads":20,"frequency":2200},{"name":"Intel Xeon Silver 4114","cores":10,"threads":20,"frequency":2200}],"memory":[{"capacity":128,"type":"DDR4","frequency":2400,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":659900000},"price_per_month":{"currency_code":"EUR","units":329,"nanos":990000000}},{"id":"7fde3890-9787-488c-ac89-c4e00a4e5f83","name":"GP-BM1-S","stock":"available","bandwidth":500,"commercial_range":"general_purpose","price_by_minute":{"currency_code":"EUR","units":0,"nanos":240000000},"price_by_month":{"currency_code":"EUR","units":119,"nanos":990000000},"disk":[{"capacity":250,"type":"SSD"},{"capacity":250,"type":"SSD"}],"enable":true,"cpu":[{"name":"Intel - Xeon E3 1240v6","cores":4,"threads":8,"frequency":3700}],"memory":[{"capacity":32,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_gp","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":240000000},"price_per_month":{"currency_code":"EUR","units":119,"nanos":990000000}},{"id":"8090d302-3545-4905-9cf3-bcb77a299f47","name":"GP-BM1-L","stock":"available","bandwidth":750,"commercial_range":"general_purpose","price_by_minute":{"currency_code":"EUR","units":0,"nanos":499900000},"price_by_month":{"currency_code":"EUR","units":249,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"AMD + Xeon E3 1240v6","cores":4,"threads":8,"frequency":3700}],"memory":[{"capacity":32,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_gp","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":240000000},"price_per_month":{"currency_code":"EUR","units":119,"nanos":990000000}},{"id":"8090d302-3545-4905-9cf3-bcb77a299f47","name":"GP-BM1-L","stock":"empty","bandwidth":750,"commercial_range":"general_purpose","price_by_minute":{"currency_code":"EUR","units":0,"nanos":499900000},"price_by_month":{"currency_code":"EUR","units":249,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"AMD EPYC 7281","cores":16,"threads":32,"frequency":2100}],"memory":[{"capacity":96,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_gp","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":499900000},"price_per_month":{"currency_code":"EUR","units":249,"nanos":990000000}},{"id":"964f9b38-577e-470f-a220-7d762f9e8672","name":"GP-BM1-M","stock":"available","bandwidth":500,"commercial_range":"general_purpose","price_by_minute":{"currency_code":"EUR","units":0,"nanos":399900000},"price_by_month":{"currency_code":"EUR","units":199,"nanos":990000000},"disk":[{"capacity":1024,"type":"SSD"},{"capacity":1024,"type":"SSD"},{"capacity":1024,"type":"SSD"}],"enable":true,"cpu":[{"name":"Intel Xeon E3 1240v6","cores":4,"threads":8,"frequency":3700}],"memory":[{"capacity":64,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_gp","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":399900000},"price_per_month":{"currency_code":"EUR","units":199,"nanos":990000000}},{"id":"c452f76a-2cda-4a1b-9658-a16952dc5ff0","name":"HM-BM1-M","stock":"available","bandwidth":1000,"commercial_range":"high_memory","price_by_minute":{"currency_code":"EUR","units":0,"nanos":799900000},"price_by_month":{"currency_code":"EUR","units":399,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"AMD EPYC 7401P","cores":24,"threads":48,"frequency":2000}],"memory":[{"capacity":256,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":799900000},"price_per_month":{"currency_code":"EUR","units":399,"nanos":990000000}}]}' @@ -27,7 +27,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 26 Mar 2020 19:45:35 GMT + - Fri, 27 Mar 2020 10:05:23 GMT Server: - scaleway_api Strict-Transport-Security: @@ -37,12 +37,12 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 18bb20e6-137b-4895-a50e-7586b379641b + - e2837623-ecf2-4baf-baf4-781ebf2e336c status: 200 OK code: 200 duration: "" - request: - body: '{"offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-great-shaw","description":"","tags":null}' + body: '{"offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-beautiful-khorana","description":"","tags":null}' form: {} headers: Content-Type: @@ -52,16 +52,16 @@ interactions: url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers method: POST response: - body: '{"id":"b205d00b-9e5b-4218-8fb3-7115083cc9fa","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-great-shaw","description":"","updated_at":"2020-03-26T19:45:36.191110875Z","created_at":"2020-03-26T19:45:36.191110875Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"43f935cb-f3fb-4757-8f89-bbf29976efcd","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-beautiful-khorana","description":"","updated_at":"2020-03-27T10:05:23.954358666Z","created_at":"2020-03-27T10:05:23.954358666Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "396" + - "403" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 26 Mar 2020 19:45:35 GMT + - Fri, 27 Mar 2020 10:05:23 GMT Server: - scaleway_api Strict-Transport-Security: @@ -71,7 +71,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 3552f614-4f47-409f-8850-718880da1da5 + - 1ffcbe55-02c2-40cc-a777-2a039511e417 status: 200 OK code: 200 duration: "" @@ -83,7 +83,7 @@ interactions: - application/json User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/b205d00b-9e5b-4218-8fb3-7115083cc9fa/stop + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/43f935cb-f3fb-4757-8f89-bbf29976efcd/stop method: POST response: body: '{"message":"Server is not delivered"}' @@ -95,7 +95,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 26 Mar 2020 19:45:35 GMT + - Fri, 27 Mar 2020 10:05:23 GMT Server: - scaleway_api Strict-Transport-Security: @@ -105,7 +105,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - e7236095-0bf3-449a-9657-21e9edf3c521 + - ee7c5a37-354d-49bf-8bd9-6c64998bd992 status: 400 Bad Request code: 400 duration: "" @@ -115,19 +115,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/b205d00b-9e5b-4218-8fb3-7115083cc9fa + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/43f935cb-f3fb-4757-8f89-bbf29976efcd method: GET response: - body: '{"id":"b205d00b-9e5b-4218-8fb3-7115083cc9fa","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-great-shaw","description":"","updated_at":"2020-03-26T19:45:36.191111Z","created_at":"2020-03-26T19:45:36.191111Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"43f935cb-f3fb-4757-8f89-bbf29976efcd","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-beautiful-khorana","description":"","updated_at":"2020-03-27T10:05:23.954359Z","created_at":"2020-03-27T10:05:23.954359Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "390" + - "397" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 26 Mar 2020 19:45:35 GMT + - Fri, 27 Mar 2020 10:05:23 GMT Server: - scaleway_api Strict-Transport-Security: @@ -137,7 +137,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 2fa8becd-1394-4cdb-ae32-fa4b507c57cd + - e78247ef-9f13-40c7-81e0-9d40680a65f5 status: 200 OK code: 200 duration: "" @@ -147,19 +147,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/b205d00b-9e5b-4218-8fb3-7115083cc9fa + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/43f935cb-f3fb-4757-8f89-bbf29976efcd method: GET response: - body: '{"id":"b205d00b-9e5b-4218-8fb3-7115083cc9fa","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-great-shaw","description":"","updated_at":"2020-03-26T19:45:36.828335Z","created_at":"2020-03-26T19:45:36.191111Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"43f935cb-f3fb-4757-8f89-bbf29976efcd","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-beautiful-khorana","description":"","updated_at":"2020-03-27T10:05:24.689901Z","created_at":"2020-03-27T10:05:23.954359Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "390" + - "397" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 26 Mar 2020 19:45:50 GMT + - Fri, 27 Mar 2020 10:05:38 GMT Server: - scaleway_api Strict-Transport-Security: @@ -169,7 +169,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 117973a1-2e44-4ba2-8f10-10225aebcf15 + - 6a4fe346-0587-45cf-bddd-7b914ddb6705 status: 200 OK code: 200 duration: "" @@ -179,19 +179,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/b205d00b-9e5b-4218-8fb3-7115083cc9fa + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/43f935cb-f3fb-4757-8f89-bbf29976efcd method: GET response: - body: '{"id":"b205d00b-9e5b-4218-8fb3-7115083cc9fa","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-great-shaw","description":"","updated_at":"2020-03-26T19:45:36.828335Z","created_at":"2020-03-26T19:45:36.191111Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"43f935cb-f3fb-4757-8f89-bbf29976efcd","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-beautiful-khorana","description":"","updated_at":"2020-03-27T10:05:24.689901Z","created_at":"2020-03-27T10:05:23.954359Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "390" + - "397" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 26 Mar 2020 19:46:06 GMT + - Fri, 27 Mar 2020 10:05:54 GMT Server: - scaleway_api Strict-Transport-Security: @@ -201,7 +201,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 15f798df-3239-4cfc-a81a-aac10de79c10 + - 16db185c-4f6e-4c6d-bef5-35d8b1eaca5e status: 200 OK code: 200 duration: "" @@ -211,19 +211,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/b205d00b-9e5b-4218-8fb3-7115083cc9fa + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/43f935cb-f3fb-4757-8f89-bbf29976efcd method: GET response: - body: '{"id":"b205d00b-9e5b-4218-8fb3-7115083cc9fa","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-great-shaw","description":"","updated_at":"2020-03-26T19:45:36.828335Z","created_at":"2020-03-26T19:45:36.191111Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"43f935cb-f3fb-4757-8f89-bbf29976efcd","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-beautiful-khorana","description":"","updated_at":"2020-03-27T10:05:24.689901Z","created_at":"2020-03-27T10:05:23.954359Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "390" + - "397" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 26 Mar 2020 19:46:21 GMT + - Fri, 27 Mar 2020 10:06:09 GMT Server: - scaleway_api Strict-Transport-Security: @@ -233,7 +233,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - a5c3b24c-8d07-4b53-b970-109139915fde + - eeb485dd-18c0-49ce-9183-fabe9ee42ab5 status: 200 OK code: 200 duration: "" @@ -243,19 +243,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/b205d00b-9e5b-4218-8fb3-7115083cc9fa + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/43f935cb-f3fb-4757-8f89-bbf29976efcd method: GET response: - body: '{"id":"b205d00b-9e5b-4218-8fb3-7115083cc9fa","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-great-shaw","description":"","updated_at":"2020-03-26T19:45:36.828335Z","created_at":"2020-03-26T19:45:36.191111Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"43f935cb-f3fb-4757-8f89-bbf29976efcd","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-beautiful-khorana","description":"","updated_at":"2020-03-27T10:05:24.689901Z","created_at":"2020-03-27T10:05:23.954359Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "390" + - "397" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 26 Mar 2020 19:46:36 GMT + - Fri, 27 Mar 2020 10:06:24 GMT Server: - scaleway_api Strict-Transport-Security: @@ -265,7 +265,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - b7946785-84d7-46e9-bbb9-15a68d66244f + - fda5e40e-922b-4173-8eb6-80e24f8e11b9 status: 200 OK code: 200 duration: "" @@ -275,19 +275,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/b205d00b-9e5b-4218-8fb3-7115083cc9fa + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/43f935cb-f3fb-4757-8f89-bbf29976efcd method: GET response: - body: '{"id":"b205d00b-9e5b-4218-8fb3-7115083cc9fa","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-great-shaw","description":"","updated_at":"2020-03-26T19:45:36.828335Z","created_at":"2020-03-26T19:45:36.191111Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"43f935cb-f3fb-4757-8f89-bbf29976efcd","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-beautiful-khorana","description":"","updated_at":"2020-03-27T10:05:24.689901Z","created_at":"2020-03-27T10:05:23.954359Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "390" + - "397" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 26 Mar 2020 19:46:51 GMT + - Fri, 27 Mar 2020 10:06:39 GMT Server: - scaleway_api Strict-Transport-Security: @@ -297,7 +297,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 251350e7-f42c-44c1-84a8-913b3c2d121b + - 31bf145c-79d2-4ade-a588-0eb1ba982a3a status: 200 OK code: 200 duration: "" @@ -307,19 +307,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/b205d00b-9e5b-4218-8fb3-7115083cc9fa + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/43f935cb-f3fb-4757-8f89-bbf29976efcd method: GET response: - body: '{"id":"b205d00b-9e5b-4218-8fb3-7115083cc9fa","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-great-shaw","description":"","updated_at":"2020-03-26T19:45:36.828335Z","created_at":"2020-03-26T19:45:36.191111Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"43f935cb-f3fb-4757-8f89-bbf29976efcd","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-beautiful-khorana","description":"","updated_at":"2020-03-27T10:05:24.689901Z","created_at":"2020-03-27T10:05:23.954359Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "390" + - "397" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 26 Mar 2020 19:47:06 GMT + - Fri, 27 Mar 2020 10:06:54 GMT Server: - scaleway_api Strict-Transport-Security: @@ -329,7 +329,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 5b52292f-d5e3-4a7c-9666-0cd1416aa211 + - ac5d950e-0b19-4901-ae4f-38e6ada66ca2 status: 200 OK code: 200 duration: "" @@ -339,19 +339,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/b205d00b-9e5b-4218-8fb3-7115083cc9fa + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/43f935cb-f3fb-4757-8f89-bbf29976efcd method: GET response: - body: '{"id":"b205d00b-9e5b-4218-8fb3-7115083cc9fa","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-great-shaw","description":"","updated_at":"2020-03-26T19:45:36.828335Z","created_at":"2020-03-26T19:45:36.191111Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"43f935cb-f3fb-4757-8f89-bbf29976efcd","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-beautiful-khorana","description":"","updated_at":"2020-03-27T10:05:24.689901Z","created_at":"2020-03-27T10:05:23.954359Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "390" + - "397" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 26 Mar 2020 19:47:21 GMT + - Fri, 27 Mar 2020 10:07:09 GMT Server: - scaleway_api Strict-Transport-Security: @@ -361,7 +361,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - ef1c4215-c359-4213-af74-fc4402fa5918 + - c9510c27-b8d8-413a-b6ff-74ebf1514567 status: 200 OK code: 200 duration: "" @@ -371,19 +371,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/b205d00b-9e5b-4218-8fb3-7115083cc9fa + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/43f935cb-f3fb-4757-8f89-bbf29976efcd method: GET response: - body: '{"id":"b205d00b-9e5b-4218-8fb3-7115083cc9fa","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-great-shaw","description":"","updated_at":"2020-03-26T19:45:36.828335Z","created_at":"2020-03-26T19:45:36.191111Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"43f935cb-f3fb-4757-8f89-bbf29976efcd","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-beautiful-khorana","description":"","updated_at":"2020-03-27T10:05:24.689901Z","created_at":"2020-03-27T10:05:23.954359Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "390" + - "397" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 26 Mar 2020 19:47:36 GMT + - Fri, 27 Mar 2020 10:07:24 GMT Server: - scaleway_api Strict-Transport-Security: @@ -393,7 +393,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - a35c599b-eec0-4d8c-8f03-6dcd03a1b2d5 + - b13d8daa-17c6-4dd7-9533-b88fa2f45702 status: 200 OK code: 200 duration: "" @@ -403,19 +403,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/b205d00b-9e5b-4218-8fb3-7115083cc9fa + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/43f935cb-f3fb-4757-8f89-bbf29976efcd method: GET response: - body: '{"id":"b205d00b-9e5b-4218-8fb3-7115083cc9fa","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-great-shaw","description":"","updated_at":"2020-03-26T19:45:36.828335Z","created_at":"2020-03-26T19:45:36.191111Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"43f935cb-f3fb-4757-8f89-bbf29976efcd","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-beautiful-khorana","description":"","updated_at":"2020-03-27T10:05:24.689901Z","created_at":"2020-03-27T10:05:23.954359Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "390" + - "397" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 26 Mar 2020 19:47:51 GMT + - Fri, 27 Mar 2020 10:07:39 GMT Server: - scaleway_api Strict-Transport-Security: @@ -425,7 +425,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 58dbe6df-fb5d-4f17-9def-85b4a3c215c2 + - 53927aae-5dab-4577-8be5-64886dce06a6 status: 200 OK code: 200 duration: "" @@ -435,19 +435,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/b205d00b-9e5b-4218-8fb3-7115083cc9fa + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/43f935cb-f3fb-4757-8f89-bbf29976efcd method: GET response: - body: '{"id":"b205d00b-9e5b-4218-8fb3-7115083cc9fa","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-great-shaw","description":"","updated_at":"2020-03-26T19:45:36.828335Z","created_at":"2020-03-26T19:45:36.191111Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"43f935cb-f3fb-4757-8f89-bbf29976efcd","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-beautiful-khorana","description":"","updated_at":"2020-03-27T10:05:24.689901Z","created_at":"2020-03-27T10:05:23.954359Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "390" + - "397" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 26 Mar 2020 19:48:06 GMT + - Fri, 27 Mar 2020 10:07:54 GMT Server: - scaleway_api Strict-Transport-Security: @@ -457,7 +457,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - ced12d75-b1be-4b39-827d-223c34258dcb + - 2fbab57d-4ccc-4b0b-9055-11d0b3c8dffe status: 200 OK code: 200 duration: "" @@ -467,19 +467,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/b205d00b-9e5b-4218-8fb3-7115083cc9fa + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/43f935cb-f3fb-4757-8f89-bbf29976efcd method: GET response: - body: '{"id":"b205d00b-9e5b-4218-8fb3-7115083cc9fa","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-great-shaw","description":"","updated_at":"2020-03-26T19:45:36.828335Z","created_at":"2020-03-26T19:45:36.191111Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"43f935cb-f3fb-4757-8f89-bbf29976efcd","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-beautiful-khorana","description":"","updated_at":"2020-03-27T10:05:24.689901Z","created_at":"2020-03-27T10:05:23.954359Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "390" + - "397" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 26 Mar 2020 19:48:21 GMT + - Fri, 27 Mar 2020 10:08:09 GMT Server: - scaleway_api Strict-Transport-Security: @@ -489,7 +489,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - d86a2717-6ede-4158-ba16-ebb5713ebe44 + - 8d7e87a9-c428-40e4-9715-c06a381bd79f status: 200 OK code: 200 duration: "" @@ -499,19 +499,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/b205d00b-9e5b-4218-8fb3-7115083cc9fa + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/43f935cb-f3fb-4757-8f89-bbf29976efcd method: GET response: - body: '{"id":"b205d00b-9e5b-4218-8fb3-7115083cc9fa","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-great-shaw","description":"","updated_at":"2020-03-26T19:45:36.828335Z","created_at":"2020-03-26T19:45:36.191111Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"43f935cb-f3fb-4757-8f89-bbf29976efcd","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-beautiful-khorana","description":"","updated_at":"2020-03-27T10:05:24.689901Z","created_at":"2020-03-27T10:05:23.954359Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "390" + - "397" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 26 Mar 2020 19:48:36 GMT + - Fri, 27 Mar 2020 10:08:24 GMT Server: - scaleway_api Strict-Transport-Security: @@ -521,7 +521,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 6b1e7ec3-9ed4-4a84-9227-b658f0206ea1 + - fe11ec89-773d-41f1-8541-eff1486313e4 status: 200 OK code: 200 duration: "" @@ -531,19 +531,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/b205d00b-9e5b-4218-8fb3-7115083cc9fa + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/43f935cb-f3fb-4757-8f89-bbf29976efcd method: GET response: - body: '{"id":"b205d00b-9e5b-4218-8fb3-7115083cc9fa","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-great-shaw","description":"","updated_at":"2020-03-26T19:45:36.828335Z","created_at":"2020-03-26T19:45:36.191111Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"43f935cb-f3fb-4757-8f89-bbf29976efcd","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-beautiful-khorana","description":"","updated_at":"2020-03-27T10:05:24.689901Z","created_at":"2020-03-27T10:05:23.954359Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "390" + - "397" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 26 Mar 2020 19:48:51 GMT + - Fri, 27 Mar 2020 10:08:39 GMT Server: - scaleway_api Strict-Transport-Security: @@ -553,7 +553,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 301dd6b8-70a5-4b77-8b8d-c4d0f9c417bd + - 7571fa00-bd16-4ab2-acca-a226c31ab351 status: 200 OK code: 200 duration: "" @@ -563,19 +563,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/b205d00b-9e5b-4218-8fb3-7115083cc9fa + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/43f935cb-f3fb-4757-8f89-bbf29976efcd method: GET response: - body: '{"id":"b205d00b-9e5b-4218-8fb3-7115083cc9fa","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-great-shaw","description":"","updated_at":"2020-03-26T19:45:36.828335Z","created_at":"2020-03-26T19:45:36.191111Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"43f935cb-f3fb-4757-8f89-bbf29976efcd","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-beautiful-khorana","description":"","updated_at":"2020-03-27T10:05:24.689901Z","created_at":"2020-03-27T10:05:23.954359Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "390" + - "397" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 26 Mar 2020 19:49:06 GMT + - Fri, 27 Mar 2020 10:08:54 GMT Server: - scaleway_api Strict-Transport-Security: @@ -585,7 +585,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 37616ebc-08a0-47f1-b256-b295fca0adf8 + - 7279f8f8-3a65-4173-ad31-b0fd3b58a860 status: 200 OK code: 200 duration: "" @@ -595,19 +595,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/b205d00b-9e5b-4218-8fb3-7115083cc9fa + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/43f935cb-f3fb-4757-8f89-bbf29976efcd method: GET response: - body: '{"id":"b205d00b-9e5b-4218-8fb3-7115083cc9fa","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-great-shaw","description":"","updated_at":"2020-03-26T19:45:36.828335Z","created_at":"2020-03-26T19:45:36.191111Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"43f935cb-f3fb-4757-8f89-bbf29976efcd","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-beautiful-khorana","description":"","updated_at":"2020-03-27T10:05:24.689901Z","created_at":"2020-03-27T10:05:23.954359Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "390" + - "397" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 26 Mar 2020 19:49:21 GMT + - Fri, 27 Mar 2020 10:09:09 GMT Server: - scaleway_api Strict-Transport-Security: @@ -617,7 +617,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 9718e332-9931-45cd-87f3-8b477fce47e8 + - 599bd379-5244-4fec-9d88-0d0ee578419d status: 200 OK code: 200 duration: "" @@ -627,19 +627,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/b205d00b-9e5b-4218-8fb3-7115083cc9fa + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/43f935cb-f3fb-4757-8f89-bbf29976efcd method: GET response: - body: '{"id":"b205d00b-9e5b-4218-8fb3-7115083cc9fa","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-great-shaw","description":"","updated_at":"2020-03-26T19:45:36.828335Z","created_at":"2020-03-26T19:45:36.191111Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"43f935cb-f3fb-4757-8f89-bbf29976efcd","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-beautiful-khorana","description":"","updated_at":"2020-03-27T10:05:24.689901Z","created_at":"2020-03-27T10:05:23.954359Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "390" + - "397" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 26 Mar 2020 19:49:36 GMT + - Fri, 27 Mar 2020 10:09:24 GMT Server: - scaleway_api Strict-Transport-Security: @@ -649,7 +649,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 9ba17041-eb34-4e57-a169-b6e282847f00 + - dcc7768b-3fa9-4112-89b0-d28a563a5903 status: 200 OK code: 200 duration: "" @@ -659,19 +659,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/b205d00b-9e5b-4218-8fb3-7115083cc9fa + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/43f935cb-f3fb-4757-8f89-bbf29976efcd method: GET response: - body: '{"id":"b205d00b-9e5b-4218-8fb3-7115083cc9fa","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-great-shaw","description":"","updated_at":"2020-03-26T19:45:36.828335Z","created_at":"2020-03-26T19:45:36.191111Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"43f935cb-f3fb-4757-8f89-bbf29976efcd","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-beautiful-khorana","description":"","updated_at":"2020-03-27T10:05:24.689901Z","created_at":"2020-03-27T10:05:23.954359Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "390" + - "397" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 26 Mar 2020 19:49:51 GMT + - Fri, 27 Mar 2020 10:09:39 GMT Server: - scaleway_api Strict-Transport-Security: @@ -681,7 +681,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - ca048c80-0389-4f7b-abc6-f316910f3843 + - ee018452-7132-4c60-a471-a08b3cc2e1d7 status: 200 OK code: 200 duration: "" @@ -691,19 +691,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/b205d00b-9e5b-4218-8fb3-7115083cc9fa + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/43f935cb-f3fb-4757-8f89-bbf29976efcd method: GET response: - body: '{"id":"b205d00b-9e5b-4218-8fb3-7115083cc9fa","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-great-shaw","description":"","updated_at":"2020-03-26T19:45:36.828335Z","created_at":"2020-03-26T19:45:36.191111Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"43f935cb-f3fb-4757-8f89-bbf29976efcd","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-beautiful-khorana","description":"","updated_at":"2020-03-27T10:05:24.689901Z","created_at":"2020-03-27T10:05:23.954359Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "390" + - "397" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 26 Mar 2020 19:50:06 GMT + - Fri, 27 Mar 2020 10:09:54 GMT Server: - scaleway_api Strict-Transport-Security: @@ -713,7 +713,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 2c96b927-7a60-41b8-85d0-47d5caf04813 + - ee8b04cd-2bda-4ca8-ba7a-891363e5163c status: 200 OK code: 200 duration: "" @@ -723,19 +723,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/b205d00b-9e5b-4218-8fb3-7115083cc9fa + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/43f935cb-f3fb-4757-8f89-bbf29976efcd method: GET response: - body: '{"id":"b205d00b-9e5b-4218-8fb3-7115083cc9fa","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-great-shaw","description":"","updated_at":"2020-03-26T19:50:19.491929Z","created_at":"2020-03-26T19:45:36.191111Z","status":"ready","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[{"id":"247bf949-814f-45e0-8d5f-fbdd04a3673f","address":"51.159.56.162","reverse":"b205d00b-9e5b-4218-8fb3-7115083cc9fa.fr-par-2.baremetal.scw.cloud","version":"Ipv4","reverse_status":"pending","reverse_status_message":null},{"id":"27bf03ca-b2fb-4efa-abd9-4b1dc171a53f","address":"2001:0bc8:1200:0000:dac4:97ff:fe5b:7f2d","reverse":"b205d00b-9e5b-4218-8fb3-7115083cc9fa.fr-par-2.baremetal.scw.cloud","version":"Ipv6","reverse_status":"pending","reverse_status_message":null}],"domain":"b205d00b-9e5b-4218-8fb3-7115083cc9fa.fr-par-2.baremetal.scw.cloud","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"43f935cb-f3fb-4757-8f89-bbf29976efcd","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-beautiful-khorana","description":"","updated_at":"2020-03-27T10:05:24.689901Z","created_at":"2020-03-27T10:05:23.954359Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "922" + - "397" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 26 Mar 2020 19:50:21 GMT + - Fri, 27 Mar 2020 10:10:09 GMT Server: - scaleway_api Strict-Transport-Security: @@ -745,7 +745,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - fadf301f-04f5-4af5-acbb-e2df2e8dba26 + - 55a681c3-666e-4a77-a75b-dc8088cb2886 status: 200 OK code: 200 duration: "" @@ -755,19 +755,83 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/b205d00b-9e5b-4218-8fb3-7115083cc9fa + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/43f935cb-f3fb-4757-8f89-bbf29976efcd + method: GET + response: + body: '{"id":"43f935cb-f3fb-4757-8f89-bbf29976efcd","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-beautiful-khorana","description":"","updated_at":"2020-03-27T10:05:24.689901Z","created_at":"2020-03-27T10:05:23.954359Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "397" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Fri, 27 Mar 2020 10:10:24 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - bb7daee5-05b5-4585-be5d-ef2057a7f367 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/43f935cb-f3fb-4757-8f89-bbf29976efcd + method: GET + response: + body: '{"id":"43f935cb-f3fb-4757-8f89-bbf29976efcd","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-beautiful-khorana","description":"","updated_at":"2020-03-27T10:10:27.698331Z","created_at":"2020-03-27T10:05:23.954359Z","status":"ready","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[{"id":"103d06aa-1f97-463a-9932-0307d2cbf834","address":"51.159.56.77","reverse":"43f935cb-f3fb-4757-8f89-bbf29976efcd.fr-par-2.baremetal.scw.cloud","version":"Ipv4","reverse_status":"pending","reverse_status_message":null},{"id":"dc3014c6-e070-4110-bac7-a6c447058f28","address":"2001:0bc8:1200:0000:dac4:97ff:fe2a:33b0","reverse":"43f935cb-f3fb-4757-8f89-bbf29976efcd.fr-par-2.baremetal.scw.cloud","version":"Ipv6","reverse_status":"pending","reverse_status_message":null}],"domain":"43f935cb-f3fb-4757-8f89-bbf29976efcd.fr-par-2.baremetal.scw.cloud","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "928" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Fri, 27 Mar 2020 10:10:39 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - c7f20a22-bb45-4e9a-9d5d-7bd1199f61e2 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/43f935cb-f3fb-4757-8f89-bbf29976efcd method: DELETE response: - body: '{"id":"b205d00b-9e5b-4218-8fb3-7115083cc9fa","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-great-shaw","description":"","updated_at":"2020-03-26T19:50:22.262261Z","created_at":"2020-03-26T19:45:36.191111Z","status":"deleting","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[{"id":"247bf949-814f-45e0-8d5f-fbdd04a3673f","address":"51.159.56.162","reverse":"b205d00b-9e5b-4218-8fb3-7115083cc9fa.fr-par-2.baremetal.scw.cloud","version":"Ipv4","reverse_status":"pending","reverse_status_message":null},{"id":"27bf03ca-b2fb-4efa-abd9-4b1dc171a53f","address":"2001:0bc8:1200:0000:dac4:97ff:fe5b:7f2d","reverse":"b205d00b-9e5b-4218-8fb3-7115083cc9fa.fr-par-2.baremetal.scw.cloud","version":"Ipv6","reverse_status":"pending","reverse_status_message":null}],"domain":"b205d00b-9e5b-4218-8fb3-7115083cc9fa.fr-par-2.baremetal.scw.cloud","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"43f935cb-f3fb-4757-8f89-bbf29976efcd","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-beautiful-khorana","description":"","updated_at":"2020-03-27T10:10:40.071267Z","created_at":"2020-03-27T10:05:23.954359Z","status":"deleting","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[{"id":"103d06aa-1f97-463a-9932-0307d2cbf834","address":"51.159.56.77","reverse":"43f935cb-f3fb-4757-8f89-bbf29976efcd.fr-par-2.baremetal.scw.cloud","version":"Ipv4","reverse_status":"pending","reverse_status_message":null},{"id":"dc3014c6-e070-4110-bac7-a6c447058f28","address":"2001:0bc8:1200:0000:dac4:97ff:fe2a:33b0","reverse":"43f935cb-f3fb-4757-8f89-bbf29976efcd.fr-par-2.baremetal.scw.cloud","version":"Ipv6","reverse_status":"pending","reverse_status_message":null}],"domain":"43f935cb-f3fb-4757-8f89-bbf29976efcd.fr-par-2.baremetal.scw.cloud","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "925" + - "931" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 26 Mar 2020 19:50:22 GMT + - Fri, 27 Mar 2020 10:10:40 GMT Server: - scaleway_api Strict-Transport-Security: @@ -777,7 +841,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 4620d5c3-c032-4da3-bc5c-b731c6bd2827 + - 399ebb06-d947-4fa8-8954-2b97a71220a0 status: 200 OK code: 200 duration: "" From 8b56317492a439ab6af9aaf7173ba567d4f5a1e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20L=C3=A9one?= Date: Fri, 27 Mar 2020 12:20:41 +0100 Subject: [PATCH 41/67] Fix --- .../v1alpha1/custom_server_create_test.go | 52 ++- ...create-server-simple-default.cassette.yaml | 441 ++++++++++++++++-- ...create-server-simple-default.stderr.golden | 234 ++++++++++ ...create-server-simple-default.stdout.golden | 4 +- ...st-create-server-simple-tags.cassette.yaml | 189 ++++---- ...eate-server-simple-with-name.cassette.yaml | 155 +++--- 6 files changed, 849 insertions(+), 226 deletions(-) create mode 100644 internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.stderr.golden diff --git a/internal/namespaces/baremetal/v1alpha1/custom_server_create_test.go b/internal/namespaces/baremetal/v1alpha1/custom_server_create_test.go index 05675502b6..f712d63341 100644 --- a/internal/namespaces/baremetal/v1alpha1/custom_server_create_test.go +++ b/internal/namespaces/baremetal/v1alpha1/custom_server_create_test.go @@ -35,10 +35,15 @@ func Test_CreateServer(t *testing.T) { core.TestCheckGolden(), core.TestCheckExitCode(0), ), - AfterFunc: core.AfterFuncCombine( - waitServerAfter("Server"), - deleteServer("Server"), - ), + AfterFunc: func(ctx *core.AfterFuncCtx) error { + _, _ = baremetal.NewAPI(ctx.Client).WaitForServer(&baremetal.WaitForServerRequest{ + ServerID: ctx.CmdResult.(*baremetal.Server).ID, + }) + _, _ = baremetal.NewAPI(ctx.Client).DeleteServer(&baremetal.DeleteServerRequest{ + ServerID: ctx.CmdResult.(*baremetal.Server).ID, + }) + return nil + }, DefaultZone: scw.ZoneFrPar2, })) @@ -52,10 +57,15 @@ func Test_CreateServer(t *testing.T) { core.TestCheckExitCode(0), ), DefaultZone: scw.ZoneFrPar2, - AfterFunc: core.AfterFuncCombine( - waitServerAfter("Server"), - deleteServer("Server"), - ), + AfterFunc: func(ctx *core.AfterFuncCtx) error { + _, _ = baremetal.NewAPI(ctx.Client).WaitForServer(&baremetal.WaitForServerRequest{ + ServerID: ctx.CmdResult.(*baremetal.Server).ID, + }) + _, _ = baremetal.NewAPI(ctx.Client).DeleteServer(&baremetal.DeleteServerRequest{ + ServerID: ctx.CmdResult.(*baremetal.Server).ID, + }) + return nil + }, })) t.Run("Tags", core.Test(&core.TestConfig{ @@ -69,24 +79,16 @@ func Test_CreateServer(t *testing.T) { core.TestCheckExitCode(0), ), DefaultZone: scw.ZoneFrPar2, - AfterFunc: core.AfterFuncCombine( - waitServerAfter("Server"), - deleteServer("Server"), - ), + AfterFunc: func(ctx *core.AfterFuncCtx) error { + _, _ = baremetal.NewAPI(ctx.Client).WaitForServer(&baremetal.WaitForServerRequest{ + ServerID: ctx.CmdResult.(*baremetal.Server).ID, + }) + _, _ = baremetal.NewAPI(ctx.Client).DeleteServer(&baremetal.DeleteServerRequest{ + ServerID: ctx.CmdResult.(*baremetal.Server).ID, + }) + return nil + }, })) - - //t.Run("HC-BM1-L", core.Test(&core.TestConfig{ - // Commands: GetCommands(), - // Cmd: "scw baremetal server create type=HC-BM1-L zone=fr-par-2 --wait", - // Check: core.TestCheckCombine( - // func(t *testing.T, ctx *core.CheckFuncCtx) { - // assert.Equal(t, "HC-BM1-L", ctx.Result.(*baremetal.Server).CommercialType) - // }, - // core.TestCheckExitCode(0), - // ), - // AfterFunc: waitAndDeleteServerAfterFunc, - // DefaultZone: scw.ZoneFrPar2, - //})) }) } diff --git a/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.cassette.yaml b/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.cassette.yaml index ec4ff690ee..8d948de599 100644 --- a/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.cassette.yaml +++ b/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.cassette.yaml @@ -10,13 +10,14 @@ interactions: url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/offers?page=1 method: GET response: - body: '{"total_count":6,"offers":[{"id":"3ab0dc29-2fd4-486e-88bf-d08fbf49214b","name":"HC-BM1-L","stock":"available","bandwidth":1000,"commercial_range":"high_cpu","price_by_minute":{"currency_code":"EUR","units":1,"nanos":499900000},"price_by_month":{"currency_code":"EUR","units":749,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"Intel + body: '{"total_count":7,"offers":[{"id":"3ab0dc29-2fd4-486e-88bf-d08fbf49214b","name":"HC-BM1-L","stock":"available","bandwidth":1000,"commercial_range":"high_cpu","price_by_minute":{"currency_code":"EUR","units":1,"nanos":499900000},"price_by_month":{"currency_code":"EUR","units":749,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"Intel Xeon Gold 5120","cores":28,"threads":56,"frequency":2200},{"name":"Intel Xeon Gold 5120","cores":28,"threads":56,"frequency":2200}],"memory":[{"capacity":384,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":1,"nanos":499900000},"price_per_month":{"currency_code":"EUR","units":749,"nanos":990000000}},{"id":"5363865f-2266-40f9-a43f-4f3aba251524","name":"HM-BM1-XL","stock":"empty","bandwidth":1000,"commercial_range":"high_memory","price_by_minute":{"currency_code":"EUR","units":2,"nanos":599900000},"price_by_month":{"currency_code":"EUR","units":1299,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"Intel Xeon Gold 6140","cores":36,"threads":72,"frequency":2300},{"name":"Intel Xeon Gold 6140","cores":36,"threads":72,"frequency":2300}],"memory":[{"capacity":768,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":2,"nanos":599900000},"price_per_month":{"currency_code":"EUR","units":1299,"nanos":990000000}},{"id":"737f18c8-febc-4408-b69e-776bca0a3f48","name":"HC-BM1-S","stock":"available","bandwidth":1000,"commercial_range":"high_cpu","price_by_minute":{"currency_code":"EUR","units":0,"nanos":659900000},"price_by_month":{"currency_code":"EUR","units":329,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"Intel Xeon Silver 4114","cores":10,"threads":20,"frequency":2200},{"name":"Intel Xeon - Silver 4114","cores":10,"threads":20,"frequency":2200}],"memory":[{"capacity":128,"type":"DDR4","frequency":2400,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":659900000},"price_per_month":{"currency_code":"EUR","units":329,"nanos":990000000}},{"id":"8090d302-3545-4905-9cf3-bcb77a299f47","name":"GP-BM1-L","stock":"available","bandwidth":750,"commercial_range":"general_purpose","price_by_minute":{"currency_code":"EUR","units":0,"nanos":499900000},"price_by_month":{"currency_code":"EUR","units":249,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"AMD + Silver 4114","cores":10,"threads":20,"frequency":2200}],"memory":[{"capacity":128,"type":"DDR4","frequency":2400,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":659900000},"price_per_month":{"currency_code":"EUR","units":329,"nanos":990000000}},{"id":"7fde3890-9787-488c-ac89-c4e00a4e5f83","name":"GP-BM1-S","stock":"available","bandwidth":500,"commercial_range":"general_purpose","price_by_minute":{"currency_code":"EUR","units":0,"nanos":240000000},"price_by_month":{"currency_code":"EUR","units":119,"nanos":990000000},"disk":[{"capacity":250,"type":"SSD"},{"capacity":250,"type":"SSD"}],"enable":true,"cpu":[{"name":"Intel + Xeon E3 1240v6","cores":4,"threads":8,"frequency":3700}],"memory":[{"capacity":32,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_gp","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":240000000},"price_per_month":{"currency_code":"EUR","units":119,"nanos":990000000}},{"id":"8090d302-3545-4905-9cf3-bcb77a299f47","name":"GP-BM1-L","stock":"empty","bandwidth":750,"commercial_range":"general_purpose","price_by_minute":{"currency_code":"EUR","units":0,"nanos":499900000},"price_by_month":{"currency_code":"EUR","units":249,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"AMD EPYC 7281","cores":16,"threads":32,"frequency":2100}],"memory":[{"capacity":96,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_gp","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":499900000},"price_per_month":{"currency_code":"EUR","units":249,"nanos":990000000}},{"id":"964f9b38-577e-470f-a220-7d762f9e8672","name":"GP-BM1-M","stock":"available","bandwidth":500,"commercial_range":"general_purpose","price_by_minute":{"currency_code":"EUR","units":0,"nanos":399900000},"price_by_month":{"currency_code":"EUR","units":199,"nanos":990000000},"disk":[{"capacity":1024,"type":"SSD"},{"capacity":1024,"type":"SSD"},{"capacity":1024,"type":"SSD"}],"enable":true,"cpu":[{"name":"Intel Xeon E3 1240v6","cores":4,"threads":8,"frequency":3700}],"memory":[{"capacity":64,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_gp","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":399900000},"price_per_month":{"currency_code":"EUR","units":199,"nanos":990000000}},{"id":"c452f76a-2cda-4a1b-9658-a16952dc5ff0","name":"HM-BM1-M","stock":"available","bandwidth":1000,"commercial_range":"high_memory","price_by_minute":{"currency_code":"EUR","units":0,"nanos":799900000},"price_by_month":{"currency_code":"EUR","units":399,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"AMD EPYC 7401P","cores":24,"threads":48,"frequency":2000}],"memory":[{"capacity":256,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":799900000},"price_per_month":{"currency_code":"EUR","units":399,"nanos":990000000}}]}' @@ -26,7 +27,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 19 Mar 2020 15:49:46 GMT + - Fri, 27 Mar 2020 11:11:48 GMT Server: - scaleway_api Strict-Transport-Security: @@ -36,12 +37,12 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - bc8803da-cfbe-4630-8892-7e98bd33e4cc + - 992675ec-7f65-4442-b87c-938bf162c535 status: 200 OK code: 200 duration: "" - request: - body: '{"offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-great-gates","description":"","tags":null}' + body: '{"offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-angry-mayer","description":"","tags":null}' form: {} headers: Content-Type: @@ -51,7 +52,7 @@ interactions: url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers method: POST response: - body: '{"id":"a7ca72d0-b0d1-4388-acac-2d2095a70c4d","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-great-gates","description":"","updated_at":"2020-03-19T15:49:47.168566304Z","created_at":"2020-03-19T15:49:47.168566304Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"c342a860-a71c-4b92-b625-86eb2d83d64f","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-angry-mayer","description":"","updated_at":"2020-03-27T11:11:48.339252838Z","created_at":"2020-03-27T11:11:48.339252838Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - "397" @@ -60,7 +61,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 19 Mar 2020 15:49:46 GMT + - Fri, 27 Mar 2020 11:11:48 GMT Server: - scaleway_api Strict-Transport-Security: @@ -70,7 +71,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 9cbdcac6-63ff-44b0-8da8-8db5562e4703 + - 94062a9d-381b-42d6-9d03-ec223c218f51 status: 200 OK code: 200 duration: "" @@ -80,10 +81,10 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a7ca72d0-b0d1-4388-acac-2d2095a70c4d + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/c342a860-a71c-4b92-b625-86eb2d83d64f method: GET response: - body: '{"id":"a7ca72d0-b0d1-4388-acac-2d2095a70c4d","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-great-gates","description":"","updated_at":"2020-03-19T15:49:47.168566Z","created_at":"2020-03-19T15:49:47.168566Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"c342a860-a71c-4b92-b625-86eb2d83d64f","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-angry-mayer","description":"","updated_at":"2020-03-27T11:11:48.339253Z","created_at":"2020-03-27T11:11:48.339253Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - "391" @@ -92,7 +93,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 19 Mar 2020 15:49:46 GMT + - Fri, 27 Mar 2020 11:11:48 GMT Server: - scaleway_api Strict-Transport-Security: @@ -102,7 +103,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - a91e012b-ffde-4a3a-b27c-6842d01828b0 + - b923a9f7-3d41-458e-86c3-59a7431ceced status: 200 OK code: 200 duration: "" @@ -112,10 +113,10 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a7ca72d0-b0d1-4388-acac-2d2095a70c4d + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/c342a860-a71c-4b92-b625-86eb2d83d64f method: GET response: - body: '{"id":"a7ca72d0-b0d1-4388-acac-2d2095a70c4d","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-great-gates","description":"","updated_at":"2020-03-19T15:49:47.168566Z","created_at":"2020-03-19T15:49:47.168566Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"c342a860-a71c-4b92-b625-86eb2d83d64f","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-angry-mayer","description":"","updated_at":"2020-03-27T11:11:48.939285Z","created_at":"2020-03-27T11:11:48.339253Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - "391" @@ -124,7 +125,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 19 Mar 2020 15:50:01 GMT + - Fri, 27 Mar 2020 11:12:03 GMT Server: - scaleway_api Strict-Transport-Security: @@ -134,7 +135,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - fc532df3-1836-489f-a17a-ef7b36a51f94 + - 918928d1-9630-45b3-bda6-63bfcc70599e status: 200 OK code: 200 duration: "" @@ -144,10 +145,10 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a7ca72d0-b0d1-4388-acac-2d2095a70c4d + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/c342a860-a71c-4b92-b625-86eb2d83d64f method: GET response: - body: '{"id":"a7ca72d0-b0d1-4388-acac-2d2095a70c4d","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-great-gates","description":"","updated_at":"2020-03-19T15:50:08.399241Z","created_at":"2020-03-19T15:49:47.168566Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"c342a860-a71c-4b92-b625-86eb2d83d64f","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-angry-mayer","description":"","updated_at":"2020-03-27T11:11:48.939285Z","created_at":"2020-03-27T11:11:48.339253Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - "391" @@ -156,7 +157,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 19 Mar 2020 15:50:17 GMT + - Fri, 27 Mar 2020 11:12:18 GMT Server: - scaleway_api Strict-Transport-Security: @@ -166,7 +167,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 2075f6c1-7d33-483e-991e-b2328689f1fb + - de92745c-7ce4-4453-a057-d441506a146a status: 200 OK code: 200 duration: "" @@ -176,10 +177,394 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a7ca72d0-b0d1-4388-acac-2d2095a70c4d + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/c342a860-a71c-4b92-b625-86eb2d83d64f method: GET response: - body: '{"id":"a7ca72d0-b0d1-4388-acac-2d2095a70c4d","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-great-gates","description":"","updated_at":"2020-03-19T15:50:29.217221Z","created_at":"2020-03-19T15:49:47.168566Z","status":"ready","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[{"id":"19bdc0eb-e123-4a4d-a10e-87978ce1f574","address":"2001:0bc8:1200:0000:dac4:97ff:fe67:e139","reverse":"a7ca72d0-b0d1-4388-acac-2d2095a70c4d.fr-par-2.baremetal.scw.cloud","version":"Ipv6","reverse_status":"pending","reverse_status_message":null},{"id":"4ef83826-df9d-434c-85c0-4c42006abe87","address":"51.159.56.154","reverse":"a7ca72d0-b0d1-4388-acac-2d2095a70c4d.fr-par-2.baremetal.scw.cloud","version":"Ipv4","reverse_status":"pending","reverse_status_message":null}],"domain":"a7ca72d0-b0d1-4388-acac-2d2095a70c4d.fr-par-2.baremetal.scw.cloud","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"c342a860-a71c-4b92-b625-86eb2d83d64f","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-angry-mayer","description":"","updated_at":"2020-03-27T11:11:48.939285Z","created_at":"2020-03-27T11:11:48.339253Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "391" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Fri, 27 Mar 2020 11:12:33 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 2cec9849-9d16-48b3-9ef8-ed7f01bf1b57 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/c342a860-a71c-4b92-b625-86eb2d83d64f + method: GET + response: + body: '{"id":"c342a860-a71c-4b92-b625-86eb2d83d64f","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-angry-mayer","description":"","updated_at":"2020-03-27T11:11:48.939285Z","created_at":"2020-03-27T11:11:48.339253Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "391" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Fri, 27 Mar 2020 11:12:48 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 64d9414c-6346-4690-a39d-8689067f19b4 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/c342a860-a71c-4b92-b625-86eb2d83d64f + method: GET + response: + body: '{"id":"c342a860-a71c-4b92-b625-86eb2d83d64f","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-angry-mayer","description":"","updated_at":"2020-03-27T11:11:48.939285Z","created_at":"2020-03-27T11:11:48.339253Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "391" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Fri, 27 Mar 2020 11:13:03 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 9511f9ac-f679-41ee-b5b6-a8ed50c4b21f + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/c342a860-a71c-4b92-b625-86eb2d83d64f + method: GET + response: + body: '{"id":"c342a860-a71c-4b92-b625-86eb2d83d64f","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-angry-mayer","description":"","updated_at":"2020-03-27T11:11:48.939285Z","created_at":"2020-03-27T11:11:48.339253Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "391" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Fri, 27 Mar 2020 11:13:18 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 530803b3-149a-4494-87b8-252190f34b0e + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/c342a860-a71c-4b92-b625-86eb2d83d64f + method: GET + response: + body: '{"id":"c342a860-a71c-4b92-b625-86eb2d83d64f","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-angry-mayer","description":"","updated_at":"2020-03-27T11:11:48.939285Z","created_at":"2020-03-27T11:11:48.339253Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "391" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Fri, 27 Mar 2020 11:13:33 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - a151e27a-1168-4b0d-9c81-1f5b149f7012 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/c342a860-a71c-4b92-b625-86eb2d83d64f + method: GET + response: + body: '{"id":"c342a860-a71c-4b92-b625-86eb2d83d64f","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-angry-mayer","description":"","updated_at":"2020-03-27T11:11:48.939285Z","created_at":"2020-03-27T11:11:48.339253Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "391" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Fri, 27 Mar 2020 11:13:48 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 170e5d59-a212-49ce-a888-b7862c55ac24 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/c342a860-a71c-4b92-b625-86eb2d83d64f + method: GET + response: + body: '{"id":"c342a860-a71c-4b92-b625-86eb2d83d64f","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-angry-mayer","description":"","updated_at":"2020-03-27T11:11:48.939285Z","created_at":"2020-03-27T11:11:48.339253Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "391" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Fri, 27 Mar 2020 11:14:03 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 7462a161-4957-4a61-b043-d0b8e82d456e + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/c342a860-a71c-4b92-b625-86eb2d83d64f + method: GET + response: + body: '{"id":"c342a860-a71c-4b92-b625-86eb2d83d64f","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-angry-mayer","description":"","updated_at":"2020-03-27T11:11:48.939285Z","created_at":"2020-03-27T11:11:48.339253Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "391" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Fri, 27 Mar 2020 11:14:18 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - e02ce80e-ac8c-4b58-a3a7-64437c905f92 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/c342a860-a71c-4b92-b625-86eb2d83d64f + method: GET + response: + body: '{"id":"c342a860-a71c-4b92-b625-86eb2d83d64f","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-angry-mayer","description":"","updated_at":"2020-03-27T11:11:48.939285Z","created_at":"2020-03-27T11:11:48.339253Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "391" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Fri, 27 Mar 2020 11:14:33 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - a3b236a2-981f-474f-9674-b3079e6fd509 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/c342a860-a71c-4b92-b625-86eb2d83d64f + method: GET + response: + body: '{"id":"c342a860-a71c-4b92-b625-86eb2d83d64f","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-angry-mayer","description":"","updated_at":"2020-03-27T11:11:48.939285Z","created_at":"2020-03-27T11:11:48.339253Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "391" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Fri, 27 Mar 2020 11:14:48 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 37e0a989-8746-4075-8afb-b83b764711bd + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/c342a860-a71c-4b92-b625-86eb2d83d64f + method: GET + response: + body: '{"id":"c342a860-a71c-4b92-b625-86eb2d83d64f","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-angry-mayer","description":"","updated_at":"2020-03-27T11:11:48.939285Z","created_at":"2020-03-27T11:11:48.339253Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "391" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Fri, 27 Mar 2020 11:15:03 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 029f63c0-5d07-4f8a-8928-e68afc45429e + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/c342a860-a71c-4b92-b625-86eb2d83d64f + method: GET + response: + body: '{"id":"c342a860-a71c-4b92-b625-86eb2d83d64f","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-angry-mayer","description":"","updated_at":"2020-03-27T11:11:48.939285Z","created_at":"2020-03-27T11:11:48.339253Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + headers: + Content-Length: + - "391" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Fri, 27 Mar 2020 11:15:18 GMT + Server: + - scaleway_api + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 36eb0578-1e6e-4805-9121-5a0a9af1e308 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/c342a860-a71c-4b92-b625-86eb2d83d64f + method: GET + response: + body: '{"id":"c342a860-a71c-4b92-b625-86eb2d83d64f","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-angry-mayer","description":"","updated_at":"2020-03-27T11:15:31.972698Z","created_at":"2020-03-27T11:11:48.339253Z","status":"ready","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[{"id":"3a3b3fa8-acce-45d7-9cae-167aba71ac4a","address":"51.159.56.176","reverse":"c342a860-a71c-4b92-b625-86eb2d83d64f.fr-par-2.baremetal.scw.cloud","version":"Ipv4","reverse_status":"pending","reverse_status_message":null},{"id":"e11162b8-0cb7-452b-9a24-de0713716a9d","address":"2001:0bc8:1200:0000:dac4:97ff:fe5b:74a5","reverse":"c342a860-a71c-4b92-b625-86eb2d83d64f.fr-par-2.baremetal.scw.cloud","version":"Ipv6","reverse_status":"pending","reverse_status_message":null}],"domain":"c342a860-a71c-4b92-b625-86eb2d83d64f.fr-par-2.baremetal.scw.cloud","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - "923" @@ -188,7 +573,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 19 Mar 2020 15:50:32 GMT + - Fri, 27 Mar 2020 11:15:33 GMT Server: - scaleway_api Strict-Transport-Security: @@ -198,7 +583,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 5a9d7a59-1c42-402f-a00e-ed93b599a95d + - c3e6627c-3830-4cf4-9630-14a7784b03e2 status: 200 OK code: 200 duration: "" @@ -208,10 +593,10 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a7ca72d0-b0d1-4388-acac-2d2095a70c4d + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/c342a860-a71c-4b92-b625-86eb2d83d64f method: DELETE response: - body: '{"id":"a7ca72d0-b0d1-4388-acac-2d2095a70c4d","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-great-gates","description":"","updated_at":"2020-03-19T15:50:32.332367Z","created_at":"2020-03-19T15:49:47.168566Z","status":"deleting","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[{"id":"19bdc0eb-e123-4a4d-a10e-87978ce1f574","address":"2001:0bc8:1200:0000:dac4:97ff:fe67:e139","reverse":"a7ca72d0-b0d1-4388-acac-2d2095a70c4d.fr-par-2.baremetal.scw.cloud","version":"Ipv6","reverse_status":"pending","reverse_status_message":null},{"id":"4ef83826-df9d-434c-85c0-4c42006abe87","address":"51.159.56.154","reverse":"a7ca72d0-b0d1-4388-acac-2d2095a70c4d.fr-par-2.baremetal.scw.cloud","version":"Ipv4","reverse_status":"pending","reverse_status_message":null}],"domain":"a7ca72d0-b0d1-4388-acac-2d2095a70c4d.fr-par-2.baremetal.scw.cloud","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"c342a860-a71c-4b92-b625-86eb2d83d64f","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-angry-mayer","description":"","updated_at":"2020-03-27T11:15:34.043368Z","created_at":"2020-03-27T11:11:48.339253Z","status":"deleting","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[{"id":"3a3b3fa8-acce-45d7-9cae-167aba71ac4a","address":"51.159.56.176","reverse":"c342a860-a71c-4b92-b625-86eb2d83d64f.fr-par-2.baremetal.scw.cloud","version":"Ipv4","reverse_status":"pending","reverse_status_message":null},{"id":"e11162b8-0cb7-452b-9a24-de0713716a9d","address":"2001:0bc8:1200:0000:dac4:97ff:fe5b:74a5","reverse":"c342a860-a71c-4b92-b625-86eb2d83d64f.fr-par-2.baremetal.scw.cloud","version":"Ipv6","reverse_status":"pending","reverse_status_message":null}],"domain":"c342a860-a71c-4b92-b625-86eb2d83d64f.fr-par-2.baremetal.scw.cloud","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - "926" @@ -220,7 +605,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 19 Mar 2020 15:50:32 GMT + - Fri, 27 Mar 2020 11:15:33 GMT Server: - scaleway_api Strict-Transport-Security: @@ -230,7 +615,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 78348e4a-0a91-48ce-b639-eb90f97498e5 + - f79ebcd4-a9fc-4fb1-aea8-c861b3395ab5 status: 200 OK code: 200 duration: "" diff --git a/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.stderr.golden b/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.stderr.golden new file mode 100644 index 0000000000..6c5db3f21e --- /dev/null +++ b/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.stderr.golden @@ -0,0 +1,234 @@ +DEBUG: 2019/12/09 16:04:07 creating GET request on https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/offers?page=1 +DEBUG: 2019/12/09 16:04:07 creating GET request on https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/offers?page=1 +DEBUG: 2019/12/09 16:04:07 creating GET request on https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/offers?page=1 +DEBUG: 2019/12/09 16:04:07 +--------------- Scaleway SDK REQUEST 3 : --------------- +GET /baremetal/v1alpha1/zones/fr-par-2/offers?page=1 HTTP/1.1 +Host: api.scaleway.com +User-Agent: scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test +X-Auth-Token: 148499e0-xxxx-xxxx-xxxx-xxxxxxxxxxxx +Accept-Encoding: gzip + + +--------------------------------------------------------- +DEBUG: 2019/12/09 16:04:07 +--------------- Scaleway SDK REQUEST 2 : --------------- +GET /baremetal/v1alpha1/zones/fr-par-2/offers?page=1 HTTP/1.1 +Host: api.scaleway.com +User-Agent: scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test +X-Auth-Token: 148499e0-xxxx-xxxx-xxxx-xxxxxxxxxxxx +Accept-Encoding: gzip + + +--------------------------------------------------------- +DEBUG: 2019/12/09 16:04:07 +--------------- Scaleway SDK REQUEST 1 : --------------- +GET /baremetal/v1alpha1/zones/fr-par-2/offers?page=1 HTTP/1.1 +Host: api.scaleway.com +User-Agent: scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test +X-Auth-Token: 148499e0-xxxx-xxxx-xxxx-xxxxxxxxxxxx +Accept-Encoding: gzip + + +--------------------------------------------------------- +DEBUG: 2019/12/09 16:04:07 +--------------- Scaleway SDK RESPONSE 2 : --------------- +HTTP/1.0 200 OK +Connection: close +Content-Length: 5359 +Content-Security-Policy: default-src 'none'; frame-ancestors 'none' +Content-Type: application/json +Date: Fri, 27 Mar 2020 11:11:48 GMT +Server: scaleway_api +Strict-Transport-Security: max-age=63072000 +X-Content-Type-Options: nosniff +X-Frame-Options: DENY +X-Request-Id: 54f708fc-e1e9-41b5-8794-34a7e7d92f8e + +{"total_count":7,"offers":[{"id":"3ab0dc29-2fd4-486e-88bf-d08fbf49214b","name":"HC-BM1-L","stock":"available","bandwidth":1000,"commercial_range":"high_cpu","price_by_minute":{"currency_code":"EUR","units":1,"nanos":499900000},"price_by_month":{"currency_code":"EUR","units":749,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"Intel Xeon Gold 5120","cores":28,"threads":56,"frequency":2200},{"name":"Intel Xeon Gold 5120","cores":28,"threads":56,"frequency":2200}],"memory":[{"capacity":384,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":1,"nanos":499900000},"price_per_month":{"currency_code":"EUR","units":749,"nanos":990000000}},{"id":"5363865f-2266-40f9-a43f-4f3aba251524","name":"HM-BM1-XL","stock":"empty","bandwidth":1000,"commercial_range":"high_memory","price_by_minute":{"currency_code":"EUR","units":2,"nanos":599900000},"price_by_month":{"currency_code":"EUR","units":1299,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"Intel Xeon Gold 6140","cores":36,"threads":72,"frequency":2300},{"name":"Intel Xeon Gold 6140","cores":36,"threads":72,"frequency":2300}],"memory":[{"capacity":768,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":2,"nanos":599900000},"price_per_month":{"currency_code":"EUR","units":1299,"nanos":990000000}},{"id":"737f18c8-febc-4408-b69e-776bca0a3f48","name":"HC-BM1-S","stock":"available","bandwidth":1000,"commercial_range":"high_cpu","price_by_minute":{"currency_code":"EUR","units":0,"nanos":659900000},"price_by_month":{"currency_code":"EUR","units":329,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"Intel Xeon Silver 4114","cores":10,"threads":20,"frequency":2200},{"name":"Intel Xeon Silver 4114","cores":10,"threads":20,"frequency":2200}],"memory":[{"capacity":128,"type":"DDR4","frequency":2400,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":659900000},"price_per_month":{"currency_code":"EUR","units":329,"nanos":990000000}},{"id":"7fde3890-9787-488c-ac89-c4e00a4e5f83","name":"GP-BM1-S","stock":"available","bandwidth":500,"commercial_range":"general_purpose","price_by_minute":{"currency_code":"EUR","units":0,"nanos":240000000},"price_by_month":{"currency_code":"EUR","units":119,"nanos":990000000},"disk":[{"capacity":250,"type":"SSD"},{"capacity":250,"type":"SSD"}],"enable":true,"cpu":[{"name":"Intel Xeon E3 1240v6","cores":4,"threads":8,"frequency":3700}],"memory":[{"capacity":32,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_gp","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":240000000},"price_per_month":{"currency_code":"EUR","units":119,"nanos":990000000}},{"id":"8090d302-3545-4905-9cf3-bcb77a299f47","name":"GP-BM1-L","stock":"empty","bandwidth":750,"commercial_range":"general_purpose","price_by_minute":{"currency_code":"EUR","units":0,"nanos":499900000},"price_by_month":{"currency_code":"EUR","units":249,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"AMD EPYC 7281","cores":16,"threads":32,"frequency":2100}],"memory":[{"capacity":96,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_gp","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":499900000},"price_per_month":{"currency_code":"EUR","units":249,"nanos":990000000}},{"id":"964f9b38-577e-470f-a220-7d762f9e8672","name":"GP-BM1-M","stock":"available","bandwidth":500,"commercial_range":"general_purpose","price_by_minute":{"currency_code":"EUR","units":0,"nanos":399900000},"price_by_month":{"currency_code":"EUR","units":199,"nanos":990000000},"disk":[{"capacity":1024,"type":"SSD"},{"capacity":1024,"type":"SSD"},{"capacity":1024,"type":"SSD"}],"enable":true,"cpu":[{"name":"Intel Xeon E3 1240v6","cores":4,"threads":8,"frequency":3700}],"memory":[{"capacity":64,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_gp","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":399900000},"price_per_month":{"currency_code":"EUR","units":199,"nanos":990000000}},{"id":"c452f76a-2cda-4a1b-9658-a16952dc5ff0","name":"HM-BM1-M","stock":"available","bandwidth":1000,"commercial_range":"high_memory","price_by_minute":{"currency_code":"EUR","units":0,"nanos":799900000},"price_by_month":{"currency_code":"EUR","units":399,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"AMD EPYC 7401P","cores":24,"threads":48,"frequency":2000}],"memory":[{"capacity":256,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":799900000},"price_per_month":{"currency_code":"EUR","units":399,"nanos":990000000}}]} +---------------------------------------------------------- +DEBUG: 2019/12/09 16:04:07 creating POST request on https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers +DEBUG: 2019/12/09 16:04:07 +--------------- Scaleway SDK REQUEST 4 : --------------- +POST /baremetal/v1alpha1/zones/fr-par-2/servers HTTP/1.1 +Host: api.scaleway.com +User-Agent: scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test +Content-Length: 177 +Content-Type: application/json +X-Auth-Token: 148499e0-xxxx-xxxx-xxxx-xxxxxxxxxxxx +Accept-Encoding: gzip + +{"offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-busy-gagarin","description":"","tags":["prod","blue"]} +--------------------------------------------------------- +DEBUG: 2019/12/09 16:04:07 +--------------- Scaleway SDK RESPONSE 3 : --------------- +HTTP/1.0 200 OK +Connection: close +Content-Length: 5359 +Content-Security-Policy: default-src 'none'; frame-ancestors 'none' +Content-Type: application/json +Date: Fri, 27 Mar 2020 11:11:48 GMT +Server: scaleway_api +Strict-Transport-Security: max-age=63072000 +X-Content-Type-Options: nosniff +X-Frame-Options: DENY +X-Request-Id: 1392b52c-09e8-4ff9-8c6d-508aa1ef7ac8 + +{"total_count":7,"offers":[{"id":"3ab0dc29-2fd4-486e-88bf-d08fbf49214b","name":"HC-BM1-L","stock":"available","bandwidth":1000,"commercial_range":"high_cpu","price_by_minute":{"currency_code":"EUR","units":1,"nanos":499900000},"price_by_month":{"currency_code":"EUR","units":749,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"Intel Xeon Gold 5120","cores":28,"threads":56,"frequency":2200},{"name":"Intel Xeon Gold 5120","cores":28,"threads":56,"frequency":2200}],"memory":[{"capacity":384,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":1,"nanos":499900000},"price_per_month":{"currency_code":"EUR","units":749,"nanos":990000000}},{"id":"5363865f-2266-40f9-a43f-4f3aba251524","name":"HM-BM1-XL","stock":"empty","bandwidth":1000,"commercial_range":"high_memory","price_by_minute":{"currency_code":"EUR","units":2,"nanos":599900000},"price_by_month":{"currency_code":"EUR","units":1299,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"Intel Xeon Gold 6140","cores":36,"threads":72,"frequency":2300},{"name":"Intel Xeon Gold 6140","cores":36,"threads":72,"frequency":2300}],"memory":[{"capacity":768,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":2,"nanos":599900000},"price_per_month":{"currency_code":"EUR","units":1299,"nanos":990000000}},{"id":"737f18c8-febc-4408-b69e-776bca0a3f48","name":"HC-BM1-S","stock":"available","bandwidth":1000,"commercial_range":"high_cpu","price_by_minute":{"currency_code":"EUR","units":0,"nanos":659900000},"price_by_month":{"currency_code":"EUR","units":329,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"Intel Xeon Silver 4114","cores":10,"threads":20,"frequency":2200},{"name":"Intel Xeon Silver 4114","cores":10,"threads":20,"frequency":2200}],"memory":[{"capacity":128,"type":"DDR4","frequency":2400,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":659900000},"price_per_month":{"currency_code":"EUR","units":329,"nanos":990000000}},{"id":"7fde3890-9787-488c-ac89-c4e00a4e5f83","name":"GP-BM1-S","stock":"available","bandwidth":500,"commercial_range":"general_purpose","price_by_minute":{"currency_code":"EUR","units":0,"nanos":240000000},"price_by_month":{"currency_code":"EUR","units":119,"nanos":990000000},"disk":[{"capacity":250,"type":"SSD"},{"capacity":250,"type":"SSD"}],"enable":true,"cpu":[{"name":"Intel Xeon E3 1240v6","cores":4,"threads":8,"frequency":3700}],"memory":[{"capacity":32,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_gp","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":240000000},"price_per_month":{"currency_code":"EUR","units":119,"nanos":990000000}},{"id":"8090d302-3545-4905-9cf3-bcb77a299f47","name":"GP-BM1-L","stock":"empty","bandwidth":750,"commercial_range":"general_purpose","price_by_minute":{"currency_code":"EUR","units":0,"nanos":499900000},"price_by_month":{"currency_code":"EUR","units":249,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"AMD EPYC 7281","cores":16,"threads":32,"frequency":2100}],"memory":[{"capacity":96,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_gp","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":499900000},"price_per_month":{"currency_code":"EUR","units":249,"nanos":990000000}},{"id":"964f9b38-577e-470f-a220-7d762f9e8672","name":"GP-BM1-M","stock":"available","bandwidth":500,"commercial_range":"general_purpose","price_by_minute":{"currency_code":"EUR","units":0,"nanos":399900000},"price_by_month":{"currency_code":"EUR","units":199,"nanos":990000000},"disk":[{"capacity":1024,"type":"SSD"},{"capacity":1024,"type":"SSD"},{"capacity":1024,"type":"SSD"}],"enable":true,"cpu":[{"name":"Intel Xeon E3 1240v6","cores":4,"threads":8,"frequency":3700}],"memory":[{"capacity":64,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_gp","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":399900000},"price_per_month":{"currency_code":"EUR","units":199,"nanos":990000000}},{"id":"c452f76a-2cda-4a1b-9658-a16952dc5ff0","name":"HM-BM1-M","stock":"available","bandwidth":1000,"commercial_range":"high_memory","price_by_minute":{"currency_code":"EUR","units":0,"nanos":799900000},"price_by_month":{"currency_code":"EUR","units":399,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"AMD EPYC 7401P","cores":24,"threads":48,"frequency":2000}],"memory":[{"capacity":256,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":799900000},"price_per_month":{"currency_code":"EUR","units":399,"nanos":990000000}}]} +---------------------------------------------------------- +DEBUG: 2019/12/09 16:04:07 creating POST request on https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers +DEBUG: 2019/12/09 16:04:07 +--------------- Scaleway SDK REQUEST 5 : --------------- +POST /baremetal/v1alpha1/zones/fr-par-2/servers HTTP/1.1 +Host: api.scaleway.com +User-Agent: scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test +Content-Length: 175 +Content-Type: application/json +X-Auth-Token: 148499e0-xxxx-xxxx-xxxx-xxxxxxxxxxxx +Accept-Encoding: gzip + +{"offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","tags":null} +--------------------------------------------------------- +DEBUG: 2019/12/09 16:04:07 +--------------- Scaleway SDK RESPONSE 1 : --------------- +HTTP/1.0 200 OK +Connection: close +Content-Length: 5359 +Content-Security-Policy: default-src 'none'; frame-ancestors 'none' +Content-Type: application/json +Date: Fri, 27 Mar 2020 11:11:48 GMT +Server: scaleway_api +Strict-Transport-Security: max-age=63072000 +X-Content-Type-Options: nosniff +X-Frame-Options: DENY +X-Request-Id: 992675ec-7f65-4442-b87c-938bf162c535 + +{"total_count":7,"offers":[{"id":"3ab0dc29-2fd4-486e-88bf-d08fbf49214b","name":"HC-BM1-L","stock":"available","bandwidth":1000,"commercial_range":"high_cpu","price_by_minute":{"currency_code":"EUR","units":1,"nanos":499900000},"price_by_month":{"currency_code":"EUR","units":749,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"Intel Xeon Gold 5120","cores":28,"threads":56,"frequency":2200},{"name":"Intel Xeon Gold 5120","cores":28,"threads":56,"frequency":2200}],"memory":[{"capacity":384,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":1,"nanos":499900000},"price_per_month":{"currency_code":"EUR","units":749,"nanos":990000000}},{"id":"5363865f-2266-40f9-a43f-4f3aba251524","name":"HM-BM1-XL","stock":"empty","bandwidth":1000,"commercial_range":"high_memory","price_by_minute":{"currency_code":"EUR","units":2,"nanos":599900000},"price_by_month":{"currency_code":"EUR","units":1299,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"Intel Xeon Gold 6140","cores":36,"threads":72,"frequency":2300},{"name":"Intel Xeon Gold 6140","cores":36,"threads":72,"frequency":2300}],"memory":[{"capacity":768,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":2,"nanos":599900000},"price_per_month":{"currency_code":"EUR","units":1299,"nanos":990000000}},{"id":"737f18c8-febc-4408-b69e-776bca0a3f48","name":"HC-BM1-S","stock":"available","bandwidth":1000,"commercial_range":"high_cpu","price_by_minute":{"currency_code":"EUR","units":0,"nanos":659900000},"price_by_month":{"currency_code":"EUR","units":329,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"Intel Xeon Silver 4114","cores":10,"threads":20,"frequency":2200},{"name":"Intel Xeon Silver 4114","cores":10,"threads":20,"frequency":2200}],"memory":[{"capacity":128,"type":"DDR4","frequency":2400,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":659900000},"price_per_month":{"currency_code":"EUR","units":329,"nanos":990000000}},{"id":"7fde3890-9787-488c-ac89-c4e00a4e5f83","name":"GP-BM1-S","stock":"available","bandwidth":500,"commercial_range":"general_purpose","price_by_minute":{"currency_code":"EUR","units":0,"nanos":240000000},"price_by_month":{"currency_code":"EUR","units":119,"nanos":990000000},"disk":[{"capacity":250,"type":"SSD"},{"capacity":250,"type":"SSD"}],"enable":true,"cpu":[{"name":"Intel Xeon E3 1240v6","cores":4,"threads":8,"frequency":3700}],"memory":[{"capacity":32,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_gp","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":240000000},"price_per_month":{"currency_code":"EUR","units":119,"nanos":990000000}},{"id":"8090d302-3545-4905-9cf3-bcb77a299f47","name":"GP-BM1-L","stock":"empty","bandwidth":750,"commercial_range":"general_purpose","price_by_minute":{"currency_code":"EUR","units":0,"nanos":499900000},"price_by_month":{"currency_code":"EUR","units":249,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"AMD EPYC 7281","cores":16,"threads":32,"frequency":2100}],"memory":[{"capacity":96,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_gp","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":499900000},"price_per_month":{"currency_code":"EUR","units":249,"nanos":990000000}},{"id":"964f9b38-577e-470f-a220-7d762f9e8672","name":"GP-BM1-M","stock":"available","bandwidth":500,"commercial_range":"general_purpose","price_by_minute":{"currency_code":"EUR","units":0,"nanos":399900000},"price_by_month":{"currency_code":"EUR","units":199,"nanos":990000000},"disk":[{"capacity":1024,"type":"SSD"},{"capacity":1024,"type":"SSD"},{"capacity":1024,"type":"SSD"}],"enable":true,"cpu":[{"name":"Intel Xeon E3 1240v6","cores":4,"threads":8,"frequency":3700}],"memory":[{"capacity":64,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_gp","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":399900000},"price_per_month":{"currency_code":"EUR","units":199,"nanos":990000000}},{"id":"c452f76a-2cda-4a1b-9658-a16952dc5ff0","name":"HM-BM1-M","stock":"available","bandwidth":1000,"commercial_range":"high_memory","price_by_minute":{"currency_code":"EUR","units":0,"nanos":799900000},"price_by_month":{"currency_code":"EUR","units":399,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"AMD EPYC 7401P","cores":24,"threads":48,"frequency":2000}],"memory":[{"capacity":256,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":799900000},"price_per_month":{"currency_code":"EUR","units":399,"nanos":990000000}}]} +---------------------------------------------------------- +DEBUG: 2019/12/09 16:04:07 creating POST request on https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers +DEBUG: 2019/12/09 16:04:07 +--------------- Scaleway SDK REQUEST 6 : --------------- +POST /baremetal/v1alpha1/zones/fr-par-2/servers HTTP/1.1 +Host: api.scaleway.com +User-Agent: scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test +Content-Length: 165 +Content-Type: application/json +X-Auth-Token: 148499e0-xxxx-xxxx-xxxx-xxxxxxxxxxxx +Accept-Encoding: gzip + +{"offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-angry-mayer","description":"","tags":null} +--------------------------------------------------------- +DEBUG: 2019/12/09 16:04:07 +--------------- Scaleway SDK RESPONSE 4 : --------------- +HTTP/1.0 200 OK +Connection: close +Content-Length: 411 +Content-Security-Policy: default-src 'none'; frame-ancestors 'none' +Content-Type: application/json +Date: Fri, 27 Mar 2020 11:11:48 GMT +Server: scaleway_api +Strict-Transport-Security: max-age=63072000 +X-Content-Type-Options: nosniff +X-Frame-Options: DENY +X-Request-Id: f32c8cd5-65e9-416f-9e01-ac79792f4fd6 + +{"id":"8313300d-e1c0-474e-809e-96cfefe98661","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-busy-gagarin","description":"","updated_at":"2020-03-27T11:11:48.292332709Z","created_at":"2020-03-27T11:11:48.292332709Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"} +---------------------------------------------------------- +DEBUG: 2019/12/09 16:04:07 marshalling type '*baremetal.Server' +DEBUG: 2019/12/09 16:04:07 marshalling type 'baremetal.Server' +DEBUG: 2019/12/09 16:04:07 skipping check version +DEBUG: 2019/12/09 16:04:07 skipping telemetry report +DEBUG: 2019/12/09 16:04:07 creating GET request on https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/8313300d-e1c0-474e-809e-96cfefe98661 +DEBUG: 2019/12/09 16:04:07 +--------------- Scaleway SDK REQUEST 7 : --------------- +GET /baremetal/v1alpha1/zones/fr-par-2/servers/8313300d-e1c0-474e-809e-96cfefe98661 HTTP/1.1 +Host: api.scaleway.com +User-Agent: scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test +X-Auth-Token: 148499e0-xxxx-xxxx-xxxx-xxxxxxxxxxxx +Accept-Encoding: gzip + + +--------------------------------------------------------- +DEBUG: 2019/12/09 16:04:07 +--------------- Scaleway SDK RESPONSE 5 : --------------- +HTTP/1.0 200 OK +Connection: close +Content-Length: 407 +Content-Security-Policy: default-src 'none'; frame-ancestors 'none' +Content-Type: application/json +Date: Fri, 27 Mar 2020 11:11:48 GMT +Server: scaleway_api +Strict-Transport-Security: max-age=63072000 +X-Content-Type-Options: nosniff +X-Frame-Options: DENY +X-Request-Id: 73407987-da5d-47e5-9c90-bf5a641c6fa1 + +{"id":"b338fa9d-f66a-469e-86fc-3240b95816f0","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-27T11:11:48.304525676Z","created_at":"2020-03-27T11:11:48.304525676Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"} +---------------------------------------------------------- +DEBUG: 2019/12/09 16:04:07 marshalling type '*baremetal.Server' +DEBUG: 2019/12/09 16:04:07 marshalling type 'baremetal.Server' +DEBUG: 2019/12/09 16:04:07 skipping check version +DEBUG: 2019/12/09 16:04:07 skipping telemetry report +DEBUG: 2019/12/09 16:04:07 creating GET request on https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/b338fa9d-f66a-469e-86fc-3240b95816f0 +DEBUG: 2019/12/09 16:04:07 +--------------- Scaleway SDK REQUEST 8 : --------------- +GET /baremetal/v1alpha1/zones/fr-par-2/servers/b338fa9d-f66a-469e-86fc-3240b95816f0 HTTP/1.1 +Host: api.scaleway.com +User-Agent: scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test +X-Auth-Token: 148499e0-xxxx-xxxx-xxxx-xxxxxxxxxxxx +Accept-Encoding: gzip + + +--------------------------------------------------------- +DEBUG: 2019/12/09 16:04:07 +--------------- Scaleway SDK RESPONSE 7 : --------------- +HTTP/1.0 200 OK +Connection: close +Content-Length: 405 +Content-Security-Policy: default-src 'none'; frame-ancestors 'none' +Content-Type: application/json +Date: Fri, 27 Mar 2020 11:11:48 GMT +Server: scaleway_api +Strict-Transport-Security: max-age=63072000 +X-Content-Type-Options: nosniff +X-Frame-Options: DENY +X-Request-Id: 2c6ed009-a072-4cfa-9ddc-36e1d01d299b + +{"id":"8313300d-e1c0-474e-809e-96cfefe98661","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-busy-gagarin","description":"","updated_at":"2020-03-27T11:11:48.292333Z","created_at":"2020-03-27T11:11:48.292333Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"} +---------------------------------------------------------- +DEBUG: 2019/12/09 16:04:07 +--------------- Scaleway SDK RESPONSE 8 : --------------- +HTTP/1.0 200 OK +Connection: close +Content-Length: 401 +Content-Security-Policy: default-src 'none'; frame-ancestors 'none' +Content-Type: application/json +Date: Fri, 27 Mar 2020 11:11:48 GMT +Server: scaleway_api +Strict-Transport-Security: max-age=63072000 +X-Content-Type-Options: nosniff +X-Frame-Options: DENY +X-Request-Id: f4d6fbb2-cea8-4895-abdf-d51e99b3c652 + +{"id":"b338fa9d-f66a-469e-86fc-3240b95816f0","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-27T11:11:48.304526Z","created_at":"2020-03-27T11:11:48.304526Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"} +---------------------------------------------------------- +DEBUG: 2019/12/09 16:04:07 +--------------- Scaleway SDK RESPONSE 6 : --------------- +HTTP/1.0 200 OK +Connection: close +Content-Length: 397 +Content-Security-Policy: default-src 'none'; frame-ancestors 'none' +Content-Type: application/json +Date: Fri, 27 Mar 2020 11:11:48 GMT +Server: scaleway_api +Strict-Transport-Security: max-age=63072000 +X-Content-Type-Options: nosniff +X-Frame-Options: DENY +X-Request-Id: 94062a9d-381b-42d6-9d03-ec223c218f51 + +{"id":"c342a860-a71c-4b92-b625-86eb2d83d64f","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-angry-mayer","description":"","updated_at":"2020-03-27T11:11:48.339252838Z","created_at":"2020-03-27T11:11:48.339252838Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"} +---------------------------------------------------------- +DEBUG: 2019/12/09 16:04:07 marshalling type '*baremetal.Server' +DEBUG: 2019/12/09 16:04:07 marshalling type 'baremetal.Server' +DEBUG: 2019/12/09 16:04:07 skipping check version +DEBUG: 2019/12/09 16:04:07 skipping telemetry report diff --git a/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.stdout.golden b/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.stdout.golden index 357b61fe27..f541e2f96a 100644 --- a/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.stdout.golden +++ b/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.stdout.golden @@ -1,6 +1,6 @@ -id a7ca72d0-b0d1-4388-acac-2d2095a70c4d +id c342a860-a71c-4b92-b625-86eb2d83d64f organization-id 951df375-e094-4d26-97c1-ba548eeb9c42 -name cli-bm-great-gates +name cli-bm-angry-mayer description - updated-at few seconds ago created-at few seconds ago diff --git a/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-tags.cassette.yaml b/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-tags.cassette.yaml index c701a1deb3..346255013b 100644 --- a/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-tags.cassette.yaml +++ b/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-tags.cassette.yaml @@ -10,13 +10,14 @@ interactions: url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/offers?page=1 method: GET response: - body: '{"total_count":6,"offers":[{"id":"3ab0dc29-2fd4-486e-88bf-d08fbf49214b","name":"HC-BM1-L","stock":"available","bandwidth":1000,"commercial_range":"high_cpu","price_by_minute":{"currency_code":"EUR","units":1,"nanos":499900000},"price_by_month":{"currency_code":"EUR","units":749,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"Intel + body: '{"total_count":7,"offers":[{"id":"3ab0dc29-2fd4-486e-88bf-d08fbf49214b","name":"HC-BM1-L","stock":"available","bandwidth":1000,"commercial_range":"high_cpu","price_by_minute":{"currency_code":"EUR","units":1,"nanos":499900000},"price_by_month":{"currency_code":"EUR","units":749,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"Intel Xeon Gold 5120","cores":28,"threads":56,"frequency":2200},{"name":"Intel Xeon Gold 5120","cores":28,"threads":56,"frequency":2200}],"memory":[{"capacity":384,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":1,"nanos":499900000},"price_per_month":{"currency_code":"EUR","units":749,"nanos":990000000}},{"id":"5363865f-2266-40f9-a43f-4f3aba251524","name":"HM-BM1-XL","stock":"empty","bandwidth":1000,"commercial_range":"high_memory","price_by_minute":{"currency_code":"EUR","units":2,"nanos":599900000},"price_by_month":{"currency_code":"EUR","units":1299,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"Intel Xeon Gold 6140","cores":36,"threads":72,"frequency":2300},{"name":"Intel Xeon Gold 6140","cores":36,"threads":72,"frequency":2300}],"memory":[{"capacity":768,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":2,"nanos":599900000},"price_per_month":{"currency_code":"EUR","units":1299,"nanos":990000000}},{"id":"737f18c8-febc-4408-b69e-776bca0a3f48","name":"HC-BM1-S","stock":"available","bandwidth":1000,"commercial_range":"high_cpu","price_by_minute":{"currency_code":"EUR","units":0,"nanos":659900000},"price_by_month":{"currency_code":"EUR","units":329,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"Intel Xeon Silver 4114","cores":10,"threads":20,"frequency":2200},{"name":"Intel Xeon - Silver 4114","cores":10,"threads":20,"frequency":2200}],"memory":[{"capacity":128,"type":"DDR4","frequency":2400,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":659900000},"price_per_month":{"currency_code":"EUR","units":329,"nanos":990000000}},{"id":"8090d302-3545-4905-9cf3-bcb77a299f47","name":"GP-BM1-L","stock":"available","bandwidth":750,"commercial_range":"general_purpose","price_by_minute":{"currency_code":"EUR","units":0,"nanos":499900000},"price_by_month":{"currency_code":"EUR","units":249,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"AMD + Silver 4114","cores":10,"threads":20,"frequency":2200}],"memory":[{"capacity":128,"type":"DDR4","frequency":2400,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":659900000},"price_per_month":{"currency_code":"EUR","units":329,"nanos":990000000}},{"id":"7fde3890-9787-488c-ac89-c4e00a4e5f83","name":"GP-BM1-S","stock":"available","bandwidth":500,"commercial_range":"general_purpose","price_by_minute":{"currency_code":"EUR","units":0,"nanos":240000000},"price_by_month":{"currency_code":"EUR","units":119,"nanos":990000000},"disk":[{"capacity":250,"type":"SSD"},{"capacity":250,"type":"SSD"}],"enable":true,"cpu":[{"name":"Intel + Xeon E3 1240v6","cores":4,"threads":8,"frequency":3700}],"memory":[{"capacity":32,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_gp","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":240000000},"price_per_month":{"currency_code":"EUR","units":119,"nanos":990000000}},{"id":"8090d302-3545-4905-9cf3-bcb77a299f47","name":"GP-BM1-L","stock":"empty","bandwidth":750,"commercial_range":"general_purpose","price_by_minute":{"currency_code":"EUR","units":0,"nanos":499900000},"price_by_month":{"currency_code":"EUR","units":249,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"AMD EPYC 7281","cores":16,"threads":32,"frequency":2100}],"memory":[{"capacity":96,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_gp","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":499900000},"price_per_month":{"currency_code":"EUR","units":249,"nanos":990000000}},{"id":"964f9b38-577e-470f-a220-7d762f9e8672","name":"GP-BM1-M","stock":"available","bandwidth":500,"commercial_range":"general_purpose","price_by_minute":{"currency_code":"EUR","units":0,"nanos":399900000},"price_by_month":{"currency_code":"EUR","units":199,"nanos":990000000},"disk":[{"capacity":1024,"type":"SSD"},{"capacity":1024,"type":"SSD"},{"capacity":1024,"type":"SSD"}],"enable":true,"cpu":[{"name":"Intel Xeon E3 1240v6","cores":4,"threads":8,"frequency":3700}],"memory":[{"capacity":64,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_gp","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":399900000},"price_per_month":{"currency_code":"EUR","units":199,"nanos":990000000}},{"id":"c452f76a-2cda-4a1b-9658-a16952dc5ff0","name":"HM-BM1-M","stock":"available","bandwidth":1000,"commercial_range":"high_memory","price_by_minute":{"currency_code":"EUR","units":0,"nanos":799900000},"price_by_month":{"currency_code":"EUR","units":399,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"AMD EPYC 7401P","cores":24,"threads":48,"frequency":2000}],"memory":[{"capacity":256,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":799900000},"price_per_month":{"currency_code":"EUR","units":399,"nanos":990000000}}]}' @@ -26,7 +27,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 19 Mar 2020 15:26:33 GMT + - Fri, 27 Mar 2020 11:11:48 GMT Server: - scaleway_api Strict-Transport-Security: @@ -36,12 +37,12 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 639fec20-d742-46c3-9fc6-8ad9e9167c6c + - 54f708fc-e1e9-41b5-8794-34a7e7d92f8e status: 200 OK code: 200 duration: "" - request: - body: '{"offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-heuristic-golick","description":"","tags":["prod","blue"]}' + body: '{"offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-busy-gagarin","description":"","tags":["prod","blue"]}' form: {} headers: Content-Type: @@ -51,16 +52,16 @@ interactions: url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers method: POST response: - body: '{"id":"51e00334-cadc-4f4f-a309-7afa91cd94f7","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-heuristic-golick","description":"","updated_at":"2020-03-19T15:26:33.868307498Z","created_at":"2020-03-19T15:26:33.868307498Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"8313300d-e1c0-474e-809e-96cfefe98661","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-busy-gagarin","description":"","updated_at":"2020-03-27T11:11:48.292332709Z","created_at":"2020-03-27T11:11:48.292332709Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "415" + - "411" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Mar 2020 15:26:33 GMT + - Fri, 27 Mar 2020 11:11:48 GMT Server: - scaleway_api Strict-Transport-Security: @@ -70,7 +71,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 3919e550-890e-44db-a9f4-d5907cdff773 + - f32c8cd5-65e9-416f-9e01-ac79792f4fd6 status: 200 OK code: 200 duration: "" @@ -80,19 +81,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/51e00334-cadc-4f4f-a309-7afa91cd94f7 + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/8313300d-e1c0-474e-809e-96cfefe98661 method: GET response: - body: '{"id":"51e00334-cadc-4f4f-a309-7afa91cd94f7","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-heuristic-golick","description":"","updated_at":"2020-03-19T15:26:33.868307Z","created_at":"2020-03-19T15:26:33.868307Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"8313300d-e1c0-474e-809e-96cfefe98661","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-busy-gagarin","description":"","updated_at":"2020-03-27T11:11:48.292333Z","created_at":"2020-03-27T11:11:48.292333Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "409" + - "405" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Mar 2020 15:26:33 GMT + - Fri, 27 Mar 2020 11:11:48 GMT Server: - scaleway_api Strict-Transport-Security: @@ -102,7 +103,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - a25a7c7f-ced3-4d4a-9e85-2352905eb369 + - 2c6ed009-a072-4cfa-9ddc-36e1d01d299b status: 200 OK code: 200 duration: "" @@ -112,19 +113,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/51e00334-cadc-4f4f-a309-7afa91cd94f7 + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/8313300d-e1c0-474e-809e-96cfefe98661 method: GET response: - body: '{"id":"51e00334-cadc-4f4f-a309-7afa91cd94f7","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-heuristic-golick","description":"","updated_at":"2020-03-19T15:26:34.546213Z","created_at":"2020-03-19T15:26:33.868307Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"8313300d-e1c0-474e-809e-96cfefe98661","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-busy-gagarin","description":"","updated_at":"2020-03-27T11:11:48.834853Z","created_at":"2020-03-27T11:11:48.292333Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "409" + - "405" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Mar 2020 15:26:48 GMT + - Fri, 27 Mar 2020 11:12:03 GMT Server: - scaleway_api Strict-Transport-Security: @@ -134,7 +135,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - b9e1d353-1c26-4515-be5b-4d8960104966 + - 3f464b9f-78f5-47d9-b82e-6735e9d6cee1 status: 200 OK code: 200 duration: "" @@ -144,19 +145,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/51e00334-cadc-4f4f-a309-7afa91cd94f7 + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/8313300d-e1c0-474e-809e-96cfefe98661 method: GET response: - body: '{"id":"51e00334-cadc-4f4f-a309-7afa91cd94f7","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-heuristic-golick","description":"","updated_at":"2020-03-19T15:26:34.546213Z","created_at":"2020-03-19T15:26:33.868307Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"8313300d-e1c0-474e-809e-96cfefe98661","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-busy-gagarin","description":"","updated_at":"2020-03-27T11:11:48.834853Z","created_at":"2020-03-27T11:11:48.292333Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "409" + - "405" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Mar 2020 15:27:03 GMT + - Fri, 27 Mar 2020 11:12:18 GMT Server: - scaleway_api Strict-Transport-Security: @@ -166,7 +167,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 3741a28a-8267-4421-ba1c-940df93cb83d + - 17a3e736-6205-4947-8467-8df1b641891e status: 200 OK code: 200 duration: "" @@ -176,19 +177,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/51e00334-cadc-4f4f-a309-7afa91cd94f7 + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/8313300d-e1c0-474e-809e-96cfefe98661 method: GET response: - body: '{"id":"51e00334-cadc-4f4f-a309-7afa91cd94f7","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-heuristic-golick","description":"","updated_at":"2020-03-19T15:26:34.546213Z","created_at":"2020-03-19T15:26:33.868307Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"8313300d-e1c0-474e-809e-96cfefe98661","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-busy-gagarin","description":"","updated_at":"2020-03-27T11:11:48.834853Z","created_at":"2020-03-27T11:11:48.292333Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "409" + - "405" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Mar 2020 15:27:18 GMT + - Fri, 27 Mar 2020 11:12:33 GMT Server: - scaleway_api Strict-Transport-Security: @@ -198,7 +199,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - ce4b87e1-5bbc-475c-b99d-1fa150674c1c + - 6550e3f9-8af9-4eb1-9b2d-2256120e04d3 status: 200 OK code: 200 duration: "" @@ -208,19 +209,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/51e00334-cadc-4f4f-a309-7afa91cd94f7 + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/8313300d-e1c0-474e-809e-96cfefe98661 method: GET response: - body: '{"id":"51e00334-cadc-4f4f-a309-7afa91cd94f7","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-heuristic-golick","description":"","updated_at":"2020-03-19T15:26:34.546213Z","created_at":"2020-03-19T15:26:33.868307Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"8313300d-e1c0-474e-809e-96cfefe98661","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-busy-gagarin","description":"","updated_at":"2020-03-27T11:11:48.834853Z","created_at":"2020-03-27T11:11:48.292333Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "409" + - "405" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Mar 2020 15:27:33 GMT + - Fri, 27 Mar 2020 11:12:48 GMT Server: - scaleway_api Strict-Transport-Security: @@ -230,7 +231,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - ef265d65-fb9d-448f-9191-f043f19d04a6 + - 25dccdca-f605-46d6-8d41-9dcf92ecfcdf status: 200 OK code: 200 duration: "" @@ -240,19 +241,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/51e00334-cadc-4f4f-a309-7afa91cd94f7 + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/8313300d-e1c0-474e-809e-96cfefe98661 method: GET response: - body: '{"id":"51e00334-cadc-4f4f-a309-7afa91cd94f7","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-heuristic-golick","description":"","updated_at":"2020-03-19T15:26:34.546213Z","created_at":"2020-03-19T15:26:33.868307Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"8313300d-e1c0-474e-809e-96cfefe98661","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-busy-gagarin","description":"","updated_at":"2020-03-27T11:11:48.834853Z","created_at":"2020-03-27T11:11:48.292333Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "409" + - "405" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Mar 2020 15:27:48 GMT + - Fri, 27 Mar 2020 11:13:03 GMT Server: - scaleway_api Strict-Transport-Security: @@ -262,7 +263,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 6c23c1bf-f568-451a-9240-41c5866c7510 + - a65e020c-ac69-4c33-a129-6ceb54d878c9 status: 200 OK code: 200 duration: "" @@ -272,19 +273,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/51e00334-cadc-4f4f-a309-7afa91cd94f7 + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/8313300d-e1c0-474e-809e-96cfefe98661 method: GET response: - body: '{"id":"51e00334-cadc-4f4f-a309-7afa91cd94f7","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-heuristic-golick","description":"","updated_at":"2020-03-19T15:26:34.546213Z","created_at":"2020-03-19T15:26:33.868307Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"8313300d-e1c0-474e-809e-96cfefe98661","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-busy-gagarin","description":"","updated_at":"2020-03-27T11:11:48.834853Z","created_at":"2020-03-27T11:11:48.292333Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "409" + - "405" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Mar 2020 15:28:03 GMT + - Fri, 27 Mar 2020 11:13:18 GMT Server: - scaleway_api Strict-Transport-Security: @@ -294,7 +295,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 1a71e917-3d83-4cfb-a890-fdd719637212 + - cbbeabb8-a49c-455d-9d5f-3c213fe661ad status: 200 OK code: 200 duration: "" @@ -304,19 +305,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/51e00334-cadc-4f4f-a309-7afa91cd94f7 + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/8313300d-e1c0-474e-809e-96cfefe98661 method: GET response: - body: '{"id":"51e00334-cadc-4f4f-a309-7afa91cd94f7","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-heuristic-golick","description":"","updated_at":"2020-03-19T15:26:34.546213Z","created_at":"2020-03-19T15:26:33.868307Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"8313300d-e1c0-474e-809e-96cfefe98661","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-busy-gagarin","description":"","updated_at":"2020-03-27T11:11:48.834853Z","created_at":"2020-03-27T11:11:48.292333Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "409" + - "405" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Mar 2020 15:28:18 GMT + - Fri, 27 Mar 2020 11:13:33 GMT Server: - scaleway_api Strict-Transport-Security: @@ -326,7 +327,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 7e61c0f6-ed15-4a0d-b752-82a97adaba2b + - 2e97a4a4-7110-495d-82a3-a6665ba104b7 status: 200 OK code: 200 duration: "" @@ -336,19 +337,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/51e00334-cadc-4f4f-a309-7afa91cd94f7 + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/8313300d-e1c0-474e-809e-96cfefe98661 method: GET response: - body: '{"id":"51e00334-cadc-4f4f-a309-7afa91cd94f7","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-heuristic-golick","description":"","updated_at":"2020-03-19T15:26:34.546213Z","created_at":"2020-03-19T15:26:33.868307Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"8313300d-e1c0-474e-809e-96cfefe98661","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-busy-gagarin","description":"","updated_at":"2020-03-27T11:11:48.834853Z","created_at":"2020-03-27T11:11:48.292333Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "409" + - "405" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Mar 2020 15:28:33 GMT + - Fri, 27 Mar 2020 11:13:48 GMT Server: - scaleway_api Strict-Transport-Security: @@ -358,7 +359,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - b80dbb66-144e-4365-b3da-f4e6d500311f + - 76a81f99-c8d9-45f7-9f77-a06313416cbc status: 200 OK code: 200 duration: "" @@ -368,19 +369,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/51e00334-cadc-4f4f-a309-7afa91cd94f7 + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/8313300d-e1c0-474e-809e-96cfefe98661 method: GET response: - body: '{"id":"51e00334-cadc-4f4f-a309-7afa91cd94f7","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-heuristic-golick","description":"","updated_at":"2020-03-19T15:26:34.546213Z","created_at":"2020-03-19T15:26:33.868307Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"8313300d-e1c0-474e-809e-96cfefe98661","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-busy-gagarin","description":"","updated_at":"2020-03-27T11:11:48.834853Z","created_at":"2020-03-27T11:11:48.292333Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "409" + - "405" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Mar 2020 15:28:48 GMT + - Fri, 27 Mar 2020 11:14:03 GMT Server: - scaleway_api Strict-Transport-Security: @@ -390,7 +391,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 16c038c9-72c3-4097-9b23-4f7b1a7224cc + - 8a978794-d55d-4b72-a7fd-1eb81f12acf6 status: 200 OK code: 200 duration: "" @@ -400,19 +401,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/51e00334-cadc-4f4f-a309-7afa91cd94f7 + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/8313300d-e1c0-474e-809e-96cfefe98661 method: GET response: - body: '{"id":"51e00334-cadc-4f4f-a309-7afa91cd94f7","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-heuristic-golick","description":"","updated_at":"2020-03-19T15:26:34.546213Z","created_at":"2020-03-19T15:26:33.868307Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"8313300d-e1c0-474e-809e-96cfefe98661","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-busy-gagarin","description":"","updated_at":"2020-03-27T11:11:48.834853Z","created_at":"2020-03-27T11:11:48.292333Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "409" + - "405" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Mar 2020 15:29:03 GMT + - Fri, 27 Mar 2020 11:14:18 GMT Server: - scaleway_api Strict-Transport-Security: @@ -422,7 +423,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - ad84c35d-6b61-4930-b7ce-0354d012d284 + - 2d68639c-5b4b-4478-8f3f-d80a0f5e0076 status: 200 OK code: 200 duration: "" @@ -432,19 +433,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/51e00334-cadc-4f4f-a309-7afa91cd94f7 + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/8313300d-e1c0-474e-809e-96cfefe98661 method: GET response: - body: '{"id":"51e00334-cadc-4f4f-a309-7afa91cd94f7","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-heuristic-golick","description":"","updated_at":"2020-03-19T15:26:34.546213Z","created_at":"2020-03-19T15:26:33.868307Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"8313300d-e1c0-474e-809e-96cfefe98661","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-busy-gagarin","description":"","updated_at":"2020-03-27T11:11:48.834853Z","created_at":"2020-03-27T11:11:48.292333Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "409" + - "405" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Mar 2020 15:29:18 GMT + - Fri, 27 Mar 2020 11:14:33 GMT Server: - scaleway_api Strict-Transport-Security: @@ -454,7 +455,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - aaa68825-d555-44af-8aa3-4575658f1131 + - 96a9a38c-6492-492d-97fe-de65adc5e033 status: 200 OK code: 200 duration: "" @@ -464,19 +465,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/51e00334-cadc-4f4f-a309-7afa91cd94f7 + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/8313300d-e1c0-474e-809e-96cfefe98661 method: GET response: - body: '{"id":"51e00334-cadc-4f4f-a309-7afa91cd94f7","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-heuristic-golick","description":"","updated_at":"2020-03-19T15:26:34.546213Z","created_at":"2020-03-19T15:26:33.868307Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"8313300d-e1c0-474e-809e-96cfefe98661","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-busy-gagarin","description":"","updated_at":"2020-03-27T11:11:48.834853Z","created_at":"2020-03-27T11:11:48.292333Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "409" + - "405" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Mar 2020 15:29:34 GMT + - Fri, 27 Mar 2020 11:14:48 GMT Server: - scaleway_api Strict-Transport-Security: @@ -486,7 +487,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 4c63b59b-a287-4fa1-8055-ea00b6b39471 + - 69922302-e075-4ec9-bcc9-b74a5cb74015 status: 200 OK code: 200 duration: "" @@ -496,19 +497,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/51e00334-cadc-4f4f-a309-7afa91cd94f7 + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/8313300d-e1c0-474e-809e-96cfefe98661 method: GET response: - body: '{"id":"51e00334-cadc-4f4f-a309-7afa91cd94f7","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-heuristic-golick","description":"","updated_at":"2020-03-19T15:26:34.546213Z","created_at":"2020-03-19T15:26:33.868307Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"8313300d-e1c0-474e-809e-96cfefe98661","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-busy-gagarin","description":"","updated_at":"2020-03-27T11:11:48.834853Z","created_at":"2020-03-27T11:11:48.292333Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "409" + - "405" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Mar 2020 15:29:49 GMT + - Fri, 27 Mar 2020 11:15:03 GMT Server: - scaleway_api Strict-Transport-Security: @@ -518,7 +519,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - daa5cc82-dfb8-4f2f-9480-1adbc82a83b4 + - 6dfa2511-425c-493b-bb63-ec5c0ae189cf status: 200 OK code: 200 duration: "" @@ -528,19 +529,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/51e00334-cadc-4f4f-a309-7afa91cd94f7 + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/8313300d-e1c0-474e-809e-96cfefe98661 method: GET response: - body: '{"id":"51e00334-cadc-4f4f-a309-7afa91cd94f7","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-heuristic-golick","description":"","updated_at":"2020-03-19T15:26:34.546213Z","created_at":"2020-03-19T15:26:33.868307Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"8313300d-e1c0-474e-809e-96cfefe98661","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-busy-gagarin","description":"","updated_at":"2020-03-27T11:11:48.834853Z","created_at":"2020-03-27T11:11:48.292333Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "409" + - "405" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Mar 2020 15:30:04 GMT + - Fri, 27 Mar 2020 11:15:18 GMT Server: - scaleway_api Strict-Transport-Security: @@ -550,7 +551,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 78483dbe-9246-4b14-b10b-838f2832c846 + - 8292c1ef-6103-47ca-b370-a433505f7f38 status: 200 OK code: 200 duration: "" @@ -560,19 +561,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/51e00334-cadc-4f4f-a309-7afa91cd94f7 + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/8313300d-e1c0-474e-809e-96cfefe98661 method: GET response: - body: '{"id":"51e00334-cadc-4f4f-a309-7afa91cd94f7","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-heuristic-golick","description":"","updated_at":"2020-03-19T15:30:17.142178Z","created_at":"2020-03-19T15:26:33.868307Z","status":"ready","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[{"id":"85d9d591-fd7a-4186-9f30-ffd2cc19bcee","address":"51.159.56.111","reverse":"51e00334-cadc-4f4f-a309-7afa91cd94f7.fr-par-2.baremetal.scw.cloud","version":"Ipv4","reverse_status":"pending","reverse_status_message":null},{"id":"d6aa7362-f91f-4794-863e-1580b1fa51c9","address":"2001:0bc8:1200:0000:dac4:97ff:fe5b:75e1","reverse":"51e00334-cadc-4f4f-a309-7afa91cd94f7.fr-par-2.baremetal.scw.cloud","version":"Ipv6","reverse_status":"pending","reverse_status_message":null}],"domain":"51e00334-cadc-4f4f-a309-7afa91cd94f7.fr-par-2.baremetal.scw.cloud","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"8313300d-e1c0-474e-809e-96cfefe98661","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-busy-gagarin","description":"","updated_at":"2020-03-27T11:15:30.930735Z","created_at":"2020-03-27T11:11:48.292333Z","status":"ready","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[{"id":"7a5b515a-809c-4f2a-a3b3-50fcddd8c91f","address":"51.159.56.173","reverse":"8313300d-e1c0-474e-809e-96cfefe98661.fr-par-2.baremetal.scw.cloud","version":"Ipv4","reverse_status":"pending","reverse_status_message":null},{"id":"eb71b3b0-1b40-491d-8995-3710f98290ef","address":"2001:0bc8:1200:0000:dac4:97ff:fe5b:73b1","reverse":"8313300d-e1c0-474e-809e-96cfefe98661.fr-par-2.baremetal.scw.cloud","version":"Ipv6","reverse_status":"pending","reverse_status_message":null}],"domain":"8313300d-e1c0-474e-809e-96cfefe98661.fr-par-2.baremetal.scw.cloud","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "941" + - "937" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Mar 2020 15:30:19 GMT + - Fri, 27 Mar 2020 11:15:33 GMT Server: - scaleway_api Strict-Transport-Security: @@ -582,7 +583,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 2277bee3-49cc-4e13-956d-9f9e02cd6cbb + - 335fdcd6-e61d-43cf-90b5-b451379bc767 status: 200 OK code: 200 duration: "" @@ -592,19 +593,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/51e00334-cadc-4f4f-a309-7afa91cd94f7 + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/8313300d-e1c0-474e-809e-96cfefe98661 method: DELETE response: - body: '{"id":"51e00334-cadc-4f4f-a309-7afa91cd94f7","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-heuristic-golick","description":"","updated_at":"2020-03-19T15:30:19.558274Z","created_at":"2020-03-19T15:26:33.868307Z","status":"deleting","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[{"id":"85d9d591-fd7a-4186-9f30-ffd2cc19bcee","address":"51.159.56.111","reverse":"51e00334-cadc-4f4f-a309-7afa91cd94f7.fr-par-2.baremetal.scw.cloud","version":"Ipv4","reverse_status":"pending","reverse_status_message":null},{"id":"d6aa7362-f91f-4794-863e-1580b1fa51c9","address":"2001:0bc8:1200:0000:dac4:97ff:fe5b:75e1","reverse":"51e00334-cadc-4f4f-a309-7afa91cd94f7.fr-par-2.baremetal.scw.cloud","version":"Ipv6","reverse_status":"pending","reverse_status_message":null}],"domain":"51e00334-cadc-4f4f-a309-7afa91cd94f7.fr-par-2.baremetal.scw.cloud","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"8313300d-e1c0-474e-809e-96cfefe98661","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-busy-gagarin","description":"","updated_at":"2020-03-27T11:15:34.038400Z","created_at":"2020-03-27T11:11:48.292333Z","status":"deleting","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[{"id":"7a5b515a-809c-4f2a-a3b3-50fcddd8c91f","address":"51.159.56.173","reverse":"8313300d-e1c0-474e-809e-96cfefe98661.fr-par-2.baremetal.scw.cloud","version":"Ipv4","reverse_status":"pending","reverse_status_message":null},{"id":"eb71b3b0-1b40-491d-8995-3710f98290ef","address":"2001:0bc8:1200:0000:dac4:97ff:fe5b:73b1","reverse":"8313300d-e1c0-474e-809e-96cfefe98661.fr-par-2.baremetal.scw.cloud","version":"Ipv6","reverse_status":"pending","reverse_status_message":null}],"domain":"8313300d-e1c0-474e-809e-96cfefe98661.fr-par-2.baremetal.scw.cloud","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "944" + - "940" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Mar 2020 15:30:19 GMT + - Fri, 27 Mar 2020 11:15:33 GMT Server: - scaleway_api Strict-Transport-Security: @@ -614,7 +615,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 70b63fcd-1d01-463e-be85-155f3270466e + - 039fa8de-765f-4b7c-9101-8ed40eae175d status: 200 OK code: 200 duration: "" diff --git a/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-with-name.cassette.yaml b/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-with-name.cassette.yaml index bc6e48c1c3..687f17f11a 100644 --- a/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-with-name.cassette.yaml +++ b/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-with-name.cassette.yaml @@ -10,13 +10,14 @@ interactions: url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/offers?page=1 method: GET response: - body: '{"total_count":6,"offers":[{"id":"3ab0dc29-2fd4-486e-88bf-d08fbf49214b","name":"HC-BM1-L","stock":"available","bandwidth":1000,"commercial_range":"high_cpu","price_by_minute":{"currency_code":"EUR","units":1,"nanos":499900000},"price_by_month":{"currency_code":"EUR","units":749,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"Intel + body: '{"total_count":7,"offers":[{"id":"3ab0dc29-2fd4-486e-88bf-d08fbf49214b","name":"HC-BM1-L","stock":"available","bandwidth":1000,"commercial_range":"high_cpu","price_by_minute":{"currency_code":"EUR","units":1,"nanos":499900000},"price_by_month":{"currency_code":"EUR","units":749,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"Intel Xeon Gold 5120","cores":28,"threads":56,"frequency":2200},{"name":"Intel Xeon Gold 5120","cores":28,"threads":56,"frequency":2200}],"memory":[{"capacity":384,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":1,"nanos":499900000},"price_per_month":{"currency_code":"EUR","units":749,"nanos":990000000}},{"id":"5363865f-2266-40f9-a43f-4f3aba251524","name":"HM-BM1-XL","stock":"empty","bandwidth":1000,"commercial_range":"high_memory","price_by_minute":{"currency_code":"EUR","units":2,"nanos":599900000},"price_by_month":{"currency_code":"EUR","units":1299,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"Intel Xeon Gold 6140","cores":36,"threads":72,"frequency":2300},{"name":"Intel Xeon Gold 6140","cores":36,"threads":72,"frequency":2300}],"memory":[{"capacity":768,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":2,"nanos":599900000},"price_per_month":{"currency_code":"EUR","units":1299,"nanos":990000000}},{"id":"737f18c8-febc-4408-b69e-776bca0a3f48","name":"HC-BM1-S","stock":"available","bandwidth":1000,"commercial_range":"high_cpu","price_by_minute":{"currency_code":"EUR","units":0,"nanos":659900000},"price_by_month":{"currency_code":"EUR","units":329,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"Intel Xeon Silver 4114","cores":10,"threads":20,"frequency":2200},{"name":"Intel Xeon - Silver 4114","cores":10,"threads":20,"frequency":2200}],"memory":[{"capacity":128,"type":"DDR4","frequency":2400,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":659900000},"price_per_month":{"currency_code":"EUR","units":329,"nanos":990000000}},{"id":"8090d302-3545-4905-9cf3-bcb77a299f47","name":"GP-BM1-L","stock":"available","bandwidth":750,"commercial_range":"general_purpose","price_by_minute":{"currency_code":"EUR","units":0,"nanos":499900000},"price_by_month":{"currency_code":"EUR","units":249,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"AMD + Silver 4114","cores":10,"threads":20,"frequency":2200}],"memory":[{"capacity":128,"type":"DDR4","frequency":2400,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":659900000},"price_per_month":{"currency_code":"EUR","units":329,"nanos":990000000}},{"id":"7fde3890-9787-488c-ac89-c4e00a4e5f83","name":"GP-BM1-S","stock":"available","bandwidth":500,"commercial_range":"general_purpose","price_by_minute":{"currency_code":"EUR","units":0,"nanos":240000000},"price_by_month":{"currency_code":"EUR","units":119,"nanos":990000000},"disk":[{"capacity":250,"type":"SSD"},{"capacity":250,"type":"SSD"}],"enable":true,"cpu":[{"name":"Intel + Xeon E3 1240v6","cores":4,"threads":8,"frequency":3700}],"memory":[{"capacity":32,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_gp","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":240000000},"price_per_month":{"currency_code":"EUR","units":119,"nanos":990000000}},{"id":"8090d302-3545-4905-9cf3-bcb77a299f47","name":"GP-BM1-L","stock":"empty","bandwidth":750,"commercial_range":"general_purpose","price_by_minute":{"currency_code":"EUR","units":0,"nanos":499900000},"price_by_month":{"currency_code":"EUR","units":249,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"AMD EPYC 7281","cores":16,"threads":32,"frequency":2100}],"memory":[{"capacity":96,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_gp","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":499900000},"price_per_month":{"currency_code":"EUR","units":249,"nanos":990000000}},{"id":"964f9b38-577e-470f-a220-7d762f9e8672","name":"GP-BM1-M","stock":"available","bandwidth":500,"commercial_range":"general_purpose","price_by_minute":{"currency_code":"EUR","units":0,"nanos":399900000},"price_by_month":{"currency_code":"EUR","units":199,"nanos":990000000},"disk":[{"capacity":1024,"type":"SSD"},{"capacity":1024,"type":"SSD"},{"capacity":1024,"type":"SSD"}],"enable":true,"cpu":[{"name":"Intel Xeon E3 1240v6","cores":4,"threads":8,"frequency":3700}],"memory":[{"capacity":64,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_gp","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":399900000},"price_per_month":{"currency_code":"EUR","units":199,"nanos":990000000}},{"id":"c452f76a-2cda-4a1b-9658-a16952dc5ff0","name":"HM-BM1-M","stock":"available","bandwidth":1000,"commercial_range":"high_memory","price_by_minute":{"currency_code":"EUR","units":0,"nanos":799900000},"price_by_month":{"currency_code":"EUR","units":399,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"AMD EPYC 7401P","cores":24,"threads":48,"frequency":2000}],"memory":[{"capacity":256,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":799900000},"price_per_month":{"currency_code":"EUR","units":399,"nanos":990000000}}]}' @@ -26,7 +27,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 19 Mar 2020 15:26:33 GMT + - Fri, 27 Mar 2020 11:11:48 GMT Server: - scaleway_api Strict-Transport-Security: @@ -36,7 +37,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 6c4fc976-8e2e-4242-85e5-8c6eadb479d9 + - 1392b52c-09e8-4ff9-8c6d-508aa1ef7ac8 status: 200 OK code: 200 duration: "" @@ -51,7 +52,7 @@ interactions: url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers method: POST response: - body: '{"id":"b0b0b145-9396-44c1-bdb0-9639e091e3f4","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-19T15:26:33.871826495Z","created_at":"2020-03-19T15:26:33.871826495Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"b338fa9d-f66a-469e-86fc-3240b95816f0","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-27T11:11:48.304525676Z","created_at":"2020-03-27T11:11:48.304525676Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - "407" @@ -60,7 +61,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 19 Mar 2020 15:26:33 GMT + - Fri, 27 Mar 2020 11:11:48 GMT Server: - scaleway_api Strict-Transport-Security: @@ -70,7 +71,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 9bb27d46-32f2-4f9f-b45b-17d574cb46f9 + - 73407987-da5d-47e5-9c90-bf5a641c6fa1 status: 200 OK code: 200 duration: "" @@ -80,10 +81,10 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/b0b0b145-9396-44c1-bdb0-9639e091e3f4 + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/b338fa9d-f66a-469e-86fc-3240b95816f0 method: GET response: - body: '{"id":"b0b0b145-9396-44c1-bdb0-9639e091e3f4","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-19T15:26:33.871826Z","created_at":"2020-03-19T15:26:33.871826Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"b338fa9d-f66a-469e-86fc-3240b95816f0","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-27T11:11:48.304526Z","created_at":"2020-03-27T11:11:48.304526Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - "401" @@ -92,7 +93,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 19 Mar 2020 15:26:33 GMT + - Fri, 27 Mar 2020 11:11:48 GMT Server: - scaleway_api Strict-Transport-Security: @@ -102,7 +103,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - b58fe1f0-9914-4550-a590-0a82275c4217 + - f4d6fbb2-cea8-4895-abdf-d51e99b3c652 status: 200 OK code: 200 duration: "" @@ -112,10 +113,10 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/b0b0b145-9396-44c1-bdb0-9639e091e3f4 + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/b338fa9d-f66a-469e-86fc-3240b95816f0 method: GET response: - body: '{"id":"b0b0b145-9396-44c1-bdb0-9639e091e3f4","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-19T15:26:34.400800Z","created_at":"2020-03-19T15:26:33.871826Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"b338fa9d-f66a-469e-86fc-3240b95816f0","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-27T11:11:48.304526Z","created_at":"2020-03-27T11:11:48.304526Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - "401" @@ -124,7 +125,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 19 Mar 2020 15:26:48 GMT + - Fri, 27 Mar 2020 11:12:03 GMT Server: - scaleway_api Strict-Transport-Security: @@ -134,7 +135,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - d3cacbcb-6094-4ae0-900a-de3428a49829 + - df0b9ca2-b866-4c22-b9bc-317972089456 status: 200 OK code: 200 duration: "" @@ -144,10 +145,10 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/b0b0b145-9396-44c1-bdb0-9639e091e3f4 + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/b338fa9d-f66a-469e-86fc-3240b95816f0 method: GET response: - body: '{"id":"b0b0b145-9396-44c1-bdb0-9639e091e3f4","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-19T15:26:34.400800Z","created_at":"2020-03-19T15:26:33.871826Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"b338fa9d-f66a-469e-86fc-3240b95816f0","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-27T11:12:09.534321Z","created_at":"2020-03-27T11:11:48.304526Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - "401" @@ -156,7 +157,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 19 Mar 2020 15:27:03 GMT + - Fri, 27 Mar 2020 11:12:18 GMT Server: - scaleway_api Strict-Transport-Security: @@ -166,7 +167,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 3fb05bbc-3054-4db1-b73d-e4d7a698955d + - fb55b74a-e564-4c2e-aa2b-d9a5becca9e6 status: 200 OK code: 200 duration: "" @@ -176,10 +177,10 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/b0b0b145-9396-44c1-bdb0-9639e091e3f4 + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/b338fa9d-f66a-469e-86fc-3240b95816f0 method: GET response: - body: '{"id":"b0b0b145-9396-44c1-bdb0-9639e091e3f4","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-19T15:26:34.400800Z","created_at":"2020-03-19T15:26:33.871826Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"b338fa9d-f66a-469e-86fc-3240b95816f0","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-27T11:12:09.534321Z","created_at":"2020-03-27T11:11:48.304526Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - "401" @@ -188,7 +189,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 19 Mar 2020 15:27:18 GMT + - Fri, 27 Mar 2020 11:12:33 GMT Server: - scaleway_api Strict-Transport-Security: @@ -198,7 +199,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - d1165217-959f-41be-a885-51da4caf5471 + - cfaa86f1-59ac-4a50-ad33-c13bb018d659 status: 200 OK code: 200 duration: "" @@ -208,10 +209,10 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/b0b0b145-9396-44c1-bdb0-9639e091e3f4 + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/b338fa9d-f66a-469e-86fc-3240b95816f0 method: GET response: - body: '{"id":"b0b0b145-9396-44c1-bdb0-9639e091e3f4","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-19T15:26:34.400800Z","created_at":"2020-03-19T15:26:33.871826Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"b338fa9d-f66a-469e-86fc-3240b95816f0","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-27T11:12:09.534321Z","created_at":"2020-03-27T11:11:48.304526Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - "401" @@ -220,7 +221,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 19 Mar 2020 15:27:33 GMT + - Fri, 27 Mar 2020 11:12:48 GMT Server: - scaleway_api Strict-Transport-Security: @@ -230,7 +231,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 26fce310-d7d2-41de-8433-96ff1ec5539c + - 1ba313d8-39bd-4553-a67c-aa25f9821e7b status: 200 OK code: 200 duration: "" @@ -240,10 +241,10 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/b0b0b145-9396-44c1-bdb0-9639e091e3f4 + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/b338fa9d-f66a-469e-86fc-3240b95816f0 method: GET response: - body: '{"id":"b0b0b145-9396-44c1-bdb0-9639e091e3f4","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-19T15:26:34.400800Z","created_at":"2020-03-19T15:26:33.871826Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"b338fa9d-f66a-469e-86fc-3240b95816f0","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-27T11:12:09.534321Z","created_at":"2020-03-27T11:11:48.304526Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - "401" @@ -252,7 +253,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 19 Mar 2020 15:27:48 GMT + - Fri, 27 Mar 2020 11:13:03 GMT Server: - scaleway_api Strict-Transport-Security: @@ -262,7 +263,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 3990f728-b282-4739-9a09-108f25d2883c + - 4b174df9-d569-4b06-9109-e4e27935dbad status: 200 OK code: 200 duration: "" @@ -272,10 +273,10 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/b0b0b145-9396-44c1-bdb0-9639e091e3f4 + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/b338fa9d-f66a-469e-86fc-3240b95816f0 method: GET response: - body: '{"id":"b0b0b145-9396-44c1-bdb0-9639e091e3f4","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-19T15:26:34.400800Z","created_at":"2020-03-19T15:26:33.871826Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"b338fa9d-f66a-469e-86fc-3240b95816f0","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-27T11:12:09.534321Z","created_at":"2020-03-27T11:11:48.304526Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - "401" @@ -284,7 +285,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 19 Mar 2020 15:28:03 GMT + - Fri, 27 Mar 2020 11:13:18 GMT Server: - scaleway_api Strict-Transport-Security: @@ -294,7 +295,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - c6878c55-ec22-4028-8dfe-dbed4a7901ad + - 4f8590f1-9efe-4f96-8131-adda6baf43ac status: 200 OK code: 200 duration: "" @@ -304,10 +305,10 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/b0b0b145-9396-44c1-bdb0-9639e091e3f4 + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/b338fa9d-f66a-469e-86fc-3240b95816f0 method: GET response: - body: '{"id":"b0b0b145-9396-44c1-bdb0-9639e091e3f4","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-19T15:26:34.400800Z","created_at":"2020-03-19T15:26:33.871826Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"b338fa9d-f66a-469e-86fc-3240b95816f0","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-27T11:12:09.534321Z","created_at":"2020-03-27T11:11:48.304526Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - "401" @@ -316,7 +317,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 19 Mar 2020 15:28:18 GMT + - Fri, 27 Mar 2020 11:13:33 GMT Server: - scaleway_api Strict-Transport-Security: @@ -326,7 +327,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 44544988-aef3-48d7-8acd-f0b1bd5bdb9e + - 7aa9264b-4999-44e2-8340-0c32bac5b9ff status: 200 OK code: 200 duration: "" @@ -336,10 +337,10 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/b0b0b145-9396-44c1-bdb0-9639e091e3f4 + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/b338fa9d-f66a-469e-86fc-3240b95816f0 method: GET response: - body: '{"id":"b0b0b145-9396-44c1-bdb0-9639e091e3f4","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-19T15:26:34.400800Z","created_at":"2020-03-19T15:26:33.871826Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"b338fa9d-f66a-469e-86fc-3240b95816f0","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-27T11:12:09.534321Z","created_at":"2020-03-27T11:11:48.304526Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - "401" @@ -348,7 +349,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 19 Mar 2020 15:28:33 GMT + - Fri, 27 Mar 2020 11:13:48 GMT Server: - scaleway_api Strict-Transport-Security: @@ -358,7 +359,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - e9a9b253-8a27-4d3a-a71d-b5ef83edabc2 + - db6f1a91-7d9e-43da-97d6-e9a4ae310342 status: 200 OK code: 200 duration: "" @@ -368,10 +369,10 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/b0b0b145-9396-44c1-bdb0-9639e091e3f4 + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/b338fa9d-f66a-469e-86fc-3240b95816f0 method: GET response: - body: '{"id":"b0b0b145-9396-44c1-bdb0-9639e091e3f4","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-19T15:26:34.400800Z","created_at":"2020-03-19T15:26:33.871826Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"b338fa9d-f66a-469e-86fc-3240b95816f0","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-27T11:12:09.534321Z","created_at":"2020-03-27T11:11:48.304526Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - "401" @@ -380,7 +381,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 19 Mar 2020 15:28:48 GMT + - Fri, 27 Mar 2020 11:14:03 GMT Server: - scaleway_api Strict-Transport-Security: @@ -390,7 +391,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 5c86387e-79b4-4ea8-9204-84592cd303f0 + - 3c9a3de5-5c73-4d6f-8650-d7c3b47e951e status: 200 OK code: 200 duration: "" @@ -400,10 +401,10 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/b0b0b145-9396-44c1-bdb0-9639e091e3f4 + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/b338fa9d-f66a-469e-86fc-3240b95816f0 method: GET response: - body: '{"id":"b0b0b145-9396-44c1-bdb0-9639e091e3f4","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-19T15:26:34.400800Z","created_at":"2020-03-19T15:26:33.871826Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"b338fa9d-f66a-469e-86fc-3240b95816f0","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-27T11:12:09.534321Z","created_at":"2020-03-27T11:11:48.304526Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - "401" @@ -412,7 +413,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 19 Mar 2020 15:29:03 GMT + - Fri, 27 Mar 2020 11:14:18 GMT Server: - scaleway_api Strict-Transport-Security: @@ -422,7 +423,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 8e3af1d2-5ee4-4df8-bdb8-d248af555ca6 + - 5985503c-f9c4-4cae-bc6e-cae77068633a status: 200 OK code: 200 duration: "" @@ -432,10 +433,10 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/b0b0b145-9396-44c1-bdb0-9639e091e3f4 + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/b338fa9d-f66a-469e-86fc-3240b95816f0 method: GET response: - body: '{"id":"b0b0b145-9396-44c1-bdb0-9639e091e3f4","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-19T15:26:34.400800Z","created_at":"2020-03-19T15:26:33.871826Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"b338fa9d-f66a-469e-86fc-3240b95816f0","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-27T11:12:09.534321Z","created_at":"2020-03-27T11:11:48.304526Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - "401" @@ -444,7 +445,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 19 Mar 2020 15:29:18 GMT + - Fri, 27 Mar 2020 11:14:33 GMT Server: - scaleway_api Strict-Transport-Security: @@ -454,7 +455,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - f7d641f8-c9b8-4fa7-a21b-f6d4b5944943 + - a812fb8c-eb6f-4755-b091-281041981258 status: 200 OK code: 200 duration: "" @@ -464,10 +465,10 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/b0b0b145-9396-44c1-bdb0-9639e091e3f4 + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/b338fa9d-f66a-469e-86fc-3240b95816f0 method: GET response: - body: '{"id":"b0b0b145-9396-44c1-bdb0-9639e091e3f4","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-19T15:26:34.400800Z","created_at":"2020-03-19T15:26:33.871826Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"b338fa9d-f66a-469e-86fc-3240b95816f0","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-27T11:12:09.534321Z","created_at":"2020-03-27T11:11:48.304526Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - "401" @@ -476,7 +477,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 19 Mar 2020 15:29:34 GMT + - Fri, 27 Mar 2020 11:14:48 GMT Server: - scaleway_api Strict-Transport-Security: @@ -486,7 +487,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 6a26a5b8-ea1a-4d3e-a04a-543f015d7dbb + - 77622b62-8ec7-4c94-b5c3-64b84f8a9250 status: 200 OK code: 200 duration: "" @@ -496,10 +497,10 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/b0b0b145-9396-44c1-bdb0-9639e091e3f4 + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/b338fa9d-f66a-469e-86fc-3240b95816f0 method: GET response: - body: '{"id":"b0b0b145-9396-44c1-bdb0-9639e091e3f4","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-19T15:26:34.400800Z","created_at":"2020-03-19T15:26:33.871826Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"b338fa9d-f66a-469e-86fc-3240b95816f0","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-27T11:12:09.534321Z","created_at":"2020-03-27T11:11:48.304526Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - "401" @@ -508,7 +509,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 19 Mar 2020 15:29:49 GMT + - Fri, 27 Mar 2020 11:15:03 GMT Server: - scaleway_api Strict-Transport-Security: @@ -518,7 +519,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - b19d3f00-88f5-447a-91fa-d2778dcf5933 + - 201cafd3-2721-4ce7-894e-beeebb0ef5f1 status: 200 OK code: 200 duration: "" @@ -528,10 +529,10 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/b0b0b145-9396-44c1-bdb0-9639e091e3f4 + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/b338fa9d-f66a-469e-86fc-3240b95816f0 method: GET response: - body: '{"id":"b0b0b145-9396-44c1-bdb0-9639e091e3f4","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-19T15:26:34.400800Z","created_at":"2020-03-19T15:26:33.871826Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"b338fa9d-f66a-469e-86fc-3240b95816f0","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-27T11:12:09.534321Z","created_at":"2020-03-27T11:11:48.304526Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - "401" @@ -540,7 +541,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 19 Mar 2020 15:30:04 GMT + - Fri, 27 Mar 2020 11:15:18 GMT Server: - scaleway_api Strict-Transport-Security: @@ -550,7 +551,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 82ca3556-b1e8-448a-aa56-2d576333b227 + - 8e8f3ea4-eca4-4293-a302-257cdab9ed7d status: 200 OK code: 200 duration: "" @@ -560,19 +561,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/b0b0b145-9396-44c1-bdb0-9639e091e3f4 + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/b338fa9d-f66a-469e-86fc-3240b95816f0 method: GET response: - body: '{"id":"b0b0b145-9396-44c1-bdb0-9639e091e3f4","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-19T15:30:16.730113Z","created_at":"2020-03-19T15:26:33.871826Z","status":"ready","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[{"id":"67502263-f891-478f-9f70-70fa36c0c7ed","address":"51.159.56.58","reverse":"b0b0b145-9396-44c1-bdb0-9639e091e3f4.fr-par-2.baremetal.scw.cloud","version":"Ipv4","reverse_status":"pending","reverse_status_message":null},{"id":"db1f5cb4-6b2f-47be-90d8-68ffcb8247a2","address":"2001:0bc8:1200:0000:aa1e:84ff:fef3:59f4","reverse":"b0b0b145-9396-44c1-bdb0-9639e091e3f4.fr-par-2.baremetal.scw.cloud","version":"Ipv6","reverse_status":"pending","reverse_status_message":null}],"domain":"b0b0b145-9396-44c1-bdb0-9639e091e3f4.fr-par-2.baremetal.scw.cloud","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"b338fa9d-f66a-469e-86fc-3240b95816f0","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-27T11:15:31.948732Z","created_at":"2020-03-27T11:11:48.304526Z","status":"ready","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[{"id":"06b31b75-b084-45dd-a297-7d5cd52ad877","address":"51.159.56.178","reverse":"b338fa9d-f66a-469e-86fc-3240b95816f0.fr-par-2.baremetal.scw.cloud","version":"Ipv4","reverse_status":"pending","reverse_status_message":null},{"id":"15ef118c-27c6-409d-845e-77177e8c58c6","address":"2001:0bc8:1200:0000:dac4:97ff:fe5b:7a95","reverse":"b338fa9d-f66a-469e-86fc-3240b95816f0.fr-par-2.baremetal.scw.cloud","version":"Ipv6","reverse_status":"pending","reverse_status_message":null}],"domain":"b338fa9d-f66a-469e-86fc-3240b95816f0.fr-par-2.baremetal.scw.cloud","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "932" + - "933" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Mar 2020 15:30:19 GMT + - Fri, 27 Mar 2020 11:15:33 GMT Server: - scaleway_api Strict-Transport-Security: @@ -582,7 +583,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - d98c1329-1734-4959-b618-e2d69eb33fd7 + - dbaaeffc-8a0c-4044-b94d-323b6bb60f80 status: 200 OK code: 200 duration: "" @@ -592,19 +593,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/b0b0b145-9396-44c1-bdb0-9639e091e3f4 + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/b338fa9d-f66a-469e-86fc-3240b95816f0 method: DELETE response: - body: '{"id":"b0b0b145-9396-44c1-bdb0-9639e091e3f4","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-19T15:30:19.557561Z","created_at":"2020-03-19T15:26:33.871826Z","status":"deleting","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[{"id":"67502263-f891-478f-9f70-70fa36c0c7ed","address":"51.159.56.58","reverse":"b0b0b145-9396-44c1-bdb0-9639e091e3f4.fr-par-2.baremetal.scw.cloud","version":"Ipv4","reverse_status":"pending","reverse_status_message":null},{"id":"db1f5cb4-6b2f-47be-90d8-68ffcb8247a2","address":"2001:0bc8:1200:0000:aa1e:84ff:fef3:59f4","reverse":"b0b0b145-9396-44c1-bdb0-9639e091e3f4.fr-par-2.baremetal.scw.cloud","version":"Ipv6","reverse_status":"pending","reverse_status_message":null}],"domain":"b0b0b145-9396-44c1-bdb0-9639e091e3f4.fr-par-2.baremetal.scw.cloud","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"b338fa9d-f66a-469e-86fc-3240b95816f0","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-27T11:15:34.049977Z","created_at":"2020-03-27T11:11:48.304526Z","status":"deleting","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[{"id":"06b31b75-b084-45dd-a297-7d5cd52ad877","address":"51.159.56.178","reverse":"b338fa9d-f66a-469e-86fc-3240b95816f0.fr-par-2.baremetal.scw.cloud","version":"Ipv4","reverse_status":"pending","reverse_status_message":null},{"id":"15ef118c-27c6-409d-845e-77177e8c58c6","address":"2001:0bc8:1200:0000:dac4:97ff:fe5b:7a95","reverse":"b338fa9d-f66a-469e-86fc-3240b95816f0.fr-par-2.baremetal.scw.cloud","version":"Ipv6","reverse_status":"pending","reverse_status_message":null}],"domain":"b338fa9d-f66a-469e-86fc-3240b95816f0.fr-par-2.baremetal.scw.cloud","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "935" + - "936" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Mar 2020 15:30:19 GMT + - Fri, 27 Mar 2020 11:15:33 GMT Server: - scaleway_api Strict-Transport-Security: @@ -614,7 +615,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 4a8071ff-1798-439c-ac3e-8c708b416969 + - 91a5b106-eb92-4de4-8814-545610a71fbd status: 200 OK code: 200 duration: "" From 5a32783051df240df4be9d9528f75965efbc72f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20L=C3=A9one?= Date: Fri, 27 Mar 2020 14:02:00 +0100 Subject: [PATCH 42/67] Fix --- ...create-server-simple-default.cassette.yaml | 272 +++++------------- ...create-server-simple-default.stderr.golden | 234 --------------- ...create-server-simple-default.stdout.golden | 4 +- ...st-create-server-simple-tags.cassette.yaml | 272 +++++------------- ...eate-server-simple-with-name.cassette.yaml | 242 ++++------------ 5 files changed, 203 insertions(+), 821 deletions(-) delete mode 100644 internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.stderr.golden diff --git a/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.cassette.yaml b/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.cassette.yaml index 8d948de599..6d2783bc41 100644 --- a/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.cassette.yaml +++ b/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.cassette.yaml @@ -27,7 +27,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 27 Mar 2020 11:11:48 GMT + - Fri, 27 Mar 2020 12:57:34 GMT Server: - scaleway_api Strict-Transport-Security: @@ -37,12 +37,12 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 992675ec-7f65-4442-b87c-938bf162c535 + - 8ee9de8e-ceaa-48e4-b62f-fe167421025d status: 200 OK code: 200 duration: "" - request: - body: '{"offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-angry-mayer","description":"","tags":null}' + body: '{"offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-suspicious-perlman","description":"","tags":null}' form: {} headers: Content-Type: @@ -52,16 +52,16 @@ interactions: url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers method: POST response: - body: '{"id":"c342a860-a71c-4b92-b625-86eb2d83d64f","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-angry-mayer","description":"","updated_at":"2020-03-27T11:11:48.339252838Z","created_at":"2020-03-27T11:11:48.339252838Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"f1303c26-297c-490d-86fe-06af7d7c7a50","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-suspicious-perlman","description":"","updated_at":"2020-03-27T12:57:34.491900034Z","created_at":"2020-03-27T12:57:34.491900034Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "397" + - "404" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Fri, 27 Mar 2020 11:11:48 GMT + - Fri, 27 Mar 2020 12:57:34 GMT Server: - scaleway_api Strict-Transport-Security: @@ -71,7 +71,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 94062a9d-381b-42d6-9d03-ec223c218f51 + - 3b22de7e-63b8-45f0-bdbd-53523edfc546 status: 200 OK code: 200 duration: "" @@ -81,19 +81,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/c342a860-a71c-4b92-b625-86eb2d83d64f + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/f1303c26-297c-490d-86fe-06af7d7c7a50 method: GET response: - body: '{"id":"c342a860-a71c-4b92-b625-86eb2d83d64f","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-angry-mayer","description":"","updated_at":"2020-03-27T11:11:48.339253Z","created_at":"2020-03-27T11:11:48.339253Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"f1303c26-297c-490d-86fe-06af7d7c7a50","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-suspicious-perlman","description":"","updated_at":"2020-03-27T12:57:34.491900Z","created_at":"2020-03-27T12:57:34.491900Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "391" + - "398" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Fri, 27 Mar 2020 11:11:48 GMT + - Fri, 27 Mar 2020 12:57:34 GMT Server: - scaleway_api Strict-Transport-Security: @@ -103,7 +103,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - b923a9f7-3d41-458e-86c3-59a7431ceced + - d318ac53-504b-4b47-ac53-072825a41156 status: 200 OK code: 200 duration: "" @@ -113,19 +113,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/c342a860-a71c-4b92-b625-86eb2d83d64f + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/f1303c26-297c-490d-86fe-06af7d7c7a50 method: GET response: - body: '{"id":"c342a860-a71c-4b92-b625-86eb2d83d64f","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-angry-mayer","description":"","updated_at":"2020-03-27T11:11:48.939285Z","created_at":"2020-03-27T11:11:48.339253Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"f1303c26-297c-490d-86fe-06af7d7c7a50","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-suspicious-perlman","description":"","updated_at":"2020-03-27T12:57:34.491900Z","created_at":"2020-03-27T12:57:34.491900Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "391" + - "398" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Fri, 27 Mar 2020 11:12:03 GMT + - Fri, 27 Mar 2020 12:57:49 GMT Server: - scaleway_api Strict-Transport-Security: @@ -135,7 +135,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 918928d1-9630-45b3-bda6-63bfcc70599e + - 786a56f7-57f9-4d62-ba2f-ccafa8c12411 status: 200 OK code: 200 duration: "" @@ -145,19 +145,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/c342a860-a71c-4b92-b625-86eb2d83d64f + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/f1303c26-297c-490d-86fe-06af7d7c7a50 method: GET response: - body: '{"id":"c342a860-a71c-4b92-b625-86eb2d83d64f","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-angry-mayer","description":"","updated_at":"2020-03-27T11:11:48.939285Z","created_at":"2020-03-27T11:11:48.339253Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"f1303c26-297c-490d-86fe-06af7d7c7a50","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-suspicious-perlman","description":"","updated_at":"2020-03-27T12:57:55.895866Z","created_at":"2020-03-27T12:57:34.491900Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "391" + - "398" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Fri, 27 Mar 2020 11:12:18 GMT + - Fri, 27 Mar 2020 12:58:04 GMT Server: - scaleway_api Strict-Transport-Security: @@ -167,7 +167,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - de92745c-7ce4-4453-a057-d441506a146a + - af338f79-8b86-49cd-8852-6af98f0ff5d6 status: 200 OK code: 200 duration: "" @@ -177,19 +177,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/c342a860-a71c-4b92-b625-86eb2d83d64f + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/f1303c26-297c-490d-86fe-06af7d7c7a50 method: GET response: - body: '{"id":"c342a860-a71c-4b92-b625-86eb2d83d64f","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-angry-mayer","description":"","updated_at":"2020-03-27T11:11:48.939285Z","created_at":"2020-03-27T11:11:48.339253Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"f1303c26-297c-490d-86fe-06af7d7c7a50","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-suspicious-perlman","description":"","updated_at":"2020-03-27T12:57:55.895866Z","created_at":"2020-03-27T12:57:34.491900Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "391" + - "398" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Fri, 27 Mar 2020 11:12:33 GMT + - Fri, 27 Mar 2020 12:58:19 GMT Server: - scaleway_api Strict-Transport-Security: @@ -199,7 +199,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 2cec9849-9d16-48b3-9ef8-ed7f01bf1b57 + - 7afbcbf2-bf56-4145-86f7-a413520a69e3 status: 200 OK code: 200 duration: "" @@ -209,19 +209,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/c342a860-a71c-4b92-b625-86eb2d83d64f + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/f1303c26-297c-490d-86fe-06af7d7c7a50 method: GET response: - body: '{"id":"c342a860-a71c-4b92-b625-86eb2d83d64f","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-angry-mayer","description":"","updated_at":"2020-03-27T11:11:48.939285Z","created_at":"2020-03-27T11:11:48.339253Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"f1303c26-297c-490d-86fe-06af7d7c7a50","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-suspicious-perlman","description":"","updated_at":"2020-03-27T12:57:55.895866Z","created_at":"2020-03-27T12:57:34.491900Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "391" + - "398" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Fri, 27 Mar 2020 11:12:48 GMT + - Fri, 27 Mar 2020 12:58:34 GMT Server: - scaleway_api Strict-Transport-Security: @@ -231,7 +231,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 64d9414c-6346-4690-a39d-8689067f19b4 + - f0d527c0-e1e6-4079-ae2e-834a643ff6f5 status: 200 OK code: 200 duration: "" @@ -241,19 +241,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/c342a860-a71c-4b92-b625-86eb2d83d64f + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/f1303c26-297c-490d-86fe-06af7d7c7a50 method: GET response: - body: '{"id":"c342a860-a71c-4b92-b625-86eb2d83d64f","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-angry-mayer","description":"","updated_at":"2020-03-27T11:11:48.939285Z","created_at":"2020-03-27T11:11:48.339253Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"f1303c26-297c-490d-86fe-06af7d7c7a50","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-suspicious-perlman","description":"","updated_at":"2020-03-27T12:57:55.895866Z","created_at":"2020-03-27T12:57:34.491900Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "391" + - "398" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Fri, 27 Mar 2020 11:13:03 GMT + - Fri, 27 Mar 2020 12:58:49 GMT Server: - scaleway_api Strict-Transport-Security: @@ -263,7 +263,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 9511f9ac-f679-41ee-b5b6-a8ed50c4b21f + - fdfbd0f1-7a87-4823-9296-5e7fbd9cabc9 status: 200 OK code: 200 duration: "" @@ -273,19 +273,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/c342a860-a71c-4b92-b625-86eb2d83d64f + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/f1303c26-297c-490d-86fe-06af7d7c7a50 method: GET response: - body: '{"id":"c342a860-a71c-4b92-b625-86eb2d83d64f","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-angry-mayer","description":"","updated_at":"2020-03-27T11:11:48.939285Z","created_at":"2020-03-27T11:11:48.339253Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"f1303c26-297c-490d-86fe-06af7d7c7a50","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-suspicious-perlman","description":"","updated_at":"2020-03-27T12:57:55.895866Z","created_at":"2020-03-27T12:57:34.491900Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "391" + - "398" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Fri, 27 Mar 2020 11:13:18 GMT + - Fri, 27 Mar 2020 12:59:04 GMT Server: - scaleway_api Strict-Transport-Security: @@ -295,7 +295,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 530803b3-149a-4494-87b8-252190f34b0e + - 00d4576c-4924-4f34-a5fb-edbf9582e6d4 status: 200 OK code: 200 duration: "" @@ -305,19 +305,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/c342a860-a71c-4b92-b625-86eb2d83d64f + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/f1303c26-297c-490d-86fe-06af7d7c7a50 method: GET response: - body: '{"id":"c342a860-a71c-4b92-b625-86eb2d83d64f","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-angry-mayer","description":"","updated_at":"2020-03-27T11:11:48.939285Z","created_at":"2020-03-27T11:11:48.339253Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"f1303c26-297c-490d-86fe-06af7d7c7a50","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-suspicious-perlman","description":"","updated_at":"2020-03-27T12:57:55.895866Z","created_at":"2020-03-27T12:57:34.491900Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "391" + - "398" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Fri, 27 Mar 2020 11:13:33 GMT + - Fri, 27 Mar 2020 12:59:19 GMT Server: - scaleway_api Strict-Transport-Security: @@ -327,7 +327,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - a151e27a-1168-4b0d-9c81-1f5b149f7012 + - e10ec630-d5eb-4c2b-84e4-2eba0eedbb77 status: 200 OK code: 200 duration: "" @@ -337,19 +337,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/c342a860-a71c-4b92-b625-86eb2d83d64f + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/f1303c26-297c-490d-86fe-06af7d7c7a50 method: GET response: - body: '{"id":"c342a860-a71c-4b92-b625-86eb2d83d64f","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-angry-mayer","description":"","updated_at":"2020-03-27T11:11:48.939285Z","created_at":"2020-03-27T11:11:48.339253Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"f1303c26-297c-490d-86fe-06af7d7c7a50","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-suspicious-perlman","description":"","updated_at":"2020-03-27T12:57:55.895866Z","created_at":"2020-03-27T12:57:34.491900Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "391" + - "398" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Fri, 27 Mar 2020 11:13:48 GMT + - Fri, 27 Mar 2020 12:59:34 GMT Server: - scaleway_api Strict-Transport-Security: @@ -359,7 +359,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 170e5d59-a212-49ce-a888-b7862c55ac24 + - 9cdf19d0-c5bc-4c52-b612-d8c474a851be status: 200 OK code: 200 duration: "" @@ -369,19 +369,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/c342a860-a71c-4b92-b625-86eb2d83d64f + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/f1303c26-297c-490d-86fe-06af7d7c7a50 method: GET response: - body: '{"id":"c342a860-a71c-4b92-b625-86eb2d83d64f","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-angry-mayer","description":"","updated_at":"2020-03-27T11:11:48.939285Z","created_at":"2020-03-27T11:11:48.339253Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"f1303c26-297c-490d-86fe-06af7d7c7a50","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-suspicious-perlman","description":"","updated_at":"2020-03-27T12:57:55.895866Z","created_at":"2020-03-27T12:57:34.491900Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "391" + - "398" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Fri, 27 Mar 2020 11:14:03 GMT + - Fri, 27 Mar 2020 12:59:49 GMT Server: - scaleway_api Strict-Transport-Security: @@ -391,7 +391,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 7462a161-4957-4a61-b043-d0b8e82d456e + - 98a6a31f-b5e1-4502-bf98-986cf822c6e7 status: 200 OK code: 200 duration: "" @@ -401,19 +401,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/c342a860-a71c-4b92-b625-86eb2d83d64f + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/f1303c26-297c-490d-86fe-06af7d7c7a50 method: GET response: - body: '{"id":"c342a860-a71c-4b92-b625-86eb2d83d64f","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-angry-mayer","description":"","updated_at":"2020-03-27T11:11:48.939285Z","created_at":"2020-03-27T11:11:48.339253Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"f1303c26-297c-490d-86fe-06af7d7c7a50","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-suspicious-perlman","description":"","updated_at":"2020-03-27T12:57:55.895866Z","created_at":"2020-03-27T12:57:34.491900Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "391" + - "398" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Fri, 27 Mar 2020 11:14:18 GMT + - Fri, 27 Mar 2020 13:00:04 GMT Server: - scaleway_api Strict-Transport-Security: @@ -423,7 +423,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - e02ce80e-ac8c-4b58-a3a7-64437c905f92 + - ebeb0b70-078e-41f2-b95d-c067d7f35a39 status: 200 OK code: 200 duration: "" @@ -433,19 +433,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/c342a860-a71c-4b92-b625-86eb2d83d64f + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/f1303c26-297c-490d-86fe-06af7d7c7a50 method: GET response: - body: '{"id":"c342a860-a71c-4b92-b625-86eb2d83d64f","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-angry-mayer","description":"","updated_at":"2020-03-27T11:11:48.939285Z","created_at":"2020-03-27T11:11:48.339253Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"f1303c26-297c-490d-86fe-06af7d7c7a50","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-suspicious-perlman","description":"","updated_at":"2020-03-27T13:00:18.213363Z","created_at":"2020-03-27T12:57:34.491900Z","status":"ready","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[{"id":"30b600a4-ddc2-48b0-8dc8-9eaa215086de","address":"51.159.56.173","reverse":"f1303c26-297c-490d-86fe-06af7d7c7a50.fr-par-2.baremetal.scw.cloud","version":"Ipv4","reverse_status":"pending","reverse_status_message":null},{"id":"f01b17c5-9bb5-4d15-8488-9ca7673a5771","address":"2001:0bc8:1200:0000:dac4:97ff:fe5b:73b1","reverse":"f1303c26-297c-490d-86fe-06af7d7c7a50.fr-par-2.baremetal.scw.cloud","version":"Ipv6","reverse_status":"pending","reverse_status_message":null}],"domain":"f1303c26-297c-490d-86fe-06af7d7c7a50.fr-par-2.baremetal.scw.cloud","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "391" + - "930" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Fri, 27 Mar 2020 11:14:33 GMT + - Fri, 27 Mar 2020 13:00:19 GMT Server: - scaleway_api Strict-Transport-Security: @@ -455,7 +455,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - a3b236a2-981f-474f-9674-b3079e6fd509 + - 832aebd9-f128-42e7-ae2f-8899c0e564b9 status: 200 OK code: 200 duration: "" @@ -465,147 +465,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/c342a860-a71c-4b92-b625-86eb2d83d64f - method: GET - response: - body: '{"id":"c342a860-a71c-4b92-b625-86eb2d83d64f","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-angry-mayer","description":"","updated_at":"2020-03-27T11:11:48.939285Z","created_at":"2020-03-27T11:11:48.339253Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "391" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Fri, 27 Mar 2020 11:14:48 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 37e0a989-8746-4075-8afb-b83b764711bd - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/c342a860-a71c-4b92-b625-86eb2d83d64f - method: GET - response: - body: '{"id":"c342a860-a71c-4b92-b625-86eb2d83d64f","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-angry-mayer","description":"","updated_at":"2020-03-27T11:11:48.939285Z","created_at":"2020-03-27T11:11:48.339253Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "391" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Fri, 27 Mar 2020 11:15:03 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 029f63c0-5d07-4f8a-8928-e68afc45429e - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/c342a860-a71c-4b92-b625-86eb2d83d64f - method: GET - response: - body: '{"id":"c342a860-a71c-4b92-b625-86eb2d83d64f","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-angry-mayer","description":"","updated_at":"2020-03-27T11:11:48.939285Z","created_at":"2020-03-27T11:11:48.339253Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "391" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Fri, 27 Mar 2020 11:15:18 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 36eb0578-1e6e-4805-9121-5a0a9af1e308 - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/c342a860-a71c-4b92-b625-86eb2d83d64f - method: GET - response: - body: '{"id":"c342a860-a71c-4b92-b625-86eb2d83d64f","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-angry-mayer","description":"","updated_at":"2020-03-27T11:15:31.972698Z","created_at":"2020-03-27T11:11:48.339253Z","status":"ready","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[{"id":"3a3b3fa8-acce-45d7-9cae-167aba71ac4a","address":"51.159.56.176","reverse":"c342a860-a71c-4b92-b625-86eb2d83d64f.fr-par-2.baremetal.scw.cloud","version":"Ipv4","reverse_status":"pending","reverse_status_message":null},{"id":"e11162b8-0cb7-452b-9a24-de0713716a9d","address":"2001:0bc8:1200:0000:dac4:97ff:fe5b:74a5","reverse":"c342a860-a71c-4b92-b625-86eb2d83d64f.fr-par-2.baremetal.scw.cloud","version":"Ipv6","reverse_status":"pending","reverse_status_message":null}],"domain":"c342a860-a71c-4b92-b625-86eb2d83d64f.fr-par-2.baremetal.scw.cloud","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "923" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Fri, 27 Mar 2020 11:15:33 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - c3e6627c-3830-4cf4-9630-14a7784b03e2 - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/c342a860-a71c-4b92-b625-86eb2d83d64f + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/f1303c26-297c-490d-86fe-06af7d7c7a50 method: DELETE response: - body: '{"id":"c342a860-a71c-4b92-b625-86eb2d83d64f","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-angry-mayer","description":"","updated_at":"2020-03-27T11:15:34.043368Z","created_at":"2020-03-27T11:11:48.339253Z","status":"deleting","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[{"id":"3a3b3fa8-acce-45d7-9cae-167aba71ac4a","address":"51.159.56.176","reverse":"c342a860-a71c-4b92-b625-86eb2d83d64f.fr-par-2.baremetal.scw.cloud","version":"Ipv4","reverse_status":"pending","reverse_status_message":null},{"id":"e11162b8-0cb7-452b-9a24-de0713716a9d","address":"2001:0bc8:1200:0000:dac4:97ff:fe5b:74a5","reverse":"c342a860-a71c-4b92-b625-86eb2d83d64f.fr-par-2.baremetal.scw.cloud","version":"Ipv6","reverse_status":"pending","reverse_status_message":null}],"domain":"c342a860-a71c-4b92-b625-86eb2d83d64f.fr-par-2.baremetal.scw.cloud","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"f1303c26-297c-490d-86fe-06af7d7c7a50","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-suspicious-perlman","description":"","updated_at":"2020-03-27T13:00:20.019577Z","created_at":"2020-03-27T12:57:34.491900Z","status":"deleting","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[{"id":"30b600a4-ddc2-48b0-8dc8-9eaa215086de","address":"51.159.56.173","reverse":"f1303c26-297c-490d-86fe-06af7d7c7a50.fr-par-2.baremetal.scw.cloud","version":"Ipv4","reverse_status":"pending","reverse_status_message":null},{"id":"f01b17c5-9bb5-4d15-8488-9ca7673a5771","address":"2001:0bc8:1200:0000:dac4:97ff:fe5b:73b1","reverse":"f1303c26-297c-490d-86fe-06af7d7c7a50.fr-par-2.baremetal.scw.cloud","version":"Ipv6","reverse_status":"pending","reverse_status_message":null}],"domain":"f1303c26-297c-490d-86fe-06af7d7c7a50.fr-par-2.baremetal.scw.cloud","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "926" + - "933" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Fri, 27 Mar 2020 11:15:33 GMT + - Fri, 27 Mar 2020 13:00:19 GMT Server: - scaleway_api Strict-Transport-Security: @@ -615,7 +487,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - f79ebcd4-a9fc-4fb1-aea8-c861b3395ab5 + - c2972672-bb09-48d5-b421-981813e90bac status: 200 OK code: 200 duration: "" diff --git a/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.stderr.golden b/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.stderr.golden deleted file mode 100644 index 6c5db3f21e..0000000000 --- a/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.stderr.golden +++ /dev/null @@ -1,234 +0,0 @@ -DEBUG: 2019/12/09 16:04:07 creating GET request on https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/offers?page=1 -DEBUG: 2019/12/09 16:04:07 creating GET request on https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/offers?page=1 -DEBUG: 2019/12/09 16:04:07 creating GET request on https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/offers?page=1 -DEBUG: 2019/12/09 16:04:07 ---------------- Scaleway SDK REQUEST 3 : --------------- -GET /baremetal/v1alpha1/zones/fr-par-2/offers?page=1 HTTP/1.1 -Host: api.scaleway.com -User-Agent: scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test -X-Auth-Token: 148499e0-xxxx-xxxx-xxxx-xxxxxxxxxxxx -Accept-Encoding: gzip - - ---------------------------------------------------------- -DEBUG: 2019/12/09 16:04:07 ---------------- Scaleway SDK REQUEST 2 : --------------- -GET /baremetal/v1alpha1/zones/fr-par-2/offers?page=1 HTTP/1.1 -Host: api.scaleway.com -User-Agent: scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test -X-Auth-Token: 148499e0-xxxx-xxxx-xxxx-xxxxxxxxxxxx -Accept-Encoding: gzip - - ---------------------------------------------------------- -DEBUG: 2019/12/09 16:04:07 ---------------- Scaleway SDK REQUEST 1 : --------------- -GET /baremetal/v1alpha1/zones/fr-par-2/offers?page=1 HTTP/1.1 -Host: api.scaleway.com -User-Agent: scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test -X-Auth-Token: 148499e0-xxxx-xxxx-xxxx-xxxxxxxxxxxx -Accept-Encoding: gzip - - ---------------------------------------------------------- -DEBUG: 2019/12/09 16:04:07 ---------------- Scaleway SDK RESPONSE 2 : --------------- -HTTP/1.0 200 OK -Connection: close -Content-Length: 5359 -Content-Security-Policy: default-src 'none'; frame-ancestors 'none' -Content-Type: application/json -Date: Fri, 27 Mar 2020 11:11:48 GMT -Server: scaleway_api -Strict-Transport-Security: max-age=63072000 -X-Content-Type-Options: nosniff -X-Frame-Options: DENY -X-Request-Id: 54f708fc-e1e9-41b5-8794-34a7e7d92f8e - -{"total_count":7,"offers":[{"id":"3ab0dc29-2fd4-486e-88bf-d08fbf49214b","name":"HC-BM1-L","stock":"available","bandwidth":1000,"commercial_range":"high_cpu","price_by_minute":{"currency_code":"EUR","units":1,"nanos":499900000},"price_by_month":{"currency_code":"EUR","units":749,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"Intel Xeon Gold 5120","cores":28,"threads":56,"frequency":2200},{"name":"Intel Xeon Gold 5120","cores":28,"threads":56,"frequency":2200}],"memory":[{"capacity":384,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":1,"nanos":499900000},"price_per_month":{"currency_code":"EUR","units":749,"nanos":990000000}},{"id":"5363865f-2266-40f9-a43f-4f3aba251524","name":"HM-BM1-XL","stock":"empty","bandwidth":1000,"commercial_range":"high_memory","price_by_minute":{"currency_code":"EUR","units":2,"nanos":599900000},"price_by_month":{"currency_code":"EUR","units":1299,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"Intel Xeon Gold 6140","cores":36,"threads":72,"frequency":2300},{"name":"Intel Xeon Gold 6140","cores":36,"threads":72,"frequency":2300}],"memory":[{"capacity":768,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":2,"nanos":599900000},"price_per_month":{"currency_code":"EUR","units":1299,"nanos":990000000}},{"id":"737f18c8-febc-4408-b69e-776bca0a3f48","name":"HC-BM1-S","stock":"available","bandwidth":1000,"commercial_range":"high_cpu","price_by_minute":{"currency_code":"EUR","units":0,"nanos":659900000},"price_by_month":{"currency_code":"EUR","units":329,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"Intel Xeon Silver 4114","cores":10,"threads":20,"frequency":2200},{"name":"Intel Xeon Silver 4114","cores":10,"threads":20,"frequency":2200}],"memory":[{"capacity":128,"type":"DDR4","frequency":2400,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":659900000},"price_per_month":{"currency_code":"EUR","units":329,"nanos":990000000}},{"id":"7fde3890-9787-488c-ac89-c4e00a4e5f83","name":"GP-BM1-S","stock":"available","bandwidth":500,"commercial_range":"general_purpose","price_by_minute":{"currency_code":"EUR","units":0,"nanos":240000000},"price_by_month":{"currency_code":"EUR","units":119,"nanos":990000000},"disk":[{"capacity":250,"type":"SSD"},{"capacity":250,"type":"SSD"}],"enable":true,"cpu":[{"name":"Intel Xeon E3 1240v6","cores":4,"threads":8,"frequency":3700}],"memory":[{"capacity":32,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_gp","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":240000000},"price_per_month":{"currency_code":"EUR","units":119,"nanos":990000000}},{"id":"8090d302-3545-4905-9cf3-bcb77a299f47","name":"GP-BM1-L","stock":"empty","bandwidth":750,"commercial_range":"general_purpose","price_by_minute":{"currency_code":"EUR","units":0,"nanos":499900000},"price_by_month":{"currency_code":"EUR","units":249,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"AMD EPYC 7281","cores":16,"threads":32,"frequency":2100}],"memory":[{"capacity":96,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_gp","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":499900000},"price_per_month":{"currency_code":"EUR","units":249,"nanos":990000000}},{"id":"964f9b38-577e-470f-a220-7d762f9e8672","name":"GP-BM1-M","stock":"available","bandwidth":500,"commercial_range":"general_purpose","price_by_minute":{"currency_code":"EUR","units":0,"nanos":399900000},"price_by_month":{"currency_code":"EUR","units":199,"nanos":990000000},"disk":[{"capacity":1024,"type":"SSD"},{"capacity":1024,"type":"SSD"},{"capacity":1024,"type":"SSD"}],"enable":true,"cpu":[{"name":"Intel Xeon E3 1240v6","cores":4,"threads":8,"frequency":3700}],"memory":[{"capacity":64,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_gp","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":399900000},"price_per_month":{"currency_code":"EUR","units":199,"nanos":990000000}},{"id":"c452f76a-2cda-4a1b-9658-a16952dc5ff0","name":"HM-BM1-M","stock":"available","bandwidth":1000,"commercial_range":"high_memory","price_by_minute":{"currency_code":"EUR","units":0,"nanos":799900000},"price_by_month":{"currency_code":"EUR","units":399,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"AMD EPYC 7401P","cores":24,"threads":48,"frequency":2000}],"memory":[{"capacity":256,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":799900000},"price_per_month":{"currency_code":"EUR","units":399,"nanos":990000000}}]} ----------------------------------------------------------- -DEBUG: 2019/12/09 16:04:07 creating POST request on https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers -DEBUG: 2019/12/09 16:04:07 ---------------- Scaleway SDK REQUEST 4 : --------------- -POST /baremetal/v1alpha1/zones/fr-par-2/servers HTTP/1.1 -Host: api.scaleway.com -User-Agent: scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test -Content-Length: 177 -Content-Type: application/json -X-Auth-Token: 148499e0-xxxx-xxxx-xxxx-xxxxxxxxxxxx -Accept-Encoding: gzip - -{"offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-busy-gagarin","description":"","tags":["prod","blue"]} ---------------------------------------------------------- -DEBUG: 2019/12/09 16:04:07 ---------------- Scaleway SDK RESPONSE 3 : --------------- -HTTP/1.0 200 OK -Connection: close -Content-Length: 5359 -Content-Security-Policy: default-src 'none'; frame-ancestors 'none' -Content-Type: application/json -Date: Fri, 27 Mar 2020 11:11:48 GMT -Server: scaleway_api -Strict-Transport-Security: max-age=63072000 -X-Content-Type-Options: nosniff -X-Frame-Options: DENY -X-Request-Id: 1392b52c-09e8-4ff9-8c6d-508aa1ef7ac8 - -{"total_count":7,"offers":[{"id":"3ab0dc29-2fd4-486e-88bf-d08fbf49214b","name":"HC-BM1-L","stock":"available","bandwidth":1000,"commercial_range":"high_cpu","price_by_minute":{"currency_code":"EUR","units":1,"nanos":499900000},"price_by_month":{"currency_code":"EUR","units":749,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"Intel Xeon Gold 5120","cores":28,"threads":56,"frequency":2200},{"name":"Intel Xeon Gold 5120","cores":28,"threads":56,"frequency":2200}],"memory":[{"capacity":384,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":1,"nanos":499900000},"price_per_month":{"currency_code":"EUR","units":749,"nanos":990000000}},{"id":"5363865f-2266-40f9-a43f-4f3aba251524","name":"HM-BM1-XL","stock":"empty","bandwidth":1000,"commercial_range":"high_memory","price_by_minute":{"currency_code":"EUR","units":2,"nanos":599900000},"price_by_month":{"currency_code":"EUR","units":1299,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"Intel Xeon Gold 6140","cores":36,"threads":72,"frequency":2300},{"name":"Intel Xeon Gold 6140","cores":36,"threads":72,"frequency":2300}],"memory":[{"capacity":768,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":2,"nanos":599900000},"price_per_month":{"currency_code":"EUR","units":1299,"nanos":990000000}},{"id":"737f18c8-febc-4408-b69e-776bca0a3f48","name":"HC-BM1-S","stock":"available","bandwidth":1000,"commercial_range":"high_cpu","price_by_minute":{"currency_code":"EUR","units":0,"nanos":659900000},"price_by_month":{"currency_code":"EUR","units":329,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"Intel Xeon Silver 4114","cores":10,"threads":20,"frequency":2200},{"name":"Intel Xeon Silver 4114","cores":10,"threads":20,"frequency":2200}],"memory":[{"capacity":128,"type":"DDR4","frequency":2400,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":659900000},"price_per_month":{"currency_code":"EUR","units":329,"nanos":990000000}},{"id":"7fde3890-9787-488c-ac89-c4e00a4e5f83","name":"GP-BM1-S","stock":"available","bandwidth":500,"commercial_range":"general_purpose","price_by_minute":{"currency_code":"EUR","units":0,"nanos":240000000},"price_by_month":{"currency_code":"EUR","units":119,"nanos":990000000},"disk":[{"capacity":250,"type":"SSD"},{"capacity":250,"type":"SSD"}],"enable":true,"cpu":[{"name":"Intel Xeon E3 1240v6","cores":4,"threads":8,"frequency":3700}],"memory":[{"capacity":32,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_gp","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":240000000},"price_per_month":{"currency_code":"EUR","units":119,"nanos":990000000}},{"id":"8090d302-3545-4905-9cf3-bcb77a299f47","name":"GP-BM1-L","stock":"empty","bandwidth":750,"commercial_range":"general_purpose","price_by_minute":{"currency_code":"EUR","units":0,"nanos":499900000},"price_by_month":{"currency_code":"EUR","units":249,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"AMD EPYC 7281","cores":16,"threads":32,"frequency":2100}],"memory":[{"capacity":96,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_gp","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":499900000},"price_per_month":{"currency_code":"EUR","units":249,"nanos":990000000}},{"id":"964f9b38-577e-470f-a220-7d762f9e8672","name":"GP-BM1-M","stock":"available","bandwidth":500,"commercial_range":"general_purpose","price_by_minute":{"currency_code":"EUR","units":0,"nanos":399900000},"price_by_month":{"currency_code":"EUR","units":199,"nanos":990000000},"disk":[{"capacity":1024,"type":"SSD"},{"capacity":1024,"type":"SSD"},{"capacity":1024,"type":"SSD"}],"enable":true,"cpu":[{"name":"Intel Xeon E3 1240v6","cores":4,"threads":8,"frequency":3700}],"memory":[{"capacity":64,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_gp","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":399900000},"price_per_month":{"currency_code":"EUR","units":199,"nanos":990000000}},{"id":"c452f76a-2cda-4a1b-9658-a16952dc5ff0","name":"HM-BM1-M","stock":"available","bandwidth":1000,"commercial_range":"high_memory","price_by_minute":{"currency_code":"EUR","units":0,"nanos":799900000},"price_by_month":{"currency_code":"EUR","units":399,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"AMD EPYC 7401P","cores":24,"threads":48,"frequency":2000}],"memory":[{"capacity":256,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":799900000},"price_per_month":{"currency_code":"EUR","units":399,"nanos":990000000}}]} ----------------------------------------------------------- -DEBUG: 2019/12/09 16:04:07 creating POST request on https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers -DEBUG: 2019/12/09 16:04:07 ---------------- Scaleway SDK REQUEST 5 : --------------- -POST /baremetal/v1alpha1/zones/fr-par-2/servers HTTP/1.1 -Host: api.scaleway.com -User-Agent: scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test -Content-Length: 175 -Content-Type: application/json -X-Auth-Token: 148499e0-xxxx-xxxx-xxxx-xxxxxxxxxxxx -Accept-Encoding: gzip - -{"offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","tags":null} ---------------------------------------------------------- -DEBUG: 2019/12/09 16:04:07 ---------------- Scaleway SDK RESPONSE 1 : --------------- -HTTP/1.0 200 OK -Connection: close -Content-Length: 5359 -Content-Security-Policy: default-src 'none'; frame-ancestors 'none' -Content-Type: application/json -Date: Fri, 27 Mar 2020 11:11:48 GMT -Server: scaleway_api -Strict-Transport-Security: max-age=63072000 -X-Content-Type-Options: nosniff -X-Frame-Options: DENY -X-Request-Id: 992675ec-7f65-4442-b87c-938bf162c535 - -{"total_count":7,"offers":[{"id":"3ab0dc29-2fd4-486e-88bf-d08fbf49214b","name":"HC-BM1-L","stock":"available","bandwidth":1000,"commercial_range":"high_cpu","price_by_minute":{"currency_code":"EUR","units":1,"nanos":499900000},"price_by_month":{"currency_code":"EUR","units":749,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"Intel Xeon Gold 5120","cores":28,"threads":56,"frequency":2200},{"name":"Intel Xeon Gold 5120","cores":28,"threads":56,"frequency":2200}],"memory":[{"capacity":384,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":1,"nanos":499900000},"price_per_month":{"currency_code":"EUR","units":749,"nanos":990000000}},{"id":"5363865f-2266-40f9-a43f-4f3aba251524","name":"HM-BM1-XL","stock":"empty","bandwidth":1000,"commercial_range":"high_memory","price_by_minute":{"currency_code":"EUR","units":2,"nanos":599900000},"price_by_month":{"currency_code":"EUR","units":1299,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"Intel Xeon Gold 6140","cores":36,"threads":72,"frequency":2300},{"name":"Intel Xeon Gold 6140","cores":36,"threads":72,"frequency":2300}],"memory":[{"capacity":768,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":2,"nanos":599900000},"price_per_month":{"currency_code":"EUR","units":1299,"nanos":990000000}},{"id":"737f18c8-febc-4408-b69e-776bca0a3f48","name":"HC-BM1-S","stock":"available","bandwidth":1000,"commercial_range":"high_cpu","price_by_minute":{"currency_code":"EUR","units":0,"nanos":659900000},"price_by_month":{"currency_code":"EUR","units":329,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"Intel Xeon Silver 4114","cores":10,"threads":20,"frequency":2200},{"name":"Intel Xeon Silver 4114","cores":10,"threads":20,"frequency":2200}],"memory":[{"capacity":128,"type":"DDR4","frequency":2400,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":659900000},"price_per_month":{"currency_code":"EUR","units":329,"nanos":990000000}},{"id":"7fde3890-9787-488c-ac89-c4e00a4e5f83","name":"GP-BM1-S","stock":"available","bandwidth":500,"commercial_range":"general_purpose","price_by_minute":{"currency_code":"EUR","units":0,"nanos":240000000},"price_by_month":{"currency_code":"EUR","units":119,"nanos":990000000},"disk":[{"capacity":250,"type":"SSD"},{"capacity":250,"type":"SSD"}],"enable":true,"cpu":[{"name":"Intel Xeon E3 1240v6","cores":4,"threads":8,"frequency":3700}],"memory":[{"capacity":32,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_gp","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":240000000},"price_per_month":{"currency_code":"EUR","units":119,"nanos":990000000}},{"id":"8090d302-3545-4905-9cf3-bcb77a299f47","name":"GP-BM1-L","stock":"empty","bandwidth":750,"commercial_range":"general_purpose","price_by_minute":{"currency_code":"EUR","units":0,"nanos":499900000},"price_by_month":{"currency_code":"EUR","units":249,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"AMD EPYC 7281","cores":16,"threads":32,"frequency":2100}],"memory":[{"capacity":96,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_gp","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":499900000},"price_per_month":{"currency_code":"EUR","units":249,"nanos":990000000}},{"id":"964f9b38-577e-470f-a220-7d762f9e8672","name":"GP-BM1-M","stock":"available","bandwidth":500,"commercial_range":"general_purpose","price_by_minute":{"currency_code":"EUR","units":0,"nanos":399900000},"price_by_month":{"currency_code":"EUR","units":199,"nanos":990000000},"disk":[{"capacity":1024,"type":"SSD"},{"capacity":1024,"type":"SSD"},{"capacity":1024,"type":"SSD"}],"enable":true,"cpu":[{"name":"Intel Xeon E3 1240v6","cores":4,"threads":8,"frequency":3700}],"memory":[{"capacity":64,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_gp","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":399900000},"price_per_month":{"currency_code":"EUR","units":199,"nanos":990000000}},{"id":"c452f76a-2cda-4a1b-9658-a16952dc5ff0","name":"HM-BM1-M","stock":"available","bandwidth":1000,"commercial_range":"high_memory","price_by_minute":{"currency_code":"EUR","units":0,"nanos":799900000},"price_by_month":{"currency_code":"EUR","units":399,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"AMD EPYC 7401P","cores":24,"threads":48,"frequency":2000}],"memory":[{"capacity":256,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":0,"nanos":799900000},"price_per_month":{"currency_code":"EUR","units":399,"nanos":990000000}}]} ----------------------------------------------------------- -DEBUG: 2019/12/09 16:04:07 creating POST request on https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers -DEBUG: 2019/12/09 16:04:07 ---------------- Scaleway SDK REQUEST 6 : --------------- -POST /baremetal/v1alpha1/zones/fr-par-2/servers HTTP/1.1 -Host: api.scaleway.com -User-Agent: scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test -Content-Length: 165 -Content-Type: application/json -X-Auth-Token: 148499e0-xxxx-xxxx-xxxx-xxxxxxxxxxxx -Accept-Encoding: gzip - -{"offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-angry-mayer","description":"","tags":null} ---------------------------------------------------------- -DEBUG: 2019/12/09 16:04:07 ---------------- Scaleway SDK RESPONSE 4 : --------------- -HTTP/1.0 200 OK -Connection: close -Content-Length: 411 -Content-Security-Policy: default-src 'none'; frame-ancestors 'none' -Content-Type: application/json -Date: Fri, 27 Mar 2020 11:11:48 GMT -Server: scaleway_api -Strict-Transport-Security: max-age=63072000 -X-Content-Type-Options: nosniff -X-Frame-Options: DENY -X-Request-Id: f32c8cd5-65e9-416f-9e01-ac79792f4fd6 - -{"id":"8313300d-e1c0-474e-809e-96cfefe98661","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-busy-gagarin","description":"","updated_at":"2020-03-27T11:11:48.292332709Z","created_at":"2020-03-27T11:11:48.292332709Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"} ----------------------------------------------------------- -DEBUG: 2019/12/09 16:04:07 marshalling type '*baremetal.Server' -DEBUG: 2019/12/09 16:04:07 marshalling type 'baremetal.Server' -DEBUG: 2019/12/09 16:04:07 skipping check version -DEBUG: 2019/12/09 16:04:07 skipping telemetry report -DEBUG: 2019/12/09 16:04:07 creating GET request on https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/8313300d-e1c0-474e-809e-96cfefe98661 -DEBUG: 2019/12/09 16:04:07 ---------------- Scaleway SDK REQUEST 7 : --------------- -GET /baremetal/v1alpha1/zones/fr-par-2/servers/8313300d-e1c0-474e-809e-96cfefe98661 HTTP/1.1 -Host: api.scaleway.com -User-Agent: scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test -X-Auth-Token: 148499e0-xxxx-xxxx-xxxx-xxxxxxxxxxxx -Accept-Encoding: gzip - - ---------------------------------------------------------- -DEBUG: 2019/12/09 16:04:07 ---------------- Scaleway SDK RESPONSE 5 : --------------- -HTTP/1.0 200 OK -Connection: close -Content-Length: 407 -Content-Security-Policy: default-src 'none'; frame-ancestors 'none' -Content-Type: application/json -Date: Fri, 27 Mar 2020 11:11:48 GMT -Server: scaleway_api -Strict-Transport-Security: max-age=63072000 -X-Content-Type-Options: nosniff -X-Frame-Options: DENY -X-Request-Id: 73407987-da5d-47e5-9c90-bf5a641c6fa1 - -{"id":"b338fa9d-f66a-469e-86fc-3240b95816f0","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-27T11:11:48.304525676Z","created_at":"2020-03-27T11:11:48.304525676Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"} ----------------------------------------------------------- -DEBUG: 2019/12/09 16:04:07 marshalling type '*baremetal.Server' -DEBUG: 2019/12/09 16:04:07 marshalling type 'baremetal.Server' -DEBUG: 2019/12/09 16:04:07 skipping check version -DEBUG: 2019/12/09 16:04:07 skipping telemetry report -DEBUG: 2019/12/09 16:04:07 creating GET request on https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/b338fa9d-f66a-469e-86fc-3240b95816f0 -DEBUG: 2019/12/09 16:04:07 ---------------- Scaleway SDK REQUEST 8 : --------------- -GET /baremetal/v1alpha1/zones/fr-par-2/servers/b338fa9d-f66a-469e-86fc-3240b95816f0 HTTP/1.1 -Host: api.scaleway.com -User-Agent: scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test -X-Auth-Token: 148499e0-xxxx-xxxx-xxxx-xxxxxxxxxxxx -Accept-Encoding: gzip - - ---------------------------------------------------------- -DEBUG: 2019/12/09 16:04:07 ---------------- Scaleway SDK RESPONSE 7 : --------------- -HTTP/1.0 200 OK -Connection: close -Content-Length: 405 -Content-Security-Policy: default-src 'none'; frame-ancestors 'none' -Content-Type: application/json -Date: Fri, 27 Mar 2020 11:11:48 GMT -Server: scaleway_api -Strict-Transport-Security: max-age=63072000 -X-Content-Type-Options: nosniff -X-Frame-Options: DENY -X-Request-Id: 2c6ed009-a072-4cfa-9ddc-36e1d01d299b - -{"id":"8313300d-e1c0-474e-809e-96cfefe98661","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-busy-gagarin","description":"","updated_at":"2020-03-27T11:11:48.292333Z","created_at":"2020-03-27T11:11:48.292333Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"} ----------------------------------------------------------- -DEBUG: 2019/12/09 16:04:07 ---------------- Scaleway SDK RESPONSE 8 : --------------- -HTTP/1.0 200 OK -Connection: close -Content-Length: 401 -Content-Security-Policy: default-src 'none'; frame-ancestors 'none' -Content-Type: application/json -Date: Fri, 27 Mar 2020 11:11:48 GMT -Server: scaleway_api -Strict-Transport-Security: max-age=63072000 -X-Content-Type-Options: nosniff -X-Frame-Options: DENY -X-Request-Id: f4d6fbb2-cea8-4895-abdf-d51e99b3c652 - -{"id":"b338fa9d-f66a-469e-86fc-3240b95816f0","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-27T11:11:48.304526Z","created_at":"2020-03-27T11:11:48.304526Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"} ----------------------------------------------------------- -DEBUG: 2019/12/09 16:04:07 ---------------- Scaleway SDK RESPONSE 6 : --------------- -HTTP/1.0 200 OK -Connection: close -Content-Length: 397 -Content-Security-Policy: default-src 'none'; frame-ancestors 'none' -Content-Type: application/json -Date: Fri, 27 Mar 2020 11:11:48 GMT -Server: scaleway_api -Strict-Transport-Security: max-age=63072000 -X-Content-Type-Options: nosniff -X-Frame-Options: DENY -X-Request-Id: 94062a9d-381b-42d6-9d03-ec223c218f51 - -{"id":"c342a860-a71c-4b92-b625-86eb2d83d64f","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-angry-mayer","description":"","updated_at":"2020-03-27T11:11:48.339252838Z","created_at":"2020-03-27T11:11:48.339252838Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"} ----------------------------------------------------------- -DEBUG: 2019/12/09 16:04:07 marshalling type '*baremetal.Server' -DEBUG: 2019/12/09 16:04:07 marshalling type 'baremetal.Server' -DEBUG: 2019/12/09 16:04:07 skipping check version -DEBUG: 2019/12/09 16:04:07 skipping telemetry report diff --git a/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.stdout.golden b/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.stdout.golden index f541e2f96a..a4e2f71f4a 100644 --- a/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.stdout.golden +++ b/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.stdout.golden @@ -1,6 +1,6 @@ -id c342a860-a71c-4b92-b625-86eb2d83d64f +id f1303c26-297c-490d-86fe-06af7d7c7a50 organization-id 951df375-e094-4d26-97c1-ba548eeb9c42 -name cli-bm-angry-mayer +name cli-bm-suspicious-perlman description - updated-at few seconds ago created-at few seconds ago diff --git a/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-tags.cassette.yaml b/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-tags.cassette.yaml index 346255013b..a27ba3752f 100644 --- a/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-tags.cassette.yaml +++ b/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-tags.cassette.yaml @@ -27,7 +27,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 27 Mar 2020 11:11:48 GMT + - Fri, 27 Mar 2020 12:57:34 GMT Server: - scaleway_api Strict-Transport-Security: @@ -37,12 +37,12 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 54f708fc-e1e9-41b5-8794-34a7e7d92f8e + - 12bbe3c4-98b6-4ac1-9456-d3f462c14f0b status: 200 OK code: 200 duration: "" - request: - body: '{"offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-busy-gagarin","description":"","tags":["prod","blue"]}' + body: '{"offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-magical-northcutt","description":"","tags":["prod","blue"]}' form: {} headers: Content-Type: @@ -52,16 +52,16 @@ interactions: url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers method: POST response: - body: '{"id":"8313300d-e1c0-474e-809e-96cfefe98661","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-busy-gagarin","description":"","updated_at":"2020-03-27T11:11:48.292332709Z","created_at":"2020-03-27T11:11:48.292332709Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"a72e6f1b-0cdc-449b-ae93-a91547d5dae4","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-magical-northcutt","description":"","updated_at":"2020-03-27T12:57:34.486858025Z","created_at":"2020-03-27T12:57:34.486858025Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "411" + - "416" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Fri, 27 Mar 2020 11:11:48 GMT + - Fri, 27 Mar 2020 12:57:34 GMT Server: - scaleway_api Strict-Transport-Security: @@ -71,7 +71,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - f32c8cd5-65e9-416f-9e01-ac79792f4fd6 + - e3918df9-62e0-4df3-a650-79eea00bfa1f status: 200 OK code: 200 duration: "" @@ -81,19 +81,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/8313300d-e1c0-474e-809e-96cfefe98661 + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a72e6f1b-0cdc-449b-ae93-a91547d5dae4 method: GET response: - body: '{"id":"8313300d-e1c0-474e-809e-96cfefe98661","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-busy-gagarin","description":"","updated_at":"2020-03-27T11:11:48.292333Z","created_at":"2020-03-27T11:11:48.292333Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"a72e6f1b-0cdc-449b-ae93-a91547d5dae4","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-magical-northcutt","description":"","updated_at":"2020-03-27T12:57:34.486858Z","created_at":"2020-03-27T12:57:34.486858Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "405" + - "410" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Fri, 27 Mar 2020 11:11:48 GMT + - Fri, 27 Mar 2020 12:57:34 GMT Server: - scaleway_api Strict-Transport-Security: @@ -103,7 +103,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 2c6ed009-a072-4cfa-9ddc-36e1d01d299b + - 275de2eb-90cf-4f47-b065-d8c47a4798a4 status: 200 OK code: 200 duration: "" @@ -113,19 +113,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/8313300d-e1c0-474e-809e-96cfefe98661 + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a72e6f1b-0cdc-449b-ae93-a91547d5dae4 method: GET response: - body: '{"id":"8313300d-e1c0-474e-809e-96cfefe98661","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-busy-gagarin","description":"","updated_at":"2020-03-27T11:11:48.834853Z","created_at":"2020-03-27T11:11:48.292333Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"a72e6f1b-0cdc-449b-ae93-a91547d5dae4","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-magical-northcutt","description":"","updated_at":"2020-03-27T12:57:34.486858Z","created_at":"2020-03-27T12:57:34.486858Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "405" + - "410" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Fri, 27 Mar 2020 11:12:03 GMT + - Fri, 27 Mar 2020 12:57:49 GMT Server: - scaleway_api Strict-Transport-Security: @@ -135,7 +135,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 3f464b9f-78f5-47d9-b82e-6735e9d6cee1 + - e84dbd17-9930-4798-a8ef-e54cfc12a706 status: 200 OK code: 200 duration: "" @@ -145,19 +145,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/8313300d-e1c0-474e-809e-96cfefe98661 + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a72e6f1b-0cdc-449b-ae93-a91547d5dae4 method: GET response: - body: '{"id":"8313300d-e1c0-474e-809e-96cfefe98661","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-busy-gagarin","description":"","updated_at":"2020-03-27T11:11:48.834853Z","created_at":"2020-03-27T11:11:48.292333Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"a72e6f1b-0cdc-449b-ae93-a91547d5dae4","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-magical-northcutt","description":"","updated_at":"2020-03-27T12:57:55.775509Z","created_at":"2020-03-27T12:57:34.486858Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "405" + - "410" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Fri, 27 Mar 2020 11:12:18 GMT + - Fri, 27 Mar 2020 12:58:04 GMT Server: - scaleway_api Strict-Transport-Security: @@ -167,7 +167,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 17a3e736-6205-4947-8467-8df1b641891e + - 4d93f889-5eb7-4ebc-a593-cc1776815431 status: 200 OK code: 200 duration: "" @@ -177,19 +177,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/8313300d-e1c0-474e-809e-96cfefe98661 + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a72e6f1b-0cdc-449b-ae93-a91547d5dae4 method: GET response: - body: '{"id":"8313300d-e1c0-474e-809e-96cfefe98661","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-busy-gagarin","description":"","updated_at":"2020-03-27T11:11:48.834853Z","created_at":"2020-03-27T11:11:48.292333Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"a72e6f1b-0cdc-449b-ae93-a91547d5dae4","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-magical-northcutt","description":"","updated_at":"2020-03-27T12:57:55.775509Z","created_at":"2020-03-27T12:57:34.486858Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "405" + - "410" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Fri, 27 Mar 2020 11:12:33 GMT + - Fri, 27 Mar 2020 12:58:19 GMT Server: - scaleway_api Strict-Transport-Security: @@ -199,7 +199,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 6550e3f9-8af9-4eb1-9b2d-2256120e04d3 + - 83e003a6-629a-4168-8917-2b53e5aa93db status: 200 OK code: 200 duration: "" @@ -209,19 +209,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/8313300d-e1c0-474e-809e-96cfefe98661 + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a72e6f1b-0cdc-449b-ae93-a91547d5dae4 method: GET response: - body: '{"id":"8313300d-e1c0-474e-809e-96cfefe98661","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-busy-gagarin","description":"","updated_at":"2020-03-27T11:11:48.834853Z","created_at":"2020-03-27T11:11:48.292333Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"a72e6f1b-0cdc-449b-ae93-a91547d5dae4","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-magical-northcutt","description":"","updated_at":"2020-03-27T12:57:55.775509Z","created_at":"2020-03-27T12:57:34.486858Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "405" + - "410" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Fri, 27 Mar 2020 11:12:48 GMT + - Fri, 27 Mar 2020 12:58:34 GMT Server: - scaleway_api Strict-Transport-Security: @@ -231,7 +231,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 25dccdca-f605-46d6-8d41-9dcf92ecfcdf + - 8f493216-b7a7-46c4-b88c-6f021bbfb44c status: 200 OK code: 200 duration: "" @@ -241,19 +241,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/8313300d-e1c0-474e-809e-96cfefe98661 + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a72e6f1b-0cdc-449b-ae93-a91547d5dae4 method: GET response: - body: '{"id":"8313300d-e1c0-474e-809e-96cfefe98661","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-busy-gagarin","description":"","updated_at":"2020-03-27T11:11:48.834853Z","created_at":"2020-03-27T11:11:48.292333Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"a72e6f1b-0cdc-449b-ae93-a91547d5dae4","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-magical-northcutt","description":"","updated_at":"2020-03-27T12:57:55.775509Z","created_at":"2020-03-27T12:57:34.486858Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "405" + - "410" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Fri, 27 Mar 2020 11:13:03 GMT + - Fri, 27 Mar 2020 12:58:49 GMT Server: - scaleway_api Strict-Transport-Security: @@ -263,7 +263,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - a65e020c-ac69-4c33-a129-6ceb54d878c9 + - 438990e9-61e4-49ef-935c-52f8a3d51d13 status: 200 OK code: 200 duration: "" @@ -273,19 +273,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/8313300d-e1c0-474e-809e-96cfefe98661 + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a72e6f1b-0cdc-449b-ae93-a91547d5dae4 method: GET response: - body: '{"id":"8313300d-e1c0-474e-809e-96cfefe98661","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-busy-gagarin","description":"","updated_at":"2020-03-27T11:11:48.834853Z","created_at":"2020-03-27T11:11:48.292333Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"a72e6f1b-0cdc-449b-ae93-a91547d5dae4","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-magical-northcutt","description":"","updated_at":"2020-03-27T12:57:55.775509Z","created_at":"2020-03-27T12:57:34.486858Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "405" + - "410" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Fri, 27 Mar 2020 11:13:18 GMT + - Fri, 27 Mar 2020 12:59:04 GMT Server: - scaleway_api Strict-Transport-Security: @@ -295,7 +295,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - cbbeabb8-a49c-455d-9d5f-3c213fe661ad + - 4dd49e90-6bc1-45ff-a6d5-34058b27f0b4 status: 200 OK code: 200 duration: "" @@ -305,19 +305,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/8313300d-e1c0-474e-809e-96cfefe98661 + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a72e6f1b-0cdc-449b-ae93-a91547d5dae4 method: GET response: - body: '{"id":"8313300d-e1c0-474e-809e-96cfefe98661","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-busy-gagarin","description":"","updated_at":"2020-03-27T11:11:48.834853Z","created_at":"2020-03-27T11:11:48.292333Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"a72e6f1b-0cdc-449b-ae93-a91547d5dae4","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-magical-northcutt","description":"","updated_at":"2020-03-27T12:57:55.775509Z","created_at":"2020-03-27T12:57:34.486858Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "405" + - "410" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Fri, 27 Mar 2020 11:13:33 GMT + - Fri, 27 Mar 2020 12:59:19 GMT Server: - scaleway_api Strict-Transport-Security: @@ -327,7 +327,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 2e97a4a4-7110-495d-82a3-a6665ba104b7 + - cfae2b29-baa1-4b4f-9243-1389295b12fa status: 200 OK code: 200 duration: "" @@ -337,19 +337,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/8313300d-e1c0-474e-809e-96cfefe98661 + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a72e6f1b-0cdc-449b-ae93-a91547d5dae4 method: GET response: - body: '{"id":"8313300d-e1c0-474e-809e-96cfefe98661","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-busy-gagarin","description":"","updated_at":"2020-03-27T11:11:48.834853Z","created_at":"2020-03-27T11:11:48.292333Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"a72e6f1b-0cdc-449b-ae93-a91547d5dae4","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-magical-northcutt","description":"","updated_at":"2020-03-27T12:57:55.775509Z","created_at":"2020-03-27T12:57:34.486858Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "405" + - "410" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Fri, 27 Mar 2020 11:13:48 GMT + - Fri, 27 Mar 2020 12:59:34 GMT Server: - scaleway_api Strict-Transport-Security: @@ -359,7 +359,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 76a81f99-c8d9-45f7-9f77-a06313416cbc + - 0959339a-f973-4900-b5b2-b8a21577d63a status: 200 OK code: 200 duration: "" @@ -369,19 +369,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/8313300d-e1c0-474e-809e-96cfefe98661 + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a72e6f1b-0cdc-449b-ae93-a91547d5dae4 method: GET response: - body: '{"id":"8313300d-e1c0-474e-809e-96cfefe98661","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-busy-gagarin","description":"","updated_at":"2020-03-27T11:11:48.834853Z","created_at":"2020-03-27T11:11:48.292333Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"a72e6f1b-0cdc-449b-ae93-a91547d5dae4","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-magical-northcutt","description":"","updated_at":"2020-03-27T12:57:55.775509Z","created_at":"2020-03-27T12:57:34.486858Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "405" + - "410" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Fri, 27 Mar 2020 11:14:03 GMT + - Fri, 27 Mar 2020 12:59:49 GMT Server: - scaleway_api Strict-Transport-Security: @@ -391,7 +391,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 8a978794-d55d-4b72-a7fd-1eb81f12acf6 + - d49a44d6-24db-4d33-80d4-5835d0b7ceeb status: 200 OK code: 200 duration: "" @@ -401,19 +401,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/8313300d-e1c0-474e-809e-96cfefe98661 + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a72e6f1b-0cdc-449b-ae93-a91547d5dae4 method: GET response: - body: '{"id":"8313300d-e1c0-474e-809e-96cfefe98661","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-busy-gagarin","description":"","updated_at":"2020-03-27T11:11:48.834853Z","created_at":"2020-03-27T11:11:48.292333Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"a72e6f1b-0cdc-449b-ae93-a91547d5dae4","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-magical-northcutt","description":"","updated_at":"2020-03-27T12:57:55.775509Z","created_at":"2020-03-27T12:57:34.486858Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "405" + - "410" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Fri, 27 Mar 2020 11:14:18 GMT + - Fri, 27 Mar 2020 13:00:04 GMT Server: - scaleway_api Strict-Transport-Security: @@ -423,7 +423,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 2d68639c-5b4b-4478-8f3f-d80a0f5e0076 + - 126e9246-979f-4404-ad74-1c7b5fa77762 status: 200 OK code: 200 duration: "" @@ -433,19 +433,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/8313300d-e1c0-474e-809e-96cfefe98661 + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a72e6f1b-0cdc-449b-ae93-a91547d5dae4 method: GET response: - body: '{"id":"8313300d-e1c0-474e-809e-96cfefe98661","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-busy-gagarin","description":"","updated_at":"2020-03-27T11:11:48.834853Z","created_at":"2020-03-27T11:11:48.292333Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"a72e6f1b-0cdc-449b-ae93-a91547d5dae4","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-magical-northcutt","description":"","updated_at":"2020-03-27T13:00:18.086102Z","created_at":"2020-03-27T12:57:34.486858Z","status":"ready","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[{"id":"080c7d67-e056-4e45-afdd-02234fffacb3","address":"2001:0bc8:1200:0000:dac4:97ff:fe5b:74fd","reverse":"a72e6f1b-0cdc-449b-ae93-a91547d5dae4.fr-par-2.baremetal.scw.cloud","version":"Ipv6","reverse_status":"pending","reverse_status_message":null},{"id":"2779da21-6cab-4df2-99ad-419b5801193b","address":"51.159.56.167","reverse":"a72e6f1b-0cdc-449b-ae93-a91547d5dae4.fr-par-2.baremetal.scw.cloud","version":"Ipv4","reverse_status":"pending","reverse_status_message":null}],"domain":"a72e6f1b-0cdc-449b-ae93-a91547d5dae4.fr-par-2.baremetal.scw.cloud","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "405" + - "942" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Fri, 27 Mar 2020 11:14:33 GMT + - Fri, 27 Mar 2020 13:00:19 GMT Server: - scaleway_api Strict-Transport-Security: @@ -455,7 +455,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 96a9a38c-6492-492d-97fe-de65adc5e033 + - 4eec8060-20c4-430a-8325-bbb36f5ec798 status: 200 OK code: 200 duration: "" @@ -465,147 +465,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/8313300d-e1c0-474e-809e-96cfefe98661 - method: GET - response: - body: '{"id":"8313300d-e1c0-474e-809e-96cfefe98661","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-busy-gagarin","description":"","updated_at":"2020-03-27T11:11:48.834853Z","created_at":"2020-03-27T11:11:48.292333Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "405" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Fri, 27 Mar 2020 11:14:48 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 69922302-e075-4ec9-bcc9-b74a5cb74015 - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/8313300d-e1c0-474e-809e-96cfefe98661 - method: GET - response: - body: '{"id":"8313300d-e1c0-474e-809e-96cfefe98661","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-busy-gagarin","description":"","updated_at":"2020-03-27T11:11:48.834853Z","created_at":"2020-03-27T11:11:48.292333Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "405" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Fri, 27 Mar 2020 11:15:03 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 6dfa2511-425c-493b-bb63-ec5c0ae189cf - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/8313300d-e1c0-474e-809e-96cfefe98661 - method: GET - response: - body: '{"id":"8313300d-e1c0-474e-809e-96cfefe98661","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-busy-gagarin","description":"","updated_at":"2020-03-27T11:11:48.834853Z","created_at":"2020-03-27T11:11:48.292333Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "405" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Fri, 27 Mar 2020 11:15:18 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 8292c1ef-6103-47ca-b370-a433505f7f38 - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/8313300d-e1c0-474e-809e-96cfefe98661 - method: GET - response: - body: '{"id":"8313300d-e1c0-474e-809e-96cfefe98661","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-busy-gagarin","description":"","updated_at":"2020-03-27T11:15:30.930735Z","created_at":"2020-03-27T11:11:48.292333Z","status":"ready","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[{"id":"7a5b515a-809c-4f2a-a3b3-50fcddd8c91f","address":"51.159.56.173","reverse":"8313300d-e1c0-474e-809e-96cfefe98661.fr-par-2.baremetal.scw.cloud","version":"Ipv4","reverse_status":"pending","reverse_status_message":null},{"id":"eb71b3b0-1b40-491d-8995-3710f98290ef","address":"2001:0bc8:1200:0000:dac4:97ff:fe5b:73b1","reverse":"8313300d-e1c0-474e-809e-96cfefe98661.fr-par-2.baremetal.scw.cloud","version":"Ipv6","reverse_status":"pending","reverse_status_message":null}],"domain":"8313300d-e1c0-474e-809e-96cfefe98661.fr-par-2.baremetal.scw.cloud","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "937" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Fri, 27 Mar 2020 11:15:33 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 335fdcd6-e61d-43cf-90b5-b451379bc767 - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/8313300d-e1c0-474e-809e-96cfefe98661 + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/a72e6f1b-0cdc-449b-ae93-a91547d5dae4 method: DELETE response: - body: '{"id":"8313300d-e1c0-474e-809e-96cfefe98661","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-busy-gagarin","description":"","updated_at":"2020-03-27T11:15:34.038400Z","created_at":"2020-03-27T11:11:48.292333Z","status":"deleting","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[{"id":"7a5b515a-809c-4f2a-a3b3-50fcddd8c91f","address":"51.159.56.173","reverse":"8313300d-e1c0-474e-809e-96cfefe98661.fr-par-2.baremetal.scw.cloud","version":"Ipv4","reverse_status":"pending","reverse_status_message":null},{"id":"eb71b3b0-1b40-491d-8995-3710f98290ef","address":"2001:0bc8:1200:0000:dac4:97ff:fe5b:73b1","reverse":"8313300d-e1c0-474e-809e-96cfefe98661.fr-par-2.baremetal.scw.cloud","version":"Ipv6","reverse_status":"pending","reverse_status_message":null}],"domain":"8313300d-e1c0-474e-809e-96cfefe98661.fr-par-2.baremetal.scw.cloud","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"a72e6f1b-0cdc-449b-ae93-a91547d5dae4","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-magical-northcutt","description":"","updated_at":"2020-03-27T13:00:20.020104Z","created_at":"2020-03-27T12:57:34.486858Z","status":"deleting","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":["prod","blue"],"ips":[{"id":"080c7d67-e056-4e45-afdd-02234fffacb3","address":"2001:0bc8:1200:0000:dac4:97ff:fe5b:74fd","reverse":"a72e6f1b-0cdc-449b-ae93-a91547d5dae4.fr-par-2.baremetal.scw.cloud","version":"Ipv6","reverse_status":"pending","reverse_status_message":null},{"id":"2779da21-6cab-4df2-99ad-419b5801193b","address":"51.159.56.167","reverse":"a72e6f1b-0cdc-449b-ae93-a91547d5dae4.fr-par-2.baremetal.scw.cloud","version":"Ipv4","reverse_status":"pending","reverse_status_message":null}],"domain":"a72e6f1b-0cdc-449b-ae93-a91547d5dae4.fr-par-2.baremetal.scw.cloud","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "940" + - "945" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Fri, 27 Mar 2020 11:15:33 GMT + - Fri, 27 Mar 2020 13:00:19 GMT Server: - scaleway_api Strict-Transport-Security: @@ -615,7 +487,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 039fa8de-765f-4b7c-9101-8ed40eae175d + - 647e0d3d-014e-4755-9884-d254f67182b4 status: 200 OK code: 200 duration: "" diff --git a/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-with-name.cassette.yaml b/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-with-name.cassette.yaml index 687f17f11a..bd42269deb 100644 --- a/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-with-name.cassette.yaml +++ b/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-with-name.cassette.yaml @@ -27,7 +27,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 27 Mar 2020 11:11:48 GMT + - Fri, 27 Mar 2020 12:57:34 GMT Server: - scaleway_api Strict-Transport-Security: @@ -37,7 +37,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 1392b52c-09e8-4ff9-8c6d-508aa1ef7ac8 + - b20652b3-8d0c-4259-a548-66eeeb2372c6 status: 200 OK code: 200 duration: "" @@ -52,7 +52,7 @@ interactions: url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers method: POST response: - body: '{"id":"b338fa9d-f66a-469e-86fc-3240b95816f0","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-27T11:11:48.304525676Z","created_at":"2020-03-27T11:11:48.304525676Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"607d25ac-cc12-42d7-8e5a-3aec6b22430c","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-27T12:57:34.488976716Z","created_at":"2020-03-27T12:57:34.488976716Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - "407" @@ -61,7 +61,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 27 Mar 2020 11:11:48 GMT + - Fri, 27 Mar 2020 12:57:34 GMT Server: - scaleway_api Strict-Transport-Security: @@ -71,7 +71,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 73407987-da5d-47e5-9c90-bf5a641c6fa1 + - 734fddd4-af43-4f84-a663-b57b62f3c6c0 status: 200 OK code: 200 duration: "" @@ -81,10 +81,10 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/b338fa9d-f66a-469e-86fc-3240b95816f0 + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/607d25ac-cc12-42d7-8e5a-3aec6b22430c method: GET response: - body: '{"id":"b338fa9d-f66a-469e-86fc-3240b95816f0","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-27T11:11:48.304526Z","created_at":"2020-03-27T11:11:48.304526Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"607d25ac-cc12-42d7-8e5a-3aec6b22430c","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-27T12:57:34.488977Z","created_at":"2020-03-27T12:57:34.488977Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - "401" @@ -93,7 +93,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 27 Mar 2020 11:11:48 GMT + - Fri, 27 Mar 2020 12:57:34 GMT Server: - scaleway_api Strict-Transport-Security: @@ -103,7 +103,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - f4d6fbb2-cea8-4895-abdf-d51e99b3c652 + - da856a40-003d-42ad-988d-7f83de86e1ef status: 200 OK code: 200 duration: "" @@ -113,10 +113,10 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/b338fa9d-f66a-469e-86fc-3240b95816f0 + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/607d25ac-cc12-42d7-8e5a-3aec6b22430c method: GET response: - body: '{"id":"b338fa9d-f66a-469e-86fc-3240b95816f0","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-27T11:11:48.304526Z","created_at":"2020-03-27T11:11:48.304526Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"607d25ac-cc12-42d7-8e5a-3aec6b22430c","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-27T12:57:35.112580Z","created_at":"2020-03-27T12:57:34.488977Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - "401" @@ -125,7 +125,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 27 Mar 2020 11:12:03 GMT + - Fri, 27 Mar 2020 12:57:49 GMT Server: - scaleway_api Strict-Transport-Security: @@ -135,7 +135,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - df0b9ca2-b866-4c22-b9bc-317972089456 + - 50430251-59b6-4220-b84b-5ab6c4323931 status: 200 OK code: 200 duration: "" @@ -145,10 +145,10 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/b338fa9d-f66a-469e-86fc-3240b95816f0 + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/607d25ac-cc12-42d7-8e5a-3aec6b22430c method: GET response: - body: '{"id":"b338fa9d-f66a-469e-86fc-3240b95816f0","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-27T11:12:09.534321Z","created_at":"2020-03-27T11:11:48.304526Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"607d25ac-cc12-42d7-8e5a-3aec6b22430c","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-27T12:57:35.112580Z","created_at":"2020-03-27T12:57:34.488977Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - "401" @@ -157,7 +157,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 27 Mar 2020 11:12:18 GMT + - Fri, 27 Mar 2020 12:58:04 GMT Server: - scaleway_api Strict-Transport-Security: @@ -167,7 +167,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - fb55b74a-e564-4c2e-aa2b-d9a5becca9e6 + - 241aabe7-2386-4334-a702-54d06bb8a124 status: 200 OK code: 200 duration: "" @@ -177,10 +177,10 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/b338fa9d-f66a-469e-86fc-3240b95816f0 + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/607d25ac-cc12-42d7-8e5a-3aec6b22430c method: GET response: - body: '{"id":"b338fa9d-f66a-469e-86fc-3240b95816f0","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-27T11:12:09.534321Z","created_at":"2020-03-27T11:11:48.304526Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"607d25ac-cc12-42d7-8e5a-3aec6b22430c","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-27T12:57:35.112580Z","created_at":"2020-03-27T12:57:34.488977Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - "401" @@ -189,7 +189,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 27 Mar 2020 11:12:33 GMT + - Fri, 27 Mar 2020 12:58:19 GMT Server: - scaleway_api Strict-Transport-Security: @@ -199,7 +199,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - cfaa86f1-59ac-4a50-ad33-c13bb018d659 + - 42bfc160-4da3-4fde-8c18-4e7bd6a0ff78 status: 200 OK code: 200 duration: "" @@ -209,10 +209,10 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/b338fa9d-f66a-469e-86fc-3240b95816f0 + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/607d25ac-cc12-42d7-8e5a-3aec6b22430c method: GET response: - body: '{"id":"b338fa9d-f66a-469e-86fc-3240b95816f0","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-27T11:12:09.534321Z","created_at":"2020-03-27T11:11:48.304526Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"607d25ac-cc12-42d7-8e5a-3aec6b22430c","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-27T12:57:35.112580Z","created_at":"2020-03-27T12:57:34.488977Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - "401" @@ -221,7 +221,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 27 Mar 2020 11:12:48 GMT + - Fri, 27 Mar 2020 12:58:34 GMT Server: - scaleway_api Strict-Transport-Security: @@ -231,7 +231,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 1ba313d8-39bd-4553-a67c-aa25f9821e7b + - 3814ea6f-81a7-4f94-a2d1-5d86ddbadd09 status: 200 OK code: 200 duration: "" @@ -241,10 +241,10 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/b338fa9d-f66a-469e-86fc-3240b95816f0 + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/607d25ac-cc12-42d7-8e5a-3aec6b22430c method: GET response: - body: '{"id":"b338fa9d-f66a-469e-86fc-3240b95816f0","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-27T11:12:09.534321Z","created_at":"2020-03-27T11:11:48.304526Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"607d25ac-cc12-42d7-8e5a-3aec6b22430c","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-27T12:57:35.112580Z","created_at":"2020-03-27T12:57:34.488977Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - "401" @@ -253,7 +253,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 27 Mar 2020 11:13:03 GMT + - Fri, 27 Mar 2020 12:58:49 GMT Server: - scaleway_api Strict-Transport-Security: @@ -263,7 +263,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 4b174df9-d569-4b06-9109-e4e27935dbad + - 086dd3f8-ef64-426e-9649-b0db9dc499a6 status: 200 OK code: 200 duration: "" @@ -273,10 +273,10 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/b338fa9d-f66a-469e-86fc-3240b95816f0 + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/607d25ac-cc12-42d7-8e5a-3aec6b22430c method: GET response: - body: '{"id":"b338fa9d-f66a-469e-86fc-3240b95816f0","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-27T11:12:09.534321Z","created_at":"2020-03-27T11:11:48.304526Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"607d25ac-cc12-42d7-8e5a-3aec6b22430c","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-27T12:57:35.112580Z","created_at":"2020-03-27T12:57:34.488977Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - "401" @@ -285,7 +285,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 27 Mar 2020 11:13:18 GMT + - Fri, 27 Mar 2020 12:59:04 GMT Server: - scaleway_api Strict-Transport-Security: @@ -295,7 +295,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 4f8590f1-9efe-4f96-8131-adda6baf43ac + - 76c71650-2b26-477b-9c9b-cfe1cf1de4bd status: 200 OK code: 200 duration: "" @@ -305,10 +305,10 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/b338fa9d-f66a-469e-86fc-3240b95816f0 + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/607d25ac-cc12-42d7-8e5a-3aec6b22430c method: GET response: - body: '{"id":"b338fa9d-f66a-469e-86fc-3240b95816f0","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-27T11:12:09.534321Z","created_at":"2020-03-27T11:11:48.304526Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"607d25ac-cc12-42d7-8e5a-3aec6b22430c","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-27T12:57:35.112580Z","created_at":"2020-03-27T12:57:34.488977Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - "401" @@ -317,7 +317,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 27 Mar 2020 11:13:33 GMT + - Fri, 27 Mar 2020 12:59:19 GMT Server: - scaleway_api Strict-Transport-Security: @@ -327,7 +327,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 7aa9264b-4999-44e2-8340-0c32bac5b9ff + - 6e1d392c-a9d6-4230-8f2f-45e145d5793c status: 200 OK code: 200 duration: "" @@ -337,10 +337,10 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/b338fa9d-f66a-469e-86fc-3240b95816f0 + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/607d25ac-cc12-42d7-8e5a-3aec6b22430c method: GET response: - body: '{"id":"b338fa9d-f66a-469e-86fc-3240b95816f0","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-27T11:12:09.534321Z","created_at":"2020-03-27T11:11:48.304526Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"607d25ac-cc12-42d7-8e5a-3aec6b22430c","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-27T12:57:35.112580Z","created_at":"2020-03-27T12:57:34.488977Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - "401" @@ -349,7 +349,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 27 Mar 2020 11:13:48 GMT + - Fri, 27 Mar 2020 12:59:34 GMT Server: - scaleway_api Strict-Transport-Security: @@ -359,7 +359,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - db6f1a91-7d9e-43da-97d6-e9a4ae310342 + - d97c2ec3-6156-4646-9b9f-9c15dfead397 status: 200 OK code: 200 duration: "" @@ -369,10 +369,10 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/b338fa9d-f66a-469e-86fc-3240b95816f0 + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/607d25ac-cc12-42d7-8e5a-3aec6b22430c method: GET response: - body: '{"id":"b338fa9d-f66a-469e-86fc-3240b95816f0","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-27T11:12:09.534321Z","created_at":"2020-03-27T11:11:48.304526Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"607d25ac-cc12-42d7-8e5a-3aec6b22430c","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-27T12:57:35.112580Z","created_at":"2020-03-27T12:57:34.488977Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - "401" @@ -381,7 +381,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 27 Mar 2020 11:14:03 GMT + - Fri, 27 Mar 2020 12:59:49 GMT Server: - scaleway_api Strict-Transport-Security: @@ -391,7 +391,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 3c9a3de5-5c73-4d6f-8650-d7c3b47e951e + - bf352a95-15ee-436e-ba75-8b3c80662370 status: 200 OK code: 200 duration: "" @@ -401,10 +401,10 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/b338fa9d-f66a-469e-86fc-3240b95816f0 + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/607d25ac-cc12-42d7-8e5a-3aec6b22430c method: GET response: - body: '{"id":"b338fa9d-f66a-469e-86fc-3240b95816f0","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-27T11:12:09.534321Z","created_at":"2020-03-27T11:11:48.304526Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"607d25ac-cc12-42d7-8e5a-3aec6b22430c","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-27T12:57:35.112580Z","created_at":"2020-03-27T12:57:34.488977Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - "401" @@ -413,7 +413,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 27 Mar 2020 11:14:18 GMT + - Fri, 27 Mar 2020 13:00:04 GMT Server: - scaleway_api Strict-Transport-Security: @@ -423,7 +423,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 5985503c-f9c4-4cae-bc6e-cae77068633a + - 7d4dd719-8e9d-4844-b8d0-0e0c6f952aca status: 200 OK code: 200 duration: "" @@ -433,138 +433,10 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/b338fa9d-f66a-469e-86fc-3240b95816f0 + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/607d25ac-cc12-42d7-8e5a-3aec6b22430c method: GET response: - body: '{"id":"b338fa9d-f66a-469e-86fc-3240b95816f0","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-27T11:12:09.534321Z","created_at":"2020-03-27T11:11:48.304526Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "401" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Fri, 27 Mar 2020 11:14:33 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - a812fb8c-eb6f-4755-b091-281041981258 - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/b338fa9d-f66a-469e-86fc-3240b95816f0 - method: GET - response: - body: '{"id":"b338fa9d-f66a-469e-86fc-3240b95816f0","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-27T11:12:09.534321Z","created_at":"2020-03-27T11:11:48.304526Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "401" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Fri, 27 Mar 2020 11:14:48 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 77622b62-8ec7-4c94-b5c3-64b84f8a9250 - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/b338fa9d-f66a-469e-86fc-3240b95816f0 - method: GET - response: - body: '{"id":"b338fa9d-f66a-469e-86fc-3240b95816f0","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-27T11:12:09.534321Z","created_at":"2020-03-27T11:11:48.304526Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "401" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Fri, 27 Mar 2020 11:15:03 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 201cafd3-2721-4ce7-894e-beeebb0ef5f1 - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/b338fa9d-f66a-469e-86fc-3240b95816f0 - method: GET - response: - body: '{"id":"b338fa9d-f66a-469e-86fc-3240b95816f0","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-27T11:12:09.534321Z","created_at":"2020-03-27T11:11:48.304526Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "401" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Fri, 27 Mar 2020 11:15:18 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 8e8f3ea4-eca4-4293-a302-257cdab9ed7d - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/b338fa9d-f66a-469e-86fc-3240b95816f0 - method: GET - response: - body: '{"id":"b338fa9d-f66a-469e-86fc-3240b95816f0","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-27T11:15:31.948732Z","created_at":"2020-03-27T11:11:48.304526Z","status":"ready","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[{"id":"06b31b75-b084-45dd-a297-7d5cd52ad877","address":"51.159.56.178","reverse":"b338fa9d-f66a-469e-86fc-3240b95816f0.fr-par-2.baremetal.scw.cloud","version":"Ipv4","reverse_status":"pending","reverse_status_message":null},{"id":"15ef118c-27c6-409d-845e-77177e8c58c6","address":"2001:0bc8:1200:0000:dac4:97ff:fe5b:7a95","reverse":"b338fa9d-f66a-469e-86fc-3240b95816f0.fr-par-2.baremetal.scw.cloud","version":"Ipv6","reverse_status":"pending","reverse_status_message":null}],"domain":"b338fa9d-f66a-469e-86fc-3240b95816f0.fr-par-2.baremetal.scw.cloud","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"607d25ac-cc12-42d7-8e5a-3aec6b22430c","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-27T13:00:18.053381Z","created_at":"2020-03-27T12:57:34.488977Z","status":"ready","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[{"id":"ab3b5e4a-e206-427b-9c3f-6aa600412d81","address":"2001:0bc8:1200:0000:dac4:97ff:fe5b:7a85","reverse":"607d25ac-cc12-42d7-8e5a-3aec6b22430c.fr-par-2.baremetal.scw.cloud","version":"Ipv6","reverse_status":"pending","reverse_status_message":null},{"id":"fa26f004-24a4-4c28-bd65-406cf6eff3af","address":"51.159.56.126","reverse":"607d25ac-cc12-42d7-8e5a-3aec6b22430c.fr-par-2.baremetal.scw.cloud","version":"Ipv4","reverse_status":"pending","reverse_status_message":null}],"domain":"607d25ac-cc12-42d7-8e5a-3aec6b22430c.fr-par-2.baremetal.scw.cloud","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - "933" @@ -573,7 +445,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 27 Mar 2020 11:15:33 GMT + - Fri, 27 Mar 2020 13:00:19 GMT Server: - scaleway_api Strict-Transport-Security: @@ -583,7 +455,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - dbaaeffc-8a0c-4044-b94d-323b6bb60f80 + - e5249c51-4f9f-4c61-bd91-33d9f4cefd6b status: 200 OK code: 200 duration: "" @@ -593,10 +465,10 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/b338fa9d-f66a-469e-86fc-3240b95816f0 + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/607d25ac-cc12-42d7-8e5a-3aec6b22430c method: DELETE response: - body: '{"id":"b338fa9d-f66a-469e-86fc-3240b95816f0","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-27T11:15:34.049977Z","created_at":"2020-03-27T11:11:48.304526Z","status":"deleting","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[{"id":"06b31b75-b084-45dd-a297-7d5cd52ad877","address":"51.159.56.178","reverse":"b338fa9d-f66a-469e-86fc-3240b95816f0.fr-par-2.baremetal.scw.cloud","version":"Ipv4","reverse_status":"pending","reverse_status_message":null},{"id":"15ef118c-27c6-409d-845e-77177e8c58c6","address":"2001:0bc8:1200:0000:dac4:97ff:fe5b:7a95","reverse":"b338fa9d-f66a-469e-86fc-3240b95816f0.fr-par-2.baremetal.scw.cloud","version":"Ipv6","reverse_status":"pending","reverse_status_message":null}],"domain":"b338fa9d-f66a-469e-86fc-3240b95816f0.fr-par-2.baremetal.scw.cloud","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"607d25ac-cc12-42d7-8e5a-3aec6b22430c","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"test-create-server-with-name","description":"","updated_at":"2020-03-27T13:00:20.020189Z","created_at":"2020-03-27T12:57:34.488977Z","status":"deleting","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[{"id":"ab3b5e4a-e206-427b-9c3f-6aa600412d81","address":"2001:0bc8:1200:0000:dac4:97ff:fe5b:7a85","reverse":"607d25ac-cc12-42d7-8e5a-3aec6b22430c.fr-par-2.baremetal.scw.cloud","version":"Ipv6","reverse_status":"pending","reverse_status_message":null},{"id":"fa26f004-24a4-4c28-bd65-406cf6eff3af","address":"51.159.56.126","reverse":"607d25ac-cc12-42d7-8e5a-3aec6b22430c.fr-par-2.baremetal.scw.cloud","version":"Ipv4","reverse_status":"pending","reverse_status_message":null}],"domain":"607d25ac-cc12-42d7-8e5a-3aec6b22430c.fr-par-2.baremetal.scw.cloud","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - "936" @@ -605,7 +477,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 27 Mar 2020 11:15:33 GMT + - Fri, 27 Mar 2020 13:00:19 GMT Server: - scaleway_api Strict-Transport-Security: @@ -615,7 +487,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 91a5b106-eb92-4de4-8814-545610a71fbd + - 5aecc4c7-e701-4cdc-927b-090e8be7d2c5 status: 200 OK code: 200 duration: "" From 51412f818c333283a242550f0c7626c12eadf51e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20L=C3=A9one?= Date: Fri, 27 Mar 2020 14:38:08 +0100 Subject: [PATCH 43/67] Update internal/namespaces/baremetal/v1alpha1/custom_server.go MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Loïc Bourgois --- internal/namespaces/baremetal/v1alpha1/custom_server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/namespaces/baremetal/v1alpha1/custom_server.go b/internal/namespaces/baremetal/v1alpha1/custom_server.go index ad830e4d0b..96bef04b71 100644 --- a/internal/namespaces/baremetal/v1alpha1/custom_server.go +++ b/internal/namespaces/baremetal/v1alpha1/custom_server.go @@ -41,7 +41,7 @@ func waitForServerFunc() core.WaitFunc { func serverWaitCommand() *core.Command { return &core.Command{ Short: `Wait for server to reach a stable state`, - Long: `Wait for server to reach a stable state. This is similar to using --wait flag on other action commands, but without requiring a new action on the server.`, + Long: `Wait for a server to reach a stable state. This is similar to using --wait flag on other action commands, but without requiring a new action on the server.`, Namespace: "baremetal", Resource: "server", Verb: "wait", From 9ddd4b14dac99d98ea8a7e7822ab2a03712df52d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20L=C3=A9one?= Date: Fri, 27 Mar 2020 14:38:21 +0100 Subject: [PATCH 44/67] Update internal/namespaces/baremetal/v1alpha1/custom_server.go MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Loïc Bourgois --- internal/namespaces/baremetal/v1alpha1/custom_server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/namespaces/baremetal/v1alpha1/custom_server.go b/internal/namespaces/baremetal/v1alpha1/custom_server.go index 96bef04b71..0ba7420b17 100644 --- a/internal/namespaces/baremetal/v1alpha1/custom_server.go +++ b/internal/namespaces/baremetal/v1alpha1/custom_server.go @@ -40,7 +40,7 @@ func waitForServerFunc() core.WaitFunc { func serverWaitCommand() *core.Command { return &core.Command{ - Short: `Wait for server to reach a stable state`, + Short: `Wait for a server to reach a stable state`, Long: `Wait for a server to reach a stable state. This is similar to using --wait flag on other action commands, but without requiring a new action on the server.`, Namespace: "baremetal", Resource: "server", From aeb7190a77b9977574c04fa813f335b16296ce23 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20L=C3=A9one?= Date: Fri, 27 Mar 2020 14:48:39 +0100 Subject: [PATCH 45/67] Update internal/namespaces/baremetal/v1alpha1/custom_server_create.go Co-Authored-By: Quentin Brosse --- internal/namespaces/baremetal/v1alpha1/custom_server_create.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/namespaces/baremetal/v1alpha1/custom_server_create.go b/internal/namespaces/baremetal/v1alpha1/custom_server_create.go index c0f65349de..1afec286f5 100644 --- a/internal/namespaces/baremetal/v1alpha1/custom_server_create.go +++ b/internal/namespaces/baremetal/v1alpha1/custom_server_create.go @@ -91,7 +91,7 @@ func serverCreateBuilder(c *core.Command) *core.Command { }, { Short: "Install an OS on your server", - Command: "scw baremetal server install ", + Command: "scw baremetal server install", }, } From 512ed4068f9ed2f61b33e4fcfbedc2446a83e33e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20L=C3=A9one?= Date: Fri, 27 Mar 2020 14:48:54 +0100 Subject: [PATCH 46/67] Update internal/namespaces/baremetal/v1alpha1/custom_server_create.go Co-Authored-By: Quentin Brosse --- internal/namespaces/baremetal/v1alpha1/custom_server_create.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/internal/namespaces/baremetal/v1alpha1/custom_server_create.go b/internal/namespaces/baremetal/v1alpha1/custom_server_create.go index 1afec286f5..430e8144d3 100644 --- a/internal/namespaces/baremetal/v1alpha1/custom_server_create.go +++ b/internal/namespaces/baremetal/v1alpha1/custom_server_create.go @@ -107,7 +107,8 @@ func serverCreateBuilder(c *core.Command) *core.Command { } c.WaitFunc = func(ctx context.Context, argsI, respI interface{}) (interface{}, error) { - return baremetal.NewAPI(core.ExtractClient(ctx)).WaitForServer(&baremetal.WaitForServerRequest{ + api := baremetal.NewAPI(core.ExtractClient(ctx)) + return api.WaitForServer(&baremetal.WaitForServerRequest{ Zone: argsI.(*baremetal.CreateServerRequest).Zone, ServerID: respI.(*baremetal.Server).ID, Timeout: serverActionTimeout, From 7f97e7f37cfd824a5d488d0be0e37d30e224513a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20L=C3=A9one?= Date: Fri, 27 Mar 2020 14:49:16 +0100 Subject: [PATCH 47/67] Update internal/namespaces/baremetal/v1alpha1/custom_server_create.go Co-Authored-By: Quentin Brosse --- .../namespaces/baremetal/v1alpha1/custom_server_create.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/namespaces/baremetal/v1alpha1/custom_server_create.go b/internal/namespaces/baremetal/v1alpha1/custom_server_create.go index 430e8144d3..0a6e71b6d4 100644 --- a/internal/namespaces/baremetal/v1alpha1/custom_server_create.go +++ b/internal/namespaces/baremetal/v1alpha1/custom_server_create.go @@ -66,8 +66,8 @@ func serverCreateBuilder(c *core.Command) *core.Command { } // We need to find the offer id. - // while baremetal does not have listoffer name filter we are forced to iterate - // on the list of offers provided + // While baremetal does not have list offer name filter we are forced to iterate + // on the list of offers provided. requestedType := tmpRequest.Type offer, err := api.GetOfferFromName(&baremetal.GetOfferFromOfferNameRequest{ OfferName: requestedType, From 03f818ae08ddc6821b36ed5592a81ede08f4531b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20L=C3=A9one?= Date: Fri, 27 Mar 2020 14:49:29 +0100 Subject: [PATCH 48/67] Update internal/namespaces/baremetal/v1alpha1/custom_server_create.go Co-Authored-By: Quentin Brosse --- internal/namespaces/baremetal/v1alpha1/custom_server_create.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/namespaces/baremetal/v1alpha1/custom_server_create.go b/internal/namespaces/baremetal/v1alpha1/custom_server_create.go index 0a6e71b6d4..259369e27b 100644 --- a/internal/namespaces/baremetal/v1alpha1/custom_server_create.go +++ b/internal/namespaces/baremetal/v1alpha1/custom_server_create.go @@ -65,7 +65,7 @@ func serverCreateBuilder(c *core.Command) *core.Command { Tags: tmpRequest.Tags, } - // We need to find the offer id. + // We need to find the offer ID. // While baremetal does not have list offer name filter we are forced to iterate // on the list of offers provided. requestedType := tmpRequest.Type From edfb93b2aced771920163d173b2d2f784814e9f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20L=C3=A9one?= Date: Fri, 27 Mar 2020 16:28:22 +0100 Subject: [PATCH 49/67] Fix --- .../namespaces/baremetal/v1alpha1/custom_server_create.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/internal/namespaces/baremetal/v1alpha1/custom_server_create.go b/internal/namespaces/baremetal/v1alpha1/custom_server_create.go index 259369e27b..3a416c87d4 100644 --- a/internal/namespaces/baremetal/v1alpha1/custom_server_create.go +++ b/internal/namespaces/baremetal/v1alpha1/custom_server_create.go @@ -68,16 +68,15 @@ func serverCreateBuilder(c *core.Command) *core.Command { // We need to find the offer ID. // While baremetal does not have list offer name filter we are forced to iterate // on the list of offers provided. - requestedType := tmpRequest.Type offer, err := api.GetOfferFromName(&baremetal.GetOfferFromOfferNameRequest{ - OfferName: requestedType, + OfferName: tmpRequest.Type, Zone: tmpRequest.Zone, }) if err != nil { return nil, err } if offer == nil { - return nil, fmt.Errorf("could not match an offer with the type: %s", requestedType) + return nil, fmt.Errorf("could not match an offer with the type: %s", tmpRequest.Type) } request.OfferID = offer.ID From 7896d22803942904665c848c6de9f5d4f4a98557 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20L=C3=A9one?= Date: Fri, 27 Mar 2020 16:30:09 +0100 Subject: [PATCH 50/67] Fix --- internal/namespaces/baremetal/v1alpha1/custom_server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/namespaces/baremetal/v1alpha1/custom_server.go b/internal/namespaces/baremetal/v1alpha1/custom_server.go index 0ba7420b17..0c4f593a0b 100644 --- a/internal/namespaces/baremetal/v1alpha1/custom_server.go +++ b/internal/namespaces/baremetal/v1alpha1/custom_server.go @@ -15,8 +15,8 @@ const ( ) type baremetalActionRequest struct { - Zone scw.Zone ServerID string + Zone scw.Zone } var serverActionArgSpecs = core.ArgSpecs{ From 53199775e4b6a04ec809dad0fa214b2b8dc1bfd0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20L=C3=A9one?= Date: Fri, 27 Mar 2020 16:31:46 +0100 Subject: [PATCH 51/67] Fix --- internal/namespaces/baremetal/v1alpha1/custom.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/namespaces/baremetal/v1alpha1/custom.go b/internal/namespaces/baremetal/v1alpha1/custom.go index 4a638a4460..52092154ef 100644 --- a/internal/namespaces/baremetal/v1alpha1/custom.go +++ b/internal/namespaces/baremetal/v1alpha1/custom.go @@ -11,6 +11,7 @@ func GetCommands() *core.Commands { cmds.MustFind("baremetal", "server", "create").Override(serverCreateBuilder) + // Action commands cmds.MustFind("baremetal", "server", "start").Override(serverStartBuilder) cmds.MustFind("baremetal", "server", "stop").Override(serverStopBuilder) cmds.MustFind("baremetal", "server", "reboot").Override(serverRebootBuilder) From ec0860d2078e4c17d5690a014427aae23a3f4837 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20L=C3=A9one?= Date: Fri, 27 Mar 2020 16:34:15 +0100 Subject: [PATCH 52/67] Fix --- .../v1alpha1/custom_server_create_test.go | 34 +++++++++++++++---- 1 file changed, 28 insertions(+), 6 deletions(-) diff --git a/internal/namespaces/baremetal/v1alpha1/custom_server_create_test.go b/internal/namespaces/baremetal/v1alpha1/custom_server_create_test.go index f712d63341..6b5169093d 100644 --- a/internal/namespaces/baremetal/v1alpha1/custom_server_create_test.go +++ b/internal/namespaces/baremetal/v1alpha1/custom_server_create_test.go @@ -36,12 +36,18 @@ func Test_CreateServer(t *testing.T) { core.TestCheckExitCode(0), ), AfterFunc: func(ctx *core.AfterFuncCtx) error { - _, _ = baremetal.NewAPI(ctx.Client).WaitForServer(&baremetal.WaitForServerRequest{ + _, err := baremetal.NewAPI(ctx.Client).WaitForServer(&baremetal.WaitForServerRequest{ ServerID: ctx.CmdResult.(*baremetal.Server).ID, }) - _, _ = baremetal.NewAPI(ctx.Client).DeleteServer(&baremetal.DeleteServerRequest{ + if err != nil { + return err + } + _, err = baremetal.NewAPI(ctx.Client).DeleteServer(&baremetal.DeleteServerRequest{ ServerID: ctx.CmdResult.(*baremetal.Server).ID, }) + if err != nil { + return err + } return nil }, DefaultZone: scw.ZoneFrPar2, @@ -58,12 +64,20 @@ func Test_CreateServer(t *testing.T) { ), DefaultZone: scw.ZoneFrPar2, AfterFunc: func(ctx *core.AfterFuncCtx) error { - _, _ = baremetal.NewAPI(ctx.Client).WaitForServer(&baremetal.WaitForServerRequest{ + _, err := baremetal.NewAPI(ctx.Client).WaitForServer(&baremetal.WaitForServerRequest{ ServerID: ctx.CmdResult.(*baremetal.Server).ID, }) - _, _ = baremetal.NewAPI(ctx.Client).DeleteServer(&baremetal.DeleteServerRequest{ + if err != nil { + return err + } + + _, err = baremetal.NewAPI(ctx.Client).DeleteServer(&baremetal.DeleteServerRequest{ ServerID: ctx.CmdResult.(*baremetal.Server).ID, }) + if err != nil { + return err + } + return nil }, })) @@ -80,12 +94,20 @@ func Test_CreateServer(t *testing.T) { ), DefaultZone: scw.ZoneFrPar2, AfterFunc: func(ctx *core.AfterFuncCtx) error { - _, _ = baremetal.NewAPI(ctx.Client).WaitForServer(&baremetal.WaitForServerRequest{ + _, err := baremetal.NewAPI(ctx.Client).WaitForServer(&baremetal.WaitForServerRequest{ ServerID: ctx.CmdResult.(*baremetal.Server).ID, }) - _, _ = baremetal.NewAPI(ctx.Client).DeleteServer(&baremetal.DeleteServerRequest{ + if err != nil { + return err + } + + _, err = baremetal.NewAPI(ctx.Client).DeleteServer(&baremetal.DeleteServerRequest{ ServerID: ctx.CmdResult.(*baremetal.Server).ID, }) + if err != nil { + return err + } + return nil }, })) From 88b48fdb0e22df14193ac3829e73379107285c36 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20L=C3=A9one?= Date: Fri, 27 Mar 2020 17:42:45 +0100 Subject: [PATCH 53/67] Fix --- .../test-all-usage-baremetal-server-create-usage.stderr.golden | 2 +- .../test-all-usage-baremetal-server-usage.stderr.golden | 2 +- .../test-all-usage-baremetal-server-wait-usage.stderr.golden | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/scw/testdata/test-all-usage-baremetal-server-create-usage.stderr.golden b/cmd/scw/testdata/test-all-usage-baremetal-server-create-usage.stderr.golden index fdbfd24a4e..387a93d011 100644 --- a/cmd/scw/testdata/test-all-usage-baremetal-server-create-usage.stderr.golden +++ b/cmd/scw/testdata/test-all-usage-baremetal-server-create-usage.stderr.golden @@ -32,4 +32,4 @@ SEE ALSO: scw baremetal os list # Install an OS on your server - scw baremetal server install + scw baremetal server install diff --git a/cmd/scw/testdata/test-all-usage-baremetal-server-usage.stderr.golden b/cmd/scw/testdata/test-all-usage-baremetal-server-usage.stderr.golden index 36c33f61ca..823da3bbf1 100644 --- a/cmd/scw/testdata/test-all-usage-baremetal-server-usage.stderr.golden +++ b/cmd/scw/testdata/test-all-usage-baremetal-server-usage.stderr.golden @@ -13,7 +13,7 @@ AVAILABLE COMMANDS: reboot Reboot server start Start server stop Stop server - wait Wait for server to reach a stable state + wait Wait for a server to reach a stable state FLAGS: -h, --help help for server diff --git a/cmd/scw/testdata/test-all-usage-baremetal-server-wait-usage.stderr.golden b/cmd/scw/testdata/test-all-usage-baremetal-server-wait-usage.stderr.golden index d3cb7491b8..30bfb13b28 100644 --- a/cmd/scw/testdata/test-all-usage-baremetal-server-wait-usage.stderr.golden +++ b/cmd/scw/testdata/test-all-usage-baremetal-server-wait-usage.stderr.golden @@ -1,4 +1,4 @@ -Wait for server to reach a stable state. This is similar to using --wait flag on other action commands, but without requiring a new action on the server. +Wait for a server to reach a stable state. This is similar to using --wait flag on other action commands, but without requiring a new action on the server. USAGE: scw baremetal server wait [arg=value ...] From 91b18bee68b039448791ae146afc21d1d0ebef9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20L=C3=A9one?= Date: Fri, 27 Mar 2020 17:45:51 +0100 Subject: [PATCH 54/67] Fix --- .../v1alpha1/custom_server_create_test.go | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/internal/namespaces/baremetal/v1alpha1/custom_server_create_test.go b/internal/namespaces/baremetal/v1alpha1/custom_server_create_test.go index 6b5169093d..897797fdf7 100644 --- a/internal/namespaces/baremetal/v1alpha1/custom_server_create_test.go +++ b/internal/namespaces/baremetal/v1alpha1/custom_server_create_test.go @@ -10,20 +10,6 @@ import ( "github.com/scaleway/scaleway-sdk-go/scw" ) -//// waitAndDeleteServerAfterFunc wait for the server to be in a stable state and delete it -//func waitAndDeleteServerAfterFunc(ctx *core.AfterFuncCtx) error { -// _, err := baremetal.NewAPI(ctx.Client).WaitForServer(&baremetal.WaitForServerRequest{ -// ServerID: ctx.CmdResult.(*baremetal.Server).ID, -// Zone: ctx.CmdResult.(*baremetal.Server).Zone, -// Timeout: serverActionTimeout, -// }) -// if err != nil { -// return err -// } -// ctx.ExecuteCmd("scw baremetal server delete server-id=" + ctx.CmdResult.(*baremetal.Server).ID) -// return nil -//} - // All test below should succeed to create an instance. func Test_CreateServer(t *testing.T) { // Simple use cases From 0694d99c74a05d44c61c15d82bf33e4f89e24257 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20L=C3=A9one?= Date: Mon, 30 Mar 2020 18:03:41 +0200 Subject: [PATCH 55/67] Fix --- .../test-all-usage-account-ssh-key-init-usage.stderr.golden | 2 +- .../testdata/test-all-usage-account-ssh-key-usage.stderr.golden | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/scw/testdata/test-all-usage-account-ssh-key-init-usage.stderr.golden b/cmd/scw/testdata/test-all-usage-account-ssh-key-init-usage.stderr.golden index 68995b3a96..513682b49f 100644 --- a/cmd/scw/testdata/test-all-usage-account-ssh-key-init-usage.stderr.golden +++ b/cmd/scw/testdata/test-all-usage-account-ssh-key-init-usage.stderr.golden @@ -1,4 +1,4 @@ -Initiliaze SSH key. +Initialize SSH key. USAGE: scw account ssh-key init diff --git a/cmd/scw/testdata/test-all-usage-account-ssh-key-usage.stderr.golden b/cmd/scw/testdata/test-all-usage-account-ssh-key-usage.stderr.golden index 03897dacd0..7e5903a790 100644 --- a/cmd/scw/testdata/test-all-usage-account-ssh-key-usage.stderr.golden +++ b/cmd/scw/testdata/test-all-usage-account-ssh-key-usage.stderr.golden @@ -4,7 +4,7 @@ USAGE: scw account ssh-key AVAILABLE COMMANDS: - init Initiliaze SSH key + init Initialize SSH key FLAGS: -h, --help help for ssh-key From 8fe3d37d5f3b0b293c7ce2b0d0af18ffd9e6d58f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20L=C3=A9one?= Date: Tue, 31 Mar 2020 12:38:57 +0200 Subject: [PATCH 56/67] Fix GP-BM1-S --- .../test-all-usage-baremetal-server-create-usage.stderr.golden | 2 +- internal/namespaces/baremetal/v1alpha1/custom_server_create.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/scw/testdata/test-all-usage-baremetal-server-create-usage.stderr.golden b/cmd/scw/testdata/test-all-usage-baremetal-server-create-usage.stderr.golden index 387a93d011..8016ae971c 100644 --- a/cmd/scw/testdata/test-all-usage-baremetal-server-create-usage.stderr.golden +++ b/cmd/scw/testdata/test-all-usage-baremetal-server-create-usage.stderr.golden @@ -13,7 +13,7 @@ EXAMPLES: ARGS: name= Name of the server (≠hostname) [description] Description associated to the server, max 255 characters - [type=GP-BM1-M] Server commercial type (GP-BM1-L | GP-BM1-M | HC-BM1-L | HC-BM1-S | HM-BM1-XL | HM-BM1-M) + [type=GP-BM1-S] Server commercial type (GP-BM1-L | GP-BM1-M | HC-BM1-L | HC-BM1-S | HM-BM1-XL | HM-BM1-M) [tags.{index}] Tags to associate to the server [organization-id] Organization ID to use. If none is passed will use default organization ID from the config [zone] Zone to target. If none is passed will use default zone from the config (fr-par-2) diff --git a/internal/namespaces/baremetal/v1alpha1/custom_server_create.go b/internal/namespaces/baremetal/v1alpha1/custom_server_create.go index 3a416c87d4..6f645a713d 100644 --- a/internal/namespaces/baremetal/v1alpha1/custom_server_create.go +++ b/internal/namespaces/baremetal/v1alpha1/custom_server_create.go @@ -35,7 +35,7 @@ func serverCreateBuilder(c *core.Command) *core.Command { c.ArgSpecs.AddBefore("tags.{index}", &core.ArgSpec{ Name: "type", Short: "Server commercial type", - Default: core.DefaultValueSetter("GP-BM1-M"), + Default: core.DefaultValueSetter("GP-BM1-S"), EnumValues: []string{ // General Purpose offers From 1712ec5445fa958e98d161aac9423e9bef571aa7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20L=C3=A9one?= Date: Tue, 31 Mar 2020 12:41:10 +0200 Subject: [PATCH 57/67] Fix --- .../baremetal/v1alpha1/custom_server_create_test.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/internal/namespaces/baremetal/v1alpha1/custom_server_create_test.go b/internal/namespaces/baremetal/v1alpha1/custom_server_create_test.go index 897797fdf7..cb9d5550c8 100644 --- a/internal/namespaces/baremetal/v1alpha1/custom_server_create_test.go +++ b/internal/namespaces/baremetal/v1alpha1/custom_server_create_test.go @@ -16,7 +16,7 @@ func Test_CreateServer(t *testing.T) { t.Run("Simple", func(t *testing.T) { t.Run("Default", core.Test(&core.TestConfig{ Commands: GetCommands(), - Cmd: "scw baremetal server create zone=fr-par-2", + Cmd: "scw baremetal server create", Check: core.TestCheckCombine( core.TestCheckGolden(), core.TestCheckExitCode(0), @@ -41,7 +41,7 @@ func Test_CreateServer(t *testing.T) { t.Run("With name", core.Test(&core.TestConfig{ Commands: GetCommands(), - Cmd: "scw baremetal server create name=test-create-server-with-name zone=fr-par-2", + Cmd: "scw baremetal server create name=test-create-server-with-name", Check: core.TestCheckCombine( func(t *testing.T, ctx *core.CheckFuncCtx) { assert.Equal(t, "test-create-server-with-name", ctx.Result.(*baremetal.Server).Name) @@ -70,7 +70,7 @@ func Test_CreateServer(t *testing.T) { t.Run("Tags", core.Test(&core.TestConfig{ Commands: GetCommands(), - Cmd: "scw baremetal server create tags.0=prod tags.1=blue zone=fr-par-2", + Cmd: "scw baremetal server create tags.0=prod tags.1=blue", Check: core.TestCheckCombine( func(t *testing.T, ctx *core.CheckFuncCtx) { assert.Equal(t, "prod", ctx.Result.(*baremetal.Server).Tags[0]) @@ -111,7 +111,7 @@ func Test_CreateServerErrors(t *testing.T) { Check: core.TestCheckCombine( core.TestCheckError(&core.CliError{ Err: fmt.Errorf("invalid value 'foobar' for arg 'type'"), - Hint: "Accepted values for 'type' are [GP-BM1-L GP-BM1-M HC-BM1-L HC-BM1-S HM-BM1-XL HM-BM1-M]", + Hint: "Accepted values for 'type' are [GP-BM1-L GP-BM1-M GP-BM1-S HC-BM1-L HC-BM1-S HM-BM1-XL HM-BM1-M]", }), core.TestCheckExitCode(1), ), From 96818f43830c2c4527bd9adc9304fa4e50c4e3af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20L=C3=A9one?= Date: Tue, 31 Mar 2020 12:45:22 +0200 Subject: [PATCH 58/67] Fix --- .../v1alpha1/custom_server_create_test.go | 32 +++++++++---------- 1 file changed, 15 insertions(+), 17 deletions(-) diff --git a/internal/namespaces/baremetal/v1alpha1/custom_server_create_test.go b/internal/namespaces/baremetal/v1alpha1/custom_server_create_test.go index cb9d5550c8..5f70c16922 100644 --- a/internal/namespaces/baremetal/v1alpha1/custom_server_create_test.go +++ b/internal/namespaces/baremetal/v1alpha1/custom_server_create_test.go @@ -98,22 +98,20 @@ func Test_CreateServer(t *testing.T) { }, })) }) -} -// None of the tests below should succeed to create an instance. -func Test_CreateServerErrors(t *testing.T) { - //// - // Instance type errors - //// - t.Run("Error: invalid instance type", core.Test(&core.TestConfig{ - Commands: GetCommands(), - Cmd: "scw baremetal server create type=foobar", - Check: core.TestCheckCombine( - core.TestCheckError(&core.CliError{ - Err: fmt.Errorf("invalid value 'foobar' for arg 'type'"), - Hint: "Accepted values for 'type' are [GP-BM1-L GP-BM1-M GP-BM1-S HC-BM1-L HC-BM1-S HM-BM1-XL HM-BM1-M]", - }), - core.TestCheckExitCode(1), - ), - })) + // None of the tests below should succeed to create an instance. + t.Run("Errors", func(t *testing.T) { + // Instance type errors + t.Run("Error: invalid instance type", core.Test(&core.TestConfig{ + Commands: GetCommands(), + Cmd: "scw baremetal server create type=foobar", + Check: core.TestCheckCombine( + core.TestCheckError(&core.CliError{ + Err: fmt.Errorf("invalid value 'foobar' for arg 'type'"), + Hint: "Accepted values for 'type' are [GP-BM1-L GP-BM1-M GP-BM1-S HC-BM1-L HC-BM1-S HM-BM1-XL HM-BM1-M]", + }), + core.TestCheckExitCode(1), + ), + })) + }) } From c7b58610084d10a6d738d9caa18e5182e83b8a0f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20L=C3=A9one?= Date: Tue, 31 Mar 2020 12:54:47 +0200 Subject: [PATCH 59/67] Fix --- internal/namespaces/baremetal/v1alpha1/custom_server_create.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/namespaces/baremetal/v1alpha1/custom_server_create.go b/internal/namespaces/baremetal/v1alpha1/custom_server_create.go index 6f645a713d..28d9197d23 100644 --- a/internal/namespaces/baremetal/v1alpha1/custom_server_create.go +++ b/internal/namespaces/baremetal/v1alpha1/custom_server_create.go @@ -108,7 +108,7 @@ func serverCreateBuilder(c *core.Command) *core.Command { c.WaitFunc = func(ctx context.Context, argsI, respI interface{}) (interface{}, error) { api := baremetal.NewAPI(core.ExtractClient(ctx)) return api.WaitForServer(&baremetal.WaitForServerRequest{ - Zone: argsI.(*baremetal.CreateServerRequest).Zone, + Zone: argsI.(*baremetalCreateServerRequestCustom).Zone, ServerID: respI.(*baremetal.Server).ID, Timeout: serverActionTimeout, }) From 97c7495681e5c6810d69bd4ba47de416c8e42e13 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20L=C3=A9one?= Date: Tue, 31 Mar 2020 12:56:18 +0200 Subject: [PATCH 60/67] Fix --- .../v1alpha1/custom_server_create_test.go | 32 ++++--------------- 1 file changed, 6 insertions(+), 26 deletions(-) diff --git a/internal/namespaces/baremetal/v1alpha1/custom_server_create_test.go b/internal/namespaces/baremetal/v1alpha1/custom_server_create_test.go index 5f70c16922..5618e33ce6 100644 --- a/internal/namespaces/baremetal/v1alpha1/custom_server_create_test.go +++ b/internal/namespaces/baremetal/v1alpha1/custom_server_create_test.go @@ -16,19 +16,13 @@ func Test_CreateServer(t *testing.T) { t.Run("Simple", func(t *testing.T) { t.Run("Default", core.Test(&core.TestConfig{ Commands: GetCommands(), - Cmd: "scw baremetal server create", + Cmd: "scw baremetal server create -w", Check: core.TestCheckCombine( core.TestCheckGolden(), core.TestCheckExitCode(0), ), AfterFunc: func(ctx *core.AfterFuncCtx) error { - _, err := baremetal.NewAPI(ctx.Client).WaitForServer(&baremetal.WaitForServerRequest{ - ServerID: ctx.CmdResult.(*baremetal.Server).ID, - }) - if err != nil { - return err - } - _, err = baremetal.NewAPI(ctx.Client).DeleteServer(&baremetal.DeleteServerRequest{ + _, err := baremetal.NewAPI(ctx.Client).DeleteServer(&baremetal.DeleteServerRequest{ ServerID: ctx.CmdResult.(*baremetal.Server).ID, }) if err != nil { @@ -41,7 +35,7 @@ func Test_CreateServer(t *testing.T) { t.Run("With name", core.Test(&core.TestConfig{ Commands: GetCommands(), - Cmd: "scw baremetal server create name=test-create-server-with-name", + Cmd: "scw baremetal server create name=test-create-server-with-name -w", Check: core.TestCheckCombine( func(t *testing.T, ctx *core.CheckFuncCtx) { assert.Equal(t, "test-create-server-with-name", ctx.Result.(*baremetal.Server).Name) @@ -50,14 +44,7 @@ func Test_CreateServer(t *testing.T) { ), DefaultZone: scw.ZoneFrPar2, AfterFunc: func(ctx *core.AfterFuncCtx) error { - _, err := baremetal.NewAPI(ctx.Client).WaitForServer(&baremetal.WaitForServerRequest{ - ServerID: ctx.CmdResult.(*baremetal.Server).ID, - }) - if err != nil { - return err - } - - _, err = baremetal.NewAPI(ctx.Client).DeleteServer(&baremetal.DeleteServerRequest{ + _, err := baremetal.NewAPI(ctx.Client).DeleteServer(&baremetal.DeleteServerRequest{ ServerID: ctx.CmdResult.(*baremetal.Server).ID, }) if err != nil { @@ -70,7 +57,7 @@ func Test_CreateServer(t *testing.T) { t.Run("Tags", core.Test(&core.TestConfig{ Commands: GetCommands(), - Cmd: "scw baremetal server create tags.0=prod tags.1=blue", + Cmd: "scw baremetal server create tags.0=prod tags.1=blue -w", Check: core.TestCheckCombine( func(t *testing.T, ctx *core.CheckFuncCtx) { assert.Equal(t, "prod", ctx.Result.(*baremetal.Server).Tags[0]) @@ -80,14 +67,7 @@ func Test_CreateServer(t *testing.T) { ), DefaultZone: scw.ZoneFrPar2, AfterFunc: func(ctx *core.AfterFuncCtx) error { - _, err := baremetal.NewAPI(ctx.Client).WaitForServer(&baremetal.WaitForServerRequest{ - ServerID: ctx.CmdResult.(*baremetal.Server).ID, - }) - if err != nil { - return err - } - - _, err = baremetal.NewAPI(ctx.Client).DeleteServer(&baremetal.DeleteServerRequest{ + _, err := baremetal.NewAPI(ctx.Client).DeleteServer(&baremetal.DeleteServerRequest{ ServerID: ctx.CmdResult.(*baremetal.Server).ID, }) if err != nil { From 0d6a59e06f9b76d6c300a1100ccd1f5599afe30e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20L=C3=A9one?= Date: Tue, 31 Mar 2020 12:57:52 +0200 Subject: [PATCH 61/67] Fix --- .../namespaces/baremetal/v1alpha1/custom_server_test.go | 9 +++------ internal/namespaces/baremetal/v1alpha1/helpers_test.go | 7 ------- 2 files changed, 3 insertions(+), 13 deletions(-) diff --git a/internal/namespaces/baremetal/v1alpha1/custom_server_test.go b/internal/namespaces/baremetal/v1alpha1/custom_server_test.go index c3be8d2803..9e038b4553 100644 --- a/internal/namespaces/baremetal/v1alpha1/custom_server_test.go +++ b/internal/namespaces/baremetal/v1alpha1/custom_server_test.go @@ -11,10 +11,9 @@ func Test_StartServerErrors(t *testing.T) { t.Run("Error: cannot be started while not delivered", core.Test(&core.TestConfig{ BeforeFunc: createServer("Server"), Commands: GetCommands(), - Cmd: "scw baremetal server start server-id={{ .Server.ID }}", + Cmd: "scw baremetal server start server-id={{ .Server.ID }} -w", Check: core.TestCheckExitCode(1), AfterFunc: core.AfterFuncCombine( - waitServerAfter("Server"), deleteServer("Server"), ), DefaultZone: scw.ZoneFrPar2, @@ -25,10 +24,9 @@ func Test_StopServerErrors(t *testing.T) { t.Run("Error: cannot be stopped while not delivered", core.Test(&core.TestConfig{ BeforeFunc: createServer("Server"), Commands: GetCommands(), - Cmd: "scw baremetal server stop server-id={{ .Server.ID }}", + Cmd: "scw baremetal server stop server-id={{ .Server.ID }} -w", Check: core.TestCheckExitCode(1), AfterFunc: core.AfterFuncCombine( - waitServerAfter("Server"), deleteServer("Server"), ), DefaultZone: scw.ZoneFrPar2, @@ -39,10 +37,9 @@ func Test_RebootServerErrors(t *testing.T) { t.Run("Error: cannot be rebooted while not delivered", core.Test(&core.TestConfig{ BeforeFunc: createServer("Server"), Commands: GetCommands(), - Cmd: "scw baremetal server reboot server-id={{ .Server.ID }}", + Cmd: "scw baremetal server reboot server-id={{ .Server.ID }} -w", Check: core.TestCheckExitCode(1), AfterFunc: core.AfterFuncCombine( - waitServerAfter("Server"), deleteServer("Server"), ), DefaultZone: scw.ZoneFrPar2, diff --git a/internal/namespaces/baremetal/v1alpha1/helpers_test.go b/internal/namespaces/baremetal/v1alpha1/helpers_test.go index fd1d0e8509..9912c3a68b 100644 --- a/internal/namespaces/baremetal/v1alpha1/helpers_test.go +++ b/internal/namespaces/baremetal/v1alpha1/helpers_test.go @@ -15,10 +15,3 @@ func createServer(metaKey string) core.BeforeFunc { func deleteServer(metaKey string) core.AfterFunc { return core.ExecAfterCmd("scw baremetal server delete server-id={{ ." + metaKey + ".ID }}") } - -func waitServerAfter(metaKey string) core.AfterFunc { - return func(ctx *core.AfterFuncCtx) error { - ctx.ExecuteCmd("scw baremetal server wait server-id={{ ." + metaKey + ".ID }}") - return nil - } -} From 0efcfb8e9f724d00ab35e9e0fce5e8ebd0b423c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20L=C3=A9one?= Date: Tue, 31 Mar 2020 14:10:22 +0200 Subject: [PATCH 62/67] Fix --- .../baremetal/v1alpha1/custom_server.go | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/internal/namespaces/baremetal/v1alpha1/custom_server.go b/internal/namespaces/baremetal/v1alpha1/custom_server.go index 0c4f593a0b..c65355dda5 100644 --- a/internal/namespaces/baremetal/v1alpha1/custom_server.go +++ b/internal/namespaces/baremetal/v1alpha1/custom_server.go @@ -28,16 +28,6 @@ var serverActionArgSpecs = core.ArgSpecs{ core.ZoneArgSpec(), } -func waitForServerFunc() core.WaitFunc { - return func(ctx context.Context, argsI, _ interface{}) (interface{}, error) { - return baremetal.NewAPI(core.ExtractClient(ctx)).WaitForServer(&baremetal.WaitForServerRequest{ - ServerID: argsI.(*baremetalActionRequest).ServerID, - Zone: argsI.(*baremetalActionRequest).Zone, - Timeout: serverActionTimeout, - }) - } -} - func serverWaitCommand() *core.Command { return &core.Command{ Short: `Wait for a server to reach a stable state`, @@ -47,7 +37,12 @@ func serverWaitCommand() *core.Command { Verb: "wait", ArgsType: reflect.TypeOf(baremetalActionRequest{}), Run: func(ctx context.Context, argsI interface{}) (i interface{}, err error) { - return waitForServerFunc()(ctx, argsI, nil) + api := baremetal.NewAPI(core.ExtractClient(ctx)) + return api.WaitForServer(&baremetal.WaitForServerRequest{ + ServerID: argsI.(*baremetalActionRequest).ServerID, + Zone: argsI.(*baremetalActionRequest).Zone, + Timeout: serverActionTimeout, + }) }, ArgSpecs: serverActionArgSpecs, Examples: []*core.Example{ From 2fea1150406df4741efb5217cbfffe72652cdf9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20L=C3=A9one?= Date: Tue, 31 Mar 2020 14:17:28 +0200 Subject: [PATCH 63/67] FIx --- internal/namespaces/baremetal/v1alpha1/custom_server.go | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/internal/namespaces/baremetal/v1alpha1/custom_server.go b/internal/namespaces/baremetal/v1alpha1/custom_server.go index c65355dda5..55ea4b7c74 100644 --- a/internal/namespaces/baremetal/v1alpha1/custom_server.go +++ b/internal/namespaces/baremetal/v1alpha1/custom_server.go @@ -57,7 +57,8 @@ func serverWaitCommand() *core.Command { // serverStartBuilder overrides the baremetalServerStart command func serverStartBuilder(c *core.Command) *core.Command { c.WaitFunc = func(ctx context.Context, argsI, respI interface{}) (interface{}, error) { - return baremetal.NewAPI(core.ExtractClient(ctx)).WaitForServer(&baremetal.WaitForServerRequest{ + api := baremetal.NewAPI(core.ExtractClient(ctx)) + return api.WaitForServer(&baremetal.WaitForServerRequest{ Zone: argsI.(*baremetal.StartServerRequest).Zone, ServerID: respI.(*baremetal.StartServerRequest).ServerID, Timeout: serverActionTimeout, @@ -70,7 +71,8 @@ func serverStartBuilder(c *core.Command) *core.Command { // serverStopBuilder overrides the baremetalServerStop command func serverStopBuilder(c *core.Command) *core.Command { c.WaitFunc = func(ctx context.Context, argsI, respI interface{}) (interface{}, error) { - return baremetal.NewAPI(core.ExtractClient(ctx)).WaitForServer(&baremetal.WaitForServerRequest{ + api := baremetal.NewAPI(core.ExtractClient(ctx)) + return api.WaitForServer(&baremetal.WaitForServerRequest{ Zone: argsI.(*baremetal.StopServerRequest).Zone, ServerID: respI.(*baremetal.StopServerRequest).ServerID, Timeout: serverActionTimeout, @@ -83,7 +85,8 @@ func serverStopBuilder(c *core.Command) *core.Command { // serverRebootBuilder overrides the baremetalServerReboot command func serverRebootBuilder(c *core.Command) *core.Command { c.WaitFunc = func(ctx context.Context, argsI, respI interface{}) (interface{}, error) { - return baremetal.NewAPI(core.ExtractClient(ctx)).WaitForServer(&baremetal.WaitForServerRequest{ + api := baremetal.NewAPI(core.ExtractClient(ctx)) + return api.WaitForServer(&baremetal.WaitForServerRequest{ Zone: argsI.(*baremetal.RebootServerRequest).Zone, ServerID: respI.(*baremetal.RebootServerRequest).ServerID, Timeout: serverActionTimeout, From 2b060d64a583075a8d0617f0b9ed1f4f17d69a6c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20L=C3=A9one?= Date: Tue, 31 Mar 2020 14:20:19 +0200 Subject: [PATCH 64/67] Fix --- .../baremetal/v1alpha1/custom_server.go | 34 +++++++++---------- 1 file changed, 16 insertions(+), 18 deletions(-) diff --git a/internal/namespaces/baremetal/v1alpha1/custom_server.go b/internal/namespaces/baremetal/v1alpha1/custom_server.go index 55ea4b7c74..c7c1f2cc56 100644 --- a/internal/namespaces/baremetal/v1alpha1/custom_server.go +++ b/internal/namespaces/baremetal/v1alpha1/custom_server.go @@ -14,37 +14,35 @@ const ( serverActionTimeout = 20 * time.Minute ) -type baremetalActionRequest struct { - ServerID string - Zone scw.Zone -} - -var serverActionArgSpecs = core.ArgSpecs{ - { - Name: "server-id", - Short: `ID of the server affected by the action.`, - Required: true, - }, - core.ZoneArgSpec(), -} - func serverWaitCommand() *core.Command { + type serverWaitRequest struct { + ServerID string + Zone scw.Zone + } + return &core.Command{ Short: `Wait for a server to reach a stable state`, Long: `Wait for a server to reach a stable state. This is similar to using --wait flag on other action commands, but without requiring a new action on the server.`, Namespace: "baremetal", Resource: "server", Verb: "wait", - ArgsType: reflect.TypeOf(baremetalActionRequest{}), + ArgsType: reflect.TypeOf(serverWaitRequest{}), Run: func(ctx context.Context, argsI interface{}) (i interface{}, err error) { api := baremetal.NewAPI(core.ExtractClient(ctx)) return api.WaitForServer(&baremetal.WaitForServerRequest{ - ServerID: argsI.(*baremetalActionRequest).ServerID, - Zone: argsI.(*baremetalActionRequest).Zone, + ServerID: argsI.(*serverWaitRequest).ServerID, + Zone: argsI.(*serverWaitRequest).Zone, Timeout: serverActionTimeout, }) }, - ArgSpecs: serverActionArgSpecs, + ArgSpecs: core.ArgSpecs{ + { + Name: "server-id", + Short: `ID of the server affected by the action.`, + Required: true, + }, + core.ZoneArgSpec(), + }, Examples: []*core.Example{ { Short: "Wait for a server to reach a stable state", From 63b342469510264c947b440ad844ec3fcca315ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20L=C3=A9one?= Date: Tue, 31 Mar 2020 14:32:54 +0200 Subject: [PATCH 65/67] Fix --- internal/namespaces/baremetal/v1alpha1/custom_server_create.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/namespaces/baremetal/v1alpha1/custom_server_create.go b/internal/namespaces/baremetal/v1alpha1/custom_server_create.go index 28d9197d23..e3e0685fc8 100644 --- a/internal/namespaces/baremetal/v1alpha1/custom_server_create.go +++ b/internal/namespaces/baremetal/v1alpha1/custom_server_create.go @@ -41,6 +41,7 @@ func serverCreateBuilder(c *core.Command) *core.Command { // General Purpose offers "GP-BM1-L", "GP-BM1-M", + "GP-BM1-S", // High-computing offers "HC-BM1-L", From cf59b16a7f49fa58420b76ea269ec387fbbd9d4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20L=C3=A9one?= Date: Tue, 31 Mar 2020 14:39:05 +0200 Subject: [PATCH 66/67] Fix --- .../test-all-usage-baremetal-server-create-usage.stderr.golden | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/scw/testdata/test-all-usage-baremetal-server-create-usage.stderr.golden b/cmd/scw/testdata/test-all-usage-baremetal-server-create-usage.stderr.golden index 8016ae971c..387fe6cbe8 100644 --- a/cmd/scw/testdata/test-all-usage-baremetal-server-create-usage.stderr.golden +++ b/cmd/scw/testdata/test-all-usage-baremetal-server-create-usage.stderr.golden @@ -13,7 +13,7 @@ EXAMPLES: ARGS: name= Name of the server (≠hostname) [description] Description associated to the server, max 255 characters - [type=GP-BM1-S] Server commercial type (GP-BM1-L | GP-BM1-M | HC-BM1-L | HC-BM1-S | HM-BM1-XL | HM-BM1-M) + [type=GP-BM1-S] Server commercial type (GP-BM1-L | GP-BM1-M | GP-BM1-S | HC-BM1-L | HC-BM1-S | HM-BM1-XL | HM-BM1-M) [tags.{index}] Tags to associate to the server [organization-id] Organization ID to use. If none is passed will use default organization ID from the config [zone] Zone to target. If none is passed will use default zone from the config (fr-par-2) From 9ff507a7035a9d6a2b88ddffb8d10550e47ae633 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20L=C3=A9one?= Date: Tue, 31 Mar 2020 14:46:31 +0200 Subject: [PATCH 67/67] Fix --- .../baremetal/v1alpha1/custom_server_test.go | 36 ++-- ...create-server-simple-default.cassette.yaml | 196 ++++++++---------- ...create-server-simple-default.stdout.golden | 32 ++- 3 files changed, 118 insertions(+), 146 deletions(-) diff --git a/internal/namespaces/baremetal/v1alpha1/custom_server_test.go b/internal/namespaces/baremetal/v1alpha1/custom_server_test.go index 9e038b4553..5dafe27047 100644 --- a/internal/namespaces/baremetal/v1alpha1/custom_server_test.go +++ b/internal/namespaces/baremetal/v1alpha1/custom_server_test.go @@ -9,39 +9,33 @@ import ( func Test_StartServerErrors(t *testing.T) { t.Run("Error: cannot be started while not delivered", core.Test(&core.TestConfig{ - BeforeFunc: createServer("Server"), - Commands: GetCommands(), - Cmd: "scw baremetal server start server-id={{ .Server.ID }} -w", - Check: core.TestCheckExitCode(1), - AfterFunc: core.AfterFuncCombine( - deleteServer("Server"), - ), + BeforeFunc: createServer("Server"), + Commands: GetCommands(), + Cmd: "scw baremetal server start server-id={{ .Server.ID }} -w", + Check: core.TestCheckExitCode(1), + AfterFunc: deleteServer("Server"), DefaultZone: scw.ZoneFrPar2, })) } func Test_StopServerErrors(t *testing.T) { t.Run("Error: cannot be stopped while not delivered", core.Test(&core.TestConfig{ - BeforeFunc: createServer("Server"), - Commands: GetCommands(), - Cmd: "scw baremetal server stop server-id={{ .Server.ID }} -w", - Check: core.TestCheckExitCode(1), - AfterFunc: core.AfterFuncCombine( - deleteServer("Server"), - ), + BeforeFunc: createServer("Server"), + Commands: GetCommands(), + Cmd: "scw baremetal server stop server-id={{ .Server.ID }} -w", + Check: core.TestCheckExitCode(1), + AfterFunc: deleteServer("Server"), DefaultZone: scw.ZoneFrPar2, })) } func Test_RebootServerErrors(t *testing.T) { t.Run("Error: cannot be rebooted while not delivered", core.Test(&core.TestConfig{ - BeforeFunc: createServer("Server"), - Commands: GetCommands(), - Cmd: "scw baremetal server reboot server-id={{ .Server.ID }} -w", - Check: core.TestCheckExitCode(1), - AfterFunc: core.AfterFuncCombine( - deleteServer("Server"), - ), + BeforeFunc: createServer("Server"), + Commands: GetCommands(), + Cmd: "scw baremetal server reboot server-id={{ .Server.ID }} -w", + Check: core.TestCheckExitCode(1), + AfterFunc: deleteServer("Server"), DefaultZone: scw.ZoneFrPar2, })) } diff --git a/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.cassette.yaml b/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.cassette.yaml index 6d2783bc41..749a438aec 100644 --- a/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.cassette.yaml +++ b/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.cassette.yaml @@ -6,11 +6,11 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14.1; darwin; amd64) cli-e2e-test url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/offers?page=1 method: GET response: - body: '{"total_count":7,"offers":[{"id":"3ab0dc29-2fd4-486e-88bf-d08fbf49214b","name":"HC-BM1-L","stock":"available","bandwidth":1000,"commercial_range":"high_cpu","price_by_minute":{"currency_code":"EUR","units":1,"nanos":499900000},"price_by_month":{"currency_code":"EUR","units":749,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"Intel + body: '{"total_count":7,"offers":[{"id":"3ab0dc29-2fd4-486e-88bf-d08fbf49214b","name":"HC-BM1-L","stock":"empty","bandwidth":1000,"commercial_range":"high_cpu","price_by_minute":{"currency_code":"EUR","units":1,"nanos":499900000},"price_by_month":{"currency_code":"EUR","units":749,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"Intel Xeon Gold 5120","cores":28,"threads":56,"frequency":2200},{"name":"Intel Xeon Gold 5120","cores":28,"threads":56,"frequency":2200}],"memory":[{"capacity":384,"type":"DDR4","frequency":2133,"ecc":true}],"quota_name":"bmaas_high","price_per_sixty_minutes":{"currency_code":"EUR","units":1,"nanos":499900000},"price_per_month":{"currency_code":"EUR","units":749,"nanos":990000000}},{"id":"5363865f-2266-40f9-a43f-4f3aba251524","name":"HM-BM1-XL","stock":"empty","bandwidth":1000,"commercial_range":"high_memory","price_by_minute":{"currency_code":"EUR","units":2,"nanos":599900000},"price_by_month":{"currency_code":"EUR","units":1299,"nanos":990000000},"disk":[{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"},{"capacity":1024,"type":"NVMe"}],"enable":true,"cpu":[{"name":"Intel Xeon Gold 6140","cores":36,"threads":72,"frequency":2300},{"name":"Intel Xeon @@ -27,7 +27,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 27 Mar 2020 12:57:34 GMT + - Tue, 31 Mar 2020 12:42:49 GMT Server: - scaleway_api Strict-Transport-Security: @@ -37,31 +37,31 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 8ee9de8e-ceaa-48e4-b62f-fe167421025d + - 2ae2b0e1-029c-4a45-b462-02518d0b2108 status: 200 OK code: 200 duration: "" - request: - body: '{"offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-suspicious-perlman","description":"","tags":null}' + body: '{"offer_id":"7fde3890-9787-488c-ac89-c4e00a4e5f83","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-peaceful-lewin","description":"","tags":null}' form: {} headers: Content-Type: - application/json User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14.1; darwin; amd64) cli-e2e-test url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers method: POST response: - body: '{"id":"f1303c26-297c-490d-86fe-06af7d7c7a50","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-suspicious-perlman","description":"","updated_at":"2020-03-27T12:57:34.491900034Z","created_at":"2020-03-27T12:57:34.491900034Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"7d25ddb0-9cdb-49fb-8d71-9afaa0c977b5","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-peaceful-lewin","description":"","updated_at":"2020-03-31T12:42:49.829565387Z","created_at":"2020-03-31T12:42:49.829565387Z","status":"undelivered","offer_id":"7fde3890-9787-488c-ac89-c4e00a4e5f83","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "404" + - "400" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Fri, 27 Mar 2020 12:57:34 GMT + - Tue, 31 Mar 2020 12:42:49 GMT Server: - scaleway_api Strict-Transport-Security: @@ -71,7 +71,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 3b22de7e-63b8-45f0-bdbd-53523edfc546 + - b2a62712-83cd-439f-af0c-10c2af40a44d status: 200 OK code: 200 duration: "" @@ -80,20 +80,20 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/f1303c26-297c-490d-86fe-06af7d7c7a50 + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14.1; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/7d25ddb0-9cdb-49fb-8d71-9afaa0c977b5 method: GET response: - body: '{"id":"f1303c26-297c-490d-86fe-06af7d7c7a50","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-suspicious-perlman","description":"","updated_at":"2020-03-27T12:57:34.491900Z","created_at":"2020-03-27T12:57:34.491900Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"7d25ddb0-9cdb-49fb-8d71-9afaa0c977b5","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-peaceful-lewin","description":"","updated_at":"2020-03-31T12:42:49.829565Z","created_at":"2020-03-31T12:42:49.829565Z","status":"undelivered","offer_id":"7fde3890-9787-488c-ac89-c4e00a4e5f83","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "398" + - "394" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Fri, 27 Mar 2020 12:57:34 GMT + - Tue, 31 Mar 2020 12:42:49 GMT Server: - scaleway_api Strict-Transport-Security: @@ -103,7 +103,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - d318ac53-504b-4b47-ac53-072825a41156 + - a5efccc2-962a-4254-9b64-f03b4d8f23a9 status: 200 OK code: 200 duration: "" @@ -112,20 +112,20 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/f1303c26-297c-490d-86fe-06af7d7c7a50 + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14.1; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/7d25ddb0-9cdb-49fb-8d71-9afaa0c977b5 method: GET response: - body: '{"id":"f1303c26-297c-490d-86fe-06af7d7c7a50","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-suspicious-perlman","description":"","updated_at":"2020-03-27T12:57:34.491900Z","created_at":"2020-03-27T12:57:34.491900Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"7d25ddb0-9cdb-49fb-8d71-9afaa0c977b5","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-peaceful-lewin","description":"","updated_at":"2020-03-31T12:42:50.382448Z","created_at":"2020-03-31T12:42:49.829565Z","status":"undelivered","offer_id":"7fde3890-9787-488c-ac89-c4e00a4e5f83","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "398" + - "394" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Fri, 27 Mar 2020 12:57:49 GMT + - Tue, 31 Mar 2020 12:43:04 GMT Server: - scaleway_api Strict-Transport-Security: @@ -135,7 +135,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 786a56f7-57f9-4d62-ba2f-ccafa8c12411 + - 329e7049-8f4e-4ccc-9195-0a3a4390131d status: 200 OK code: 200 duration: "" @@ -144,20 +144,20 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/f1303c26-297c-490d-86fe-06af7d7c7a50 + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14.1; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/7d25ddb0-9cdb-49fb-8d71-9afaa0c977b5 method: GET response: - body: '{"id":"f1303c26-297c-490d-86fe-06af7d7c7a50","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-suspicious-perlman","description":"","updated_at":"2020-03-27T12:57:55.895866Z","created_at":"2020-03-27T12:57:34.491900Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"7d25ddb0-9cdb-49fb-8d71-9afaa0c977b5","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-peaceful-lewin","description":"","updated_at":"2020-03-31T12:42:50.382448Z","created_at":"2020-03-31T12:42:49.829565Z","status":"undelivered","offer_id":"7fde3890-9787-488c-ac89-c4e00a4e5f83","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "398" + - "394" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Fri, 27 Mar 2020 12:58:04 GMT + - Tue, 31 Mar 2020 12:43:19 GMT Server: - scaleway_api Strict-Transport-Security: @@ -167,7 +167,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - af338f79-8b86-49cd-8852-6af98f0ff5d6 + - 08cfaf79-524e-44d0-9847-820062a64bba status: 200 OK code: 200 duration: "" @@ -176,20 +176,20 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/f1303c26-297c-490d-86fe-06af7d7c7a50 + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14.1; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/7d25ddb0-9cdb-49fb-8d71-9afaa0c977b5 method: GET response: - body: '{"id":"f1303c26-297c-490d-86fe-06af7d7c7a50","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-suspicious-perlman","description":"","updated_at":"2020-03-27T12:57:55.895866Z","created_at":"2020-03-27T12:57:34.491900Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"7d25ddb0-9cdb-49fb-8d71-9afaa0c977b5","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-peaceful-lewin","description":"","updated_at":"2020-03-31T12:42:50.382448Z","created_at":"2020-03-31T12:42:49.829565Z","status":"undelivered","offer_id":"7fde3890-9787-488c-ac89-c4e00a4e5f83","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "398" + - "394" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Fri, 27 Mar 2020 12:58:19 GMT + - Tue, 31 Mar 2020 12:43:34 GMT Server: - scaleway_api Strict-Transport-Security: @@ -199,7 +199,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 7afbcbf2-bf56-4145-86f7-a413520a69e3 + - 6261a24c-815b-4ab7-8ba3-9b2b2177fe8d status: 200 OK code: 200 duration: "" @@ -208,20 +208,20 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/f1303c26-297c-490d-86fe-06af7d7c7a50 + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14.1; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/7d25ddb0-9cdb-49fb-8d71-9afaa0c977b5 method: GET response: - body: '{"id":"f1303c26-297c-490d-86fe-06af7d7c7a50","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-suspicious-perlman","description":"","updated_at":"2020-03-27T12:57:55.895866Z","created_at":"2020-03-27T12:57:34.491900Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"7d25ddb0-9cdb-49fb-8d71-9afaa0c977b5","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-peaceful-lewin","description":"","updated_at":"2020-03-31T12:42:50.382448Z","created_at":"2020-03-31T12:42:49.829565Z","status":"undelivered","offer_id":"7fde3890-9787-488c-ac89-c4e00a4e5f83","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "398" + - "394" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Fri, 27 Mar 2020 12:58:34 GMT + - Tue, 31 Mar 2020 12:43:49 GMT Server: - scaleway_api Strict-Transport-Security: @@ -231,7 +231,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - f0d527c0-e1e6-4079-ae2e-834a643ff6f5 + - 009fa8c9-91a7-4ae1-bd49-f4878ec1621b status: 200 OK code: 200 duration: "" @@ -240,20 +240,20 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/f1303c26-297c-490d-86fe-06af7d7c7a50 + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14.1; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/7d25ddb0-9cdb-49fb-8d71-9afaa0c977b5 method: GET response: - body: '{"id":"f1303c26-297c-490d-86fe-06af7d7c7a50","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-suspicious-perlman","description":"","updated_at":"2020-03-27T12:57:55.895866Z","created_at":"2020-03-27T12:57:34.491900Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"7d25ddb0-9cdb-49fb-8d71-9afaa0c977b5","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-peaceful-lewin","description":"","updated_at":"2020-03-31T12:42:50.382448Z","created_at":"2020-03-31T12:42:49.829565Z","status":"undelivered","offer_id":"7fde3890-9787-488c-ac89-c4e00a4e5f83","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "398" + - "394" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Fri, 27 Mar 2020 12:58:49 GMT + - Tue, 31 Mar 2020 12:44:04 GMT Server: - scaleway_api Strict-Transport-Security: @@ -263,7 +263,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - fdfbd0f1-7a87-4823-9296-5e7fbd9cabc9 + - fc4d55bd-0e07-4678-a0e0-7cf610274a2f status: 200 OK code: 200 duration: "" @@ -272,20 +272,20 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/f1303c26-297c-490d-86fe-06af7d7c7a50 + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14.1; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/7d25ddb0-9cdb-49fb-8d71-9afaa0c977b5 method: GET response: - body: '{"id":"f1303c26-297c-490d-86fe-06af7d7c7a50","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-suspicious-perlman","description":"","updated_at":"2020-03-27T12:57:55.895866Z","created_at":"2020-03-27T12:57:34.491900Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"7d25ddb0-9cdb-49fb-8d71-9afaa0c977b5","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-peaceful-lewin","description":"","updated_at":"2020-03-31T12:42:50.382448Z","created_at":"2020-03-31T12:42:49.829565Z","status":"undelivered","offer_id":"7fde3890-9787-488c-ac89-c4e00a4e5f83","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "398" + - "394" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Fri, 27 Mar 2020 12:59:04 GMT + - Tue, 31 Mar 2020 12:44:19 GMT Server: - scaleway_api Strict-Transport-Security: @@ -295,7 +295,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 00d4576c-4924-4f34-a5fb-edbf9582e6d4 + - 2a48879b-dc80-405d-a6f2-a312cd7f2d56 status: 200 OK code: 200 duration: "" @@ -304,20 +304,20 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/f1303c26-297c-490d-86fe-06af7d7c7a50 + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14.1; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/7d25ddb0-9cdb-49fb-8d71-9afaa0c977b5 method: GET response: - body: '{"id":"f1303c26-297c-490d-86fe-06af7d7c7a50","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-suspicious-perlman","description":"","updated_at":"2020-03-27T12:57:55.895866Z","created_at":"2020-03-27T12:57:34.491900Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"7d25ddb0-9cdb-49fb-8d71-9afaa0c977b5","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-peaceful-lewin","description":"","updated_at":"2020-03-31T12:42:50.382448Z","created_at":"2020-03-31T12:42:49.829565Z","status":"undelivered","offer_id":"7fde3890-9787-488c-ac89-c4e00a4e5f83","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "398" + - "394" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Fri, 27 Mar 2020 12:59:19 GMT + - Tue, 31 Mar 2020 12:44:34 GMT Server: - scaleway_api Strict-Transport-Security: @@ -327,7 +327,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - e10ec630-d5eb-4c2b-84e4-2eba0eedbb77 + - e36a8bd9-a407-44f5-8756-e2b5a398a826 status: 200 OK code: 200 duration: "" @@ -336,20 +336,20 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/f1303c26-297c-490d-86fe-06af7d7c7a50 + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14.1; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/7d25ddb0-9cdb-49fb-8d71-9afaa0c977b5 method: GET response: - body: '{"id":"f1303c26-297c-490d-86fe-06af7d7c7a50","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-suspicious-perlman","description":"","updated_at":"2020-03-27T12:57:55.895866Z","created_at":"2020-03-27T12:57:34.491900Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"7d25ddb0-9cdb-49fb-8d71-9afaa0c977b5","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-peaceful-lewin","description":"","updated_at":"2020-03-31T12:42:50.382448Z","created_at":"2020-03-31T12:42:49.829565Z","status":"undelivered","offer_id":"7fde3890-9787-488c-ac89-c4e00a4e5f83","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "398" + - "394" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Fri, 27 Mar 2020 12:59:34 GMT + - Tue, 31 Mar 2020 12:44:50 GMT Server: - scaleway_api Strict-Transport-Security: @@ -359,7 +359,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 9cdf19d0-c5bc-4c52-b612-d8c474a851be + - 5785f8e4-d316-46ad-ae2e-f043787992f4 status: 200 OK code: 200 duration: "" @@ -368,20 +368,20 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/f1303c26-297c-490d-86fe-06af7d7c7a50 + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14.1; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/7d25ddb0-9cdb-49fb-8d71-9afaa0c977b5 method: GET response: - body: '{"id":"f1303c26-297c-490d-86fe-06af7d7c7a50","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-suspicious-perlman","description":"","updated_at":"2020-03-27T12:57:55.895866Z","created_at":"2020-03-27T12:57:34.491900Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"7d25ddb0-9cdb-49fb-8d71-9afaa0c977b5","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-peaceful-lewin","description":"","updated_at":"2020-03-31T12:42:50.382448Z","created_at":"2020-03-31T12:42:49.829565Z","status":"undelivered","offer_id":"7fde3890-9787-488c-ac89-c4e00a4e5f83","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "398" + - "394" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Fri, 27 Mar 2020 12:59:49 GMT + - Tue, 31 Mar 2020 12:45:05 GMT Server: - scaleway_api Strict-Transport-Security: @@ -391,7 +391,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 98a6a31f-b5e1-4502-bf98-986cf822c6e7 + - d890843c-3678-445a-acde-6dc05e4e0150 status: 200 OK code: 200 duration: "" @@ -400,20 +400,20 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/f1303c26-297c-490d-86fe-06af7d7c7a50 + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14.1; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/7d25ddb0-9cdb-49fb-8d71-9afaa0c977b5 method: GET response: - body: '{"id":"f1303c26-297c-490d-86fe-06af7d7c7a50","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-suspicious-perlman","description":"","updated_at":"2020-03-27T12:57:55.895866Z","created_at":"2020-03-27T12:57:34.491900Z","status":"undelivered","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[],"domain":"","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"7d25ddb0-9cdb-49fb-8d71-9afaa0c977b5","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-peaceful-lewin","description":"","updated_at":"2020-03-31T12:45:12.097905Z","created_at":"2020-03-31T12:42:49.829565Z","status":"ready","offer_id":"7fde3890-9787-488c-ac89-c4e00a4e5f83","install":null,"tags":[],"ips":[{"id":"084ea4f5-1f9c-4509-86c1-8f3141d0ac43","address":"2001:0bc8:6005:001b:dac4:97ff:fe2a:33a8","reverse":"7d25ddb0-9cdb-49fb-8d71-9afaa0c977b5.fr-par-2.baremetal.scw.cloud","version":"Ipv6","reverse_status":"pending","reverse_status_message":null},{"id":"2aa5bb6d-1f65-4566-b44f-fa30bf5c9d01","address":"51.159.31.12","reverse":"7d25ddb0-9cdb-49fb-8d71-9afaa0c977b5.fr-par-2.baremetal.scw.cloud","version":"Ipv4","reverse_status":"pending","reverse_status_message":null}],"domain":"7d25ddb0-9cdb-49fb-8d71-9afaa0c977b5.fr-par-2.baremetal.scw.cloud","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "398" + - "925" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Fri, 27 Mar 2020 13:00:04 GMT + - Tue, 31 Mar 2020 12:45:20 GMT Server: - scaleway_api Strict-Transport-Security: @@ -423,7 +423,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - ebeb0b70-078e-41f2-b95d-c067d7f35a39 + - 45f9112e-ba9b-4d13-a4ae-b4d4de74f128 status: 200 OK code: 200 duration: "" @@ -432,52 +432,20 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/f1303c26-297c-490d-86fe-06af7d7c7a50 - method: GET - response: - body: '{"id":"f1303c26-297c-490d-86fe-06af7d7c7a50","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-suspicious-perlman","description":"","updated_at":"2020-03-27T13:00:18.213363Z","created_at":"2020-03-27T12:57:34.491900Z","status":"ready","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[{"id":"30b600a4-ddc2-48b0-8dc8-9eaa215086de","address":"51.159.56.173","reverse":"f1303c26-297c-490d-86fe-06af7d7c7a50.fr-par-2.baremetal.scw.cloud","version":"Ipv4","reverse_status":"pending","reverse_status_message":null},{"id":"f01b17c5-9bb5-4d15-8488-9ca7673a5771","address":"2001:0bc8:1200:0000:dac4:97ff:fe5b:73b1","reverse":"f1303c26-297c-490d-86fe-06af7d7c7a50.fr-par-2.baremetal.scw.cloud","version":"Ipv6","reverse_status":"pending","reverse_status_message":null}],"domain":"f1303c26-297c-490d-86fe-06af7d7c7a50.fr-par-2.baremetal.scw.cloud","boot_type":"normal","zone":"fr-par-2"}' - headers: - Content-Length: - - "930" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Fri, 27 Mar 2020 13:00:19 GMT - Server: - - scaleway_api - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 832aebd9-f128-42e7-ae2f-8899c0e564b9 - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/f1303c26-297c-490d-86fe-06af7d7c7a50 + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14.1; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/baremetal/v1alpha1/zones/fr-par-2/servers/7d25ddb0-9cdb-49fb-8d71-9afaa0c977b5 method: DELETE response: - body: '{"id":"f1303c26-297c-490d-86fe-06af7d7c7a50","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-suspicious-perlman","description":"","updated_at":"2020-03-27T13:00:20.019577Z","created_at":"2020-03-27T12:57:34.491900Z","status":"deleting","offer_id":"964f9b38-577e-470f-a220-7d762f9e8672","install":null,"tags":[],"ips":[{"id":"30b600a4-ddc2-48b0-8dc8-9eaa215086de","address":"51.159.56.173","reverse":"f1303c26-297c-490d-86fe-06af7d7c7a50.fr-par-2.baremetal.scw.cloud","version":"Ipv4","reverse_status":"pending","reverse_status_message":null},{"id":"f01b17c5-9bb5-4d15-8488-9ca7673a5771","address":"2001:0bc8:1200:0000:dac4:97ff:fe5b:73b1","reverse":"f1303c26-297c-490d-86fe-06af7d7c7a50.fr-par-2.baremetal.scw.cloud","version":"Ipv6","reverse_status":"pending","reverse_status_message":null}],"domain":"f1303c26-297c-490d-86fe-06af7d7c7a50.fr-par-2.baremetal.scw.cloud","boot_type":"normal","zone":"fr-par-2"}' + body: '{"id":"7d25ddb0-9cdb-49fb-8d71-9afaa0c977b5","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"cli-bm-peaceful-lewin","description":"","updated_at":"2020-03-31T12:45:20.361814Z","created_at":"2020-03-31T12:42:49.829565Z","status":"deleting","offer_id":"7fde3890-9787-488c-ac89-c4e00a4e5f83","install":null,"tags":[],"ips":[{"id":"084ea4f5-1f9c-4509-86c1-8f3141d0ac43","address":"2001:0bc8:6005:001b:dac4:97ff:fe2a:33a8","reverse":"7d25ddb0-9cdb-49fb-8d71-9afaa0c977b5.fr-par-2.baremetal.scw.cloud","version":"Ipv6","reverse_status":"pending","reverse_status_message":null},{"id":"2aa5bb6d-1f65-4566-b44f-fa30bf5c9d01","address":"51.159.31.12","reverse":"7d25ddb0-9cdb-49fb-8d71-9afaa0c977b5.fr-par-2.baremetal.scw.cloud","version":"Ipv4","reverse_status":"pending","reverse_status_message":null}],"domain":"7d25ddb0-9cdb-49fb-8d71-9afaa0c977b5.fr-par-2.baremetal.scw.cloud","boot_type":"normal","zone":"fr-par-2"}' headers: Content-Length: - - "933" + - "928" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Fri, 27 Mar 2020 13:00:19 GMT + - Tue, 31 Mar 2020 12:45:20 GMT Server: - scaleway_api Strict-Transport-Security: @@ -487,7 +455,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - c2972672-bb09-48d5-b421-981813e90bac + - c6777128-0f76-43b4-a1ce-f36e7f858695 status: 200 OK code: 200 duration: "" diff --git a/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.stdout.golden b/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.stdout.golden index a4e2f71f4a..24f98d30a8 100644 --- a/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.stdout.golden +++ b/internal/namespaces/baremetal/v1alpha1/testdata/test-create-server-simple-default.stdout.golden @@ -1,11 +1,21 @@ -id f1303c26-297c-490d-86fe-06af7d7c7a50 -organization-id 951df375-e094-4d26-97c1-ba548eeb9c42 -name cli-bm-suspicious-perlman -description - -updated-at few seconds ago -created-at few seconds ago -status undelivered -offer-id 964f9b38-577e-470f-a220-7d762f9e8672 -domain - -boot-type normal -zone fr-par-2 +id 7d25ddb0-9cdb-49fb-8d71-9afaa0c977b5 +organization-id 951df375-e094-4d26-97c1-ba548eeb9c42 +name cli-bm-peaceful-lewin +description - +updated-at few seconds ago +created-at few seconds ago +status ready +offer-id 7fde3890-9787-488c-ac89-c4e00a4e5f83 +ips.0.id 084ea4f5-1f9c-4509-86c1-8f3141d0ac43 +ips.0.address 2001:bc8:6005:1b:dac4:97ff:fe2a:33a8 +ips.0.reverse 7d25ddb0-9cdb-49fb-8d71-9afaa0c977b5.fr-par-2.baremetal.scw.cloud +ips.0.version Ipv6 +ips.0.reverse-status pending +ips.1.id 2aa5bb6d-1f65-4566-b44f-fa30bf5c9d01 +ips.1.address 51.159.31.12 +ips.1.reverse 7d25ddb0-9cdb-49fb-8d71-9afaa0c977b5.fr-par-2.baremetal.scw.cloud +ips.1.version Ipv4 +ips.1.reverse-status pending +domain 7d25ddb0-9cdb-49fb-8d71-9afaa0c977b5.fr-par-2.baremetal.scw.cloud +boot-type normal +zone fr-par-2