Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Instance creation w/ bootscript is broken #1211

Closed
NoSuchCommand opened this issue Jul 13, 2020 · 0 comments · Fixed by #1225
Closed

Instance creation w/ bootscript is broken #1211

NoSuchCommand opened this issue Jul 13, 2020 · 0 comments · Fixed by #1225
Labels
bug instance Instance issues, bugs and feature requests
Milestone

Comments

@NoSuchCommand
Copy link
Contributor

Description:

Instance creation allows the bootscript-id= parameter to have it boot using a bootscript. Despite the information being recorded as part of the instance's metadata, the bootscript seems to be ignored.

How to reproduce:

  1. Create an instance with bootscript-id= pointing to a bootscript of the right zone
  2. Wait for the instance to boot
  3. Connect using SSH
  4. Compare the running kernel version to the bootscript kernel version
  5. Inspect the instance's boot type

Command attempted

$ scw instance server create image=ubuntu_focal bootscript-id=7af80bed-c7b5-4fdc-8973-9013712895bb
$ scw instance server wait <ID>
$ scw instance server ssh <ID> command='uname -r'
$ scw instance server get <ID> | grep boot-type
boot-type                local

Expected Behavior

The guest's kernel version should match the bootscript's.
The instance's boot type should be bootscript.

Actual Behavior

The instance's boot type is local.
Hence the running kernel is the one from the installed system.

Version

version 2.0.0-beta.4
build-date 2020-06-08T03:33:48PM
go-version go1.14.3
git-branch new-release
git-commit 620ac25
go-arch amd64
go-os linux

@remyleone remyleone added bug instance Instance issues, bugs and feature requests labels Jul 13, 2020
@remyleone remyleone added this to the v2.0.0 milestone Jul 13, 2020
@jerome-quere jerome-quere linked a pull request Jul 15, 2020 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug instance Instance issues, bugs and feature requests
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants