Hi guys,

I’ve started working on the Object Storage plugin. One quick question which I 
can’t find yet in the docs… 

Once I have added an object store as the admin user, how do I remove it? ie, I 
just want to blow away the configuration for now so I can try re-add it 
repeatedly as I fix things? Maybe the opposite of deploydb will do?

Thanks,

Tom.

> On Sep 6, 2024, at 18:55, Rohit Yadav <rohit.ya...@shapeblue.com> wrote:
> 
> Hi Tom,
> 
> In addition to what has been answered and what you've found, here are some 
> useful links for reference:
> 
> https://github.com/shapeblue/hackerbook/tree/main (self-learning dev material)
> https://github.com/shapeblue/hackerbook/blob/main/2-dev.md#contributing-to-cloudstack
> https://github.com/shapeblue/mbx (local CI/dev-test setup)
> https://github.com/apache/cloudstack/commit/c3f0d14d31583fdf2570de2633db5c87a0f08fa4
>  (learn from new and existing plugins as reference implementation)
> https://github.com/apache/cloudstack/tree/main/plugins/storage/object/minio 
> (original minio plugin for reference)
> 
> 
> Regards.
> 
> 
> 
> 
> ________________________________
> From: Tom O'Dowd <tpod...@cloudian.com.INVALID>
> Sent: Friday, September 6, 2024 14:37
> To: dev@cloudstack.apache.org <dev@cloudstack.apache.org>
> Subject: Re: Object Storage Framework integration for Cloudian HyperStore
> 
> Sorry for the noise. I answered my own question (or rather I found a page 
> that did): https://cloudstack.apache.org/developers/
> 
> Thanks,
> 
> Tom.
> 
>> On Sep 6, 2024, at 17:06, Tom O'Dowd <tpod...@cloudian.com> wrote:
>> 
>> Hi Daan,
>> 
>> I have made some progress. I have got CloudStack running on Ubuntu 24.04 
>> now. I have installed Minio and configurated it out as the Object Storage 
>> Provider to understand how it being used from an Admin and Regular user’s 
>> perspective. Additionally, I have also enabled the existing Cloudian Plugin 
>> and tried that out to ensure that it's all working also.
>> 
>> There is one small item that I would like to fix in the existing plugin 
>> relating to a path change in the default HyperStore URL that the SSO uses. 
>> That’s just a string change. Additionally, we have moved away from Puppet in 
>> recent HyperStore versions for configuration management and I’d like to 
>> update the documentation specific to that point. My question is which branch 
>> I should use as a base for my PRs for both cloudstack and 
>> cloudstack-documentation.
>> 
>> Thanks,
>> 
>> Tom.
>> 
>>> On Sep 3, 2024, at 17:38, Daan Hoogland <daan.hoogl...@gmail.com> wrote:
>>> 
>>> Tom,
>>> You are welcome to submit a PR and we'll happily review it and help you
>>> tackle problems. The framework is there to use and adjust to your needs. As
>>> for the API, what level of stability do you require? I expect some changes
>>> on behalf of you if you are serious about implementing it. The minio is a
>>> PoC implementation and at least a ceph one is underway.
>>> 
>>> On Tue, Sep 3, 2024 at 9:59 AM Tom O'Dowd <tpod...@cloudian.com.invalid>
>>> wrote:
>>> 
>>>> Hi all,
>>>> 
>>>> We (Cloudian) have been getting some inquiries requesting a new Cloudian
>>>> HyperStore plugin to work with CloudStacks new Object Storage Framework. We
>>>> currently have a different CloudStack plugin which adds integration between
>>>> the CloudStack UI and our UI that works for both admin and users as well as
>>>> providing secondary storage. I’ve been trying to find out more information
>>>> regarding the new Object Storage Framework and see there is a Minio plugin
>>>> and a simulator plugin. I’ve also just checked out the git repo and have
>>>> found the relevant code.  Is the API stable at this point and are you
>>>> accepting new plugin contributions? Can I just implement the same base
>>>> objects that the Minio plugin is implementing in order to get our own
>>>> plugin working?
>>>> 
>>>> I notice in the “Add Object Storage” UI, there are fields:
>>>> 
>>>> Name
>>>> Provider
>>>> URL
>>>> Access key
>>>> Secret key
>>>> 
>>>> I think that we would use an https URL, but some installations would
>>>> probably have a self-signed cert so they might need the option to skip
>>>> validation. Didn’t check how this was working with Minio yet. Currently, we
>>>> do not use an access/secret key to connect to the administration API but
>>>> rather a username and password. Once connected, this should be able to
>>>> allocate users to match CloudStack accounts. I’d need to look at what
>>>> mappings to use there. The users should have Access/Secret keys so I would
>>>> expect all of the S3 bucket browser stuff will just work once its all
>>>> connected.
>>>> 
>>>> Development wise, I have followed the “Developers Guide” under
>>>> https://docs.cloudstack.apache.org/en/latest/developersguide/developer_guide.html#prerequisites
>>>> and got as far as connecting to the management server without the
>>>> simulator. I’m currently running on Rocky8. I’m wondering if I’m going to
>>>> run into trouble on this OS and if I should switch to Ubuntu 24.04 which it
>>>> seems the instructions were for?
>>>> 
>>>> I guess my first goal is to seem it working with Minio and then try to get
>>>> it working with HyperStore.
>>>> 
>>>> Any advice appreciated,
>>>> 
>>>> Thanks,
>>>> 
>>>> Tom.
>>> 
>>> 
>>> 
>>> --
>>> Daan
>> 
> 

Reply via email to