Re: [ovirt-devel] Host's status how to change to UP when I execute Management--> Active command
by Liran Rotenberg
Hi,
The engine will monitor that host. Once it's reachable and we can get
information from it the status will change accordingly.
Please check out the HostMonitoring class.
On Thu, Nov 5, 2020 at 11:57 AM lifuqiong(a)sunyainfo.com <
lifuqiong(a)sunyainfo.com> wrote:
>
> Hi,
> I checkout ovirt-engine's code with branch 4.2; When execute Host's
> Management --> Active command, ovirt engine just set vds's status to
> "Unassigned" but how the vds's status changed to "UP" in ovirt-engine? The
> code in ActiveVdsCommand.executeCommand() as follows:
> protected void executeCommand() {
>
> final VDS vds = getVds();
> try (EngineLock monitoringLock = acquireMonitorLock("Activate
> host")) {
> executionHandler.updateSpecificActionJobCompleted(vds.getId(),
> ActionType.MaintenanceVds, false);
>
> setSucceeded(setVdsStatus(VDSStatus.Unassigned).getSucceeded());
>
> if (getSucceeded()) {
> TransactionSupport.executeInNewTransaction(() -> {
> // set network to operational / non-operational
> List<Network> networks =
> networkDao.getAllForCluster(vds.getClusterId());
> networkClusterHelper.setStatus(vds.getClusterId(),
> networks);
> return null;
> });
>
> // Start glusterd service on the node, which would haven
> been stopped due to maintenance
> if (vds.getClusterSupportsGlusterService()) {
> runVdsCommand(VDSCommandType.ManageGlusterService,
> new GlusterServiceVDSParameters(vds.getId(),
> Arrays.asList("glusterd"), "restart"));
> // starting vdo service
> GlusterStatus isRunning =
> glusterUtil.isVDORunning(vds.getId());
> switch (isRunning) {
> case DOWN:
> log.info("VDO service is down in host : '{}' with
> id '{}', starting VDO service",
> vds.getHostName(),
> vds.getId());
> startVDOService(vds);
> break;
> case UP:
> log.info("VDO service is up in host : '{}' with
> id '{}', skipping starting of VDO service",
> vds.getHostName(),
> vds.getId());
> break;
> case UNKNOWN:
> log.info("VDO service is not installed host :
> '{}' with id '{}', ignoring to start VDO service",
> vds.getHostName(),
> vds.getId());
> break;
> }
>
> }
> }
> }
> }
>
>
> Your Sincerely
> Mark Lee
> _______________________________________________
> Devel mailing list -- devel(a)ovirt.org
> To unsubscribe send an email to devel-leave(a)ovirt.org
> Privacy Statement: https://www.ovirt.org/privacy-policy.html
> oVirt Code of Conduct:
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives:
> https://lists.ovirt.org/archives/list/devel@ovirt.org/message/36745S77NLH...
>
4 years, 4 months
Affinity Group Graceful Migration
by thilburn@generalpacific.com
Hello,
I'm trying to get an Affinity Group setup that will gracefully remove VMs from a Host. Below is what I've tried but the VMs will not migrate off.
oVirt 4.3
Priority: 1
VM Affinity Rule: Disabled
Host Affinity Rule: Negative ( Soft )
Virtual Machines: Select a VM ( My understanding is this would mean all VMs? )
Hosts: Host: <Name of host>
Also, is this right place to ask for help on this?
4 years, 4 months
Coffee Lake CPU
by jb
Hello,
sorry there comes many questions today from me!
I plan a new cluster setup, and for that I bought ASUS Barebone with
Intel Xeon E-2246G CPUs. Sadly I pay not enough attention to the system
requirements from oVirt and now I say that theCoffee Lake-ER
architecture is not in the supported CPU list from oVirt.
Is there any downsides with using a Coffee Lake CPU?
Jonathan
4 years, 4 months
locked disk making it impossible to remove vm
by igor.lustosa@hybriddc.com.br
I have a vm that has two disks one active and another disabling when trying to migrate the disk to another storage the task was in a loop creating several snapshots, I turned off the VM and the loop stopped and after several hours the task disappeared and the VM disk was left blocking making it impossible to be deleted and when trying to delete the vm it does not exclude from the following message locked disk making it impossible to remove vm
How can I solve this?
4 years, 4 months
VM Struck in Shutdown Mode
by Andrei Verovski
Hi,
I have oVirt 4.4 engine and v4.2 nodes.
On one node newly created VM struck in shutdown mode (with green round recycle icon) - I can’t anything, neither power off neither shutdown, both operation fail (with no explanation). This VM have no value whatsoever, but I can’t delete it either.
Restarted oVirt engine, all same.
Process list (on node) clearly shows absence of this VM as KVM process. VM is down.
How to reset its status in oVirt?
Thanks in advance.
Andrei
4 years, 4 months
enabling BaseOS repo in oVirt Node 4.4
by jb
Hello everybody,
is it a problem to enable the BaseOS on a oVirt Node? I ask, because I
would like to install nano 😁... I could just disable it again, after
installation, but what can happen when it stays enabled?
Jonathan
4 years, 4 months
Host's status how to change to UP when I execute Management--> Active command
by lifuqiong@sunyainfo.com
Hi,
I checkout ovirt-engine's code with branch 4.2; When execute Host's Management --> Active command, ovirt engine just set vds's status to "Unassigned" but how the vds's status changed to "UP" in ovirt-engine? The code in ActiveVdsCommand.executeCommand() as follows:
protected void executeCommand() {
final VDS vds = getVds();
try (EngineLock monitoringLock = acquireMonitorLock("Activate host")) {
executionHandler.updateSpecificActionJobCompleted(vds.getId(), ActionType.MaintenanceVds, false);
setSucceeded(setVdsStatus(VDSStatus.Unassigned).getSucceeded());
if (getSucceeded()) {
TransactionSupport.executeInNewTransaction(() -> {
// set network to operational / non-operational
List<Network> networks = networkDao.getAllForCluster(vds.getClusterId());
networkClusterHelper.setStatus(vds.getClusterId(), networks);
return null;
});
// Start glusterd service on the node, which would haven been stopped due to maintenance
if (vds.getClusterSupportsGlusterService()) {
runVdsCommand(VDSCommandType.ManageGlusterService,
new GlusterServiceVDSParameters(vds.getId(), Arrays.asList("glusterd"), "restart"));
// starting vdo service
GlusterStatus isRunning = glusterUtil.isVDORunning(vds.getId());
switch (isRunning) {
case DOWN:
log.info("VDO service is down in host : '{}' with id '{}', starting VDO service",
vds.getHostName(),
vds.getId());
startVDOService(vds);
break;
case UP:
log.info("VDO service is up in host : '{}' with id '{}', skipping starting of VDO service",
vds.getHostName(),
vds.getId());
break;
case UNKNOWN:
log.info("VDO service is not installed host : '{}' with id '{}', ignoring to start VDO service",
vds.getHostName(),
vds.getId());
break;
}
}
}
}
}
Your Sincerely
Mark Lee
4 years, 4 months
20+ Fresh Installs Failing in 20+ days [newbie & frustrated]
by info@worldhostess.com
I have no idea if it is Hardware or Software. It crashed every time after it
starts with the storage setup
Error in ovirt-hosted-engine-setup-ansilble-setup-final_clean [FAILED]
DESTROYED LOCAL STORAGE-POOL
HTTPS --- "certificate invalid"
The system is very unstable and impossible to do anything remotely ONLY
accessible on local terminal.
This is my hardware
SuperMicro X11SSF-M
Intel Xeon E3-1230
16 GB ECC RAM
2 x 1 TB Micron 1300 SSD
Key Features
X11SSM-F specifications
Single socket H4 (LGA 1151) supports IntelR XeonR processor E3-1200 v6/v5,
IntelR 7th/6th Gen. CoreT i3 series,
IntelR CeleronR and IntelR PentiumR
IntelR C236 chipset
Up to 64GB Unbuffered ECC UDIMM DDR4 2400MHz; 4 DIMM slots
Expansion slots:
1 PCI-E 3.0 x8 (in x16),
1 PCI-E 3.0 x8,
2 PCI-E 3.0 x4 (in x8)
Dual GbE LAN with IntelR i210-AT
8 SATA3 (6Gbps) via C236;
RAID 0, 1, 5, 10
I/O: 1 VGA, 2 COM, 2 SuperDOM, and TPM header
5 USB 3.0 (2 rear, 2 via header(s), 1 Type A), 6 USB 2.0 (2 rear, 4 via
header(s))
Integrated IPMI 2.0 and KVM with Dedicated LAN
Yours Sincerely,
Henni
4 years, 4 months
lose my server ovirt-engine in network
by garcialiang.anne@gmail.com
Hello,
I installed my ovirt-engine during 1 month. I can connect with ssh or website. Yesterday, I rebooted my server ovirt-engine. But I can't connect it with ssh. My server lost in network. I can login with the machine, but I can't ping with network.
Is there the problem with network setting ?
Could you help me, please?
Thanks,
Anne Garcia
4 years, 4 months
Removal of dpdk
by Ales Musil
Hello,
we have decided to remove dpdk in the upcoming version of oVirt namely
4.4.4. Let us know if there are any concerns about this.
Thank you.
Regards,
Ales Musil
--
Ales Musil
Software Engineer - RHV Network
Red Hat EMEA <https://www.redhat.com>
amusil(a)redhat.com IM: amusil
<https://red.ht/sig>
4 years, 4 months