Skip to content

Instantly share code, notes, and snippets.

diff --git a/app/models/manageiq/providers/vmware/infra_manager/inventory/collector.rb b/app/models/manageiq/providers/vmware/infra_manager/inventory/collector.rb
index 396e09cf..abdf4faf 100644
--- a/app/models/manageiq/providers/vmware/infra_manager/inventory/collector.rb
+++ b/app/models/manageiq/providers/vmware/infra_manager/inventory/collector.rb
@@ -129,12 +129,19 @@ class ManageIQ::Providers::Vmware::InfraManager::Inventory::Collector
updated_objects = []
loop do
+ _log.debug("#{log_header} WaitForUpdatesEx(version=#{version})...")
update_set = wait_for_updates(vim, version)
1367a1368
> - vSANiSCSI
2328a2330
> - vnetworking
2355a2358
> - vnetworking
20336a20340,20344
> - name: perfNicOffloadSupported
> is-optional: true
> is-array: false
82a83,84
> - freebsd15Guest
> - freebsd15_64Guest
96a99
> - rhel10_64Guest
112a116
> - oracleLinux10_64Guest
152a157,158
> - debian13Guest
> - debian13_64Guest
[root@cp4ai-ia-4-5-1 ~]# dnf upgrade
CentOS Stream 9 - BaseOS 1.2 MB/s | 8.0 MB 00:06
CentOS Stream 9 - AppStream 2.9 MB/s | 19 MB 00:06
CentOS Stream 9 - CRB 12 MB/s | 6.2 MB 00:00
CentOS Stream 9 - Extras packages 35 kB/s | 16 kB 00:00
Extra Packages for Enterprise Linux 9 - x86_64
class ManageIQ::Providers::Azure::Inventory::Parser::NetworkManager < ManageIQ::Providers::Azure::Inventory::Parser
def parse
log_header = "Collecting data for EMS : [#{collector.manager.name}] id: [#{collector.manager.id}]"
@data_index = {}
_log.info("#{log_header}...")
security_groups
cloud_networks
#include <openssl/evp.h>
#include <openssl/err.h>
void print_ssl_error_stack(void)
{
int err;
while ((err = ERR_get_error()) != 0) {
fprintf(stderr, "ERR lib=%d reason=%d err=%s\n", ERR_GET_LIB(err), ERR_GET_REASON(err), ERR_reason_error_string(err));
}
}
package main
import (
"context"
"fmt"
liburl "net/url"
"github.com/vmware/govmomi"
"github.com/vmware/govmomi/property"
"github.com/vmware/govmomi/session"
var __process__ = process
var printFinal = function(string) {
process.stdout.write('' + string, function() {
__process__.exit(0)
});
}
printFinal("ok")
(function(program, execJS) { execJS(program) })(function(global, process, module, exports, require, console, setTimeout, setInterval, clearTimeout, clearInterval, setImmediate, clearImmediate) { // https://developer.mozilla.org/en/JavaScript/Reference/global_objects/array/foreach
if (!Array.prototype.forEach)
{
Array.prototype.forEach = function(fun /*, thisp */)
{
"use strict";
if (this === void 0 || this === null)
throw new TypeError();
require "execjs"
class ExecJS::ExternalRuntime
def exec_runtime(filename)
r, w = IO.pipe
pid = Kernel.spawn("#{binary} #{filename}", :out => w, :err=>[:child, :out])
puts "#{binary} PID: #{pid}"
w.close
Process.wait(pid)