You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by do...@gmail.com, do...@gmail.com on 2019/04/16 10:50:04 UTC

FC STORAGE

Hello,

I would like to build a private cloud based on cloustack. The infrastructure is ready and when adding the primary storage gets an error: the cluster can't connect to the storage. The cluster is build on latest xcp-ng, and storage is on FC. The disk resource is visible on the clusters.
My question is whether the first storage must also be connected to the management server?

Re: FC STORAGE

Posted by Dag Sonstebo <Da...@shapeblue.com>.
I've played with this in the lab today:

- ACS4.11.2
- XCP-ng 7.4 (not yet tried later versions)
- iSCSI storage - not FC - but should behave roughly the same
- Logging this as https://github.com/apache/cloudstack/issues/3281 (will be updated this PM)

It definitely seems like we have a problem: adding the iSCSI pool using createStoragpool API / GUI with the iSCSI protocol and DefaultPrimary provider will result in the following.

- pools are successfully added to XCP-ng hosts:

[root@ref-trl-1050-x-M7-dsonstebo-xs2 ~]# xe sr-list type=lvmoiscsi params=uuid,name-label,host,type,PBDs
uuid ( RO)          : bab782cc-5cf7-d356-35fe-ef1d834876a1
    name-label ( RW): 7528269b-d349-3ef7-84fc-be05b138cfda
          host ( RO): <shared>
          PBDs (SRO): 5de4bac0-e468-420c-5bb3-ff244ee4743a; 9f009d93-95a0-00b2-1146-ccdcda846b2c
          type ( RO): lvmoiscsi


uuid ( RO)          : 55fddcb5-b095-e685-ba47-9388e120d5db
    name-label ( RW): 336f8108-d790-36fb-b568-9c096b1efc3c
          host ( RO): <shared>
          PBDs (SRO): d8c04363-a2b4-a93e-0c09-17eb0ba1b795; 140954b3-afe8-193b-860e-d5cea86c7a9f
          type ( RO): lvmoiscsi

[root@ref-trl-1050-x-M7-dsonstebo-xs2 ~]# xe pbd-list uuid=5de4bac0-e468-420c-5bb3-ff244ee4743a params=device-config
device-config (MRO)    : targetIQN: iqn.2017-01.local.sblab:1faba1ed-79fc-46a3-acc6-4a60a7dcd65f; SCSIid: 360014057f37d447de4e4b66a88f6d086; target: someip

[root@ref-trl-1050-x-M7-dsonstebo-xs2 ~]# xe pbd-list uuid=d8c04363-a2b4-a93e-0c09-17eb0ba1b795 params=device-config
device-config (MRO)    : targetIQN: iqn.2017-01.local.sblab:1faba1ed-79fc-46a3-acc6-4a60a7dcd65f; SCSIid: 3600140531b0ef90d5f547059b55da52f; target: someip

- However ACS will not add the pool to config / database:

2019-04-18 08:45:01,287 WARN  [c.c.h.x.r.w.x.CitrixModifyStoragePoolCommandWrapper] (DirectAgent-5:ctx-0f96ece5) (logid:70745797) ModifyStoragePoolCommand add XenAPIException:Unable to setup heartbeat sr on SR 55fddcb5-b095-e685-ba47-9388e120d5db due to #7# volume hb-a615cbc3-cb8d-47f4-b9c6-271a29e6defd is not created host:a615cbc3-cb8d-47f4-b9c6-271a29e6defd pool: someip/iqn.2017-01.local.sblab:1faba1ed-79fc-46a3-acc6-4a60a7dcd65f/0
com.cloud.utils.exception.CloudRuntimeException: Unable to setup heartbeat sr on SR 55fddcb5-b095-e685-ba47-9388e120d5db

2019-04-18 08:45:01,746 WARN  [o.a.c.s.d.l.CloudStackPrimaryDataStoreLifeCycleImpl] (qtp788117692-17:ctx-4291fe72 ctx-258944ee ctx-7f710460) (logid:70745797) No host can access storage pool org.apache.cloudstack.storage.datastore.PrimaryDataStoreImpl@6b4a4668 on cluster 1
2019-04-18 08:45:01,752 DEBUG [c.c.s.StorageManagerImpl] (qtp788117692-17:ctx-4291fe72 ctx-258944ee ctx-7f710460) (logid:70745797) Failed to add data store: Failed to access storage pool
com.cloud.utils.exception.CloudRuntimeException: Failed to access storage pool

2019-04-18 08:45:09,005 WARN  [c.c.h.x.r.w.x.CitrixModifyStoragePoolCommandWrapper] (DirectAgent-11:ctx-57617773) (logid:de8a1822) ModifyStoragePoolCommand add XenAPIException:Unable to setup heartbeat sr on SR bab782cc-5cf7-d356-35fe-ef1d834876a1 due to #7# volume hb-5b87fc04-0899-4cc3-8bf9-7f70f762a8d7 is not created host:5b87fc04-0899-4cc3-8bf9-7f70f762a8d7 pool: 10.2.0.34/iqn.2017-01.local.sblab:1faba1ed-79fc-46a3-acc6-4a60a7dcd65f/1
com.cloud.utils.exception.CloudRuntimeException: Unable to setup heartbeat sr on SR bab782cc-5cf7-d356-35fe-ef1d834876a1 due to #7# volume hb-5b87fc04-0899-4cc3-8bf9-7f70f762a8d7 is not created

