Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Adam Grare
@agrare
correct
Scott Williams
@vwbusguy
But the upside is, I get to learn more about how MIQ works this way :-)
Adam Grare
@agrare
:laughing: I like the optimism!
Scott Williams
@vwbusguy
We were evaluating buying vRealize stuff, so I spun up ManageIQ just to get a sense of what a competing platform was like and generally, most ended up liking ManageIQ much more. Then company financial problems and COVID happened, so we ended up not being able to afford vRealize anyway, but we were already leaning toward MIQ at that point.
Jason Frey
@Fryguy

and generally, most ended up liking ManageIQ much more

💕💖

that made my week :smile:
Nick LaMuro
@NickLaMuro
Scott Williams
@vwbusguy
@Fryguy :-D It really is a great platform.
pyon-yx
@pyon-yx
Is there anybody who can teach me how to integrate the openstack object storage to manageiq?
Adam Grare
@agrare
The cinder manager should be added automatically, what are you having problems with?
pyon-yx
@pyon-yx
@agrare Thanks for reply.
Yes, you're right.
cinder manager is working well.
I want to know how swift manager would be working .
TobyJetson
@TobyJetson
Hello, is anyone available on here? I am trying to work out if it's possible to pass the username of the currently-logged-in ManageIQ user down to an embedded Ansible playbook
Peter McGowan
@pemcg
@TobyJetson An href_ slug to the user’s ID is already passed in as {{ manageiq.user }}, so you could either make a quick API lookup on that slug to get the username, or alternatively just pass in ${/#user.userid} as a string input parameter if it’s a playbook method
Adam Grare
@agrare
Swift manager should be automatically set up as well
Keenan Brock
@kbrock
If people are curious about cross bot testing, the test by @NickLaMuro are some beautiful reading https://github.com/ManageIQ/miq_bot/blob/3bf7c223ae241db26f69bc0c8a93ece7ca6a2b56/spec/lib/github_service/commands/cross_repo_test_spec.rb
Keenan Brock
@kbrock
some said there was an issue with spec/lib/api/api_config_spec.rb:39 - @agrare was that you?
think this has something to do with the caching changes I introduced around miq features and tenancy
Nick LaMuro
@NickLaMuro
@kbrock see the API channel
I just posted where the root problem was (and it isn't that)
Keenan Brock
@kbrock
sweet
p-v-a
@p-v-a

Anyone seen problem with embedded ansible in kubernetes deployment? I'm getting and error when I try to run playbook. it complains about permissions on /root/.ansible. If I exec into container I can see that indeed /root is missing write permissions.

[root@1-generic-8d88f4d7-v9vnz /]# ls -lad /root/
dr-xr-x---. 1 root root 4096 Nov 17 08:47 /root/

thus ansible can't create .ansible directory inside root. there are few possible solutions for that issue:

thing is can't see where it's coming from though, there is no reports of this issue on github issues, so I'm not sure if this is something about my particular deployment or it's a genuine issue. Any thoughts?

p-v-a
@p-v-a
After some digging I ended up with the following:
  • it's known issue in centos,rhel - CentOS/sig-cloud-instance-images#67
  • my containers were running with requiredDropCapabilities: ["ALL"], depriving container of CAP_FOWNER that would allow bypass permission checks on operations that normally require the filesystem UID of the process to match the UID of the file, thus allowing access even owner permissions is wrong.
Jason Frey
@Fryguy
interesting...thanks for figuring that out @p-v-a
SeungWookJang
@SeungWookJang
I got an error when I add a new cloud and automate provider in MIQ developer setup.
"timed out stalled task"
Is there anyone who can help me?
Adam Grare
@agrare
@SeungWookJang that means that nothing processed the async queue item that verifies the credentials within the timeout period (1 minute I think)
if this was a development setup are you running simulate_queue_worker ?
swjang
@swjang
@agrare Yes, it’s a developer setup. What is the simulate_queue_worker?
Adam Grare
@agrare
@swjang it is a lightweight way of running MIQ for development without starting the full server, basically it just dequeues all queue items typically handled but a bunch of various worker types
rails s in one terminal and simulate_queue_worker in rails c in another terminal is a dev technique, not everything will work but a lot will
Nicolas Marcq
@Sispheor
Hi, I'm stull pretty new to manageIQ. I'm trying to get the vmware appliance working. My ansible playbook are not executed
I suppose it's because I havn't created a worker
when I try to add a worker from another instance of the appliance I get this message:
Activating the configuration using the following settings...
Host:     30.105.100.92
Username: root
Database: vmdb_production
Port:     5432

Validated failed with error - FATAL:  password authentication failed for user "root"
FATAL:  no pg_hba.conf entry for host "30.105.100.93", user "root", database "vmdb_production", SSL off
.
See /var/www/miq/vmdb/log/appliance_console.log for details.
Nicolas Marcq
@Sispheor
Ansible embeded is greyed
image.png
Nicolas Marcq
@Sispheor

I have updated /var/lib/pgsql/data/pg_hba.conf with

host   vmdb_production   root  all  trust

No more no pg_hba.conf entry error. But the connection still failling

BTW, the root password for the db is generated I guess
Nicolas Marcq
@Sispheor
I tried to update the password as well
Nicolas Marcq
@Sispheor
Activating the configuration using the following settings...
Host:     30.105.100.92
Username: root
Database: vmdb_production
Port:     5432

Configuration failed
where are the log to check what was wrong here?
Nicolas Marcq
@Sispheor
appliance_console_cli --fetch-key 30.105.100.92 --sshlogin root --sshpassword mysshpass --hostname 30.105.100.92 --password smartvm
fetch encryption key
configuring external database
Traceback (most recent call last):
    19: from /opt/manageiq/manageiq-gemset/bin/appliance_console_cli:23:in `<main>'
    18: from /opt/manageiq/manageiq-gemset/bin/appliance_console_cli:23:in `load'
    17: from /opt/manageiq/manageiq-gemset/gems/manageiq-appliance_console-5.5.0/bin/appliance_console_cli:7:in `<top (required)>'
    16: from /opt/manageiq/manageiq-gemset/gems/manageiq-appliance_console-5.5.0/lib/manageiq/appliance_console/cli.rb:437:in `parse'
    15: from /opt/manageiq/manageiq-gemset/gems/manageiq-appliance_console-5.5.0/lib/manageiq/appliance_console/cli.rb:205:in `run'
    14: from /opt/manageiq/manageiq-gemset/gems/manageiq-appliance_console-5.5.0/lib/manageiq/appliance_console/cli.rb:237:in `set_db'
    13: from /opt/manageiq/manageiq-gemset/gems/manageiq-appliance_console-5.5.0/lib/manageiq/appliance_console/cli.rb:283:in `set_external_db'
    12: from /opt/manageiq/manageiq-gemset/gems/manageiq-appliance_console-5.5.0/lib/manageiq/appliance_console/external_database_configuration.rb:19:in `activate'
    11: from /opt/manageiq/manageiq-gemset/gems/manageiq-appliance_console-5.5.0/lib/manageiq/appliance_console/database_configuration.rb:65:in `activate'
    10: from /opt/manageiq/manageiq-gemset/gems/manageiq-appliance_console-5.5.0/lib/manageiq/appliance_console/database_configuration.rb:198:in `current'
     9: from /opt/manageiq/manageiq-gemset/gems/manageiq-appliance_console-5.5.0/lib/manageiq/appliance_console/database_configuration.rb:194:in `decrypt_password'
     8: from /opt/manageiq/manageiq-gemset/gems/manageiq-appliance_console-5.5.0/lib/manageiq/appliance_console/database_configuration.rb:257:in `encrypt_decrypt_password'
     7: from /opt/manageiq/manageiq-gemset/gems/manageiq-appliance_console-5.5.0/lib/manageiq/appliance_console/database_configuration.rb:194:in `
Nicolas Marcq
@Sispheor
The jansa VMware doc is not up to date. Nothing correspond about the mentioned actions. I'm lost.
Adam Grare
@agrare
@Sispheor you're going off of https://www.manageiq.org/docs/reference/latest/installing_on_vmware_vsphere/index.html#configuring-a-worker-appliance I assume? The database/worker config is common to vmware/ovirt/openstack/etc...
@bdunne @jrafanie maybe you can help with the worker config issues above?
Nicolas Marcq
@Sispheor
yes @agrare
Nicolas Marcq
@Sispheor
Well, IO tried to generate new encryoption key on the master server and now the appliance console doesn't start...