profile
viewpoint
Shu Sugimoto shusugmt Tokyo, Japan

euro-ix/rs-workshop-july-2017 11

Details and workspace for the Route Server Workshop - July 2017

jbrownsc/st2-docker 0

Official docker container for StackStorm.

shusugmt/angular2-webpack-starter 0

:tada: An Angular Starter kit featuring Angular 2 and Angular 4 (Router, Http, Forms, Services, Tests, E2E, Dev/Prod, HMR, Async/Lazy Routes, AoT via ngc), Karma, Protractor, Jasmine, Istanbul, TypeScript 2, TsLint, Codelyzer, Hot Module Replacement, @types, and Webpack 2 by @AngularClass

shusugmt/arouteserver 0

A tool to automatically build (and test) feature-rich configurations for BGP route servers.

shusugmt/arpsponge 0

AMS-IX ARPsponge Project

issue openedStackStorm/st2-docker

st2stream got error "One of Token or API key required."

Describe the problem st2stream container got below error. It seems like an API key is not set for st2stream.

st2api_1               | 2020-11-28 14:40:16,871 INFO [-] 7d16b7e8-05f1-4850-b1d3-0333869215c0 - GET //v1 with query={} (method='GET',path='//v1',remote_addr='172.18.0.17',query={},request_id='7d16b7e8-05f1-4850-b1d3-0333869215c0')
st2api_1               | 2020-11-28 14:40:16,873 INFO [-] 7d16b7e8-05f1-4850-b1d3-0333869215c0 - 404 57 2.065ms (method='GET',path='//v1',remote_addr='172.18.0.17',status=404,runtime=2.065,content_length=57,request_id='7d16b7e8-05f1-4850-b1d3-0333869215c0')
st2stream_1            | 2020-11-28 14:40:16,897 ERROR [-] (1) accepted ('172.18.0.17', 36300)
st2stream_1            |
st2stream_1            | 2020-11-28 14:40:16,899 INFO [-] 2b4bd8fc-5b28-44af-a4a5-5fe843a68cf7 - GET //v1/stream with query={} (method='GET',path='//v1/stream',remote_addr='172.18.0.17',query={},request_id='2b4bd8fc-5b28-44af-a4a5-5fe843a68cf7')
st2stream_1            | 2020-11-28 14:40:16,901 INFO [-] 2b4bd8fc-5b28-44af-a4a5-5fe843a68cf7 - 404 57 1.574ms (method='GET',path='//v1/stream',remote_addr='172.18.0.17',status=404,runtime=1.574,content_length=57,request_id='2b4bd8fc-5b28-44af-a4a5-5fe843a68cf7')
st2stream_1            | 2020-11-28 14:40:16,902 ERROR [-] 172.18.0.17 - - [28/Nov/2020 14:40:16] "GET //v1/stream HTTP/1.1" 404 551 0.002860
st2stream_1            |
st2auth_1              | 2020-11-28 14:40:16,923 INFO [-] 4ce3ca16-80ec-44bb-9b82-813299f2d417 - GET //v1 with query={} (method='GET',path='//v1',remote_addr='172.18.0.17',query={},request_id='4ce3ca16-80ec-44bb-9b82-813299f2d417')
st2auth_1              | 2020-11-28 14:40:16,924 INFO [-] 4ce3ca16-80ec-44bb-9b82-813299f2d417 - 404 57 1.038ms (method='GET',path='//v1',remote_addr='172.18.0.17',status=404,runtime=1.038,content_length=57,request_id='4ce3ca16-80ec-44bb-9b82-813299f2d417')
st2api_1               | 2020-11-28 14:40:16,945 INFO [-] 3b59dcc2-d7e0-45dc-997d-2ab98eb1e3fa - GET /v1/ with query={} (method='GET',path='/v1/',remote_addr='172.18.0.17',query={},request_id='3b59dcc2-d7e0-45dc-997d-2ab98eb1e3fa')
st2web_1               | 127.0.0.1 - - [28/Nov/2020:14:40:16 +0000] "GET /api/v1/ HTTP/1.1" 401 73 "-" "curl/7.58.0"
st2api_1               | 2020-11-28 14:40:16,946 ERROR [-] One of Token or API key required.
st2api_1               | 2020-11-28 14:40:16,946 INFO [-] 3b59dcc2-d7e0-45dc-997d-2ab98eb1e3fa - 401 73 0.986ms (method='GET',path='/v1/',remote_addr='172.18.0.17',status=401,runtime=0.986,content_length=73,request_id='3b59dcc2-d7e0-45dc-997d-2ab98eb1e3fa')
st2stream_1            | 2020-11-28 14:40:16,962 ERROR [-] (1) accepted ('172.18.0.17', 36314)
st2stream_1            |
st2stream_1            | 2020-11-28 14:40:16,963 INFO [-] 8cca9057-7e5a-4ad4-b4fa-e06e99e243bd - GET /v1/stream with query={} (method='GET',path='/v1/stream',remote_addr='172.18.0.17',query={},request_id='8cca9057-7e5a-4ad4-b4fa-e06e99e243bd')
st2stream_1            | 2020-11-28 14:40:16,964 ERROR [-] One of Token or API key required.
st2web_1               | 127.0.0.1 - - [28/Nov/2020:14:40:16 +0000] "GET /stream/v1/stream HTTP/1.1" 401 73 "-" "curl/7.58.0"
st2stream_1            | 2020-11-28 14:40:16,965 INFO [-] 8cca9057-7e5a-4ad4-b4fa-e06e99e243bd - 401 73 1.194ms (method='GET',path='/v1/stream',remote_addr='172.18.0.17',status=401,runtime=1.194,content_length=73,request_id='8cca9057-7e5a-4ad4-b4fa-e06e99e243bd')
st2stream_1            | 2020-11-28 14:40:16,965 ERROR [-] 127.0.0.1,172.18.0.17 - - [28/Nov/2020 14:40:16] "GET /v1/stream HTTP/1.0" 401 589 0.002017
st2stream_1            |
st2auth_1              | 2020-11-28 14:40:16,988 INFO [-] baa0cf5f-e1c6-4d92-8bd2-3162df31002e - GET /v1/ with query={} (method='GET',path='/v1/',remote_addr='172.18.0.17',query={},request_id='baa0cf5f-e1c6-4d92-8bd2-3162df31002e')
st2auth_1              | 2020-11-28 14:40:16,989 INFO [-] baa0cf5f-e1c6-4d92-8bd2-3162df31002e - 404 57 0.706ms (method='GET',path='/v1/',remote_addr='172.18.0.17',status=404,runtime=0.706,content_length=57,request_id='baa0cf5f-e1c6-4d92-8bd2-3162df31002e')
st2web_1               | 127.0.0.1 - - [28/Nov/2020:14:40:16 +0000] "GET /auth/v1/ HTTP/1.1" 404 57 "-" "curl/7.58.0"

Versions

  • Host OS: CentOS7
  • docker: 1.13.1
  • docker-compose: 1.18.0
  • stackstorm version: 3.3.0, 3.2.0

To Reproduce If necessary, please specify steps to reproduce the behavior.

created time in a day

issue commentStackStorm/st2-docker

st2chatops missing

There is a st2chatops Docker image: https://hub.docker.com/r/stackstorm/st2chatops/ which we build regularly as any other st2 service. Its deployment was codified in K8s/Helm chart (https://github.com/stackstorm/stackstorm-ha#st2chatops), but not in Docker-compose yet.

We'd welcome PR contributions to include st2chatops in the docker-compose configuration. This is a good first issue, should be easy to do and overall very helpful feature.

freeyssu

comment created time in a day

issue openedStackStorm/st2-docker

st2chatops missing

Hi team.

I believe that st2chatops is the standard package on ST2 but docker-compose.yml does not include st2chatops image and configuration.

Does not have a plan to deploy st2chatops ?

created time in a day

issue commentStackStorm/st2-docker

st2actionrunner: Missing entrypoint.d

I guess in terms of Docker image immutability it's an anti-pattern to include some kind of time-consuming operation (like package installation, etc) during the container startup as it affects the time ST2 cluster becomes ready and there is no guarantee that command will succeed which may bring you a failed cluster and reproducibility issue. From the production standpoint it's indeed better to build your own st2actionrunner images.

From the other side I understand the reason that it's not always makes sense to build the new images from scratch in some environments and K8s has initContainers for this to do some minimal pre-configuration changes before the startup.