2019-04-18 08:45:09,012 WARN  [o.a.c.s.d.l.CloudStackPrimaryDataStoreLifeCycleImpl] (qtp788117692-18:ctx-855e8d96 ctx-44847c98 ctx-4f4aa928) (logid:de8a1822) No host can access storage pool org.apache.cloudstack.storage.datastore.PrimaryDataStoreImpl@69e25739 on cluster 1

2019-04-18 08:45:09,017 DEBUG [c.c.s.StorageManagerImpl] (qtp788117692-18:ctx-855e8d96 ctx-44847c98 ctx-4f4aa928) (logid:de8a1822) Failed to clean up storage pool: null
2019-04-18 08:45:09,017 INFO  [c.c.a.ApiServer] (qtp788117692-18:ctx-855e8d96 ctx-44847c98 ctx-4f4aa928) (logid:de8a1822) Failed to add data store: Failed to access storage pool

- At this point also checked that the XCP-ng hosts can actually successfully write to the SRs - which works fine.
- Now trying to add the (already added in XCP) SR's as presetup pools - which again fails:

2019-04-18 11:57:57,396 DEBUG [c.c.a.ApiServlet] (qtp788117692-380:ctx-409b48b6) (logid:f7be07f6) ===START===  10.1.0.1 -- GET  command=createStoragePool&scope=cluster&zoneid=a8751ba6-cfa5-45e5-906d-2430017e6d6e&podid=f8e6f659-1e19-4d79-b0cd-df324ee25bb2&clusterid=23a8c2a0-8be0-4c49-90aa-ea8965f9a081&name=ISCSIPRESETUP&provider=DefaultPrimary&url=presetup%3A%2F%2Flocalhost%2F7528269b-d349-3ef7-84fc-be05b138cfda&response=json&_=1555588765517

2019-04-18 11:57:57,899 WARN  [c.c.h.x.r.w.x.CitrixModifyStoragePoolCommandWrapper] (DirectAgent-100:ctx-9f3cdefb) (logid:f7be07f6) ModifyStoragePoolCommand add XenAPIException:Unable to setup heartbeat sr on SR bab782cc-5cf7-d356-35fe-ef1d834876a1 due to #7# volume hb-a615cbc3-cb8d-47f4-b9c6-271a29e6defd is not created host:a615cbc3-cb8d-47f4-b9c6-271a29e6defd pool: localhost/7528269b-d349-3ef7-84fc-be05b138cfda

2019-04-18 11:57:57,905 WARN  [o.a.c.s.d.l.CloudStackPrimaryDataStoreLifeCycleImpl] (qtp788117692-380:ctx-409b48b6 ctx-6ae91546) (logid:f7be07f6) Unable to establish a connection between Host[-1-Routing] and org.apache.cloudstack.storage.datastore.PrimaryDataStoreImpl@4dd486dc
com.cloud.utils.exception.CloudRuntimeException: Unable establish connection from storage head to storage pool 5 due to ModifyStoragePoolCommand add XenAPIException:Unable to setup heartbeat sr on SR bab782cc-5cf7-d356-35fe-ef1d834876a1 due to #7# volume hb-a615cbc3-cb8d-47f4-b9c6-271a29e6defd is not created host:a615cbc3-cb8d-47f4-b9c6-271a29e6defd pool: localhost/7528269b-d349-3ef7-84fc-be05b138cfda5

Regards,
Dag Sonstebo
Cloud Architect
ShapeBlue
 

