From 0956f7af440f16cc2474d590b5f5238fdbb92d77 Mon Sep 17 00:00:00 2001 From: JP Bourget Date: Tue, 4 Aug 2020 12:02:30 -0400 Subject: [PATCH 1/6] better expose default creds for devs --- dev_docs/Troubleshooting_Guide.rst | 6 ++++++ tools/launchdev.sh | 3 +++ 2 files changed, 9 insertions(+) diff --git a/dev_docs/Troubleshooting_Guide.rst b/dev_docs/Troubleshooting_Guide.rst index 9f6cd66499..7267920caa 100644 --- a/dev_docs/Troubleshooting_Guide.rst +++ b/dev_docs/Troubleshooting_Guide.rst @@ -1,6 +1,12 @@ Troubleshooting Guide ===================== +**Q: What is the default username and password for the** ``tools/launchdev.sh`` **script?** + +**A: The default creds are**: + user: testu + pass: test p + **Q: After starting st2 server using** ``tools/launchdev.sh`` **script, getting following error:**:: $ st2 action list diff --git a/tools/launchdev.sh b/tools/launchdev.sh index ad2e5d9dec..23f1d018b3 100755 --- a/tools/launchdev.sh +++ b/tools/launchdev.sh @@ -436,6 +436,9 @@ function st2start(){ fi fi + # Print default creds to the screen + echo "The default creds are testu:testp" + # List screen sessions screen -ls || exit 0 } From 552e7e2ae2aea548e109cdc9d38059f64c89c9c8 Mon Sep 17 00:00:00 2001 From: JP Bourget Date: Tue, 4 Aug 2020 12:06:38 -0400 Subject: [PATCH 2/6] changelog --- CHANGELOG.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 570f52d1f9..6fdfc10a9c 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -15,6 +15,10 @@ Added group in st2.conf. (new feature) #4914 This option was requested by Harry Lee (@tclh123) and contributed by Marcel Weinberg (@winem). +* Added a FAQ for the default user/pass for the `tools/launch_dev.sh` script and print out the + default pass to screen when the script completes. + +Contributed by @punkrokk Changed ~~~~~~~ From 2a3eb893edb3f970706e0e326c1f6aa6fb608411 Mon Sep 17 00:00:00 2001 From: JP Bourget Date: Tue, 4 Aug 2020 12:07:17 -0400 Subject: [PATCH 3/6] typo --- dev_docs/Troubleshooting_Guide.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev_docs/Troubleshooting_Guide.rst b/dev_docs/Troubleshooting_Guide.rst index 7267920caa..4e1c1f22d2 100644 --- a/dev_docs/Troubleshooting_Guide.rst +++ b/dev_docs/Troubleshooting_Guide.rst @@ -5,7 +5,7 @@ Troubleshooting Guide **A: The default creds are**: user: testu - pass: test p + pass: testp **Q: After starting st2 server using** ``tools/launchdev.sh`` **script, getting following error:**:: From 6406d038459004581826d11fde385130445fc42d Mon Sep 17 00:00:00 2001 From: JP Bourget Date: Tue, 4 Aug 2020 12:07:50 -0400 Subject: [PATCH 4/6] typo2 --- CHANGELOG.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 6fdfc10a9c..a102d53eee 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -16,7 +16,7 @@ Added This option was requested by Harry Lee (@tclh123) and contributed by Marcel Weinberg (@winem). * Added a FAQ for the default user/pass for the `tools/launch_dev.sh` script and print out the - default pass to screen when the script completes. + default pass to screen when the script completes. Contributed by @punkrokk From e4d9b9db9964a2ae6e4d2fcd8a70a5ae1dceb5ff Mon Sep 17 00:00:00 2001 From: JP Bourget Date: Tue, 4 Aug 2020 14:36:00 -0400 Subject: [PATCH 5/6] changelog --- CHANGELOG.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index a102d53eee..08cc34efb9 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -16,7 +16,7 @@ Added This option was requested by Harry Lee (@tclh123) and contributed by Marcel Weinberg (@winem). * Added a FAQ for the default user/pass for the `tools/launch_dev.sh` script and print out the - default pass to screen when the script completes. + default pass to screen when the script completes. (improvement) #5013 Contributed by @punkrokk From 3c4d1a15c7f488189989402040f9bf3ffc9f16a3 Mon Sep 17 00:00:00 2001 From: JP Bourget Date: Tue, 4 Aug 2020 14:50:25 -0400 Subject: [PATCH 6/6] formattinggggg --- CHANGELOG.rst | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 08cc34efb9..4b84edec45 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -9,7 +9,7 @@ Added * Add make command to autogen JSON schema from the models of action, rule, etc. Add check to ensure update to the models require schema to be regenerated. (new feature) * Improved st2sensor service logging message when a sensor will not be loaded when assigned to a - different partition (@punkrokk) + different partition (@punkrokk) #4991 * Add support for a configurable connect timeout for SSH connections as requested in #4715 by adding the new configuration parameter ``ssh_connect_timeout`` to the ``ssh_runner`` group in st2.conf. (new feature) #4914 @@ -18,13 +18,14 @@ Added * Added a FAQ for the default user/pass for the `tools/launch_dev.sh` script and print out the default pass to screen when the script completes. (improvement) #5013 -Contributed by @punkrokk + Contributed by @punkrokk Changed ~~~~~~~ -* Switch to MongoDB ``4.0`` as the default version starting with all supported OS's in st2 ``v3.3.0`` (improvement) #4972 +* Switch to MongoDB ``4.0`` as the default version starting with all supported OS's in st2 + ``v3.3.0`` (improvement) #4972 -Contributed by @punkrokk + Contributed by @punkrokk Fixed ~~~~~