As a workaround you could overwrite the CMD aka entrypoint (https://docs.docker.com/compose/compose-file/#entrypoint) inside the docker-compose.yaml for the st2 services where you need specific changes before starting the st2 on them. We'd also welcome to see the design ideas for integrating and contributing this kind of functionality into st2-docker :+1:

fjudith

comment created time in 13 days

issue openedStackStorm/st2-docker

st2actionrunner: Missing entrypoint.d

Describe the problem Preview version of st2docker enabled entrypoint customization allowing a to add additionnal binairies and configuration files, without requiring to build a devired image

This feature has diseapered with the 3.3.0 release and is not documented in the release note.

What is the recommended approach for people that want to customize the st2actionrunner ?

Versions

  • Host OS: [e.g. Ubuntu 18.04] 18.04
  • docker: [e.g. 18.09.1-ce] 18.09.1-ce
  • docker-compose: [e.g. 1.21.1] 1.21.1
  • stackstorm version: [e.g. v3.3.0] v3.3.0

To Reproduce If necessary, please specify steps to reproduce the behavior.

Running any Packs that require additionnal binaries (Terraform, Salt, Ansible, etc)

created time in 13 days

push eventStackStorm/st2-docker

Marcel Weinberg

commit sha f952f28ae6a84536ed3dacb2db58ea9de3b79134

Remove st2resultstracker from docker compose

view details

Marcel Weinberg

commit sha 4d45bc7b6d04f9cc03d283a2f767043c51ab1c38

Add Changelog entry

view details

Marcel Weinberg

commit sha 6a88da468fcb9dfde22eb676b701971326b272d4

Merge branch 'master' into winem-remove-st2resultstracker

view details

Eugen C

commit sha 8f9594cfffafcc19b95e86a2f70b81df98dc9a3a

Merge pull request #204 from winem/winem-remove-st2resultstracker Remove st2resultstracker

view details

push time in 23 days

PR merged StackStorm/st2-docker

Remove st2resultstracker enhancement

This PR removes st2resultstracker from the docker-compose file. This PR is to be merged before https://github.com/StackStorm/st2-dockerfiles/pull/40

+3 -11

1 comment

2 changed files

winem

pr closed time in 23 days

pull request commentStackStorm/st2-docker

Remove st2resultstracker

cc @arms11

winem

comment created time in 23 days

PR opened StackStorm/st2-docker

Winem remove st2resultstracker

This PR removes st2resultstracker from the docker-compose file. This PR is to be merged before https://github.com/StackStorm/st2-dockerfiles/pull/40

+3 -10

0 comment

2 changed files

pr created time in 24 days

pull request commentStackStorm/st2-docker

Redis coordination backend

Merged. Thanks again, @winem!

winem

comment created time in 25 days

push eventStackStorm/st2-docker

Marcel Weinberg

commit sha 2c5be9929b05c43b379a8b1efde8fe3b1b93ac5a

Use consistent formatting of dependencies

view details

Marcel Weinberg

commit sha 17853799cf1acd88f9c22b1d5ce8ba0304fcb60a

Add redis as dependency for st2 services

view details

Marcel Weinberg

commit sha fac2ee1bd6bff4361f776a7e53141ce1e037547f

configure redis as coordination backend

view details

Marcel Weinberg

commit sha ca8466419d9e510d964a668dde59b4192b0aaf5d

Add changelog entry

view details

Marcel Weinberg

commit sha 4e4a440aa62313566af3e79cecc0a39f3ae9da35

Remove trailing spaces

view details

Marcel Weinberg

commit sha 9d9b132e05e31da838539ef5c5799091bc3d7444

Add redis as dependency of the workflow engine Co-authored-by: Eugen C. <github@armab.io>

view details

Marcel Weinberg

commit sha 9fe1997b393096a2148c2f4f9429ca12dcff486c

Update redis as dependency of the notification service Co-authored-by: Eugen C. <github@armab.io>

view details

Eugen C

commit sha cb069b19a5879aba4997a0bc8d3838ac7f7bf6c9

Merge pull request #203 from winem/winem-coordination-backend-195 Redis coordination backend

view details

push time in 25 days

PR merged StackStorm/st2-docker

Redis coordination backend enhancement

This PR contains a small change to unify the formatting of dependencies in the docker-compose file and uses redis as coordination backend.

I added redis as dependency to all those components that use the st2common coordination service.

Closes #195

+38 -12

4 comments

3 changed files

winem

pr closed time in 25 days

issue closedStackStorm/st2-docker

Configure [coordination] backend in st2 conf

Looks like st2.docker.conf defines connection to mongodb and rabbitmq, but not for the [coordination] backend, despite Redis instance is spin up in docker-compose environment.

This is a good first issue, help wanted, contributions are welcome!

closed time in 25 days

armab

pull request commentStackStorm/st2-docker

Redis coordination backend

Don't see any significant reason against merging it. We can update the service/dependencies if we'll find an issue in the future, once the https://github.com/StackStorm/st2docs/issues/1034 is covered.

winem

comment created time in 25 days

pull request commentStackStorm/st2-docker

Redis coordination backend

OK, created https://github.com/StackStorm/st2docs/issues/1034 as a documentation follow-up to sync the list of coordination-dependent st2 services.

winem

comment created time in a month

pull request commentStackStorm/st2-docker

Redis coordination backend

Yeah, it would be great to have a statement from someone who knows for sure which services rely on the coordination backend. I'll update the PR as soon as we have that.

winem

comment created time in a month

pull request commentStackStorm/st2-docker

Redis coordination backend

https://docs.stackstorm.com/reference/ha.html provides some hints about which services may need a coordination backend.

However I believe it's unsync with the reality and we'll need to ask @m4dcoder to update the list of services relying on coordination.

winem

comment created time in a month

Pull request review commentStackStorm/st2-docker

Redis coordination backend

 services:   st2notifier:     image: ${ST2_IMAGE_REPO:-stackstorm/}st2notifier:${ST2_VERSION:-3.3.0}     restart: on-failure-    depends_on: ["st2api"]+    depends_on:+      - st2api

Oh, good catch!

winem

comment created time in a month

Pull request review commentStackStorm/st2-docker

Redis coordination backend

 services:   st2notifier:     image: ${ST2_IMAGE_REPO:-stackstorm/}st2notifier:${ST2_VERSION:-3.3.0}     restart: on-failure-    depends_on: ["st2api"]+    depends_on:+      - st2api
    depends_on:
      - redis
      - st2api

According to https://docs.stackstorm.com/reference/ha.html#st2notifier

winem

comment created time in a month

Pull request review commentStackStorm/st2-docker

Redis coordination backend

 services:   st2workflowengine:     image: ${ST2_IMAGE_REPO:-stackstorm/}st2workflowengine:${ST2_VERSION:-3.3.0}     restart: on-failure-    depends_on: ["st2api"]+    depends_on:+      - st2api

I'm pretty sure that WorkflowEngine also relies on the coordination backend:

    depends_on:
      - redis
      - st2api
winem

comment created time in a month

PR opened StackStorm/st2-docker

Redis coordination backend

This PR contains a small change to unify the formatting of dependencies in the docker-compose file and uses redis as coordination backend.

I added redis as dependency to all those components that use the st2common coordination service.

Closes #195

+36 -12

0 comment

3 changed files

pr created time in a month

push eventStackStorm/st2-docker

armab

commit sha 628fde99f2b5361834f2fe339f2f533d1532bf50

Switch Docker images to v3.3.0 stable

view details

Nick Maludy

commit sha e74aff8ca710114dc1328b9cdd16e61a6c3d81f3

Merge pull request #202 from StackStorm/use-v3.3.0 Switch Docker images to v3.3.0 stable

view details

push time in a month

delete branch StackStorm/st2-docker

delete branch : use-v3.3.0

delete time in a month

PR merged StackStorm/st2-docker

Switch Docker images to v3.3.0 stable enhancement

Bumping the st2 version from 3.3dev to stable v3.3.0 as default version for the docker deployment.

Another follow-up https://github.com/StackStorm/st2-docker/issues/201 will be needed to automate the version change on every st2 release.

+17 -17

0 comment

2 changed files

armab

pr closed time in a month

PR opened StackStorm/st2-docker

Switch Docker images to v3.3.0 stable enhancement

Bumping the st2 version from 3.3dev to stable v3.3.0 as a default version for the docker deployment.

Another follow-up https://github.com/StackStorm/st2-docker/issues/201 will be needed to automate the version change on every st2 release.

+17 -17

0 comment

2 changed files

pr created time in a month

issue openedStackStorm/st2-docker

Release Automation

st2ci and st2cd release automation workflows should be able to bump the st2 version for st2-docker images to use once the new release happens.

created time in a month

create barnchStackStorm/st2-docker

branch : use-v3.3.0

created branch time in a month

created tagStackStorm/st2-docker

tagv3.3.0

StackStorm docker-compose deployment

created time in a month

PR closed StackStorm/st2-docker

Add possibility to use external st2 client

Expose API, AUTH and STREAM ports

+14 -0

2 comments

2 changed files

gproskurin

pr closed time in 2 months

pull request commentStackStorm/st2-docker

Add possibility to use external st2 client

Indeed, it works!

gproskurin

comment created time in 2 months

more