On 18/04/2019, 08:29, "Andrija Panic" <an...@gmail.com> wrote:

    http://downloadns.citrix.com.edgesuite.net/11988/XenServer-7.1.0-s1-install-cd.iso
    
    
    
    On Thu, 18 Apr 2019 at 09:12, Dominik Czerepiński <do...@gmail.com>
    wrote:
    
    > Hello  Adrian Sender,
    > XenServer 7.1LTSR have non-free license? Because citrix want to pay for
    > this version. Only 7.6 I found free version.
    >
    > czw., 18 kwi 2019 o 02:34 <as...@testlabs.com.au> napisał(a):
    >
    > > Instead of me running up a lab with xcp-ing - can you try with Xenserver
    > > 7.1LTS - do not use newer versions as features are removed required for
    > > cloudstack (unless you pay for them).
    > >
    > > -Adrian Sender
    > >
    > >
    > >
    > > On 2019-04-18 06:58, Dominik Czerepiński wrote:
    > > > / didn't work. In attachment log from MGMT.
    > > >
    > > > śr., 17 kwi 2019 o 22:43 Grégoire Lamodière <g....@dimsi.fr>
    > > > napisał(a):
    > > >
    > > >> Hi Dominik,
    > > >>
    > > >> I have no longer PreShared storage here, so I cannot be 100% sure,
    > > >> but I think you should add a / before your storage name : /STORAGE01
    > > >>
    > > >>
    > > >> If still not working, can you share the mgmt logs whille trying to
    > > >> add the pr store ?
    > > >>
    > > >> Cheers.
    > > >>
    > > >> Grégoire
    > > >>
    > > >> DE : Dominik Czerepiński [mailto:dominator89@gmail.com]
    > > >> ENVOYÉ : mercredi 17 avril 2019 18:49
    > > >> À : asender@testlabs.com.au
    > > >> CC : users@cloudstack.apache.org
    > > >> OBJET : Re: FC STORAGE
    > > >>
    > > >> Yes. Ok so I try one more time add FC storage as a primary storage
    > > >> to my cluster via cloustack manager and no luck. In the attachment
    > > >> I'm sending you screenshots of my configuration and log after adding
    > > >> storage.
    > > >>
    > > >> wt., 16 kwi 2019 o 15:22 <as...@testlabs.com.au> napisał(a):
    > > >>
    > > >>> Are you selecting presetup with xcp-ing?
    > > >>>
    > > >>> With xenserver when adding the FC storage within cloudstack you
    > > >>> need to
    > > >>> set presetup as the type:
    > > >>>
    > > >>> Type    PreSetup
    > > >>> Path    /DELL-SC4020
    > > >>>
    > > >>> -Adrian Sender
    > > >>>
    > > >>> On 2019-04-16 21:00, Dominik Czerepiński wrote:
    > > >>>> Storage is presented to hypervisor host via targetcli and on Xen
    > > >>>> manager is enabled multipath so on all host I see storage  via
    > > >>>> multiparty. CloudStack version is 4.11 but I try older version
    > > >>> 4.10
    > > >>>> and older version xcp-ng 4.6. All combination give me this same
    > > >>> result
    > > >>>> can’t connect storage to hosts. If I present NFS as a primary
    > > >>> storage
    > > >>>> configuration complete successfully.
    > > >>>>
    > > >>>>> Wiadomość napisana przez Rafael Weingärtner
    > > >>>>> <ra...@gmail.com> w dniu 16.04.2019, o godz. 12:52:
    > > >>>>>
    > > >>>>> No need to be connected to the management server (MS). How did
    > > >>> you
    > > >>>>> introduce the storage to CloudStack? What is the version of
    > > >>> your
    > > >>>>> hypervisor? The version of CloudStack? How did you
    > > >>> configure/connect
    > > >>>>> the
    > > >>>>> storage with the hypervisors hosts?
    > > >>>>>
    > > >>>>> On Tue, Apr 16, 2019 at 7:50 AM dominator89@gmail.com
    > > >>>>> <do...@gmail.com>
    > > >>>>> wrote:
    > > >>>>>
    > > >>>>>> Hello,
    > > >>>>>>
    > > >>>>>> I would like to build a private cloud based on cloustack. The
    > > >>>>>> infrastructure is ready and when adding the primary storage
    > > >>> gets an
    > > >>>>>> error:
    > > >>>>>> the cluster can't connect to the storage. The cluster is build
    > > >>> on
    > > >>>>>> latest
    > > >>>>>> xcp-ng, and storage is on FC. The disk resource is visible on
    > > >>> the
    > > >>>>>> clusters.
    > > >>>>>> My question is whether the first storage must also be
    > > >>> connected to
    > > >>>>>> the
    > > >>>>>> management server?
    > > >>>>>>
    > > >>>>>
    > > >>>>>
    > > >>>>> --
    > > >>>>> Rafael Weingärtner
    > > >>
    > > >> --
    > > >>
    > > >> Pozdrawiam Dominik Czerepiński
    > > >
    > > > --
    > > > Pozdrawiam Dominik Czerepiński
    > >
    >
    >
    > --
    > Pozdrawiam Dominik Czerepiński
    >
    
    
    -- 
    
    Andrija Panić
    


Dag.Sonstebo@shapeblue.com 
www.shapeblue.com
Amadeus House, Floral Street, London  WC2E 9DPUK
@shapeblue
  
 


Re: FC STORAGE

Posted by Andrija Panic <an...@gmail.com>.
http://downloadns.citrix.com.edgesuite.net/11988/XenServer-7.1.0-s1-install-cd.iso



On Thu, 18 Apr 2019 at 09:12, Dominik Czerepiński <do...@gmail.com>
wrote:

