[Deepsea-users] How to "undo" a complete installation using deepsea
Jose Betancourt
jose.betancourt at suse.com
Tue Jan 24 09:26:46 MST 2017
That worked. Thank You.
-----Original Message-----
From: deepsea-users-bounces at lists.suse.com [mailto:deepsea-users-bounces at lists.suse.com] On Behalf Of Eric Jackson
Sent: Tuesday, January 24, 2017 11:23 AM
To: Discussions about the DeepSea management framework for Ceph <deepsea-users at lists.suse.com>
Subject: Re: [Deepsea-users] How to "undo" a complete installation using deepsea
Salt needs to be told about the new modules. That normally happens in Stage 0. Run
salt '*' saltutil.sync_modules
On Tuesday, January 24, 2017 04:17:07 PM Jose Betancourt wrote:
> I downloaded the rpm. The disengage safety portion ran OK.
>
> When I tried the ceph.purge, it returned a number of errors like
> "Module function purge.configuration is not available" and "Module
> function retry.pkill is not available".
>
> I installed the deepsea-0.7.1-1.1.noarch.rpm. Am I missing some other
> package?
>
> Jose
>
> -----Original Message -----
> From: deepsea-users-bounces at lists.suse.com
> [mailto:deepsea-users-bounces at lists.suse.com] On Behalf Of Jan
> Fajerski
> Sent: Tuesday, January 24, 2017 11:05 AM
> To: deepsea-users at lists.suse.com
> Subject: Re: [Deepsea-users] How to "undo" a complete installation
> using deepsea On Tue, Jan 24, 2017 at 04:55:38PM +0100, Jan Fajerski
> wrote:
> >On Tue, Jan 24, 2017 at 03:50:02PM +0000, Jose Betancourt wrote:
> >>Hi Eric,
> >>
> >>Thank you for your quick turnaround. I did the deepsea installation
> >>following section 4.2 of the SES4 installation guide via zypper. If you
> >>have the rpm version of the packages that you mentioned below, let
> >>me know their location and I'll give them a try.>
> >I happen to have that branch as a rpm:
> >https://build.opensuse.org/package/show/home:jfajerski/deepsea
>
> Be aware though that it'll only be there temporally.
>
> >>Thanks again,
> >>
> >>
> >>José Betancourt
> >>Linux Architecture - IHV Alliances & Embedded Systems
> >>jose.betancourt at suse.com
> >>+1.908.672.2719
> >>
> >>
> >>
> >>-----Original Message-----
> >>From: deepsea-users-bounces at lists.suse.com
> >>[mailto:deepsea-users-bounces at lists.suse.com] On Behalf Of Eric
> >>Jackson
> >>Sent: Tuesday, January 24, 2017 5:36 AM
> >>To: Discussions about the DeepSea management framework for Ceph
> >><deepsea-users at lists.suse.com>
> >>Subject: Re: [Deepsea-users] How to "undo" a complete installation
> >>using deepsea
> >>
> >>Hi José,
> >>
> >>On Tuesday, January 24, 2017 05:24:23 AM Jose Betancourt wrote:
> >>>Hello Everyone,
> >>>
> >>>I have a small setup with 6 physical devices. I've been using
> >>>deepsea and probably ran salt-run state.orch ceph.stage.configure
> >>>and ceph.stage.deploy too many times and it's now complaining that
> >>>I have too few monitors and storage nodes.
> >>
> >>I'm curious, but to your question...
> >>
> >>>What I would like to do is to be able to roll back to a point where I can
> >>>start over. With ceph-deploy, I have the option of running ceph-deploy
> >>>purge, purgedata and forgetkeys and I can pretty much start again
> >>>(this is a lab environment).
> >>>
> >>>Is there an equivalent salt-run invocation to basically "reset" the
> >>>salt-run steps so that I can start at stage 1 again?
> >>
> >>I have added ceph.purge in https://github.com/SUSE/DeepSea/pull/78.
> >>I completed this Saturday and it effectively removes the Ceph
> >>cluster and resets DeepSea. I am waiting for feedback from another
> >>developer, but you are welcome to try it.
> >>
> >>The commands would be
> >>
> >>salt-run disengage.safety
> >>salt-run state.orch ceph.purge
> >>
> >>and optionally
> >>
> >>salt 'admin*' purge.proposals
> >>
> >>That third step can be included in the default ceph.purge. That's
> >>one of the questions I was hoping for feedback. (The default
> >>removes the cluster and most of the pillar configuration and allows
> >>you to start at Stage 2. If your Stage 1 will remain the same, then
> >>removing the proposals doesn't really add
> >>anything.)
> >>
> >>Are you cloning from github or working from an rpm? If the latter,
> >>I will do another release of master as soon as this branch is merged.
> >>
> >>Eric
> >>
> >>>Best,
> >>>
> >>>José Betancourt
> >>>Linux Architecture - IHV Alliances & Embedded Systems
> >>>jose.betancourt at suse.com<mailto:jose.betancourt at suse.com>
> >>>+1.908.672.2719
> >>
> >>_______________________________________________
> >>Deepsea-users mailing list
> >>Deepsea-users at lists.suse.com
> >>http://lists.suse.com/mailman/listinfo/deepsea-users
> >
> >--
> >Jan Fajerski
> >Engineer Enterprise Storage
> >SUSE Linux GmbH
> >jfajerski at suse.com
>
> --
> Jan Fajerski
> Engineer Enterprise Storage
> SUSE Linux GmbH
> jfajerski at suse.com
> _______________________________________________
> Deepsea-users mailing list
> Deepsea-users at lists.suse.com
> http://lists.suse.com/mailman/listinfo/deepsea-users
> _______________________________________________
> Deepsea-users mailing list
> Deepsea-users at lists.suse.com
> http://lists.suse.com/mailman/listinfo/deepsea-users
More information about the Deepsea-users
mailing list