-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Enable DPDK support on KVM #2839
Conversation
@blueorangutan package |
@borisstoyanov a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
Packaging result: ✔centos6 ✔centos7 ✔debian. JID-2292 |
@blueorangutan test |
@borisstoyanov a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
Trillian test result (tid-2996)
|
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.
Nice work Nicolas, LGTM
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.
LGTM
@blueorangutan package |
@nvazquez a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
Packaging result: ✔centos6 ✔centos7 ✔debian. JID-2299 |
@blueorangutan test |
@nvazquez a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
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.
@nvazquez can you please add some documentation and references how to use this feature, otherwise LGTM.
Trillian test result (tid-3019)
|
eb79cf1
to
894840f
Compare
Thanks @borisstoyanov, I've updated the PR description and also rebased master branch |
@nvazquez a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
Packaging result: ✔centos6 ✔centos7 ✔debian. JID-2310 |
@blueorangutan test |
@borisstoyanov a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
Trillian test result (tid-3033)
|
894840f
to
aa0e29d
Compare
aa0e29d
to
e4438cd
Compare
Rebased master branch. |
@nvazquez a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
Packaging result: ✔centos6 ✔centos7 ✔debian. JID-2334 |
@blueorangutan test |
@nvazquez a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
1fa4f10
to
fcc87d9
Compare
Trillian test result (tid-3062)
|
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.
LGTM, test failures does not seem related
Thanks @borisstoyanov, I'm seeing Jenkins failures to get the code and start checking and tried rebuilding the job but still fails with:
|
609dd55
to
53daf8f
Compare
Rebased master branch again but still getting Jenkins error trying to get the code @rhtyd @borisstoyanov |
@@ -514,6 +515,8 @@ | |||
private static final ConfigKey<Boolean> AllowDeployVmIfGivenHostFails = new ConfigKey<Boolean>("Advanced", Boolean.class, "allow.deploy.vm.if.deploy.on.given.host.fails", "false", | |||
"allow vm to deploy on different host if vm fails to deploy on the given host ", true); | |||
|
|||
private static final ConfigKey<Boolean> EnableAdditionalVmConfig = new ConfigKey<>("Advanced", Boolean.class, "enable.additional.vm.configuration", |
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.
@nvazquez Can we change this setting from 'enable.additional.vm.configuration' to 'additional.configuration.vm.allow' or 'additional.configuration.vm.enable'?
@nvazquez is this still in progress? |
@rhtyd yes, I'll update it with latest fix once testing is completed |
@blueorangutan package |
@nvazquez a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
Packaging result: ✔centos6 ✔centos7 ✔debian. JID-2405 |
@blueorangutan test |
@nvazquez a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
Trillian test result (tid-3143)
|
@DaanHoogland @borisstoyanov latest fixes added, are we ok to merge this? |
think we are @nvazquez |
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.
yeah LGTM
Description
Enable DPDK support on KVM in conjunction with Open VSwitch.
New properties can be set on
agent.properties
file to enable ports created with dpdkvhostuser type on KVM hosts:DPDK guest VMs can be set by sending extra configurations as part of the 'deployVirtualMachine' or 'updateVirtualMachine' API methods. Extra configurations are controlled by a new global setting 'enable.additional.vm.configuration'.
Extra configurations are parts of XML data which are appended to the domail XML of the VM. CloudStack expects an UTF-8 URL encoded string as 'extraconfig' parameter on the mentioned API methods.
Types of changes
GitHub Issue/PRs
Documentation PR: apache/cloudstack-documentation#6 & apache/cloudstack-documentation#8
Screenshots (if appropriate):
How Has This Been Tested?
Checklist:
Testing