Make the inverse of dscreate: dsremove. It should act as remove-ds.pl, and work on instances that are installed by either.
To achieve this we need:
Metadata Update from @firstyear: - Issue assigned to firstyear
<img alt="0001-Ticket-17-lib389-dsremove-support.patch" src="/lib389/issue/raw/files/30e70a79a5917ed85ed03fec5182759138245f3a0be53f7e1767c9d2262dcde3-0001-Ticket-17-lib389-dsremove-support.patch" />
Wrote this while waiting in Munich airport while trying to do some replica tests.
Metadata Update from @firstyear: - Custom field Origin adjusted to None - Custom field Review Status adjusted to review
@firstyear I like the idea I thought we had a wrapper dsctl (old dsadm) that allowed to create/delete instance. Am I missing something ?
dsctl does the remove :)
dscreate has to be seperate due to a limitation in the way python command line argument processing works, so dsctl can't be used for create.
@tbordaz @vashirov @mreynolds Would you mind taking a look at this? I need it for python 3 test cases :)
Question, you say "This is not what you want! Press ctrl-c now ... "
So it either exits, or it says to press ctrl-C. A bit confusing. Is the wording wrong? Should it be:
"If this is not what you want, then press ctrl-c now ... "?
Probably :) I'll update the wording for you. TBH that warning is only there because it's still "pre-release" and less polished, but we'll have to remove the dragon soon when we are happier with it,
<img alt="0001-Ticket-17-lib389-dsremove-support.patch" src="/lib389/issue/raw/files/89aaefaa404ffac0cc850cdd4c63fe2187ee6491782751e52b0b2132524bb0d3-0001-Ticket-17-lib389-dsremove-support.patch" />
Changed message for you @mreynolds
Metadata Update from @mreynolds: - Custom field Review Status adjusted to ack (was: review)
commit 77df9a54a99e3ae54a775de0e4d1b57193a07670 To ssh://git@pagure.io/389-ds-base.git 11974a0..77df9a5 master -> master
Metadata Update from @firstyear: - Issue close_status updated to: Fixed - Issue status updated to: Closed (was: Open)
Login to comment on this ticket.