Bug 515217

Summary: Impossible to add storage servers
Product: [Community] Virtualization Tools Reporter: Sylvain Desbureaux <sylvain>
Component: ovirt-server-suiteAssignee: Hugh Brock <hbrock>
Status: CLOSED WONTFIX QA Contact:
Severity: medium Docs Contact:
Priority: low    
Version: unspecifiedCC: ovirt-bugs, ovirt-maint, sylvain
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-01-20 14:39:16 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Sylvain Desbureaux 2009-08-03 12:27:33 UTC
Description of problem:
impossible to add a volume

Version-Release number of selected component (if applicable):
ovirt-docs.noarch                         0.99-1.fc10
ovirt-node-image.x86_64                   1.0.1-1.fc10
ovirt-node-image-pxe.x86_64               1.0.1-1.fc10
ovirt-release.noarch                      0.99-1.fc10
ovirt-server.noarch                       0.99-1.fc10
ovirt-server-installer.noarch             0.99-1.fc10
qpidc.x86_64                              0.5.787286-2.fc10
qpidd.x86_64                              0.5.787286-2.fc10
ruby-qpid.x86_64                          0.5.787286-1.fc10

How reproducible:
always

Steps to Reproduce:
1. add a node and make it available / enabled
2. create a storage server in the same server
  
Actual results:

taskomatic.log answers is 
ERROR Mon Aug 03 10:44:06 +0200 2009 (7407) Task action processing failed: RuntimeError: Could not find a host within this storage pool to scan the storage server.


Expected results:

add of the storage server

Additional info:

if I replace line 582 and 583 of taskomatic with the following lines:
node_found=nil
nodes = @session.objects(:class => "node")
nodes.each do |node|
  @logger.info "node: #{node.hostname}"
  if node.hostname==host.hostname
    node_found=node
    @logger.info "node found!"
    break
  end
end
return node_found if node_found

it works, so the command "@session.object(:class => 'node', 'hostname' => host.hostname)" seems not to be the problem.

Comment 1 Cole Robinson 2014-01-20 14:39:16 UTC
This bugzilla product/component combination is no longer used: ovirt bugs are tracked under the bugzilla product 'oVirt'. If this bug is still valid, please reopen and set the correct product/component.