[Users] CLI: can't attach storagedomain

David Li david_li at sbcglobal.net
Wed Mar 21 15:10:26 UTC 2012


Omer,

Here is my storagedomain and datacenter info.

[oVirt shell (connected)]# list datacenters --show-all 

id                              : ac2690e4-72b2-11e1-882d-000c29bf47ca
name                            : Default
description                     : The default Data Center
status-state                    : uninitialized
storage_type                    : nfs
supported_versions-version-major: 3
supported_versions-version-minor: 0
version-major                   : 3
version-minor                   : 0


[oVirt shell (connected)]# list storagedomains 
datacenter  kwargs      show-all    
[oVirt shell (connected)]# list storagedomains --show-all 

id             : 27dfd13e-aec4-4708-b0e3-a7f4143a118b
name           : fc16-lid-engine_iso-domain
available      : 0
committed      : 0
master         : False
status-state   : unattached
storage-address: fc16-lid-engine.srv.cloudshield.com
storage-path   : /home/lid2/workspace/ovirt/storagedomain/iso-domain
storage-type   : nfs
storage_format : v1
type           : iso
used           : 0






----- Original Message ----
From: Omer Frenkel <ofrenkel at redhat.com>
To: David Li <david_li at sbcglobal.net>
Cc: users at ovirt.org
Sent: Wed, March 21, 2012 7:44:28 AM
Subject: Re: [Users] CLI: can't attach storagedomain



----- Original Message -----
> From: "David Li" <david_li at sbcglobal.net>
> To: users at ovirt.org
> Sent: Wednesday, March 21, 2012 4:14:11 PM
> Subject: [Users] CLI: can't attach storagedomain
> 
> Hi,
> I have an iso domain created during engine setup. But I can't attach
> it to the
> datacenter in cli.
> 
> oVirt shell (connected)]# create storagedomain --name
> "fc16-lid-engine_iso-domain" --datacenter-identifier
> "ac2690e4-72b2-11e1-882d-000c29bf47ca"
> unknown error:
> status: 400
> reason: Bad Request
> detail: [Cannot attach Storage Domain.]
> 
> 
> Any ideas?

what is the status of the DC you are trying to attach this domain?
first domain attached to a DC should be data domain, to function as master 
storage domain.

> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 




More information about the Users mailing list