-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Support XenServer 8.4 / XCP 8.3 - make scripts python3 compatible #10684
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
Merged
Merged
Changes from all commits
Commits
Show all changes
36 commits
Select commit
Hold shift + click to select a range
73e5576
schema: add XS 8.3, 8.4 hypervisor capabilities
yadvr 78da6ec
fix os mappings
yadvr b73bc69
fix more mappings
yadvr 31123e3
fix os mappings order
yadvr 9a99c43
Use Python3 for Xenserver 8.4
Pearl1594 5e2afc3
Merge branch '4.20' of https://github.com/apache/cloudstack into supp…
Pearl1594 2b69003
add license
Pearl1594 37d1704
fix linter
Pearl1594 a098060
add more py3 scripts for xen 8.4
Pearl1594 e5e80ae
prevent systemwide py3 change and address linter issues
Pearl1594 2502888
address linter issue
Pearl1594 5ee3ace
add more files
Pearl1594 b3057cf
linter fixes
Pearl1594 cc52c70
add another py3 file
Pearl1594 e8828e5
change base class
Pearl1594 0bd2f28
add xcp83 resource and appropriate patch file for py3 compatibility
Pearl1594 040d878
add license
Pearl1594 75a8e44
Add logic to skip mounting guest tools if xs version >= 8.2
Pearl1594 b0e52d2
Merge branch '4.20' of https://github.com/apache/cloudstack into supp…
Pearl1594 75c9fff
fix test test_guest_os due to missing template on xen 8.4
Pearl1594 8ff139e
xen-api: use https://mvnrepository.com/artifact/com.citrix.hypervisor…
weizhouapache 35a30f2
fix to allow hosts to get added
Pearl1594 f28700b
update script with missing method in built in scripts SR.py and make …
Pearl1594 3bec407
update nfssr script as there are missing parameters
Pearl1594 63fb4f3
add missing plugin required for xcp 8.3
Pearl1594 3059871
fix issue with sysvm volume creation - [SR_BACKEND_FAILURE_1200statvf…
Pearl1594 f1128a0
Merge branch '4.20' of https://github.com/apache/cloudstack into supp…
Pearl1594 7f98ca1
Merge branch '4.20' of https://github.com/apache/cloudstack into supp…
Pearl1594 cdf6358
fix test for xcp 8.3
Pearl1594 2228fe7
Merge branch '4.20' of https://github.com/apache/cloudstack into supp…
Pearl1594 3509d13
Fix test when passing extra config
Pearl1594 84ea6ce
update folder path permission
Pearl1594 1ae4276
Merge branch '4.20' of https://github.com/apache/cloudstack into supp…
Pearl1594 c2d1990
Merge branch '4.20' of https://github.com/apache/cloudstack into supp…
Pearl1594 2d800df
add missing guest OS mappings
Pearl1594 0c8a738
update guest os category
Pearl1594 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
.../xenserver/src/main/java/com/cloud/hypervisor/xenserver/resource/XcpServer83Resource.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,25 @@ | ||
| // Licensed to the Apache Software Foundation (ASF) under one | ||
| // or more contributor license agreements. See the NOTICE file | ||
| // distributed with this work for additional information | ||
| // regarding copyright ownership. The ASF licenses this file | ||
| // to you under the Apache License, Version 2.0 (the | ||
| // "License"); you may not use this file except in compliance | ||
| // with the License. You may obtain a copy of the License at | ||
| // | ||
| // http://www.apache.org/licenses/LICENSE-2.0 | ||
| // | ||
| // Unless required by applicable law or agreed to in writing, | ||
| // software distributed under the License is distributed on an | ||
| // "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
| // KIND, either express or implied. See the License for the | ||
| // specific language governing permissions and limitations | ||
| // under the License. | ||
| package com.cloud.hypervisor.xenserver.resource; | ||
|
|
||
| public class XcpServer83Resource extends XenServer650Resource { | ||
|
|
||
| @Override | ||
| protected String getPatchFilePath() { | ||
| return "scripts/vm/hypervisor/xenserver/xcpserver83/patch"; | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
.../xenserver/src/main/java/com/cloud/hypervisor/xenserver/resource/Xenserver84Resource.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,24 @@ | ||
| // Licensed to the Apache Software Foundation (ASF) under one | ||
| // or more contributor license agreements. See the NOTICE file | ||
| // distributed with this work for additional information | ||
| // regarding copyright ownership. The ASF licenses this file | ||
| // to you under the Apache License, Version 2.0 (the | ||
| // "License"); you may not use this file except in compliance | ||
| // with the License. You may obtain a copy of the License at | ||
| // | ||
| // http://www.apache.org/licenses/LICENSE-2.0 | ||
| // | ||
| // Unless required by applicable law or agreed to in writing, | ||
| // software distributed under the License is distributed on an | ||
| // "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
| // KIND, either express or implied. See the License for the | ||
| // specific language governing permissions and limitations | ||
| // under the License. | ||
| package com.cloud.hypervisor.xenserver.resource; | ||
|
|
||
| public class Xenserver84Resource extends XenServer650Resource { | ||
| @Override | ||
| protected String getPatchFilePath() { | ||
| return "scripts/vm/hypervisor/xenserver/xenserver84/patch"; | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
I think we should (instead) deprecate ovm?