> Hello  Adrian Sender,
> XenServer 7.1LTSR have non-free license? Because citrix want to pay for
> this version. Only 7.6 I found free version.
>
> czw., 18 kwi 2019 o 02:34 <as...@testlabs.com.au> napisał(a):
>
> > Instead of me running up a lab with xcp-ing - can you try with Xenserver
> > 7.1LTS - do not use newer versions as features are removed required for
> > cloudstack (unless you pay for them).
> >
> > -Adrian Sender
> >
> >
> >
> > On 2019-04-18 06:58, Dominik Czerepiński wrote:
> > > / didn't work. In attachment log from MGMT.
> > >
> > > śr., 17 kwi 2019 o 22:43 Grégoire Lamodière <g....@dimsi.fr>
> > > napisał(a):
> > >
> > >> Hi Dominik,
> > >>
> > >> I have no longer PreShared storage here, so I cannot be 100% sure,
> > >> but I think you should add a / before your storage name : /STORAGE01
> > >>
> > >>
> > >> If still not working, can you share the mgmt logs whille trying to
> > >> add the pr store ?
> > >>
> > >> Cheers.
> > >>
> > >> Grégoire
> > >>
> > >> DE : Dominik Czerepiński [mailto:dominator89@gmail.com]
> > >> ENVOYÉ : mercredi 17 avril 2019 18:49
> > >> À : asender@testlabs.com.au
> > >> CC : users@cloudstack.apache.org
> > >> OBJET : Re: FC STORAGE
> > >>
> > >> Yes. Ok so I try one more time add FC storage as a primary storage
> > >> to my cluster via cloustack manager and no luck. In the attachment
> > >> I'm sending you screenshots of my configuration and log after adding
> > >> storage.
> > >>
> > >> wt., 16 kwi 2019 o 15:22 <as...@testlabs.com.au> napisał(a):
> > >>
> > >>> Are you selecting presetup with xcp-ing?
> > >>>
> > >>> With xenserver when adding the FC storage within cloudstack you
> > >>> need to
> > >>> set presetup as the type:
> > >>>
> > >>> Type    PreSetup
> > >>> Path    /DELL-SC4020
> > >>>
> > >>> -Adrian Sender
> > >>>
> > >>> On 2019-04-16 21:00, Dominik Czerepiński wrote:
> > >>>> Storage is presented to hypervisor host via targetcli and on Xen
> > >>>> manager is enabled multipath so on all host I see storage  via
> > >>>> multiparty. CloudStack version is 4.11 but I try older version
> > >>> 4.10
> > >>>> and older version xcp-ng 4.6. All combination give me this same
> > >>> result
> > >>>> can’t connect storage to hosts. If I present NFS as a primary
> > >>> storage
> > >>>> configuration complete successfully.
> > >>>>
> > >>>>> Wiadomość napisana przez Rafael Weingärtner
> > >>>>> <ra...@gmail.com> w dniu 16.04.2019, o godz. 12:52:
> > >>>>>
> > >>>>> No need to be connected to the management server (MS). How did
> > >>> you
> > >>>>> introduce the storage to CloudStack? What is the version of
> > >>> your
> > >>>>> hypervisor? The version of CloudStack? How did you
> > >>> configure/connect
> > >>>>> the
> > >>>>> storage with the hypervisors hosts?
> > >>>>>
> > >>>>> On Tue, Apr 16, 2019 at 7:50 AM dominator89@gmail.com
> > >>>>> <do...@gmail.com>
> > >>>>> wrote:
> > >>>>>
> > >>>>>> Hello,
> > >>>>>>
> > >>>>>> I would like to build a private cloud based on cloustack. The
> > >>>>>> infrastructure is ready and when adding the primary storage
> > >>> gets an
> > >>>>>> error:
> > >>>>>> the cluster can't connect to the storage. The cluster is build
> > >>> on
> > >>>>>> latest
> > >>>>>> xcp-ng, and storage is on FC. The disk resource is visible on
> > >>> the
> > >>>>>> clusters.
> > >>>>>> My question is whether the first storage must also be
> > >>> connected to
> > >>>>>> the
> > >>>>>> management server?
> > >>>>>>
> > >>>>>
> > >>>>>
> > >>>>> --
> > >>>>> Rafael Weingärtner
> > >>
> > >> --
> > >>
> > >> Pozdrawiam Dominik Czerepiński
> > >
> > > --
> > > Pozdrawiam Dominik Czerepiński
> >
>
>
> --
> Pozdrawiam Dominik Czerepiński
>


-- 

Andrija Panić

Re: FC STORAGE

Posted by Dominik Czerepiński <do...@gmail.com>.
Hello  Adrian Sender,
XenServer 7.1LTSR have non-free license? Because citrix want to pay for
this version. Only 7.6 I found free version.

czw., 18 kwi 2019 o 02:34 <as...@testlabs.com.au> napisał(a):

> Instead of me running up a lab with xcp-ing - can you try with Xenserver
> 7.1LTS - do not use newer versions as features are removed required for
> cloudstack (unless you pay for them).
>
> -Adrian Sender
>
>
>
> On 2019-04-18 06:58, Dominik Czerepiński wrote:
> > / didn't work. In attachment log from MGMT.
> >
> > śr., 17 kwi 2019 o 22:43 Grégoire Lamodière <g....@dimsi.fr>
> > napisał(a):
> >
> >> Hi Dominik,
> >>
> >> I have no longer PreShared storage here, so I cannot be 100% sure,
> >> but I think you should add a / before your storage name : /STORAGE01
> >>
> >>
> >> If still not working, can you share the mgmt logs whille trying to
> >> add the pr store ?
> >>
> >> Cheers.
> >>
> >> Grégoire
> >>
> >> DE : Dominik Czerepiński [mailto:dominator89@gmail.com]
> >> ENVOYÉ : mercredi 17 avril 2019 18:49
> >> À : asender@testlabs.com.au
> >> CC : users@cloudstack.apache.org
> >> OBJET : Re: FC STORAGE
> >>
> >> Yes. Ok so I try one more time add FC storage as a primary storage
> >> to my cluster via cloustack manager and no luck. In the attachment
> >> I'm sending you screenshots of my configuration and log after adding
> >> storage.
> >>
> >> wt., 16 kwi 2019 o 15:22 <as...@testlabs.com.au> napisał(a):
> >>
> >>> Are you selecting presetup with xcp-ing?
> >>>
> >>> With xenserver when adding the FC storage within cloudstack you
> >>> need to
> >>> set presetup as the type:
> >>>
> >>> Type    PreSetup
> >>> Path    /DELL-SC4020
> >>>
> >>> -Adrian Sender
> >>>
> >>> On 2019-04-16 21:00, Dominik Czerepiński wrote:
> >>>> Storage is presented to hypervisor host via targetcli and on Xen
> >>>> manager is enabled multipath so on all host I see storage  via
> >>>> multiparty. CloudStack version is 4.11 but I try older version
> >>> 4.10
> >>>> and older version xcp-ng 4.6. All combination give me this same
> >>> result
> >>>> can’t connect storage to hosts. If I present NFS as a primary
> >>> storage
> >>>> configuration complete successfully.
> >>>>
> >>>>> Wiadomość napisana przez Rafael Weingärtner
> >>>>> <ra...@gmail.com> w dniu 16.04.2019, o godz. 12:52:
> >>>>>
> >>>>> No need to be connected to the management server (MS). How did
> >>> you
> >>>>> introduce the storage to CloudStack? What is the version of
> >>> your
> >>>>> hypervisor? The version of CloudStack? How did you
> >>> configure/connect
> >>>>> the
> >>>>> storage with the hypervisors hosts?
> >>>>>
> >>>>> On Tue, Apr 16, 2019 at 7:50 AM dominator89@gmail.com
> >>>>> <do...@gmail.com>
> >>>>> wrote:
> >>>>>
> >>>>>> Hello,
> >>>>>>
> >>>>>> I would like to build a private cloud based on cloustack. The
> >>>>>> infrastructure is ready and when adding the primary storage
> >>> gets an
> >>>>>> error:
> >>>>>> the cluster can't connect to the storage. The cluster is build
> >>> on
> >>>>>> latest
> >>>>>> xcp-ng, and storage is on FC. The disk resource is visible on
> >>> the
> >>>>>> clusters.
> >>>>>> My question is whether the first storage must also be
> >>> connected to
> >>>>>> the
> >>>>>> management server?
> >>>>>>
> >>>>>
> >>>>>
> >>>>> --
> >>>>> Rafael Weingärtner
> >>
> >> --
> >>
> >> Pozdrawiam Dominik Czerepiński
> >
> > --
> > Pozdrawiam Dominik Czerepiński
>


-- 
Pozdrawiam Dominik Czerepiński

Re: FC STORAGE

Posted by Dominik Czerepiński <do...@gmail.com>.
Sure. Need 1-2 Days for install.

Sent from my iPhone

> On 18 Apr 2019, at 02:33, asender@testlabs.com.au wrote:
> 
> Instead of me running up a lab with xcp-ing - can you try with Xenserver 7.1LTS - do not use newer versions as features are removed required for cloudstack (unless you pay for them).
> 
> -Adrian Sender
> 
> 
> 
>> On 2019-04-18 06:58, Dominik Czerepiński wrote:
>> / didn't work. In attachment log from MGMT.
>> śr., 17 kwi 2019 o 22:43 Grégoire Lamodière <g....@dimsi.fr>
>> napisał(a):
>>> Hi Dominik,
>>> I have no longer PreShared storage here, so I cannot be 100% sure,
>>> but I think you should add a / before your storage name : /STORAGE01
>>> If still not working, can you share the mgmt logs whille trying to
>>> add the pr store ?
>>> Cheers.
>>> Grégoire
>>> DE : Dominik Czerepiński [mailto:dominator89@gmail.com]
>>> ENVOYÉ : mercredi 17 avril 2019 18:49
>>> À : asender@testlabs.com.au
>>> CC : users@cloudstack.apache.org
>>> OBJET : Re: FC STORAGE
>>> Yes. Ok so I try one more time add FC storage as a primary storage
>>> to my cluster via cloustack manager and no luck. In the attachment
>>> I'm sending you screenshots of my configuration and log after adding
>>> storage.
>>> wt., 16 kwi 2019 o 15:22 <as...@testlabs.com.au> napisał(a):
>>>> Are you selecting presetup with xcp-ing?
>>>> With xenserver when adding the FC storage within cloudstack you
>>>> need to
>>>> set presetup as the type:
>>>> Type    PreSetup
>>>> Path    /DELL-SC4020
>>>> -Adrian Sender
>>>>> On 2019-04-16 21:00, Dominik Czerepiński wrote:
>>>>> Storage is presented to hypervisor host via targetcli and on Xen
>>>>> manager is enabled multipath so on all host I see storage  via
>>>>> multiparty. CloudStack version is 4.11 but I try older version
>>>> 4.10
>>>>> and older version xcp-ng 4.6. All combination give me this same
>>>> result
>>>>> can’t connect storage to hosts. If I present NFS as a primary
>>>> storage
>>>>> configuration complete successfully.
>>>>>> Wiadomość napisana przez Rafael Weingärtner
>>>>>> <ra...@gmail.com> w dniu 16.04.2019, o godz. 12:52:
>>>>>> No need to be connected to the management server (MS). How did
>>>> you
>>>>>> introduce the storage to CloudStack? What is the version of
>>>> your
>>>>>> hypervisor? The version of CloudStack? How did you
>>>> configure/connect
>>>>>> the
>>>>>> storage with the hypervisors hosts?
>>>>>> On Tue, Apr 16, 2019 at 7:50 AM dominator89@gmail.com
>>>>>> <do...@gmail.com>
>>>>>> wrote:
>>>>>>> Hello,
>>>>>>> I would like to build a private cloud based on cloustack. The
>>>>>>> infrastructure is ready and when adding the primary storage
>>>> gets an
>>>>>>> error:
>>>>>>> the cluster can't connect to the storage. The cluster is build
>>>> on
>>>>>>> latest
>>>>>>> xcp-ng, and storage is on FC. The disk resource is visible on
>>>> the
>>>>>>> clusters.
>>>>>>> My question is whether the first storage must also be
>>>> connected to
>>>>>>> the
>>>>>>> management server?
>>>>>> --
>>>>>> Rafael Weingärtner
>>> --
>>> Pozdrawiam Dominik Czerepiński
>> --
>> Pozdrawiam Dominik Czerepiński

Re: FC STORAGE

Posted by as...@testlabs.com.au.
Instead of me running up a lab with xcp-ing - can you try with Xenserver 
7.1LTS - do not use newer versions as features are removed required for 
cloudstack (unless you pay for them).

-Adrian Sender



On 2019-04-18 06:58, Dominik Czerepiński wrote:
> / didn't work. In attachment log from MGMT.
> 
> śr., 17 kwi 2019 o 22:43 Grégoire Lamodière <g....@dimsi.fr>
> napisał(a):
> 
>> Hi Dominik,
>> 
>> I have no longer PreShared storage here, so I cannot be 100% sure,
>> but I think you should add a / before your storage name : /STORAGE01
>> 
>> 
>> If still not working, can you share the mgmt logs whille trying to
>> add the pr store ?
>> 
>> Cheers.
>> 
>> Grégoire
>> 
>> DE : Dominik Czerepiński [mailto:dominator89@gmail.com]
>> ENVOYÉ : mercredi 17 avril 2019 18:49
>> À : asender@testlabs.com.au
>> CC : users@cloudstack.apache.org
>> OBJET : Re: FC STORAGE
>> 
>> Yes. Ok so I try one more time add FC storage as a primary storage
>> to my cluster via cloustack manager and no luck. In the attachment
>> I'm sending you screenshots of my configuration and log after adding
>> storage.
>> 
>> wt., 16 kwi 2019 o 15:22 <as...@testlabs.com.au> napisał(a):
>> 
>>> Are you selecting presetup with xcp-ing?
>>> 
>>> With xenserver when adding the FC storage within cloudstack you
>>> need to
>>> set presetup as the type:
>>> 
>>> Type    PreSetup
>>> Path    /DELL-SC4020
>>> 
>>> -Adrian Sender
>>> 
>>> On 2019-04-16 21:00, Dominik Czerepiński wrote:
>>>> Storage is presented to hypervisor host via targetcli and on Xen
>>>> manager is enabled multipath so on all host I see storage  via
>>>> multiparty. CloudStack version is 4.11 but I try older version
>>> 4.10
>>>> and older version xcp-ng 4.6. All combination give me this same
>>> result
>>>> can’t connect storage to hosts. If I present NFS as a primary
>>> storage
>>>> configuration complete successfully.
>>>> 
>>>>> Wiadomość napisana przez Rafael Weingärtner
>>>>> <ra...@gmail.com> w dniu 16.04.2019, o godz. 12:52:
>>>>> 
>>>>> No need to be connected to the management server (MS). How did
>>> you
>>>>> introduce the storage to CloudStack? What is the version of
>>> your
>>>>> hypervisor? The version of CloudStack? How did you
>>> configure/connect
>>>>> the
>>>>> storage with the hypervisors hosts?
>>>>> 
>>>>> On Tue, Apr 16, 2019 at 7:50 AM dominator89@gmail.com
>>>>> <do...@gmail.com>
>>>>> wrote:
>>>>> 
>>>>>> Hello,
>>>>>> 
>>>>>> I would like to build a private cloud based on cloustack. The
>>>>>> infrastructure is ready and when adding the primary storage
>>> gets an
>>>>>> error:
>>>>>> the cluster can't connect to the storage. The cluster is build
>>> on
>>>>>> latest
>>>>>> xcp-ng, and storage is on FC. The disk resource is visible on
>>> the
>>>>>> clusters.
>>>>>> My question is whether the first storage must also be
>>> connected to
>>>>>> the
>>>>>> management server?
>>>>>> 
>>>>> 
>>>>> 
>>>>> --
>>>>> Rafael Weingärtner
>> 
>> --
>> 
>> Pozdrawiam Dominik Czerepiński
> 
> --
> Pozdrawiam Dominik Czerepiński

Re: FC STORAGE

Posted by Dominik Czerepiński <do...@gmail.com>.
/ didn't work. In attachment log from MGMT.

śr., 17 kwi 2019 o 22:43 Grégoire Lamodière <g....@dimsi.fr>
napisał(a):

