Conversation
|
@ravening sounds like this could go on 4.16. Would you? |
@DaanHoogland it's a new feature. So it will goto main |
|
@blueorangutan package |
|
@sureshanaparti a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
|
Packaging result: ✔️ el7 ✖️ el8 ✔️ debian ✔️ suse15. SL-JID 1930 |
DaanHoogland
left a comment
There was a problem hiding this comment.
code looks good, but needs testing
|
@blueorangutan package |
|
@sureshanaparti a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
|
Packaging result: ✔️ el7 ✔️ el8 ✔️ debian ✔️ suse15. SL-JID 1937 |
|
@blueorangutan test |
|
@sureshanaparti a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
|
Trillian test result (tid-2678)
|
| "Indicates whether the VM can be migrated to different cluster if no host is found in same cluster",true, ConfigKey.Scope.Zone, null); | ||
|
|
||
| public static final ConfigKey<Long> KVM_HEARTBEAT_UPDATE_MAX_RETRIES_CK = new ConfigKey<>("Advanced", Long.class, KVM_HEARTBEAT_UPDATE_MAX_RETRIES, "5", | ||
| "The maximum retries of kvm heartbeat to write to storage", |
There was a problem hiding this comment.
| "The maximum retries of kvm heartbeat to write to storage", | |
| "The maximum retries of KVM heartbeat to write to storage.", |
server/src/main/java/com/cloud/configuration/ConfigurationManagerImpl.java
Outdated
Show resolved
Hide resolved
server/src/main/java/com/cloud/configuration/ConfigurationManagerImpl.java
Outdated
Show resolved
Hide resolved
server/src/main/java/com/cloud/configuration/ConfigurationManagerImpl.java
Outdated
Show resolved
Hide resolved
server/src/main/java/com/cloud/configuration/ConfigurationManagerImpl.java
Outdated
Show resolved
Hide resolved
| public static final Property<Boolean> REBOOT_HOST_AND_ALERT_MANAGEMENT_ON_HEARTBEAT_TIMEOUT | ||
| = new Property<Boolean>("reboot.host.and.alert.management.on.heartbeat.timeout", true); |
There was a problem hiding this comment.
If we gonna remove this property, we need to explicit the option in the new feature that behave the same way and advise operators on how to configure it.
Also, we should remove from agent.properties too and wherever it is used.
There was a problem hiding this comment.
The default action is to reboot the system using the -c flag. so i will just remove it from agent.properties file
| protected void runInContext() { | ||
| try { | ||
| ManagementServerHostVO msHost = _msHostDao.findOneInUpState(new Filter(ManagementServerHostVO.class, "id", true, 0L, 1L)); | ||
| if (msHost == null || (msHost.getMsid() != _nodeId)) { |
There was a problem hiding this comment.
| if (msHost == null || (msHost.getMsid() != _nodeId)) { | |
| if (msHost == null || msHost.getMsid() != _nodeId) { |
| scheduleInvestigationTask(host.getId()); | ||
| } | ||
| } | ||
| } catch (final Exception e) { |
There was a problem hiding this comment.
Do we need a catch Pokémon (catch them all) here?
| s_logger.info("Cancelling investigation on host " + hostId + " which is Down"); | ||
| cancelInvestigationTask(hostId); | ||
| } | ||
| } catch (final Exception e) { |
There was a problem hiding this comment.
Do we need a catch Pokémon (catch them all) here?
| future.cancel(false); | ||
| s_logger.info("Cancelled a task to investigate host " + hostId); | ||
| _investigateTasksMap.remove(hostId); | ||
| } catch (Exception e) { |
There was a problem hiding this comment.
Do we need a catch Pokémon (catch them all) here?
77869f4 to
4fe0b19
Compare
|
@blueorangutan package |
|
@rohityadavcloud a 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: ✔️ el7 ✔️ el8 ✔️ debian ✔️ suse15. SL-JID 3836 |
|
@blueorangutan test |
|
@DaanHoogland a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
|
Trillian test result (tid-4586)
|
|
@ravening can you look at @GutoVeronezi 's comments? I think we are about done here. |
|
@blueorangutan package |
|
@rohityadavcloud a 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: ✖️ el7 ✖️ el8 ✖️ debian ✖️ suse15. SL-JID 4391 |
|
@blueorangutan package |
|
@DaanHoogland a 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: ✔️ el7 ✔️ el8 ✖️ debian ✖️ suse15. SL-JID 4435 |
|
@blueorangutan test |
|
@DaanHoogland a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
|
Trillian test result (tid-5105)
|
|
This pull request has merge conflicts. Dear author, please fix the conflicts and sync your branch with the base branch. |
|
@ravening can you look at the conflicts, please? |
|
@ravening is this still relevant? |
Description
This PR provides multiple options to handle storage issue on kvm.
Ported from #4708
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?