Displaying 20 results from an estimated 31 matches for "vm_id".
Did you mean:
vm_io
2009 Jul 24
1
permit many-to-many vms / networks relationship redux
redux patchset permitting a vm to be associated with
multiple networks and vice-versa. updated patchset so
as to be applicable against current oVirt server HEAD
these patches may be applied in any order, they all
need to be pushed together
2009 Jul 09
2
permit many-to-many vms / networks relationship
This patchset contains changes to the ovirt server
frontend, backend, and tests components, permitting vms
to be associated with multiple networks and vice versa.
Also included are two patches which are required for the frontend
bits; a patch adding collapsable sections to the vm form, which
in itself depends on the second patch that provides default values
for the cpu and memory vm table fields
2017 Aug 30
2
spice client?
...ns of encryption methods and the
overall extreme difficulty to deal with it.
In this case, no encryption is needed. That is my decision, and if spice thinks
it could make that decision for me, it needs to be fixed.
>
> virt-viewer --connect qemu+ssh://<hypervisor_hostname>/system <vm_id>
>
>
> Regards,
> Milos.
>
> Quoting hw <hw at gc-24.de>:
>
>> Felipe Salvador wrote:
>>> On Wed, Aug 30, 2017 at 04:55:45PM +0200, hw wrote:
>>>>
>>>> Hi,
>>>>
>>>> how do I connect to a VM running on a re...
2009 Jan 04
0
"xm migrate VM_ID dest_IP_addr --kemari" fails
Hi
I have a setup where I have an eth2 10GB interface setup a loop back
between two dell 1950 servers. I have enabled VT in the bios. The eth0
interface is on a 1GB network. I am using an iscsi shared drive for the
HVM image.
I have followed the instruction provided in
http://www.osrg.net/kemari/usage.html
Now once everything is setup:
After launching the HVM, I execute the following
2009 Jun 30
0
[PATCH server] permit many-to-many vms / networks relationship
...d/etc just don't add profiles
end
end
+
+ # sets up a list of nics for the vm form
+ def _setup_network_options
+ net_conditions = ""
+ @nics = []
+
+ unless @vm.nil?
+ @vm.nics.each { |nic|
+ nnic = Nic.new(:mac => nic.mac,
+ :vm_id => @vm.id,
+ :network => nic.network)
+ if(nic.network.boot_type.proto == 'static')
+ nnic.ip_addresses << IpAddress.new(:address => nic.ip_address)
+ end
+ @nics.push nnic
+
+ net_conditions += (net_conditions == "" ? &qu...
2009 Jun 29
0
[PATCH server] Add svc_vm_actions method to VmService.
...nError.new("#{vm_action} is an invalid action.")
+ raise ActionError.new("#{vm_action} cannot be performed on this vm.")
+ end
+ return "#{@vm.description}: #{vm_action} was successfully queued."
+ end
+
+ # Perform action +vm_action+ on vms identified by +vm_id+
+ #
+ # === Instance variables
+ # * <tt>@vms</tt> VMs identified by +vm_ids+
+ # === Required permissions
+ # permission is action-specific as determined by
+ # <tt>VmTask.action_privilege(@action)</tt>
+ # This method can be called to initiate an action on one or m...
2018 Feb 18
0
[PATCH 1/3] v2v: tests: check generated OVF
...<IsInitilized>True</IsInitilized>
+ <IsAutoSuspend>False</IsAutoSuspend>
+ <TimeZone/>
+ <IsStateless>False</IsStateless>
+ <VmType>0</VmType>
+ <DefaultDisplayType>1</DefaultDisplayType>
+ <Section ovf:id='#VM_ID#' ovf:required='false' xsi:type='ovf:OperatingSystemSection_Type'>
+ <Info>Microsoft Windows 7 Phony Edition</Info>
+ <Description>Windows7</Description>
+ </Section>
+ <Section xsi:type='ovf:VirtualHardwareSection_Type'...
2017 Aug 30
0
spice client?
...0, 2017 at 08:05:18PM +0200, hw wrote:
> In this case, no encryption is needed. That is my decision, and if spice thinks
> it could make that decision for me, it needs to be fixed.
So I think you can replace
> > virt-viewer --connect qemu+ssh://<hypervisor_hostname>/system <vm_id>
with[1]
virt-viewer --connect qemu+tcp://example.com/system <vm_id>
[1] http://libvirt.org/drvqemu.html#uris
--
Felipe Salvador
2009 Jun 29
2
One more fix
This resend includes the rebase, but fixes a problem I just noticed with nil/empty checks.
2009 Jun 29
2
Resend of Cloud UI/service patches
This is a resend of the 2-patch series from a week or so ago, needed to be rebased due to some commits on next
2009 Jun 22
2
Patch series for Cloud Vm Actions
The following two patches should be applied in the order:
* [PATCH server] Add svc_vm_actions method to VmService.
* [PATCH server] Cloud UI layer to initiate actions on vms.
The service layer patch should work fine on its own (and not break
anything), but cloud patch relies on service being there.
2017 Aug 30
2
spice client?
Felipe Salvador wrote:
> On Wed, Aug 30, 2017 at 04:55:45PM +0200, hw wrote:
>>
>> Hi,
>>
>> how do I connect to a VM running on a removte machine with some
>> sort of spice client? There doesn?t seem to be any spice client
>> available in Centos 7 that works.
>
> virt-viewer?
>
That only says it?s unable to connect.
The XML-dump says:
2010 Aug 25
0
[PATCH] Adding the VM Pool migration for vms
...ot; action="<%= url_for :action => 'update_vmpool' %>">
+ <div class="dialog_form">
+ <%= error_messages_for 'change_vmpool' %>
+
+ <% form_tag do %>
+ <!--[form:change_vmpool]-->
+ <%= hidden_field_tag 'vm_id', @vm.id %>
+ <%= label "vm", "vm_resource_pool_id", "Select the pool to migrate to" %>
+ <%= select "vm", "vm_resource_pool_id", @vm_pools.map { |pool| [pool.name, pool.id] } %>
+ <% end %>
+
+ </div>
+...
2009 May 20
1
[PATCH server] don't add nil key to failures hash for PartialSuccessError handling.
...--git a/src/app/controllers/vm_controller.rb b/src/app/controllers/vm_controller.rb
index 8165a85..4f38cc4 100644
--- a/src/app/controllers/vm_controller.rb
+++ b/src/app/controllers/vm_controller.rb
@@ -94,10 +94,9 @@ class VmController < ApplicationController
begin
svc_destroy(vm_id)
successes << @vm
- rescue PermissionError => perm_error
- failures[@vm] = perm_error.message
+ # PermissionError expected
rescue Exception => ex
- failures[@vm] = ex.message
+ failures[@vm.nil? ? vm_id : @vm] = ex.message
end
e...
2010 Sep 01
1
[PATCH 1/3] Adding the VM Pool migration for vms
...:action => 'update_vmpool' %>">
+ <div class="dialog_form">
+ <%= error_messages_for 'change_vmpool' %>
+
+ <% form_tag do %>
+ <!--[form:change_vmpool]-->
+ <%= hidden_field_tag 'id', @vm.id, :id => 'vm_id' %>
+ <%= label "vm", "vm_resource_pool_id", "Select the pool to migrate to" %>
+ <%= select "vm", "vm_resource_pool_id", @vm_pools.map { |pool| [pool.name, pool.id] } %>
+ <% end %>
+
+ </div>
+ <%=...
2009 Jun 29
0
[PATCH server] REVISED Vm state change auditing/accounting
...pl.html.
+
+class AddVmStateAudit < ActiveRecord::Migration
+ def self.up
+ add_column :vms, :total_uptime, :integer, :default => 0
+ add_column :vms, :total_uptime_timestamp, :timestamp
+
+ create_table :vm_state_change_events do |t|
+ t.timestamp :created_at
+ t.integer :vm_id
+ t.string :from_state
+ t.string :to_state
+ t.integer :lock_version, :default => 0
+ end
+
+ Vm.transaction do
+ Vm.find(:all).each do |vm|
+ event = VmStateChangeEvent.new(:vm_id => vm.id,
+ :to_state => vm.state
+...
2009 Jun 24
1
[PATCH server] Vm state change auditing/accounting
...pl.html.
+
+class AddVmStateAudit < ActiveRecord::Migration
+ def self.up
+ add_column :vms, :total_uptime, :integer, :default => 0
+ add_column :vms, :total_uptime_timestamp, :timestamp
+
+ create_table :vm_state_change_events do |t|
+ t.timestamp :created_at
+ t.integer :vm_id
+ t.string :from_state
+ t.string :to_state
+ t.integer :lock_version, :default => 0
+ end
+
+ Vm.transaction do
+ Vm.find(:all).each do |vm|
+ event = VmStateChangeEvent.new(:vm_id => vm.id,
+ :to_state => vm.state
+...
2009 Jul 13
0
[PATCH server] remove vm forward vnc and vm host history
...uire 'logger'
-require 'vnc'
include Daemonize
@@ -159,36 +158,6 @@ class DbOmatic < Qpid::Qmf::Console
end
end
- begin
- # find open vm host history for this vm,
- history = VmHostHistory.find(:first, :conditions => ["vm_id = ? AND time_ended is NULL", vm.id])
-
- if state == Vm::STATE_RUNNING
- if history.nil?
- history = VmHostHistory.new
- history.vm = vm
- history.host = vm.host
- history.vnc_port = vm.vnc_port
- histor...
2009 May 18
0
[PATCH server] fixed functional tests after recent controller refactoring and managed node controller fixes.
...b/src/test/functional/vm_controller_test.rb
index c7769dd..a059c50 100644
--- a/src/test/functional/vm_controller_test.rb
+++ b/src/test/functional/vm_controller_test.rb
@@ -32,9 +32,10 @@ class VmControllerTest < Test::Unit::TestCase
@response = ActionController::TestResponse.new
@vm_id = vms(:production_httpd_vm).id
- @default_pool = pools(:default)
+ @vm_pool = pools(:corp_com_production_vmpool)
end
+
def test_show
get :show, :id => @vm_id
@@ -46,23 +47,22 @@ class VmControllerTest < Test::Unit::TestCase
end
def test_new
- get :new, :hardwar...
2017 Aug 30
0
spice client?
...e spice connection via
SSH. This is so 'by design'.
You'll certainly need an SSH keypair for authentication along with the
ssh-agent (if your private key is password protected). I'm using
something like:
virt-viewer --connect qemu+ssh://<hypervisor_hostname>/system <vm_id>
Regards,
Milos.
Quoting hw <hw at gc-24.de>:
> Felipe Salvador wrote:
>> On Wed, Aug 30, 2017 at 04:55:45PM +0200, hw wrote:
>>>
>>> Hi,
>>>
>>> how do I connect to a VM running on a removte machine with some
>>> sort of spice clie...