-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Allow custom NTP servers for CPVM #11210
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
base: 4.20
Are you sure you want to change the base?
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## 4.20 #11210 +/- ##
=============================================
- Coverage 16.15% 5.15% -11.01%
=============================================
Files 5656 417 -5239
Lines 497792 38665 -459127
Branches 60368 7791 -52577
=============================================
- Hits 80443 1992 -78451
+ Misses 408396 36480 -371916
+ Partials 8953 193 -8760
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
server/src/main/java/com/cloud/consoleproxy/ConsoleProxyManagerImpl.java
Outdated
Show resolved
Hide resolved
server/src/main/java/com/cloud/consoleproxy/ConsoleProxyManagerImpl.java
Outdated
Show resolved
Hide resolved
server/src/main/java/com/cloud/consoleproxy/ConsoleProxyManagerImpl.java
Outdated
Show resolved
Hide resolved
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.
clgtm
@blueorangutan package |
@DaanHoogland a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 14214 |
@blueorangutan test |
@DaanHoogland a [SL] Trillian-Jenkins test job (ol8 mgmt + kvm-ol8) 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.
overall lgtm
left two minor comments
...roller/src/main/java/org/apache/cloudstack/secondarystorage/SecondaryStorageManagerImpl.java
Outdated
Show resolved
Hide resolved
[SF] Trillian test result (tid-13804)
|
b5d822b
to
a23b06b
Compare
@blueorangutan package |
@Pearl1594 a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
|
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 14239 |
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.
code lgtm
@@ -1276,6 +1276,10 @@ public boolean finalizeVirtualMachineProfile(VirtualMachineProfile profile, Depl | |||
buf.append(" vmpassword=").append(configurationDao.getValue("system.vm.password")); | |||
} | |||
|
|||
if (org.apache.commons.lang3.StringUtils.isNotEmpty(NTPServerConfig.value())) { |
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.
if (org.apache.commons.lang3.StringUtils.isNotEmpty(NTPServerConfig.value())) { | |
if (StringUtils.isNotEmpty(NTPServerConfig.value())) { |
the internal proxy object should be used.
Description
This PR fixes #11165
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Screenshots (if appropriate):
How Has This Been Tested?
configured NTP servers through global setting:
cpvm.ntp.server.list
Recreated CPVM
queried ntp servers using:
ntpq -p
and verified content of/etc/ntpsec/ntp.conf
How did you try to break this feature and the system with this change?