-
Notifications
You must be signed in to change notification settings - Fork 1.3k
CKS CoreOS EOL update #4436
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
CKS CoreOS EOL update #4436
Conversation
|
@blueorangutan package |
|
@Pearl1594 a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
|
Packaging result: ✖centos7 ✖centos8 ✖debian. JID-2312 |
|
@blueorangutan package |
|
@Pearl1594 a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
| -- Fix OS category for Guest OS 'Other PV Virtio-SCSI (64-bit)' | ||
| UPDATE `cloud`.`guest_os` SET category_id = 7 WHERE id = 275 AND display_name = 'Other PV Virtio-SCSI (64-bit)'; | ||
|
|
||
| ALTER TABLE `cloud`.`user_vm` ADD COLUMN `user_vm_type` varchar(255) DEFAULT "UserVM" COMMENT 'Defines the type of UserVM'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Pearl1594 is this not redundant of Type column in vm_instance table? This type column already used to persist different system VMs (ConsoleProxy, SecondaryStorageVm, DomainRouter), may be you can use this for different user VMs as well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Intention of adding a user vm type - as a sub-type of VMInstance type - User is to basically reduce any regression - changing User to other type to accommodate CKS / K8s nodes would possibly require a lot more changes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok @Pearl1594 I think it is better to use single source for defining the instance type.
| @Column(name = "update_parameters", updatable = true) | ||
| protected boolean updateParameters = true; | ||
|
|
||
| @Column(name = "user_vm_type", updatable = true) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can use "type" from VMInstanceVO instead?
|
Packaging result: ✔centos7 ✔centos8 ✔debian. JID-2313 |
| List<DatadiskTO> templateAsIsDisks = null; | ||
| String configurationId = null; | ||
| if (template.isDeployAsIs()) { | ||
| if (template.isDeployAsIs() && vm.getType() != VirtualMachine.Type.SecondaryStorageVm) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please note there is already a specific PR #4437 with this change
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was added to verify the fix @sureshanaparti
|
|
||
| static final int MAX_USER_DATA_LENGTH_BYTES = 2048; | ||
|
|
||
| public static enum UserVmType { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Pearl1594 there is a common enum "VirtualMachine.Type" where all the VM types are defined, can use the same?
|
@blueorangutan package |
|
@Pearl1594 a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
|
Packaging result: ✔centos7 ✔centos8 ✔debian. JID-2316 |
Description
With CoreOS having reached End of life, support has been provided CKS to consume systemVM template to deploy kubernetes clusters
Types of changes