Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(tools): corda AIO supervisorctl configuration #690

Merged
merged 4 commits into from
Mar 25, 2021

Conversation

petermetz
Copy link
Contributor

@petermetz petermetz commented Mar 19, 2021

Dependencies (need to be reviewed and merged first)

Depends on #657
Depends on #687
Depends on #688
Depends on #689
Depends on #656

Commit to be reviewed

Author: Peter Somogyvari peter.somogyvari@accenture.com
Author Date: 2021-03-14 16:06:54 -0700
Committer: Peter Somogyvari peter.somogyvari@accenture.com
Committer Date: 2021-03-14 16:11:09 -0700

fix(tools): corda AIO supervisorctl configuration

While trying to use the supervisorctl binary
to manage the starting of the corda-network
process configured in supervisord.conf the
following error was encountered and then
fixed by this change:

$ supervisorctl -c /etc/supervisor/supervisord.conf
Error: .ini file does not include supervisorctl section
For help, use /usr/bin/supervisorctl -h

Signed-off-by: Peter Somogyvari peter.somogyvari@accenture.com

takeutak
takeutak previously approved these changes Mar 23, 2021
@petermetz petermetz force-pushed the feat-621-parent-4 branch 3 times, most recently from 3e08fef to 3836c65 Compare March 24, 2021 02:21
@petermetz petermetz requested a review from takeutak March 24, 2021 22:36
@petermetz petermetz requested a review from kikoncuo March 25, 2021 07:26
Signed-off-by: Peter Somogyvari <peter.somogyvari@accenture.com>
This is the same thing that we added to the Fabric
AIO image earlier:
Setting the flag controls whether the CordaTestLedger
class will automatically pipe the container's own logs onto the logger object of the
class instance (CordaTestLedger) or not.
By default it does pipe the logs but if it gets spammy
developers can turn it off via the flag to avoid
having to scroll through thousands of lines of
logs that may or may not be useful to them.

Signed-off-by: Peter Somogyvari <peter.somogyvari@accenture.com>
During testing it was easier and faster to have the
cordapp building process commented out because
the obligation cordapp is pre-built within the
container image of AIO Corda, then it was forgotten
like that which is not good because the rest of the examples
are not pre-built and therefore don't actually work
without this line being uncommented.

Signed-off-by: Peter Somogyvari <peter.somogyvari@accenture.com>
While trying to use the supervisorctl binary
to manage the starting of the corda-network
process configured in supervisord.conf the
following error was encountered and then
fixed by this change:

$ supervisorctl -c /etc/supervisor/supervisord.conf
Error: .ini file does not include supervisorctl section
For help, use /usr/bin/supervisorctl -h

Signed-off-by: Peter Somogyvari <peter.somogyvari@accenture.com>
@github-actions
Copy link

@petermetz petermetz merged commit d7e6f66 into hyperledger-cacti:main Mar 25, 2021
@petermetz petermetz deleted the feat-621-parent-4 branch March 25, 2021 23:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants