I'm using ovirt-engine-sdk-ruby but getting an SSE authentication error. Facing
authenticate issue after my mac update(14.6.1 Sonoma)
/gems/ruby-3.0.0/gems/ovirt-engine-sdk-4.6.0/lib/ovirtsdk4/connection.rb:476:in
`create_access_token': Error during SSO authentication: access_denied: Cannot
authenticate user 'svcauto(a)domain.com': Unable to log in. Verify your login
information or contact the system administrator.. (OvirtSDK4::AuthError)
from
/Users/077503/.rvm/gems/ruby-3.0.0/gems/ovirt-engine-sdk-4.6.0/lib/ovirtsdk4/connection.rb:646:in
`internal_send'
from
/Users/077503/.rvm/gems/ruby-3.0.0/gems/ovirt-engine-sdk-4.6.0/lib/ovirtsdk4/connection.rb:202:in
`block in send'
from
/Users/077503/.rvm/gems/ruby-3.0.0/gems/ovirt-engine-sdk-4.6.0/lib/ovirtsdk4/connection.rb:202:in
`synchronize'
from
/Users/077503/.rvm/gems/ruby-3.0.0/gems/ovirt-engine-sdk-4.6.0/lib/ovirtsdk4/connection.rb:202:in
`send'
from /Users/077503/repos/gems/olam/lib/olam/utils/monkey_patch.rb:202:in
`internal_get'
Here is the code :
connection = OvirtSDK4::Connection.new(
url: 'https://xxxx/ovirt-engine/api',
username: 'svcauto(a)domain.com',
password: 'xxxx',
insecure: true,
debug: true
)
vms_service = connection.system_service.vms_service
vms = vms_service.list