<div dir="ltr">I was able to unlock my account with the command<div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div>ovirt-aaa-jdbc-tool user unlock admin</div><div><br></div></blockquote>I can also access the rest api docs with &#39;admin@internal&#39;</div><div>My guess is that something in configuration was wrong at the time, but all is well</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Sep 5, 2017 at 1:49 PM, Marc Young <span dir="ltr">&lt;<a href="mailto:3vilpenguin@gmail.com" target="_blank">3vilpenguin@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><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.<wbr>3.1/gems/ovirt-engine-sdk-4.1.<wbr>8/lib/ovirtsdk4/connection.rb:<wbr>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.<wbr>3.1/gems/ovirt-engine-sdk-4.1.<wbr>8/lib/ovirtsdk4/connection.rb:<wbr>217:in `send&#39;</div><div>        from /home/myoung/.rvm/gems/ruby-2.<wbr>3.1/gems/ovirt-engine-sdk-4.1.<wbr>8/lib/ovirtsdk4/service.rb:<wbr>172:in `internal_add&#39;</div><div>        from /home/myoung/.rvm/gems/ruby-2.<wbr>3.1/gems/ovirt-engine-sdk-4.1.<wbr>8/lib/ovirtsdk4/services.rb:<wbr>29450:in `add&#39;</div><div>        from /home/myoung/repos/github/<wbr>vagrant-ovirt4/lib/vagrant-<wbr>ovirt4/action/create_vm.rb:68:<wbr>in `call&#39;</div><div>        from /home/myoung/.rvm/gems/ruby-2.<wbr>3.1/bundler/gems/vagrant-<wbr>4572267c33f4/lib/vagrant/<wbr>action/warden.rb:34:in `call&#39;</div><div>        from /home/myoung/repos/github/<wbr>vagrant-ovirt4/lib/vagrant-<wbr>ovirt4/action/set_name_of_<wbr>domain.rb:17:in `call&#39;</div><div>        from /home/myoung/.rvm/gems/ruby-2.<wbr>3.1/bundler/gems/vagrant-<wbr>4572267c33f4/lib/vagrant/<wbr>action/warden.rb:34:in `call&#39;</div><div>        from /home/myoung/.rvm/gems/ruby-2.<wbr>3.1/bundler/gems/vagrant-<wbr>4572267c33f4/lib/vagrant/<wbr>action/warden.rb:95:in `block in finalize_action&#39;</div><div>        from /home/myoung/.rvm/gems/ruby-2.<wbr>3.1/bundler/gems/vagrant-<wbr>4572267c33f4/lib/vagrant/<wbr>action/warden.rb:34:in `call&#39;</div><div>        from /home/myoung/.rvm/gems/ruby-2.<wbr>3.1/bundler/gems/vagrant-<wbr>4572267c33f4/lib/vagrant/<wbr>action/builder.rb:116:in `call&#39;</div><div>        from /home/myoung/.rvm/gems/ruby-2.<wbr>3.1/bundler/gems/vagrant-<wbr>4572267c33f4/lib/vagrant/<wbr>action/runner.rb:66:in `block in run&#39;</div><div>        from /home/myoung/.rvm/gems/ruby-2.<wbr>3.1/bundler/gems/vagrant-<wbr>4572267c33f4/lib/vagrant/util/<wbr>busy.rb:19:in `busy&#39;</div><div>        from /home/myoung/.rvm/gems/ruby-2.<wbr>3.1/bundler/gems/vagrant-<wbr>4572267c33f4/lib/vagrant/<wbr>action/runner.rb:66:in `run&#39;</div><div>        from /home/myoung/.rvm/gems/ruby-2.<wbr>3.1/bundler/gems/vagrant-<wbr>4572267c33f4/lib/vagrant/<wbr>action/builtin/call.rb:53:in `call&#39;</div><div>        from /home/myoung/.rvm/gems/ruby-2.<wbr>3.1/bundler/gems/vagrant-<wbr>4572267c33f4/lib/vagrant/<wbr>action/warden.rb:34:in `call&#39;</div><div>        from /home/myoung/repos/github/<wbr>vagrant-ovirt4/lib/vagrant-<wbr>ovirt4/action/connect_ovirt.<wbr>rb:31:in `call&#39;</div><div>        from /home/myoung/.rvm/gems/ruby-2.<wbr>3.1/bundler/gems/vagrant-<wbr>4572267c33f4/lib/vagrant/<wbr>action/warden.rb:34:in `call&#39;</div><div>        from /home/myoung/.rvm/gems/ruby-2.<wbr>3.1/bundler/gems/vagrant-<wbr>4572267c33f4/lib/vagrant/<wbr>action/builtin/config_<wbr>validate.rb:25:in `call&#39;</div><div>        from /home/myoung/.rvm/gems/ruby-2.<wbr>3.1/bundler/gems/vagrant-<wbr>4572267c33f4/lib/vagrant/<wbr>action/warden.rb:34:in `call&#39;</div><div>        from /home/myoung/.rvm/gems/ruby-2.<wbr>3.1/bundler/gems/vagrant-<wbr>4572267c33f4/lib/vagrant/<wbr>action/builtin/handle_box.rb:<wbr>56:in `call&#39;</div><div>        from /home/myoung/.rvm/gems/ruby-2.<wbr>3.1/bundler/gems/vagrant-<wbr>4572267c33f4/lib/vagrant/<wbr>action/warden.rb:34:in `call&#39;</div><div>        from /home/myoung/.rvm/gems/ruby-2.<wbr>3.1/bundler/gems/vagrant-<wbr>4572267c33f4/lib/vagrant/<wbr>action/builder.rb:116:in `call&#39;</div><div>        from /home/myoung/.rvm/gems/ruby-2.<wbr>3.1/bundler/gems/vagrant-<wbr>4572267c33f4/lib/vagrant/<wbr>action/runner.rb:66:in `block in run&#39;</div><div>        from /home/myoung/.rvm/gems/ruby-2.<wbr>3.1/bundler/gems/vagrant-<wbr>4572267c33f4/lib/vagrant/util/<wbr>busy.rb:19:in `busy&#39;</div><div>        from /home/myoung/.rvm/gems/ruby-2.<wbr>3.1/bundler/gems/vagrant-<wbr>4572267c33f4/lib/vagrant/<wbr>action/runner.rb:66:in `run&#39;</div><div>        from /home/myoung/.rvm/gems/ruby-2.<wbr>3.1/bundler/gems/vagrant-<wbr>4572267c33f4/lib/vagrant/<wbr>machine.rb:225:in `action_raw&#39;</div><div>        from /home/myoung/.rvm/gems/ruby-2.<wbr>3.1/bundler/gems/vagrant-<wbr>4572267c33f4/lib/vagrant/<wbr>machine.rb:200:in `block in action&#39;</div><div>        from /home/myoung/.rvm/gems/ruby-2.<wbr>3.1/bundler/gems/vagrant-<wbr>4572267c33f4/lib/vagrant/<wbr>environment.rb:567:in `lock&#39;</div><div>        from /home/myoung/.rvm/gems/ruby-2.<wbr>3.1/bundler/gems/vagrant-<wbr>4572267c33f4/lib/vagrant/<wbr>machine.rb:186:in `call&#39;</div><div>        from /home/myoung/.rvm/gems/ruby-2.<wbr>3.1/bundler/gems/vagrant-<wbr>4572267c33f4/lib/vagrant/<wbr>machine.rb:186:in `action&#39;</div><div>        from /home/myoung/.rvm/gems/ruby-2.<wbr>3.1/bundler/gems/vagrant-<wbr>4572267c33f4/lib/vagrant/<wbr>batch_action.rb:82:in `block (2 levels) in run&#39;</div></div><div><br></div></blockquote></div></div>
</blockquote></div><br></div>