Skip to content

fix: ops tools--minos2 have no bootstrap function - #833

Merged
foreverneverer merged 1 commit into
apache:masterfrom
xxmazha:ops_tools_fix
Nov 2, 2021
Merged

foreverneverer merged 1 commit into
apache:masterfrom
xxmazha:ops_tools_fix

Conversation

@xxmazha

@xxmazha xxmazha commented Nov 2, 2021 •

Copy link
Copy Markdown
Contributor

What problem does this PR solve?

This script "pegasus_add_node_list.sh" in "/scripts/" used script "minos_common.sh", In "minos_common.sh", function "minos_bootstrap()" has an error when you are using Minos2 to operate clusters. This PR fixed the error.

What it is now:

When you are using "pegasus_add_node_list.sh" to operate clusters on Minos2:

Set meta level to steady...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./deploy bootstrap pegasus azmbcloudsrv-security --job replica --task 0
usage: deploy.py [-h] [--version] [-v VERBOSITY] [--remote_user REMOTE_USER]
                 {cleanup,decommission,reprocess,fetch,reconfigure,update_rackinfo,start,convert,stop,restart,show,reload,version_list,shell,pack,check,getconf,rolling_update}
                 ...
deploy.py: error: invalid choice: 'bootstrap' (choose from 'cleanup', 'decommission', 'reprocess', 'fetch', 'reconfigure', 'update_rackinfo', 'start', 'convert', 'stop', 'restart', 'show', 'reload', 'version_list', 'shell', 'pack', 'check', 'getconf', 'rolling_update')

Tests
Manual test (Test on 2 working clusters)

@foreverneverer foreverneverer changed the title fix: ops tools--minos2 have no bootstrap function,use start function fix: ops tools--minos2 have no bootstrap function Nov 2, 2021
@foreverneverer
foreverneverer merged commit 58815ce into apache:master Nov 2, 2021
@foreverneverer foreverneverer mentioned this pull request Jul 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants