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

#3271: Rancher AWS instance unhealthy #3272

Merged
merged 16 commits into from
Jun 27, 2018
Merged

#3271: Rancher AWS instance unhealthy #3272

merged 16 commits into from
Jun 27, 2018

Conversation

jeff1evesque
Copy link
Owner

Resolves #3271.

@jeff1evesque jeff1evesque added this to the 0.8 milestone Jun 23, 2018
@jeff1evesque jeff1evesque added this to In progress in AWS + Rancher via automation Jun 23, 2018
@jeff1evesque
Copy link
Owner Author

Currently only the browserify container is unhealthy:

rancher

The following logs were obtained:

6/23/2018 6:37:37 PMexec: "./entrypoint": stat ./entrypoint: no such file or directory
6/23/2018 6:37:39 PMexec: "./entrypoint": stat ./entrypoint: no such file or directory
6/23/2018 6:37:40 PMexec: "./entrypoint": stat ./entrypoint: no such file or directory
6/23/2018 6:37:52 PMexec: "./entrypoint": stat ./entrypoint: no such file or directory
6/23/2018 6:38:07 PMexec: "./entrypoint": stat ./entrypoint: no such file or directory
6/23/2018 6:38:22 PMexec: "./entrypoint": stat ./entrypoint: no such file or directory
6/23/2018 6:38:24 PMexec: "./entrypoint": stat ./entrypoint: no such file or directory
6/23/2018 6:38:37 PMexec: "./entrypoint": stat ./entrypoint: no such file or directory
6/23/2018 6:38:52 PMexec: "./entrypoint": stat ./entrypoint: no such file or directory
6/23/2018 6:39:07 PMexec: "./entrypoint": stat ./entrypoint: no such file or directory
6/23/2018 6:39:22 PMexec: "./entrypoint": stat ./entrypoint: no such file or directory
6/23/2018 6:39:37 PMexec: "./entrypoint": stat ./entrypoint: no such file or directory
6/23/2018 6:39:52 PMexec: "./entrypoint": stat ./entrypoint: no such file or directory
6/23/2018 6:40:07 PMexec: "./entrypoint": stat ./entrypoint: no such file or directory

@coveralls
Copy link

coveralls commented Jun 23, 2018

Coverage Status

Coverage remained the same at 29.15% when pulling 45fe065 on bug-3271 into fe13cdb on master.

@jeff1evesque
Copy link
Owner Author

Manually running our browserify container via ssh in the AWS environment runs without error:

root@ip-xxx-xxx-xxx-xxx:~/machine-learning/dockerfile# docker run --hostname browserify --name browserify -it jeff1evesque/ml-browserify:0.8
[...TRACE-OMITTED...]
  ./__tests__/layout/analysis.test.jsx
  ./__tests__/content/register.test.jsx
  ./__tests__/content/login.test.jsx
  ./content.jsx
done

> reactjs@1.0.0 build:browserify /var/machine-learning/src/jsx
> browserify -t [ babelify --presets env,stage-2,react ] content.jsx > ../../interface/static/js/content.js


> reactjs@1.0.0 watch:jsx /var/machine-learning/src/jsx
> onchange 'src/jsx/**/*.jsx' 'src/jsx/**/*.js' -- npm run build:browserify

^Croot@ip-172-31-47-17:~/machine-learning/dockerfile#

However, the install_rancher implementation, which calls upon the corresponding xxx-compose.[rancher].yml, fails with multiple No such file or directory on AWS:

browserify

@jeff1evesque
Copy link
Owner Author

One likely possibility, is a difference with the rancher implementation. Specifically, we'll need to take a closer look at our rancher-compose.yml, by checking the corresponding volumes mount.

@jeff1evesque
Copy link
Owner Author

jeff1evesque commented Jun 27, 2018

Our browserify container now properly compiles:

browserify

Additionally, the corresponding compile asset is available on the AWS host:

root@ip-xxx-xxx-xxx-xxx:~/machine-learning# ls -l /root/machine-learning/interface/static/js
total 3116
-rw-r--r-- 1 root root 3190082 Jun 27 02:20 content.js

@jeff1evesque
Copy link
Owner Author

jeff1evesque commented Jun 27, 2018

Our application is now accessible on AWS:

frontpage

However, some of our stylesheets have been incorrectly adjusted:

login

data-new

@jeff1evesque jeff1evesque merged commit 0bbe3d1 into master Jun 27, 2018
AWS + Rancher automation moved this from In progress to Done Jun 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
AWS + Rancher
  
Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants