Bug 1428642
| Summary: | version 4.1.3 - uninitialized constant OvirtSDK4::MigrationOptionsReader::AutoConverge | ||
|---|---|---|---|
| Product: | [oVirt] ovirt-engine-sdk-ruby | Reporter: | marcus young <3vilpenguin> |
| Component: | General | Assignee: | Juan Hernández <juan.hernandez> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Lukas Svaty <lsvaty> |
| Severity: | urgent | Docs Contact: | |
| Priority: | urgent | ||
| Version: | 4.1.3 | CC: | 3vilpenguin, bugs, lsvaty |
| Target Milestone: | ovirt-4.1.1 | Flags: | rule-engine:
ovirt-4.1+
rule-engine: planning_ack+ rule-engine: devel_ack+ pstehlik: testing_ack+ |
| Target Release: | 4.1.4 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | ovirt-engine-sdk-4.1.4 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-04-21 09:51:05 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | Infra | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
Marcus, I have just released version 4.1.4 to rubygems.org. It should fix this issue. Would appreciate if you can verify it. Juan that got it
myoung dev ~ repos github vagrant-ovirt4 jenkins ✎ $ vagrant plugin install *.gem
Installing the 'vagrant-ovirt4-1.1.0.gem' plugin. This can take a few minutes...
Fetching: ovirt-engine-sdk-4.1.4.gem (100%)
Building native extensions. This could take a while...
Fetching: filesize-0.1.1.gem (100%)
Installed the plugin 'vagrant-ovirt4 (1.1.0)'!
myoung dev ~ repos github vagrant-ovirt4 jenkins 2✎ $ bundle exec kitchen test all -p
-----> Starting Kitchen (v1.15.0)
-----> Cleaning up any prior instances of <static-network-centos7>
-----> Destroying <static-network-centos7>...
Finished destroying <static-network-centos7> (0m0.00s).
-----> Cleaning up any prior instances of <dynamic-network-centos7>
-----> Destroying <dynamic-network-centos7>...
Finished destroying <dynamic-network-centos7> (0m0.00s).
-----> Testing <dynamic-network-centos7>
-----> Creating <dynamic-network-centos7>...
-----> Cleaning up any prior instances of <multiple-networks-centos7>
-----> Destroying <multiple-networks-centos7>...
-----> Testing <static-network-centos7>
-----> Creating <static-network-centos7>...
Bringing machine 'default' up with 'ovirt4' provider...
==> default: Creating VM with the following settings...
==> default: -- Name: dynamic-network-centos7.vagrantup.com
==> default: -- Cluster: Default
==> default: -- Template: vagrant-centos7
==> default: -- Console Type:
==> default: -- Memory:
==> default: ---- Memory: 1024 MB
==> default: ---- Maximum: 1024 MB
==> default: ---- Guaranteed: 1024 MB
==> default: -- Cpu:
==> default: ---- Cores: 1
==> default: ---- Sockets: 1
==> default: ---- Threads: 1
==> default: -- Cloud-Init: true
==> default: Waiting for VM to become "ready" to start...
==> default: Starting VM.
==> default: Waiting for VM to get an IP address...
|
Description of problem: /home/myoung/.vagrant.d/gems/2.2.5/gems/ovirt-engine-sdk-4.1.3/lib/ovirtsdk4/readers.rb:9803:in `read_one': uninitialized constant Version-Release number of selected component (if applicable): sdk 4.1.3 engine oVirt Engine Version: 4.1.0.4-1.el7.centos How reproducible: always Steps to Reproduce: 1. create VM using sdk Actual results: uninitialized constant OvirtSDK4::MigrationOptionsReader::AutoConverge Expected results: no errors Additional info: reverting gem dependency to `=4.1.1` instead of `~>4.1.1` (not using latest) works myoung dev ~ repos github vagrant-ovirt4 jenkins ✔ 2✎ ❓ $ vagrant up Bringing machine 'default' up with 'ovirt4' provider... ==> default: Creating VM with the following settings... ==> default: -- Name: test ==> default: -- Cluster: Default ==> default: -- Template: vagrant-centos7 ==> default: -- Console Type: ==> default: -- Memory: ==> default: ---- Memory: 1024 MB ==> default: ---- Maximum: 1024 MB ==> default: ---- Guaranteed: 1024 MB ==> default: -- Cpu: ==> default: ---- Cores: 1 ==> default: ---- Sockets: 1 ==> default: ---- Threads: 1 ==> default: -- Cloud-Init: false #<OvirtSDK4::XmlReader:0x00000003e2e0e8> ==> default: An error occured. Recovering.. ==> default: VM is not created. Please run `vagrant up` first. /home/myoung/.vagrant.d/gems/2.2.5/gems/ovirt-engine-sdk-4.1.3/lib/ovirtsdk4/readers.rb:9803:in `read_one': uninitialized constant OvirtSDK4::MigrationOptionsReader::AutoConverge (NameError) from /home/myoung/.vagrant.d/gems/2.2.5/gems/ovirt-engine-sdk-4.1.3/lib/ovirtsdk4/readers.rb:17244:in `read_one' from /home/myoung/.vagrant.d/gems/2.2.5/gems/ovirt-engine-sdk-4.1.3/lib/ovirtsdk4/services.rb:36278:in `add' from /home/myoung/.vagrant.d/gems/2.2.5/gems/vagrant-ovirt4-1.1.0/lib/vagrant-ovirt4/action/create_vm.rb:67:in `call' from /opt/vagrant/embedded/gems/gems/vagrant-1.9.2/lib/vagrant/action/warden.rb:34:in `call' from /home/myoung/.vagrant.d/gems/2.2.5/gems/vagrant-ovirt4-1.1.0/lib/vagrant-ovirt4/action/set_name_of_domain.rb:17:in `call' from /opt/vagrant/embedded/gems/gems/vagrant-1.9.2/lib/vagrant/action/warden.rb:34:in `call' from /opt/vagrant/embedded/gems/gems/vagrant-1.9.2/lib/vagrant/action/warden.rb:95:in `block in finalize_action' from /opt/vagrant/embedded/gems/gems/vagrant-1.9.2/lib/vagrant/action/warden.rb:34:in `call' from /opt/vagrant/embedded/gems/gems/vagrant-1.9.2/lib/vagrant/action/warden.rb:34:in `call' from /opt/vagrant/embedded/gems/gems/vagrant-1.9.2/lib/vagrant/action/builder.rb:116:in `call' from /opt/vagrant/embedded/gems/gems/vagrant-1.9.2/lib/vagrant/action/runner.rb:66:in `block in run' from /opt/vagrant/embedded/gems/gems/vagrant-1.9.2/lib/vagrant/util/busy.rb:19:in `busy' from /opt/vagrant/embedded/gems/gems/vagrant-1.9.2/lib/vagrant/action/runner.rb:66:in `run' from /opt/vagrant/embedded/gems/gems/vagrant-1.9.2/lib/vagrant/action/builtin/call.rb:53:in `call' from /opt/vagrant/embedded/gems/gems/vagrant-1.9.2/lib/vagrant/action/warden.rb:34:in `call' from /home/myoung/.vagrant.d/gems/2.2.5/gems/vagrant-ovirt4-1.1.0/lib/vagrant-ovirt4/action/connect_ovirt.rb:31:in `call' from /opt/vagrant/embedded/gems/gems/vagrant-1.9.2/lib/vagrant/action/warden.rb:34:in `call' from /opt/vagrant/embedded/gems/gems/vagrant-1.9.2/lib/vagrant/action/builtin/config_validate.rb:25:in `call' from /opt/vagrant/embedded/gems/gems/vagrant-1.9.2/lib/vagrant/action/warden.rb:34:in `call' from /opt/vagrant/embedded/gems/gems/vagrant-1.9.2/lib/vagrant/action/builder.rb:116:in `call' from /opt/vagrant/embedded/gems/gems/vagrant-1.9.2/lib/vagrant/action/runner.rb:66:in `block in run' from /opt/vagrant/embedded/gems/gems/vagrant-1.9.2/lib/vagrant/util/busy.rb:19:in `busy' from /opt/vagrant/embedded/gems/gems/vagrant-1.9.2/lib/vagrant/action/runner.rb:66:in `run' from /opt/vagrant/embedded/gems/gems/vagrant-1.9.2/lib/vagrant/machine.rb:225:in `action_raw' from /opt/vagrant/embedded/gems/gems/vagrant-1.9.2/lib/vagrant/machine.rb:200:in `block in action' from /opt/vagrant/embedded/gems/gems/vagrant-1.9.2/lib/vagrant/environment.rb:567:in `lock' from /opt/vagrant/embedded/gems/gems/vagrant-1.9.2/lib/vagrant/machine.rb:186:in `call' from /opt/vagrant/embedded/gems/gems/vagrant-1.9.2/lib/vagrant/machine.rb:186:in `action' from /opt/vagrant/embedded/gems/gems/vagrant-1.9.2/lib/vagrant/batch_action.rb:82:in `block (2 levels) in run' myoung dev ~ repos github vagrant-ovirt4 jenkins ✔ 3✎ ❓ $ gem build *.gemspec Successfully built RubyGem Name: vagrant-ovirt4 Version: 1.1.0 File: vagrant-ovirt4-1.1.0.gem myoung dev ~ repos github vagrant-ovirt4 jenkins ✔ 3✎ ❓ $ vagrant plugin uninstall vagrant-ovirt4 Uninstalling the 'vagrant-ovirt4' plugin... Successfully uninstalled ovirt-engine-sdk-4.1.3 Successfully uninstalled vagrant-ovirt4-1.1.0 myoung dev ~ repos github vagrant-ovirt4 jenkins ✔ 3✎ ❓ $ vagrant plugin install vagrant-ovirt4-1.1.0.gem Installing the 'vagrant-ovirt4-1.1.0.gem' plugin. This can take a few minutes... Fetching: ovirt-engine-sdk-4.1.1.gem (100%) Building native extensions. This could take a while... Installed the plugin 'vagrant-ovirt4 (1.1.0)'! myoung dev ~ repos github vagrant-ovirt4 jenkins ✔ 3✎ ❓ $ vagrant up Bringing machine 'default' up with 'ovirt4' provider... ==> default: Creating VM with the following settings... ==> default: -- Name: test ==> default: -- Cluster: Default ==> default: -- Template: vagrant-centos7 ==> default: -- Console Type: ==> default: -- Memory: ==> default: ---- Memory: 1024 MB ==> default: ---- Maximum: 1024 MB ==> default: ---- Guaranteed: 1024 MB ==> default: -- Cpu: ==> default: ---- Cores: 1 ==> default: ---- Sockets: 1 ==> default: ---- Threads: 1 ==> default: -- Cloud-Init: false ==> default: Waiting for VM to become "ready" to start... ==> default: Starting VM. ==> default: Waiting for VM to get an IP address... ==> default: Machine is booted and ready for use! ==> default: Rsyncing folder: /home/myoung/.kitchen/cache/ => /tmp/omnibus/cache ==> default: Setting hostname... default: default: Vagrant insecure key detected. Vagrant will automatically replace default: this with a newly generated keypair for better security. default: default: Inserting generated public key within guest... default: Removing insecure key from the guest if it's present... default: Key inserted! Disconnecting and reconnecting using new SSH key...