<div dir="ltr">While attempting to run some code using the ruby SDK i was never able to log in successfully (despite being logged into the Administrator portal)<div><br></div><div>I was met with an SSO error[1].</div><div>I then attempted to get to the REST docs (/ovirt-engine/api/v4/model) and was unable to log in there as well.</div><div><br></div><div>Im now locked out of the administrator portal with the error: </div><div><br></div><div style="box-sizing:border-box;height:45px;vertical-align:top;display:table"><span style="box-sizing:border-box;vertical-align:top;display:table-cell"><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"> Cannot Login. User Account is Disabled or Locked, Please contact your system administrator.<br></blockquote><br>a) what did i do wrong per the ruby sdk to lock myself out<br>b) how can i unlock my admin account?<br>c) how can i prevent this from locking me out in the future?<br><br>Server version is 4.1.0.4-1.el7.centos<br><br>[1]</span></div><div><br></div><div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div><div>Bringing machine &#39;default&#39; up with &#39;ovirt4&#39; provider...</div><div>==&gt; default: Creating VM with the following settings...</div><div>==&gt; default:  -- Name:          jenkins</div><div>==&gt; default:  -- Cluster:       Default</div><div>==&gt; default:  -- Template:      centos-6-x86_64-v1608</div><div>==&gt; default:  -- Console Type:  vnc</div><div>==&gt; default:  -- BIOS Serial:</div><div>==&gt; default:  -- Memory:</div><div>==&gt; default:  ---- Memory:      2048 MB</div><div>==&gt; default:  ---- Maximum:     2048 MB</div><div>==&gt; default:  ---- Guaranteed:  2048 MB</div><div>==&gt; default:  -- Cpu:</div><div>==&gt; default:  ---- Cores:       1</div><div>==&gt; default:  ---- Sockets:     1</div><div>==&gt; default:  ---- Threads:     1</div><div>==&gt; default:  -- Cloud-Init:    true</div><div>==&gt; default: An error occured. Recovering..</div><div>==&gt; default: VM is not created. Please run `vagrant up` first.</div><div>/home/myoung/.rvm/gems/ruby-2.3.1/gems/ovirt-engine-sdk-4.1.8/lib/ovirtsdk4/connection.rb:266:in `create_access_token&#39;: Error during SSO authentication: access_denied: Cannot authenticate user &#39;admin@internal&#39;: Cannot Login. User Account is Disabled or Locked, Please contact your system administrator.. (OvirtSDK4::Error)</div><div>        from /home/myoung/.rvm/gems/ruby-2.3.1/gems/ovirt-engine-sdk-4.1.8/lib/ovirtsdk4/connection.rb:217:in `send&#39;</div><div>        from /home/myoung/.rvm/gems/ruby-2.3.1/gems/ovirt-engine-sdk-4.1.8/lib/ovirtsdk4/service.rb:172:in `internal_add&#39;</div><div>        from /home/myoung/.rvm/gems/ruby-2.3.1/gems/ovirt-engine-sdk-4.1.8/lib/ovirtsdk4/services.rb:29450:in `add&#39;</div><div>        from /home/myoung/repos/github/vagrant-ovirt4/lib/vagrant-ovirt4/action/create_vm.rb:68:in `call&#39;</div><div>        from /home/myoung/.rvm/gems/ruby-2.3.1/bundler/gems/vagrant-4572267c33f4/lib/vagrant/action/warden.rb:34:in `call&#39;</div><div>        from /home/myoung/repos/github/vagrant-ovirt4/lib/vagrant-ovirt4/action/set_name_of_domain.rb:17:in `call&#39;</div><div>        from /home/myoung/.rvm/gems/ruby-2.3.1/bundler/gems/vagrant-4572267c33f4/lib/vagrant/action/warden.rb:34:in `call&#39;</div><div>        from /home/myoung/.rvm/gems/ruby-2.3.1/bundler/gems/vagrant-4572267c33f4/lib/vagrant/action/warden.rb:95:in `block in finalize_action&#39;</div><div>        from /home/myoung/.rvm/gems/ruby-2.3.1/bundler/gems/vagrant-4572267c33f4/lib/vagrant/action/warden.rb:34:in `call&#39;</div><div>        from /home/myoung/.rvm/gems/ruby-2.3.1/bundler/gems/vagrant-4572267c33f4/lib/vagrant/action/builder.rb:116:in `call&#39;</div><div>        from /home/myoung/.rvm/gems/ruby-2.3.1/bundler/gems/vagrant-4572267c33f4/lib/vagrant/action/runner.rb:66:in `block in run&#39;</div><div>        from /home/myoung/.rvm/gems/ruby-2.3.1/bundler/gems/vagrant-4572267c33f4/lib/vagrant/util/busy.rb:19:in `busy&#39;</div><div>        from /home/myoung/.rvm/gems/ruby-2.3.1/bundler/gems/vagrant-4572267c33f4/lib/vagrant/action/runner.rb:66:in `run&#39;</div><div>        from /home/myoung/.rvm/gems/ruby-2.3.1/bundler/gems/vagrant-4572267c33f4/lib/vagrant/action/builtin/call.rb:53:in `call&#39;</div><div>        from /home/myoung/.rvm/gems/ruby-2.3.1/bundler/gems/vagrant-4572267c33f4/lib/vagrant/action/warden.rb:34:in `call&#39;</div><div>        from /home/myoung/repos/github/vagrant-ovirt4/lib/vagrant-ovirt4/action/connect_ovirt.rb:31:in `call&#39;</div><div>        from /home/myoung/.rvm/gems/ruby-2.3.1/bundler/gems/vagrant-4572267c33f4/lib/vagrant/action/warden.rb:34:in `call&#39;</div><div>        from /home/myoung/.rvm/gems/ruby-2.3.1/bundler/gems/vagrant-4572267c33f4/lib/vagrant/action/builtin/config_validate.rb:25:in `call&#39;</div><div>        from /home/myoung/.rvm/gems/ruby-2.3.1/bundler/gems/vagrant-4572267c33f4/lib/vagrant/action/warden.rb:34:in `call&#39;</div><div>        from /home/myoung/.rvm/gems/ruby-2.3.1/bundler/gems/vagrant-4572267c33f4/lib/vagrant/action/builtin/handle_box.rb:56:in `call&#39;</div><div>        from /home/myoung/.rvm/gems/ruby-2.3.1/bundler/gems/vagrant-4572267c33f4/lib/vagrant/action/warden.rb:34:in `call&#39;</div><div>        from /home/myoung/.rvm/gems/ruby-2.3.1/bundler/gems/vagrant-4572267c33f4/lib/vagrant/action/builder.rb:116:in `call&#39;</div><div>        from /home/myoung/.rvm/gems/ruby-2.3.1/bundler/gems/vagrant-4572267c33f4/lib/vagrant/action/runner.rb:66:in `block in run&#39;</div><div>        from /home/myoung/.rvm/gems/ruby-2.3.1/bundler/gems/vagrant-4572267c33f4/lib/vagrant/util/busy.rb:19:in `busy&#39;</div><div>        from /home/myoung/.rvm/gems/ruby-2.3.1/bundler/gems/vagrant-4572267c33f4/lib/vagrant/action/runner.rb:66:in `run&#39;</div><div>        from /home/myoung/.rvm/gems/ruby-2.3.1/bundler/gems/vagrant-4572267c33f4/lib/vagrant/machine.rb:225:in `action_raw&#39;</div><div>        from /home/myoung/.rvm/gems/ruby-2.3.1/bundler/gems/vagrant-4572267c33f4/lib/vagrant/machine.rb:200:in `block in action&#39;</div><div>        from /home/myoung/.rvm/gems/ruby-2.3.1/bundler/gems/vagrant-4572267c33f4/lib/vagrant/environment.rb:567:in `lock&#39;</div><div>        from /home/myoung/.rvm/gems/ruby-2.3.1/bundler/gems/vagrant-4572267c33f4/lib/vagrant/machine.rb:186:in `call&#39;</div><div>        from /home/myoung/.rvm/gems/ruby-2.3.1/bundler/gems/vagrant-4572267c33f4/lib/vagrant/machine.rb:186:in `action&#39;</div><div>        from /home/myoung/.rvm/gems/ruby-2.3.1/bundler/gems/vagrant-4572267c33f4/lib/vagrant/batch_action.rb:82:in `block (2 levels) in run&#39;</div></div><div><br></div></blockquote></div></div>