Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
JVue
@JVue
@NickLaMuro The log again below (sry, formatting is a bit nasty) but with debug enabled as per your msg above:
[----] I, [2021-11-04T16:02:37.485623 #6949:2aba555d197c] INFO -- evm: MIQ(MiqTask#update_status) Task: [2] [Active] [Ok] [Task starting] [----] W, [2021-11-04T16:02:37.488227 #6948:2adb64e89968] WARN -- evm: MIQ(GitRepository#authentication_check_no_validation) type: [:default] for [2] [] Validation failed: error, undefined method `verify_credentials' for #<GitRepository:0x000055b6d6f2cb40> Did you mean? verify_ssl_in_database [----] W, [2021-11-04T16:02:37.488337 #6948:2adb64e89968] WARN -- evm: MIQ(AuthUseridPassword#validation_failed) [GitRepository] [2], previously valid on: , previous status: [] [----] I, [2021-11-04T16:02:37.489547 #6949:2aba555d197c] INFO -- evm: MIQ(GitRepository#clone_repo_if_missing) Cloning https://<my git path> to /var/www/miq/vmdb/data/git_repos/2... [----] I, [2021-11-04T16:02:37.494407 #6948:2adb64e89968] INFO -- evm: MIQ(MiqQueue#delivered) Message id: [2842], State: [ok], Delivered in [0.023723662] seconds [----] I, [2021-11-04T16:02:38.032279 #6949:2aba555d197c] INFO -- evm: MIQ(GitRepository#clone_repo_if_missing) Cloning https://<my git path> to /var/www/miq/vmdb/data/git_repos/2......Complete [----] I, [2021-11-04T16:02:38.032698 #6949:2aba555d197c] INFO -- evm: MIQ(GitRepository#update_repo) Updating https://<my git path> in /var/www/miq/vmdb/data/git_repos/2... [----] I, [2021-11-04T16:02:38.239932 #6949:2aba555d197c] INFO -- evm: MIQ(GitRepository#update_repo) Updating https://<my git path> in /var/www/miq/vmdb/data/git_repos/2......Complete [----] E, [2021-11-04T16:02:38.247409 #6949:2aba555d197c] ERROR -- evm: MIQ(MiqQueue#deliver) Message id: [2843], Error: [undefined method `time' for #<Rugged::Reference:0x00005574b908c388>] [----] I, [2021-11-04T16:02:38.247505 #6949:2aba555d197c] INFO -- evm: MIQ(MiqQueue#delivered) Message id: [2843], State: [error], Delivered in [0.77576763] seconds [----] I, [2021-11-04T16:02:38.248614 #6949:2aba555d197c] INFO -- evm: MIQ(MiqQueue#m_callback) Message id: [2843], Invoking Callback with args: ["Finished", "error", "undefined method `time' for #<Rugged::Reference:0x00005574b908c388>", "nil"] [----] I, [2021-11-04T16:02:38.248743 #6949:2aba555d197c] INFO -- evm: MIQ(MiqTask#update_status) Task: [2] [Finished] [Error] [undefined method `time' for #<Rugged::Reference:0x00005574b908c388>] [----] D, [2021-11-04T16:02:38.531730 #7021:2b1c8d95043c] DEBUG -- evm: MIQ(Rbac::Authorizer#role_allows?) Auth successful for user 'admin', role 'EvmRole-super_administrator', feature identifier 'miq_ae_class_import_export' [----] I, [2021-11-04T16:02:38.541578 #7021:2b1c8d95043c] INFO -- evm: MIQ(MiqQueue.put) Message id: [2848], id: [], Zone: [], Role: [], Server: [3f14d563-fa9f-45ac-89c4-16674bf71868], MiqTask id: [], Ident: [generic], Target id: [], Instance id: [], Task id: [], Command: [GitRepository.delete_repo_dir], Timeout: [600], Priority: [100], State: [ready], Deliver On: [], Data: [], Args: [2, "/var/www/miq/vmdb/data/git_repos/2"] [----] E, [2021-11-04T16:02:38.542353 #7021:2b1c8d95043c] ERROR -- evm: MIQ(miq_ae_tools_controller-check_git_task): Error during repository fetch: undefined method `time' for #<Rugged::Reference:0x00005574b908c388>
Nick LaMuro
@NickLaMuro
@JVue Did you restart the server? Don't see a stack trace with that, unforunately
JVue
@JVue
@NickLaMuro I just rebooted and tried again, same logs. Did confirm the log settings are set to debug:
  :level: debug
  :level_audit: info
  :level_rails: debug
[----] I, [2021-11-04T16:43:12.563592 #2588:2af728d4395c]  INFO -- evm: MIQ(MiqTask#update_status) Task: [3] [Active] [Ok] [Task starting]
[----] I, [2021-11-04T16:43:12.567165 #2588:2af728d4395c]  INFO -- evm: MIQ(GitRepository#clone_repo_if_missing) Cloning https://<my git path> to /var/www/miq/vmdb/data/git_repos/3...
[----] W, [2021-11-04T16:43:12.673457 #2589:2aaaff087968]  WARN -- evm: MIQ(GitRepository#authentication_check_no_validation) type: [:default] for [3] [] Validation failed: error, undefined method `verify_credentials' for #<GitRepository:0x0000555604090510>
Did you mean?  verify_ssl_in_database
[----] W, [2021-11-04T16:43:12.673567 #2589:2aaaff087968]  WARN -- evm: MIQ(AuthUseridPassword#validation_failed) [GitRepository] [3], previously valid on: , previous status: []
[----] I, [2021-11-04T16:43:12.679685 #2589:2aaaff087968]  INFO -- evm: MIQ(MiqQueue#delivered) Message id: [3321], State: [ok], Delivered in [0.175462981] seconds
[----] I, [2021-11-04T16:43:13.384944 #2588:2af728d4395c]  INFO -- evm: MIQ(GitRepository#clone_repo_if_missing) Cloning https://<my git path> to /var/www/miq/vmdb/data/git_repos/3......Complete
[----] I, [2021-11-04T16:43:13.385435 #2588:2af728d4395c]  INFO -- evm: MIQ(GitRepository#update_repo) Updating https://<my git path> in /var/www/miq/vmdb/data/git_repos/3...
[----] I, [2021-11-04T16:43:13.644457 #2588:2af728d4395c]  INFO -- evm: MIQ(GitRepository#update_repo) Updating https://<my git path> in /var/www/miq/vmdb/data/git_repos/3......Complete
[----] E, [2021-11-04T16:43:13.653658 #2588:2af728d4395c] ERROR -- evm: MIQ(MiqQueue#deliver) Message id: [3322], Error: [undefined method `time' for #<Rugged::Reference:0x000055ee52abb2b0>]
[----] I, [2021-11-04T16:43:13.653756 #2588:2af728d4395c]  INFO -- evm: MIQ(MiqQueue#delivered) Message id: [3322], State: [error], Delivered in [1.14349393] seconds
[----] I, [2021-11-04T16:43:13.654950 #2588:2af728d4395c]  INFO -- evm: MIQ(MiqQueue#m_callback) Message id: [3322], Invoking Callback with args: ["Finished", "error", "undefined method `time' for #<Rugged::Reference:0x000055ee52abb2b0>", "nil"]
[----] I, [2021-11-04T16:43:13.655078 #2588:2af728d4395c]  INFO -- evm: MIQ(MiqTask#update_status) Task: [3] [Finished] [Error] [undefined method `time' for #<Rugged::Reference:0x000055ee52abb2b0>]
[----] D, [2021-11-04T16:43:13.974369 #2659:2af66b200648] DEBUG -- evm: MIQ(Rbac::Authorizer#role_allows?) Auth successful for user 'admin', role 'EvmRole-super_administrator', feature identifier 'miq_ae_class_import_export'
[----] I, [2021-11-04T16:43:14.003679 #2659:2af66b200648]  INFO -- evm: MIQ(MiqQueue.put) Message id: [3323],  id: [], Zone: [], Role: [], Server: [3f14d563-fa9f-45ac-89c4-16674bf71868], MiqTask id: [], Ident: [generic], Target id: [], Instance id: [], Task id: [], Command: [GitRepository.delete_repo_dir], Timeout: [600], Priority: [100], State: [ready], Deliver On: [], Data: [], Args: [3, "/var/www/miq/vmdb/data/git_repos/3"]
[----] E, [2021-11-04T16:43:14.004408 #2659:2af66b200648] ERROR -- evm: MIQ(miq_ae_tools_controller-check_git_task): Error during repository fetch: undefined method `time' for #<Rugged::Reference:0x000055ee52abb2b0>
Nick LaMuro
@NickLaMuro
dang...
JVue
@JVue
no real stack/backtrace with details
Nick LaMuro
@NickLaMuro
@JVue can you try this on your appliance:
$ grep -R ref: /var/www/miq/vmdb/data/git_repos/3/refs
let me know if there is any output
JVue
@JVue
[root@miqappliance vmdb]# grep -R ref: /var/www/miq/vmdb/data/git_repos/3/refs
grep: /var/www/miq/vmdb/data/git_repos/3/refs: No such file or directory
Nick LaMuro
@NickLaMuro
hmmm... maybe just do:
$ grep -R ref: /var/www/miq/vmdb/data/git_repos/3
I might have assumed the directory structure wrong...
JVue
@JVue
[root@miqappliance vmdb]# grep -R ref: /var/www/miq/vmdb/data/git_repos/3
grep: /var/www/miq/vmdb/data/git_repos/3: No such file or directory
Nick LaMuro
@NickLaMuro
wat...
oh, is this a multi appliance deployment?
JVue
@JVue
No it’s not - single appliance with all the proper roles enabled to be specific (just a test box to add our repo from our hammer5 environment to start exploring)
Nick LaMuro
@NickLaMuro

well, the grep needs to run on the appliance that has the directory in question from your logs:

[----] I, [2021-11-04T16:43:13.644457 #2588:2af728d4395c]  INFO -- evm: MIQ(GitRepository#update_repo) Updating https://<my git path> in /var/www/miq/vmdb/data/git_repos/3......Complete

(Edit: Whoops, wrong line copy-pasta the first time I did this)

JVue
@JVue
Oops, I misread your question… it’s not a multi appliance… it’s a single appliance currently (with most of the roles enabled).
Nick LaMuro
@NickLaMuro
basically, /var/www/miq/vmdb/data/git_repos/3 is where we store the git repo locally
I am checking if any of the git objects files have ref: in them
JVue
@JVue
yes, when I look in there, all I see is the locks folder:
[root@miqappliance git_repos]# ls
locks
Nick LaMuro
@NickLaMuro
ah, so it is trying to clone, then deleting afterwards I guess
JVue
@JVue
yes the delete does happen… i believe i saw that in the logs
[----] I, [2021-11-04T16:43:15.692406 #2589:2aaaff087968]  INFO -- evm: MIQ(GitRepository.delete_repo_dir) Deleting GitRepository[3] in /var/www/miq/vmdb/data/git_repos/3 for MiqServer[1]…
Rohitsingh444
@Rohitsingh444
hello I need help i created docker container of manageiq image and trying to open in in browser but dashboard is not opening.
wallerz
@wallerz
1636508971(1).jpg
1636508971(1).jpg
1636508982(1).jpg
ManageIQ版本:版本 kasparov-1.20210203001902_15acbea 在基础架构添加VMware VCenter供应商,VMware VCenter版本是7.0,在仪表盘中扫描不出对应vm中的虚拟机,这是截图
请求帮助解决问题一下
Jason Frey
@Fryguy
@agrare this is the "unknown VMODL type VsanDatastoreInfo" ^
I think this was fixed, right? but probably not released yet?
Adam Grare
@agrare
correct it is fixed in the morphy branch already, just pending morphy-1 release
wallerz
@wallerz
@agrare @Fryguy 修复了我去哪里进行下载安装?
cymile
@cymile

Hi! I have a deployment of manageIQ ivanchuk-7 with postgresql ( pgpool + posgresql/repmgr) in a kubernetes cluster..all pods in the same node

NAME                                             READY   STATUS    RESTARTS   AGE   IP             NODE    NOMINATED NODE   READINESS GATES
manageiq-74fccdb898-crhn4                        1/1     Running   0          9h    10.233.92.32   node3   <none>           <none>
postgres-postgresql-ha-pgpool-84b46b758f-bxfx8   1/1     Running   0          10h   10.233.92.30   node3   <none>           <none>
postgres-postgresql-ha-postgresql-0              1/1     Running   0          10h   10.233.92.29   node3   <none>           <none>

and after some time I got 503 error using the UI. And the logs I got are:
In ManageIQ

[----] I, [2021-11-11T13:48:53.607610 #220:9ee5f8]  INFO -- : Q-task_id([job_dispatcher]) MIQ(InfraConversionThrottler.running_conversion_jobs) Running InfraConversionJob: 0
[----] I, [2021-11-11T13:48:53.618966 #220:9ee5f8]  INFO -- : Q-task_id([job_dispatcher]) MIQ(JobProxyDispatcher#dispatch) Complete - Timings: {:v2v_dispatching=>0.0039370059967041016, :v2v_limits=>0.0039043426513671875, :pending_container_jobs=>0.004796743392944336, :container_jobs_to_dispatch_count=>0, :container_dispatching=>0.004833221435546875, :pending_vm_jobs=>0.0010466575622558594, :vm_jobs_to_dispatch_count=>0, :total_time=>0.016845226287841797}
[----] I, [2021-11-11T13:48:53.619457 #220:9ee5f8]  INFO -- : Q-task_id([job_dispatcher]) MIQ(MiqQueue#delivered) Message id: [4330], State: [ok], Delivered in [0.017842446] seconds
[----] I, [2021-11-11T13:48:55.407403 #8205:9ee5f8]  INFO -- : MIQ(MiqReportingWorker::Runner#message_sync_config) MIQ(MiqReportingWorker::Runner) Synchronizing configuration...
[----] E, [2021-11-11T13:48:55.411007 #8205:9ee5f8] ERROR -- : MIQ(MiqReportingWorker::Runner) ID [115] PID [8205] GUID [80b29f9a-a86c-417c-94be-946217eae4b4] Error in update_worker_record_at_exit: PG::UnableToSend: no connection to the server
: SELECT  "miq_workers".* FROM "miq_workers" WHERE "miq_workers"."type" IN ('MiqReportingWorker') AND "miq_workers"."id" = $1 LIMIT $2
[----] E, [2021-11-11T13:48:55.412401 #8205:9ee5f8] ERROR -- : MIQ(MiqReportingWorker::Runner) ID [115] PID [8205] GUID [80b29f9a-a86c-417c-94be-946217eae4b4] Error heartbeating because ActiveRecord::StatementInvalid: PG::ConnectionBad: PQconsumeInput() server closed the connection unexpectedly
    This probably means the server terminated abnormally
    before or while processing the request.

In PGPOOL

2021-11-11 13:49:17: pid 17467: ERROR: unable to read data 2021-11-11 13:49:17: pid 17467: DETAIL: child connection forced to terminate due to client_idle_limit:3600 is reached 2021-11-11 13:49:18: pid 1980: ERROR: unable to read data 2021-11-11 13:49:18: pid 1980: DETAIL: child connection forced to terminate due to client_idle_limit:3600 is reached
is there a way to modify how manageiq handle database connections? It seems it is still using a dead connection o some help around this?

Jason Frey
@Fryguy
@wallerz Once we release beta1, we will announce it and it will be on the downloads page - hoping today
Daniel Berger
@djberg96
@cymile Found this, not sure if it's something you can configure within ManageIQ though: https://b-peng.blogspot.com/2020/07/connection-pooling-in-pgpool.html
Scottwake3
@Scottwake3
Hello, is there a method for only allowing subscriptions to be deleted once they are empty?
Alejandro Macedo
@AMacedoP
Hi, while using the embedded ansible I run into playbooks that fail with timeouts because they take a long time to complete. I tried searching for an option to increase it, but it seems that it uses the generic job timeout option, however increasing it didn't change anything. Is there an option to only increase the embedded ansible timeout?
Peter McGowan
@pemcg
@AMacedoP there’s a TTL (time to live) setting on the playbook method and service definition page, have you tried increasing that?
Alejandro Macedo
@AMacedoP
@pemcg thanks so much, didn't there was a TTL there
Aleksei Pilnik
@apilnik
Hello to everyone!
please tell me is it possible that the placement of the virtual machine depends on its name, if so, how to do it?
Peter McGowan
@pemcg
@Alexis3211 placement is designed to be user customisable, and yes you can do exactly what you want. Checkout the methods here for examples: /Infrastructure/VM/Provisioning/Placement/
Aleksei Pilnik
@apilnik
@pemcg Can you help me with the code please? Because I'm not good enough at it ((
Peter McGowan
@pemcg
@Alexis3211 Have a look through the forum, there are several examples of placement code: https://talk.manageiq.org/search?q=placement
Aleksei Pilnik
@apilnik
@pemcg thank you the best:)
Javier Richard Quinto Ancieta
@richardqa
Hi everyone, I have a question, ManageIQ support Mysql or MariaDB as backend?
Aleksei Pilnik
@apilnik
@pemcg Hi! I try to integrate Ansible Tower to ManageIQ. I've already connected provider and make catalog bundle, and it even works!!! Can we somehow automatically add new host to tower inventory?
vasilatos v
@vasgitlab_gitlab
Hello everyone