> Hi Dominik,
>
>
>
> I have no longer PreShared storage here, so I cannot be 100% sure, but I
> think you should add a / before your storage name : /STORAGE01
>
>
>
> If still not working, can you share the mgmt logs whille trying to add the
> pr store ?
>
>
>
> Cheers.
>
>
>
> Grégoire
>
>
>
> *De :* Dominik Czerepiński [mailto:dominator89@gmail.com]
> *Envoyé :* mercredi 17 avril 2019 18:49
> *À :* asender@testlabs.com.au
> *Cc :* users@cloudstack.apache.org
> *Objet :* Re: FC STORAGE
>
>
>
> Yes. Ok so I try one more time add FC storage as a primary storage to my
> cluster via cloustack manager and no luck. In the attachment I'm sending
> you screenshots of my configuration and log after adding storage.
>
>
>
> wt., 16 kwi 2019 o 15:22 <as...@testlabs.com.au> napisał(a):
>
> Are you selecting presetup with xcp-ing?
>
> With xenserver when adding the FC storage within cloudstack you need to
> set presetup as the type:
>
> Type    PreSetup
> Path    /DELL-SC4020
>
> -Adrian Sender
>
> On 2019-04-16 21:00, Dominik Czerepiński wrote:
> > Storage is presented to hypervisor host via targetcli and on Xen
> > manager is enabled multipath so on all host I see storage  via
> > multiparty. CloudStack version is 4.11 but I try older version 4.10
> > and older version xcp-ng 4.6. All combination give me this same result
> > can’t connect storage to hosts. If I present NFS as a primary storage
> > configuration complete successfully.
> >
> >> Wiadomość napisana przez Rafael Weingärtner
> >> <ra...@gmail.com> w dniu 16.04.2019, o godz. 12:52:
> >>
> >> No need to be connected to the management server (MS). How did you
> >> introduce the storage to CloudStack? What is the version of your
> >> hypervisor? The version of CloudStack? How did you configure/connect
> >> the
> >> storage with the hypervisors hosts?
> >>
> >> On Tue, Apr 16, 2019 at 7:50 AM dominator89@gmail.com
> >> <do...@gmail.com>
> >> wrote:
> >>
> >>> Hello,
> >>>
> >>> I would like to build a private cloud based on cloustack. The
> >>> infrastructure is ready and when adding the primary storage gets an
> >>> error:
> >>> the cluster can't connect to the storage. The cluster is build on
> >>> latest
> >>> xcp-ng, and storage is on FC. The disk resource is visible on the
> >>> clusters.
> >>> My question is whether the first storage must also be connected to
> >>> the
> >>> management server?
> >>>
> >>
> >>
> >> --
> >> Rafael Weingärtner
>
>
>
>
> --
>
> Pozdrawiam Dominik Czerepiński
>


-- 
Pozdrawiam Dominik Czerepiński

RE: FC STORAGE

Posted by Grégoire Lamodière <g....@dimsi.fr>.
Hi Dominik,

I have no longer PreShared storage here, so I cannot be 100% sure, but I think you should add a / before your storage name : /STORAGE01

If still not working, can you share the mgmt logs whille trying to add the pr store ?

Cheers.

Grégoire

De : Dominik Czerepiński [mailto:dominator89@gmail.com]
Envoyé : mercredi 17 avril 2019 18:49
À : asender@testlabs.com.au
Cc : users@cloudstack.apache.org
Objet : Re: FC STORAGE

Yes. Ok so I try one more time add FC storage as a primary storage to my cluster via cloustack manager and no luck. In the attachment I'm sending you screenshots of my configuration and log after adding storage.

wt., 16 kwi 2019 o 15:22 <as...@testlabs.com.au>> napisał(a):
Are you selecting presetup with xcp-ing?

With xenserver when adding the FC storage within cloudstack you need to
set presetup as the type:

Type    PreSetup
Path    /DELL-SC4020

-Adrian Sender

On 2019-04-16 21:00, Dominik Czerepiński wrote:
> Storage is presented to hypervisor host via targetcli and on Xen
> manager is enabled multipath so on all host I see storage  via
> multiparty. CloudStack version is 4.11 but I try older version 4.10
> and older version xcp-ng 4.6. All combination give me this same result
> can’t connect storage to hosts. If I present NFS as a primary storage
> configuration complete successfully.
>
>> Wiadomość napisana przez Rafael Weingärtner
>> <ra...@gmail.com>> w dniu 16.04.2019, o godz. 12:52:
>>
>> No need to be connected to the management server (MS). How did you
>> introduce the storage to CloudStack? What is the version of your
>> hypervisor? The version of CloudStack? How did you configure/connect
>> the
>> storage with the hypervisors hosts?
>>
>> On Tue, Apr 16, 2019 at 7:50 AM dominator89@gmail.com<ma...@gmail.com>
>> <do...@gmail.com>>
>> wrote:
>>
>>> Hello,
>>>
>>> I would like to build a private cloud based on cloustack. The
>>> infrastructure is ready and when adding the primary storage gets an
>>> error:
>>> the cluster can't connect to the storage. The cluster is build on
>>> latest
>>> xcp-ng, and storage is on FC. The disk resource is visible on the
>>> clusters.
>>> My question is whether the first storage must also be connected to
>>> the
>>> management server?
>>>
>>
>>
>> --
>> Rafael Weingärtner


--
Pozdrawiam Dominik Czerepiński

Re: FC STORAGE

Posted by Dominik Czerepiński <do...@gmail.com>.
Yes. Ok so I try one more time add FC storage as a primary storage to my
cluster via cloustack manager and no luck. In the attachment I'm sending
you screenshots of my configuration and log after adding storage.

wt., 16 kwi 2019 o 15:22 <as...@testlabs.com.au> napisał(a):

> Are you selecting presetup with xcp-ing?
>
> With xenserver when adding the FC storage within cloudstack you need to
> set presetup as the type:
>
> Type    PreSetup
> Path    /DELL-SC4020
>
> -Adrian Sender
>
> On 2019-04-16 21:00, Dominik Czerepiński wrote:
> > Storage is presented to hypervisor host via targetcli and on Xen
> > manager is enabled multipath so on all host I see storage  via
> > multiparty. CloudStack version is 4.11 but I try older version 4.10
> > and older version xcp-ng 4.6. All combination give me this same result
> > can’t connect storage to hosts. If I present NFS as a primary storage
> > configuration complete successfully.
> >
> >> Wiadomość napisana przez Rafael Weingärtner
> >> <ra...@gmail.com> w dniu 16.04.2019, o godz. 12:52:
> >>
> >> No need to be connected to the management server (MS). How did you
> >> introduce the storage to CloudStack? What is the version of your
> >> hypervisor? The version of CloudStack? How did you configure/connect
> >> the
> >> storage with the hypervisors hosts?
> >>
> >> On Tue, Apr 16, 2019 at 7:50 AM dominator89@gmail.com
> >> <do...@gmail.com>
> >> wrote:
> >>
> >>> Hello,
> >>>
> >>> I would like to build a private cloud based on cloustack. The
> >>> infrastructure is ready and when adding the primary storage gets an
> >>> error:
> >>> the cluster can't connect to the storage. The cluster is build on
> >>> latest
> >>> xcp-ng, and storage is on FC. The disk resource is visible on the
> >>> clusters.
> >>> My question is whether the first storage must also be connected to
> >>> the
> >>> management server?
> >>>
> >>
> >>
> >> --
> >> Rafael Weingärtner
>


-- 
Pozdrawiam Dominik Czerepiński

Re: FC STORAGE

Posted by as...@testlabs.com.au.
Are you selecting presetup with xcp-ing?

With xenserver when adding the FC storage within cloudstack you need to 
set presetup as the type:

Type	PreSetup
Path	/DELL-SC4020

-Adrian Sender

On 2019-04-16 21:00, Dominik Czerepiński wrote:
> Storage is presented to hypervisor host via targetcli and on Xen
> manager is enabled multipath so on all host I see storage  via
> multiparty. CloudStack version is 4.11 but I try older version 4.10
> and older version xcp-ng 4.6. All combination give me this same result
> can’t connect storage to hosts. If I present NFS as a primary storage
> configuration complete successfully.
> 
>> Wiadomość napisana przez Rafael Weingärtner 
>> <ra...@gmail.com> w dniu 16.04.2019, o godz. 12:52:
>> 
>> No need to be connected to the management server (MS). How did you
>> introduce the storage to CloudStack? What is the version of your
>> hypervisor? The version of CloudStack? How did you configure/connect 
>> the
>> storage with the hypervisors hosts?
>> 
>> On Tue, Apr 16, 2019 at 7:50 AM dominator89@gmail.com 
>> <do...@gmail.com>
>> wrote:
>> 
>>> Hello,
>>> 
>>> I would like to build a private cloud based on cloustack. The
>>> infrastructure is ready and when adding the primary storage gets an 
>>> error:
>>> the cluster can't connect to the storage. The cluster is build on 
>>> latest
>>> xcp-ng, and storage is on FC. The disk resource is visible on the 
>>> clusters.
>>> My question is whether the first storage must also be connected to 
>>> the
>>> management server?
>>> 
>> 
>> 
>> --
>> Rafael Weingärtner

Re: FC STORAGE

Posted by Dominik Czerepiński <do...@gmail.com>.
Storage is presented to hypervisor host via targetcli and on Xen manager is enabled multipath so on all host I see storage  via multiparty. CloudStack version is 4.11 but I try older version 4.10 and older version xcp-ng 4.6. All combination give me this same result can’t connect storage to hosts. If I present NFS as a primary storage configuration complete successfully.

> Wiadomość napisana przez Rafael Weingärtner <ra...@gmail.com> w dniu 16.04.2019, o godz. 12:52:
> 
> No need to be connected to the management server (MS). How did you
> introduce the storage to CloudStack? What is the version of your
> hypervisor? The version of CloudStack? How did you configure/connect the
> storage with the hypervisors hosts?
> 
> On Tue, Apr 16, 2019 at 7:50 AM dominator89@gmail.com <do...@gmail.com>
> wrote:
> 
>> Hello,
>> 
>> I would like to build a private cloud based on cloustack. The
>> infrastructure is ready and when adding the primary storage gets an error:
>> the cluster can't connect to the storage. The cluster is build on latest
>> xcp-ng, and storage is on FC. The disk resource is visible on the clusters.
>> My question is whether the first storage must also be connected to the
>> management server?
>> 
> 
> 
> -- 
> Rafael Weingärtner


Re: FC STORAGE

Posted by Rafael Weingärtner <ra...@gmail.com>.
No need to be connected to the management server (MS). How did you
introduce the storage to CloudStack? What is the version of your
hypervisor? The version of CloudStack? How did you configure/connect the
storage with the hypervisors hosts?

On Tue, Apr 16, 2019 at 7:50 AM dominator89@gmail.com <do...@gmail.com>
wrote:

> Hello,
>
> I would like to build a private cloud based on cloustack. The
> infrastructure is ready and when adding the primary storage gets an error:
> the cluster can't connect to the storage. The cluster is build on latest
> xcp-ng, and storage is on FC. The disk resource is visible on the clusters.
> My question is whether the first storage must also be connected to the
> management server?
>


-- 
Rafael Weingärtner