[Tendrl-devel] Cluster create documentation

Martin Kudlej mkudlej at redhat.com
Fri Apr 21 09:51:43 UTC 2017


Hi Ken,

thank you for these drafts but we need updated API functions documentation to be able to create 
cluster via API because there is no such option to do that via UI right now. And it is already 
available
https://github.com/Tendrl/api/blob/master/docs/clusters.adoc#create-cluster

On 04/19/2017 04:06 PM, Kenneth Hartsoe wrote:
> Hi Martin....fyi....there are google downstream doc drafts available (which have not been tested yet, etc.) but at least provide a work flow:
>
> Create Gluster (DOC RFE BZ#1394696): https://docs.google.com/document/d/11wsw1n2yLtB6x5Vg3PQcjvSKO6CsSw1XyRG2JfCPr_A/edit
>
> Create Ceph (Doc RFE BZ#1432037): https://docs.google.com/document/d/1fLzcppLRHQCAG8AP3kERQjYYoQpD6xEBSOuEwzw8UzM/edit
>
> Ken Hartsoe
> Content Strategist
> Red Hat Storage Documentation
>
> khartsoe at redhat.com; IRC: khartsoe
> Office: 919 754 4770; Internal: 814 4770
>
> ----- Original Message -----
> | Hi all,
> |
> | I would like to ask where can I find documentation for create cluster because
> | it is not available in
> | UI so we would like to follow documentation. I cannot find it in:
> | - https://github.com/Tendrl/api/blob/master/docs/clusters.adoc
> | - https://github.com/Tendrl/documentation/tree/master/api
> | I can see output from Flows:
> | {
> |        "name": "CreateCluster",
> |        "method": "POST",
> |        "attributes": [
> |          {
> |            "name": "Node[]",
> |            "type": "List",
> |            "required": true
> |          },
> |          {
> |            "name": "TendrlContext.cluster_name",
> |            "help": "Name of the cluster",
> |            "type": "String",
> |            "default": null,
> |            "required": true
> |          },
> |          {
> |            "name": "TendrlContext.sds_name",
> |            "help": "Name of the Tendrl managed sds, eg: 'gluster'",
> |            "type": "String",
> |            "default": null,
> |            "required": true
> |          },
> |          {
> |            "name": "TendrlContext.sds_version",
> |            "help": "Version of the Tendrl managed sds, eg: '3.2.1'",
> |            "type": "String",
> |            "default": null,
> |            "required": true
> |          },
> |          {
> |            "name": "Cluster.public_network",
> |            "help": "Public Network cidr of the cluster",
> |            "type": "String",
> |            "default": null,
> |            "required": true
> |          },
> |          {
> |            "name": "Cluster.cluster_network",
> |            "help": "Data Nework cidr of the cluster",
> |            "type": null,
> |            "default": null,
> |            "required": true
> |          },
> |          {
> |            "name": "TendrlContext.integration_id",
> |            "help": "Tendrl managed/generated cluster id for the sds being
> |            managed by Tendrl",
> |            "type": "String",
> |            "default": null,
> |            "required": true
> |          },
> |          {
> |            "name": "Cluster.node_configuration",
> |            "help": "Node configuration for the cluster nodes",
> |            "type": "Dict[]",
> |            "default": null,
> |            "required": true
> |          },
> |          {
> |            "name": "Cluster.conf_overrides",
> |            "help": "Configuration overrides for the cluster",
> |            "type": "Dict",
> |            "default": null,
> |            "required": true
> |          }
> |        ]
> |      }
> |
> | But I don't know what attributes are applicable for Gluster and what for Ceph
> | and also there is
> | dictionary with unknown content "Cluster.conf_overrides".
> | We know just that there should be gdeploy on every Gluster node and
> | Ceph-installer on "server"(API,
> | Etcd) node.
> |
> | Thank you for your answer!
> |
> | --
> | Best Regards,
> | Martin Kudlej.
> | RHSC/USM Senior Quality Assurance Engineer
> | Red Hat Czech s.r.o.
> |
> | Phone: +420 532 294 155
> | E-mail:mkudlej at redhat.com
> | IRC:   mkudlej at #brno, #gluster, #storage-qa, #rhs, #rh-ceph, #usm-meeting
> | @ redhat
> |                    #tendrl-devel @ freenode
> |
> | _______________________________________________
> | Tendrl-devel mailing list
> | Tendrl-devel at redhat.com
> | https://www.redhat.com/mailman/listinfo/tendrl-devel
> |
>
> _______________________________________________
> Tendrl-devel mailing list
> Tendrl-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/tendrl-devel
>

-- 
Best Regards,
Martin Kudlej.
RHSC/USM Senior Quality Assurance Engineer
Red Hat Czech s.r.o.

Phone: +420 532 294 155
E-mail:mkudlej at redhat.com
IRC:   mkudlej at #brno, #gluster, #storage-qa, #rhs, #rh-ceph, #usm-meeting @ redhat
                   #tendrl-devel @ freenode




More information about the Tendrl-devel mailing list