[one-users] cluster datastore

Carlos Martín Sánchez cmartin at opennebula.org
Tue Apr 29 06:24:55 PDT 2014


Hi,

Each cluster needs at least one system DS. In your case, if your
configuration hasn't changed from your first email, DS 113 should be
detected.

$ onedatastore list
>   ID NAME                SIZE AVAIL CLUSTER      IMAGES TYPE DS       TM
>    1 default            47.2G 69%   -                 1 img  fs
> shared
>    2 files              47.2G 69%   -                 0 fil  fs       ssh
>  113 one-cluster-s          - -     cluster1          0 sys  -        ssh
>
> $ onehost list
>   ID NAME   CLUSTER   RVM      ALLOCATED_CPU      ALLOCATED_MEM STAT
>    4 one1sy cluster1    0       0 / 800 (0%)    0K / 23.6G (0%) on
>    5 one2sy cluster1    0       0 / 800 (0%)    0K / 23.6G (0%) on


Is that your current configuration? Can you see DS 113 in the output of
onecluster show cluster1?

About the system DS dir: it won't be created until one VM is deployed.

--
Carlos Martín, MSc
Project Engineer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | cmartin at opennebula.org |
@OpenNebula<http://twitter.com/opennebula><cmartin at opennebula.org>


On Tue, Apr 29, 2014 at 3:10 PM, Thomas Stein <himbeere at meine-oma.de> wrote:

> Am 29.04.14 12:53, schrieb Thomas Stein:
> > Am 29.04.14 11:13, schrieb Thomas Stein:
> >> Hello.
> >>
> >> I'm fighting with getting One 4.6 running. Here my current problem. I
> >> cannot deploy VMs to any hosts in the cluster. This is what i get in
> >> oned.log:
> >>
> >> Tue Apr 29 11:03:07 2014 [ReM][D]: Req:4976 UID:0 VirtualMachineDeploy
> >> result SUCCESS, 15
> >> Tue Apr 29 11:03:08 2014 [TM][D]: Message received: LOG I 15 Command
> >> execution fail: /var/lib/one/remotes/tm/shared/clone
> >> opennebula-frontend:/var/lib
> >> /one//datastores/1/a1e9e30d324eaeb3b823916ef3b00393
> >> one2-hostname-changed:/var/lib/one//datastores/113/15/disk.0 15 1
> >
> > Hm. Strange. If i create a new datastore (id_122 there is no
> > /var/lib/one/datastores/122 directory created. Is that right?
>
> It seems the root cause is:
>
> Tue Apr 29 14:56:39 2014 [ReM][E]: Req:8832 UID:0 VirtualMachineDeploy
> result FAILURE [VirtualMachineDeploy] cluster [102] does not have any
> datastore of type SYST
> EM_DS.
>
> I found a thread here:
>
>
> http://lists.opennebula.org/pipermail/users-opennebula.org/2013-December/025727.html
>
> But i don't know what to do with that. Someone has an idea?
>
> cheers
> t.
>
> > cheers
> > t.
> >
> >> This is how the datastores look.
> >>
> >> oneadmin at opennebula-frontend:~$ onedatastore list
> >>   ID NAME                SIZE AVAIL CLUSTER      IMAGES TYPE DS       TM
> >>
> >>    1 default            47.2G 69%   -                 1 img  fs
> shared
> >>    2 files              47.2G 69%   -                 0 fil  fs
> ssh
> >>  113 one-cluster-s          - -     cluster1          0 sys  -
>  ssh
> >> oneadmin at opennebula-frontend:~$
> >>
> >> oneadmin at opennebula-frontend:~$ onedatastore show 113
> >> DATASTORE 113 INFORMATION
> >>
> >> ID             : 113
> >> NAME           : one-cluster-system-ds
> >> USER           : oneadmin
> >> GROUP          : oneadmin
> >> CLUSTER        : cluster1
> >> TYPE           : SYSTEM
> >> DS_MAD         : -
> >> TM_MAD         : ssh
> >> BASE PATH      : /var/lib/one//datastores/113
> >> DISK_TYPE      : FILE
> >>
> >> DATASTORE CAPACITY
> >>
> >> TOTAL:         : -
> >> FREE:          : -
> >> USED:          : -
> >> LIMIT:         : -
> >>
> >> PERMISSIONS
> >>
> >> OWNER          : um-
> >> GROUP          : u--
> >> OTHER          : ---
> >>
> >> DATASTORE TEMPLATE
> >>
> >> BASE_PATH="/var/lib/one//datastores/"
> >> SHARED="NO"
> >> TM_MAD="ssh"
> >> TYPE="SYSTEM_DS"
> >>
> >>
> >> oneadmin at opennebula-frontend:~$ onehost list
> >>   ID NAME            CLUSTER   RVM      ALLOCATED_CPU      ALLOCATED_MEM
> >> STAT
> >>    4 one1sy cluster1    0       0 / 800 (0%)    0K / 23.6G (0%) on
> >>    5 one2sy cluster1    0       0 / 800 (0%)    0K / 23.6G (0%) on
> >> oneadmin at opennebula-frontend:~$
> >>
> >> Could someone give me helpfull pointers? I'm sure i did something wrong.
> >>
> >> thanks and best regards
> >> t.
> >> _______________________________________________
> >> Users mailing list
> >> Users at lists.opennebula.org
> >> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
> >>
> >
> > _______________________________________________
> > Users mailing list
> > Users at lists.opennebula.org
> > http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
> >
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20140429/9579663f/attachment-0002.htm>


More information about the Users mailing list