Advertisement
Guest User

Untitled

a guest
Nov 19th, 2019
225
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 31.82 KB | None | 0 0
  1. (Matched installation subnodes group: mongo)
  2.  
  3. > Build justdo-mongo docker image
  4.  
  5. Sending build context to Docker daemon 4.608kB
  6. Step 1/4 : FROM mongo:4.0.6
  7. ---> a3abd47e8d61
  8. Step 2/4 : RUN rm /bin/sh && ln -s /bin/bash /bin/sh
  9. ---> Using cache
  10. ---> d0a3292ab125
  11. Step 3/4 : COPY mongodb-keyfile /etc/mongodb-keyfile
  12. ---> Using cache
  13. ---> 9f3d567137cf
  14. Step 4/4 : RUN chown -R mongodb:mongodb /etc/mongodb-keyfile
  15. ---> Using cache
  16. ---> 062cb9e637ce
  17. Successfully built 062cb9e637ce
  18. Successfully tagged justdoinc/justdo-mongo:latest
  19.  
  20. > Build justdo-mongo docker image
  21.  
  22. f57a9c39d271cfd3392d0bfca522d5abefd4f2b918b2328ea8f4073656acb752
  23.  
  24. > Replica set conf
  25.  
  26. MongoDB shell version v4.0.6
  27. connecting to: mongodb://127.0.0.1:27017/?authSource=admin&gssapiServiceName=mongodb
  28. Implicit session: session { "id" : UUID("8d68f0db-f8f2-4097-a77e-8b42455fcf72") }
  29. MongoDB server
  30. {
  31. "set" : "rs0",
  32. "date" : ISODate("2019-11-19T09:28:38.638Z"),
  33. "myState" : 1,
  34. "term" : NumberLong(3),
  35. "syncingTo" : "",
  36. "syncSourceHost" : "",
  37. "syncSourceId" : -1,
  38. "heartbeatIntervalMillis" : NumberLong(2000),
  39. "optimes" : {
  40. "lastCommittedOpTime" : {
  41. "ts" : Timestamp(1574155718, 1),
  42. "t" : NumberLong(3)
  43. },
  44. "readConcernMajorityOpTime" : {
  45. "ts" : Timestamp(1574155718, 1),
  46. "t" : NumberLong(3)
  47. },
  48. "appliedOpTime" : {
  49. "ts" : Timestamp(1574155718, 1),
  50. "t" : NumberLong(3)
  51. },
  52. "durableOpTime" : {
  53. "ts" : Timestamp(1574155718, 1),
  54. "t" : NumberLong(3)
  55. }
  56. },
  57. "lastStableCheckpointTimestamp" : Timestamp(1574155713, 1),
  58. "members" : [
  59. {
  60. "_id" : 0,
  61. "name" : "justdo-mongo:27017",
  62. "health" : 1,
  63. "state" : 1,
  64. "stateStr" : "PRIMARY",
  65. "uptime" : 2,
  66. "optime" : {
  67. "ts" : Timestamp(1574155718, 1),
  68. "t" : NumberLong(3)
  69. },
  70. "optimeDate" : ISODate("2019-11-19T09:28:38Z"),
  71. "syncingTo" : "",
  72. "syncSourceHost" : "",
  73. "syncSourceId" : -1,
  74. "infoMessage" : "could not find member to sync from",
  75. "electionTime" : Timestamp(1574155717, 1),
  76. "electionDate" : ISODate("2019-11-19T09:28:37Z"),
  77. "configVersion" : 1,
  78. "self" : true,
  79. "lastHeartbeatMessage" : ""
  80. }
  81. ],
  82. "ok" : 1,
  83. "operationTime" : Timestamp(1574155718, 1),
  84. "$clusterTime" : {
  85. "clusterTime" : Timestamp(1574155718, 1),
  86. "signature" : {
  87. "hash" : BinData(0,"+dqgmRNqVYfmNv2N6u7hvrNH5Lk="),
  88. "keyId" : NumberLong("6760943526575341569")
  89. }
  90. }
  91. }
  92.  
  93. > Replica set status
  94.  
  95. MongoDB shell version v4.0.6
  96. connecting to: mongodb://127.0.0.1:27017/?authSource=admin&gssapiServiceName=mongodb
  97. Implicit session: session { "id" : UUID("14f79f3b-35a1-47eb-930e-4347dea155a6") }
  98. MongoDB server version: 4.0.6
  99. {
  100. "_id" : "rs0",
  101. "version" : 1,
  102. "protocolVersion" : NumberLong(1),
  103. "writeConcernMajorityJournalDefault" : true,
  104. "members" : [
  105. {
  106. "_id" : 0,
  107. "host" : "justdo-mongo:27017",
  108. "arbiterOnly" : false,
  109. "buildIndexes" : true,
  110. "hidden" : false,
  111. "priority" : 1,
  112. "tags" : {
  113.  
  114. },
  115. "slaveDelay" : NumberLong(0),
  116. "votes" : 1
  117. }
  118. ],
  119. "settings" : {
  120. "chainingAllowed" : true,
  121. "heartbeatIntervalMillis" : 2000,
  122. "heartbeatTimeoutSecs" : 10,
  123. "electionTimeoutMillis" : 10000,
  124. "catchUpTimeoutMillis" : -1,
  125. "catchUpTakeoverDelayMillis" : 30000,
  126. "getLastErrorModes" : {
  127.  
  128. },
  129. "getLastErrorDefaults" : {
  130. "w" : 1,
  131. "wtimeout" : 0
  132. },
  133. "replicaSetId" : ObjectId("5dd3b24bc4a2eb39bdb9715b")
  134. }
  135. }
  136.  
  137. >>> Subnode justdo-mongo installation completed
  138.  
  139.  
  140. >>> Skipping subnode justdo-mongo-backup installation.
  141.  
  142. (Subnode groups: mongo-all mongo-backup; doesn't match installation subnodes group: mongo)
  143.  
  144. >>> Skipping subnode justdo-web-app installation.
  145.  
  146. (Subnode groups: web-app apps all-apps; doesn't match installation subnodes group: mongo)
  147.  
  148. >>> Skipping subnode justdo-web-landing-app installation.
  149.  
  150. (Subnode groups: landing-app apps all-apps; doesn't match installation subnodes group: mongo)
  151.  
  152. >>> Skipping subnode justdo-web-nginx installation.
  153.  
  154. (Subnode groups: nginx; doesn't match installation subnodes group: mongo)
  155.  
  156. >>> Install main node justdo-web-bundle
  157.  
  158.  
  159. > Remove redundant Docker images
  160.  
  161.  
  162. >>> Preparing to install justdo-web-bundle node for prod...
  163.  
  164.  
  165. > Make sure node's Docker network (justdo) exist
  166.  
  167. Setting landing app root url to: http://local.justdo.com
  168. Setting web app root url to: http://app-local.justdo.com
  169.  
  170. >>> Skipping subnode justdo-mongo installation.
  171.  
  172. (Subnode groups: mongo-all mongo; doesn't match installation subnodes group: nginx web-app landing-app)
  173.  
  174. >>> Skipping subnode justdo-mongo-backup installation.
  175.  
  176. (Subnode groups: mongo-all mongo-backup; doesn't match installation subnodes group: nginx web-app landing-app)
  177.  
  178. >>> Installing optional subnode justdo-web-app (type: justdo-web-app)
  179.  
  180. (Matched installation subnodes group: web-app)
  181.  
  182. > Build web-app docker image
  183.  
  184. Sending build context to Docker daemon 254MB
  185. Step 1/13 : FROM node:8.15.1
  186. 8.15.1: Pulling from library/node
  187. e79bb959ec00: Pull complete
  188. d4b7902036fe: Pull complete
  189. 1b2a72d4e030: Pull complete
  190. d54db43011fd: Pull complete
  191. 69d473365bb3: Extracting [==================================================>] 215MB/215MB
  192. 6e2490ee2dc8: Download complete
  193. fc66dfb5c5fd: Download complete
  194. f0614876c4bf: Download complete
  195. failed to register layer: Error processing tar file(exit status 1): write /usr/lib/gcc/x86_64-linux-gnu/6/cc1: no space left on device
  196.  
  197. > Init plugins support (mode: on)
  198.  
  199.  
  200. > Normal (non-proxied) Meteor warehouse setup
  201.  
  202.  
  203. > Mount Meteor warehouse folder /var/justdo/prod-meteor-warehouse to /root/.meteor
  204.  
  205.  
  206. > Setting plugins folder to: /home/ubuntu/environment/justdo/plugins
  207.  
  208. Unable to find image 'justdoinc/justdo-web-app:latest' locally
  209. docker: Error response from daemon: pull access denied for justdoinc/justdo-web-app, repository does not exist or may require 'docker login': denied: requested access to the resource is denied.
  210. See 'docker run --help'.
  211.  
  212. >>> Subnode justdo-web-app installation completed
  213.  
  214.  
  215. >>> Installing optional subnode justdo-web-landing-app (type: justdo-web-landing-app)
  216.  
  217. (Matched installation subnodes group: landing-app)
  218. Build landing-app docker image
  219.  
  220. > Landing app installer: Spiderable disabled.
  221.  
  222. Sending build context to Docker daemon 172.7MB
  223. Step 1/7 : FROM node:8.15.1
  224. 8.15.1: Pulling from library/node
  225. e79bb959ec00: Pull complete
  226. d4b7902036fe: Pull complete
  227. 1b2a72d4e030: Pull complete
  228. d54db43011fd: Pull complete
  229. 69d473365bb3: Extracting [==================================================>] 215MB/215MB
  230. 6e2490ee2dc8: Download complete
  231. fc66dfb5c5fd: Download complete
  232. f0614876c4bf: Download complete
  233. failed to register layer: Error processing tar file(exit status 1): write /usr/lib/python3.5/__pycache__/dis.cpython-35.pyc: no space left on device
  234. Unable to find image 'justdoinc/justdo-landing-app:latest' locally
  235. docker: Error response from daemon: pull access denied for justdoinc/justdo-landing-app, repository does not exist or may require 'docker login': denied: requested access to the resource is denied.
  236. See 'docker run --help'.
  237.  
  238. >>> Subnode justdo-web-landing-app installation completed
  239.  
  240.  
  241. >>> Installing optional subnode justdo-web-nginx (type: justdo-web-nginx)
  242.  
  243. (Matched installation subnodes group: nginx)
  244. Prepare justdo-web-nginx nginx configuration files
  245. Build justdo-web-nginx docker image
  246. Sending build context to Docker daemon 12.8kB
  247. Step 1/5 : FROM nginx:1.17.3
  248. ---> ab56bba91343
  249. Step 2/5 : RUN rm /bin/sh && ln -s /bin/bash /bin/sh
  250. ---> Using cache
  251. ---> 6a33a33f8c8c
  252. Step 3/5 : COPY nginx-conf/nginx.conf /etc/nginx/nginx.conf
  253. ---> Using cache
  254. ---> b0b06d80831c
  255. Step 4/5 : COPY nginx-conf/sites-enabled /etc/nginx/sites-enabled
  256. ---> Using cache
  257. ---> 2e093e3e1257
  258. Step 5/5 : COPY nginx-conf/ssl /etc/nginx/ssl
  259. ---> Using cache
  260. ---> fce747306054
  261. Successfully built fce747306054
  262. Successfully tagged justdoinc/justdo-web-nginx:latest
  263. ff161f59f259c7407fcf95bb57f428ad7ed8b0aae0a67fafcfaf93a78fb9e646
  264. docker: Error response from daemon: driver failed programming external connectivity on endpoint justdo-web-nginx (d298be1f98dcf166f84f531e37489b51c7ea82db6862f881404447309dcd6324): Error starting userland proxy: listen tcp 0.0.0.0:80: bind: address already in use.
  265.  
  266. >>> Subnode justdo-web-nginx installation completed
  267.  
  268.  
  269. >>> Install main node justdo-web-bundle
  270.  
  271.  
  272. > Remove redundant Docker images
  273.  
  274. ubuntu:~/environment/justdo $ justdo start
  275.  
  276. >>> Running helper: start
  277.  
  278.  
  279. > Starting all justdo's Dockers
  280.  
  281. justdo-mongo
  282. Error response from daemon: No such container: justdo-web-app
  283. Error response from daemon: No such container: justdo-landing-app
  284. Error response from daemon: driver failed programming external connectivity on endpoint justdo-web-nginx (9e28935b26d61d8e4e3793f34067989c9bd3b1aa17686c8ee87f12c766d995eb): Error starting userland proxy: listen tcp 0.0.0.0:80: bind: address already in use
  285. Error: failed to start containers: justdo-web-app, justdo-landing-app, justdo-web-nginx
  286. ubuntu:~/environment/justdo $ justdo install all-apps
  287.  
  288. >>> Running helper: install
  289.  
  290.  
  291. >>> Preparing to install justdo-web-bundle node for prod...
  292.  
  293.  
  294. > Make sure node's Docker network (justdo) exist
  295.  
  296. Setting landing app root url to: http://local.justdo.com
  297. Setting web app root url to: http://app-local.justdo.com
  298.  
  299. >>> Skipping subnode justdo-mongo installation.
  300.  
  301. (Subnode groups: mongo-all mongo; doesn't match installation subnodes group: web-app landing-app)
  302.  
  303. >>> Skipping subnode justdo-mongo-backup installation.
  304.  
  305. (Subnode groups: mongo-all mongo-backup; doesn't match installation subnodes group: web-app landing-app)
  306.  
  307. >>> Installing optional subnode justdo-web-app (type: justdo-web-app)
  308.  
  309. (Matched installation subnodes group: web-app)
  310.  
  311. > Build web-app docker image
  312.  
  313. Sending build context to Docker daemon 254MB
  314. Step 1/13 : FROM node:8.15.1
  315. 8.15.1: Pulling from library/node
  316. e79bb959ec00: Pull complete
  317. d4b7902036fe: Pull complete
  318. 1b2a72d4e030: Pull complete
  319. d54db43011fd: Pull complete
  320. 69d473365bb3: Extracting [==================================================>] 215MB/215MB
  321. 6e2490ee2dc8: Download complete
  322. fc66dfb5c5fd: Download complete
  323. f0614876c4bf: Download complete
  324. failed to register layer: Error processing tar file(exit status 1): write /usr/lib/gcc/x86_64-linux-gnu/6/cc1: no space left on device
  325.  
  326. > Init plugins support (mode: on)
  327.  
  328.  
  329. > Normal (non-proxied) Meteor warehouse setup
  330.  
  331.  
  332. > Mount Meteor warehouse folder /var/justdo/prod-meteor-warehouse to /root/.meteor
  333.  
  334.  
  335. > Setting plugins folder to: /home/ubuntu/environment/justdo/plugins
  336.  
  337. Unable to find image 'justdoinc/justdo-web-app:latest' locally
  338. docker: Error response from daemon: pull access denied for justdoinc/justdo-web-app, repository does not exist or may require 'docker login': denied: requested access to the resource is denied.
  339. See 'docker run --help'.
  340.  
  341. >>> Subnode justdo-web-app installation completed
  342.  
  343.  
  344. >>> Installing optional subnode justdo-web-landing-app (type: justdo-web-landing-app)
  345.  
  346. (Matched installation subnodes group: landing-app)
  347. Build landing-app docker image
  348.  
  349. > Landing app installer: Spiderable disabled.
  350.  
  351. Sending build context to Docker daemon 172.7MB
  352. Step 1/7 : FROM node:8.15.1
  353. 8.15.1: Pulling from library/node
  354. e79bb959ec00: Pull complete
  355. d4b7902036fe: Pull complete
  356. 1b2a72d4e030: Pull complete
  357. d54db43011fd: Pull complete
  358. 69d473365bb3: Extracting [==================================================>] 215MB/215MB
  359. 6e2490ee2dc8: Download complete
  360. fc66dfb5c5fd: Download complete
  361. f0614876c4bf: Download complete
  362. failed to register layer: Error processing tar file(exit status 1): write /usr/lib/python3.5/__pycache__/difflib.cpython-35.pyc: no space left on device
  363. Unable to find image 'justdoinc/justdo-landing-app:latest' locally
  364. docker: Error response from daemon: pull access denied for justdoinc/justdo-landing-app, repository does not exist or may require 'docker login': denied: requested access to the resource is denied.
  365. See 'docker run --help'.
  366.  
  367. >>> Subnode justdo-web-landing-app installation completed
  368.  
  369.  
  370. >>> Skipping subnode justdo-web-nginx installation.
  371.  
  372. (Subnode groups: nginx; doesn't match installation subnodes group: web-app landing-app)
  373.  
  374. >>> Install main node justdo-web-bundle
  375.  
  376.  
  377. > Remove redundant Docker images
  378.  
  379. ubuntu:~/environment/justdo $ justdo
  380.  
  381. >>> Running helper:
  382.  
  383.  
  384. > Use one of the following helpers:
  385.  
  386. justdo check-updates
  387. justdo update
  388. justdo version-info
  389. justdo status
  390. justdo install
  391. justdo start
  392. justdo stop
  393. justdo restart
  394. justdo report-sdk-issue
  395. justdo log-justdo-webapp
  396. justdo log-justdo-landing-app
  397. justdo plugins
  398. justdo mongo-backup
  399. justdo mongo-reset
  400. justdo mongo-restore
  401. justdo set-current-folder-as-main-setup
  402. justdo sdk-login
  403. justdo sdk-logout
  404. justdo deploy
  405. justdo uninstall
  406. ubuntu:~/environment/justdo $ justdo start
  407.  
  408. >>> Running helper: start
  409.  
  410.  
  411. > Starting all justdo's Dockers
  412.  
  413. justdo-mongo
  414. Error response from daemon: No such container: justdo-web-app
  415. Error response from daemon: No such container: justdo-landing-app
  416. Error response from daemon: driver failed programming external connectivity on endpoint justdo-web-nginx (d1e019364a3fcc70fc02d3c0797731b857f8ae43d2143e46f3a689ecb3d61003): Error starting userland proxy: listen tcp 0.0.0.0:80: bind: address already in use
  417. Error: failed to start containers: justdo-web-app, justdo-landing-app, justdo-web-nginx
  418. ubuntu:~/environment/justdo $ justdo
  419.  
  420. >>> Running helper:
  421.  
  422.  
  423. > Use one of the following helpers:
  424.  
  425. justdo check-updates
  426. justdo update
  427. justdo version-info
  428. justdo status
  429. justdo install
  430. justdo start
  431. justdo stop
  432. justdo restart
  433. justdo report-sdk-issue
  434. justdo log-justdo-webapp
  435. justdo log-justdo-landing-app
  436. justdo plugins
  437. justdo mongo-backup
  438. justdo mongo-reset
  439. justdo mongo-restore
  440. justdo set-current-folder-as-main-setup
  441. justdo sdk-login
  442. justdo sdk-logout
  443. justdo deploy
  444. justdo uninstall
  445. ubuntu:~/environment/justdo $ just report-sdk-issue
  446. just: command not found
  447. ubuntu:~/environment/justdo $ justdo report-sdk-issue
  448.  
  449. >>> Running helper: report-sdk-issue
  450.  
  451.  
  452. >>> Preparing SDK issue report
  453.  
  454.  
  455. > Write SDK launcher version
  456.  
  457.  
  458. > Write bundle-version
  459.  
  460.  
  461. > Copy plugins folder
  462.  
  463.  
  464. > Write docker state - $ docker ps
  465.  
  466.  
  467. > Write docker info - $ docker info
  468.  
  469. WARNING: No swap limit support
  470.  
  471. > Write docker state - $ docker --version
  472.  
  473.  
  474. > Write docker state - current logs of all justdo nodes
  475.  
  476.  
  477. > Write docker state - $ docker logs justdo-landing-app
  478.  
  479.  
  480. > Write docker state - $ docker logs justdo-web-app
  481.  
  482.  
  483. > Write docker state - $ docker logs justdo-web-nginx
  484.  
  485.  
  486. > Write docker state - $ docker logs justdo-mongo
  487.  
  488.  
  489. > Write docker state - current inspect output of all justdo nodes
  490.  
  491.  
  492. > Write docker state - $ docker logs justdo-landing-app
  493.  
  494.  
  495. > Write docker state - $ docker logs justdo-web-app
  496.  
  497.  
  498. > Write docker state - $ docker logs justdo-web-nginx
  499.  
  500.  
  501. > Write docker state - $ docker logs justdo-mongo
  502.  
  503.  
  504. > Write plugins system logs output
  505.  
  506. Error: No such container: justdo-web-app
  507.  
  508. > Write system state - $ bash --version
  509.  
  510.  
  511. > Write system state - $ git --version
  512.  
  513.  
  514. > Write system state - $ uname -a
  515.  
  516.  
  517. > Write system state - $ df -h
  518.  
  519.  
  520. > Run SDK builder app test (for the current installed plugins) - that can take few minutes
  521.  
  522.  
  523. > Copy config.bash
  524.  
  525.  
  526. > We will now show you the config.bash that we will send as part of the report
  527.  
  528. ^C
  529. ubuntu:~/environment/justdo $ justdo install --help
  530.  
  531. >>> Running helper: install
  532.  
  533. ubuntu:~/environment/justdo $ justdo install
  534.  
  535. >>> Running helper: install
  536.  
  537. Use the $ justdo install command to (re)install JustDo Docker containers.
  538.  
  539. Install is required after updating the justdo bundle, or to start from fresh if you ran into an issue with a current installation.
  540.  
  541. For fresh installation, begin from calling: $ justdo install essential, after which you can reinstall only specific nodes by calling:
  542.  
  543. > Main install commands:
  544.  
  545. $ justdo install essential - Installs the JustDo's: Mongo, Nginx, APP and Landing APP containers: which are all the essential nodes for a JustDo setup.
  546. $ justdo install all-apps - Installs the JustDo's: APP and Landing APP containers: which are all the nodes that need to be reinstalled after a bundle update (the Nginx and Mongo container installed in the essential setup, rarely need update).
  547.  
  548. > Install specific containers from the 'essential' setup:
  549.  
  550. $ justdo install mongo - Installs JustDo's Mongo container.
  551. $ justdo install nginx - Installs JustDo's Nginx container, install this one, only after installing the PP and Landing APP containers
  552. $ justdo install landing-app
  553. $ justdo install web-app
  554.  
  555. > Other tools:
  556.  
  557. $ justdo install mongo-backup - Installs JustDo's Mongo backup tool container.
  558. ubuntu:~/environment/justdo $ justdo install web-app
  559.  
  560. >>> Running helper: install
  561.  
  562.  
  563. >>> Preparing to install justdo-web-bundle node for prod...
  564.  
  565.  
  566. > Make sure node's Docker network (justdo) exist
  567.  
  568. Setting landing app root url to: http://local.justdo.com
  569. Setting web app root url to: http://app-local.justdo.com
  570.  
  571. >>> Skipping subnode justdo-mongo installation.
  572.  
  573. (Subnode groups: mongo-all mongo; doesn't match installation subnodes group: web-app)
  574.  
  575. >>> Skipping subnode justdo-mongo-backup installation.
  576.  
  577. (Subnode groups: mongo-all mongo-backup; doesn't match installation subnodes group: web-app)
  578.  
  579. >>> Installing optional subnode justdo-web-app (type: justdo-web-app)
  580.  
  581. (Matched installation subnodes group: web-app)
  582.  
  583. > Build web-app docker image
  584.  
  585. Sending build context to Docker daemon 254MB
  586. Step 1/13 : FROM node:8.15.1
  587. 8.15.1: Pulling from library/node
  588. e79bb959ec00: Pull complete
  589. d4b7902036fe: Pull complete
  590. 1b2a72d4e030: Pull complete
  591. d54db43011fd: Pull complete
  592. 69d473365bb3: Extracting [==================================================>] 215MB/215MB
  593. 6e2490ee2dc8: Download complete
  594. fc66dfb5c5fd: Download complete
  595. f0614876c4bf: Download complete
  596. failed to register layer: Error processing tar file(exit status 1): write /usr/lib/gcc/x86_64-linux-gnu/6/cc1: no space left on device
  597.  
  598. > Init plugins support (mode: on)
  599.  
  600.  
  601. > Normal (non-proxied) Meteor warehouse setup
  602.  
  603.  
  604. > Mount Meteor warehouse folder /var/justdo/prod-meteor-warehouse to /root/.meteor
  605.  
  606.  
  607. > Setting plugins folder to: /home/ubuntu/environment/justdo/plugins
  608.  
  609. Unable to find image 'justdoinc/justdo-web-app:latest' locally
  610. docker: Error response from daemon: pull access denied for justdoinc/justdo-web-app, repository does not exist or may require 'docker login': denied: requested access to the resource is denied.
  611. See 'docker run --help'.
  612.  
  613. >>> Subnode justdo-web-app installation completed
  614.  
  615.  
  616. >>> Skipping subnode justdo-web-landing-app installation.
  617.  
  618. (Subnode groups: landing-app apps all-apps; doesn't match installation subnodes group: web-app)
  619.  
  620. >>> Skipping subnode justdo-web-nginx installation.
  621.  
  622. (Subnode groups: nginx; doesn't match installation subnodes group: web-app)
  623.  
  624. >>> Install main node justdo-web-bundle
  625.  
  626.  
  627. > Remove redundant Docker images
  628.  
  629. ubuntu:~/environment/justdo $ docker login
  630. Login with your Docker ID to push and pull images from Docker Hub. If you don't have a Docker ID, head over to https://hub.docker.com to create one.
  631. Username: janat08
  632. Password:
  633. Error response from daemon: Get https://registry-1.docker.io/v2/: unauthorized: incorrect username or password
  634. ubuntu:~/environment/justdo $ docker login
  635. Login with your Docker ID to push and pull images from Docker Hub. If you don't have a Docker ID, head over to https://hub.docker.com to create one.
  636. Username: janat08
  637. Password:
  638. Error response from daemon: Get https://registry-1.docker.io/v2/: unauthorized: incorrect username or password
  639. ubuntu:~/environment/justdo $ docker login
  640. Login with your Docker ID to push and pull images from Docker Hub. If you don't have a Docker ID, head over to https://hub.docker.com to create one.
  641. Username: janat08
  642. Password:
  643. Error response from daemon: Get https://registry-1.docker.io/v2/: unauthorized: incorrect username or password
  644. ubuntu:~/environment/justdo $ docker login
  645. Login with your Docker ID to push and pull images from Docker Hub. If you don't have a Docker ID, head over to https://hub.docker.com to create one.
  646. Username: janat08
  647. Password:
  648. WARNING! Your password will be stored unencrypted in /home/ubuntu/.docker/config.json.
  649. Configure a credential helper to remove this warning. See
  650. https://docs.docker.com/engine/reference/commandline/login/#credentials-store
  651.  
  652. Login Succeeded
  653. ubuntu:~/environment/justdo $ justdo install web-app
  654.  
  655. >>> Running helper: install
  656.  
  657.  
  658. >>> Preparing to install justdo-web-bundle node for prod...
  659.  
  660.  
  661. > Make sure node's Docker network (justdo) exist
  662.  
  663. Setting landing app root url to: http://local.justdo.com
  664. Setting web app root url to: http://app-local.justdo.com
  665.  
  666. >>> Skipping subnode justdo-mongo installation.
  667.  
  668. (Subnode groups: mongo-all mongo; doesn't match installation subnodes group: web-app)
  669.  
  670. >>> Skipping subnode justdo-mongo-backup installation.
  671.  
  672. (Subnode groups: mongo-all mongo-backup; doesn't match installation subnodes group: web-app)
  673.  
  674. >>> Installing optional subnode justdo-web-app (type: justdo-web-app)
  675.  
  676. (Matched installation subnodes group: web-app)
  677.  
  678. > Build web-app docker image
  679.  
  680. Sending build context to Docker daemon 254MB
  681. Step 1/13 : FROM node:8.15.1
  682. 8.15.1: Pulling from library/node
  683. e79bb959ec00: Pull complete
  684. d4b7902036fe: Pull complete
  685. 1b2a72d4e030: Pull complete
  686. d54db43011fd: Pull complete
  687. 69d473365bb3: Extracting [==================================================>] 215MB/215MB
  688. 6e2490ee2dc8: Download complete
  689. fc66dfb5c5fd: Download complete
  690. f0614876c4bf: Download complete
  691. failed to register layer: Error processing tar file(exit status 1): write /usr/lib/gcc/x86_64-linux-gnu/6/cc1: no space left on device
  692.  
  693. > Init plugins support (mode: on)
  694.  
  695.  
  696. > Normal (non-proxied) Meteor warehouse setup
  697.  
  698.  
  699. > Mount Meteor warehouse folder /var/justdo/prod-meteor-warehouse to /root/.meteor
  700.  
  701.  
  702. > Setting plugins folder to: /home/ubuntu/environment/justdo/plugins
  703.  
  704. Unable to find image 'justdoinc/justdo-web-app:latest' locally
  705. docker: Error response from daemon: pull access denied for justdoinc/justdo-web-app, repository does not exist or may require 'docker login': denied: requested access to the resource is denied.
  706. See 'docker run --help'.
  707.  
  708. >>> Subnode justdo-web-app installation completed
  709.  
  710.  
  711. >>> Skipping subnode justdo-web-landing-app installation.
  712.  
  713. (Subnode groups: landing-app apps all-apps; doesn't match installation subnodes group: web-app)
  714.  
  715. >>> Skipping subnode justdo-web-nginx installation.
  716.  
  717. (Subnode groups: nginx; doesn't match installation subnodes group: web-app)
  718.  
  719. >>> Install main node justdo-web-bundle
  720.  
  721.  
  722. > Remove redundant Docker images
  723.  
  724. ubuntu:~/environment/justdo $ docker login
  725. Authenticating with existing credentials...
  726. WARNING! Your password will be stored unencrypted in /home/ubuntu/.docker/config.json.
  727. Configure a credential helper to remove this warning. See
  728. https://docs.docker.com/engine/reference/commandline/login/#credentials-store
  729.  
  730. Login Succeeded
  731. ubuntu:~/environment/justdo $ justdo install all-apps
  732.  
  733. >>> Running helper: install
  734.  
  735.  
  736. >>> Preparing to install justdo-web-bundle node for prod...
  737.  
  738.  
  739. > Make sure node's Docker network (justdo) exist
  740.  
  741. Setting landing app root url to: http://local.justdo.com
  742. Setting web app root url to: http://app-local.justdo.com
  743.  
  744. >>> Skipping subnode justdo-mongo installation.
  745.  
  746. (Subnode groups: mongo-all mongo; doesn't match installation subnodes group: web-app landing-app)
  747.  
  748. >>> Skipping subnode justdo-mongo-backup installation.
  749.  
  750. (Subnode groups: mongo-all mongo-backup; doesn't match installation subnodes group: web-app landing-app)
  751.  
  752. >>> Installing optional subnode justdo-web-app (type: justdo-web-app)
  753.  
  754. (Matched installation subnodes group: web-app)
  755.  
  756. > Build web-app docker image
  757.  
  758. Sending build context to Docker daemon 254MB
  759. Step 1/13 : FROM node:8.15.1
  760. 8.15.1: Pulling from library/node
  761. e79bb959ec00: Pull complete
  762. d4b7902036fe: Pull complete
  763. 1b2a72d4e030: Pull complete
  764. d54db43011fd: Pull complete
  765. 69d473365bb3: Extracting [==================================================>] 215MB/215MB
  766. 6e2490ee2dc8: Download complete
  767. fc66dfb5c5fd: Download complete
  768. f0614876c4bf: Download complete
  769. failed to register layer: Error processing tar file(exit status 1): write /usr/lib/gcc/x86_64-linux-gnu/6/cc1: no space left on device
  770.  
  771. > Init plugins support (mode: on)
  772.  
  773.  
  774. > Normal (non-proxied) Meteor warehouse setup
  775.  
  776.  
  777. > Mount Meteor warehouse folder /var/justdo/prod-meteor-warehouse to /root/.meteor
  778.  
  779.  
  780. > Setting plugins folder to: /home/ubuntu/environment/justdo/plugins
  781.  
  782. Unable to find image 'justdoinc/justdo-web-app:latest' locally
  783. docker: Error response from daemon: pull access denied for justdoinc/justdo-web-app, repository does not exist or may require 'docker login': denied: requested access to the resource is denied.
  784. See 'docker run --help'.
  785.  
  786. >>> Subnode justdo-web-app installation completed
  787.  
  788.  
  789. >>> Installing optional subnode justdo-web-landing-app (type: justdo-web-landing-app)
  790.  
  791. (Matched installation subnodes group: landing-app)
  792. Build landing-app docker image
  793.  
  794. > Landing app installer: Spiderable disabled.
  795.  
  796. Sending build context to Docker daemon 172.7MB
  797. Step 1/7 : FROM node:8.15.1
  798. 8.15.1: Pulling from library/node
  799. e79bb959ec00: Pull complete
  800. d4b7902036fe: Pull complete
  801. 1b2a72d4e030: Pull complete
  802. d54db43011fd: Pull complete
  803. 69d473365bb3: Extracting [==================================================>] 215MB/215MB
  804. 6e2490ee2dc8: Download complete
  805. fc66dfb5c5fd: Download complete
  806. f0614876c4bf: Download complete
  807. failed to register layer: Error processing tar file(exit status 1): write /usr/lib/python3.5/__pycache__/binhex.cpython-35.pyc: no space left on device
  808. Unable to find image 'justdoinc/justdo-landing-app:latest' locally
  809. docker: Error response from daemon: pull access denied for justdoinc/justdo-landing-app, repository does not exist or may require 'docker login': denied: requested access to the resource is denied.
  810. See 'docker run --help'.
  811.  
  812. >>> Subnode justdo-web-landing-app installation completed
  813.  
  814.  
  815. >>> Skipping subnode justdo-web-nginx installation.
  816.  
  817. (Subnode groups: nginx; doesn't match installation subnodes group: web-app landing-app)
  818.  
  819. >>> Install main node justdo-web-bundle
  820.  
  821.  
  822. > Remove redundant Docker images
  823.  
  824. ubuntu:~/environment/justdo $ justdo start
  825.  
  826. >>> Running helper: start
  827.  
  828.  
  829. > Starting all justdo's Dockers
  830.  
  831. justdo-mongo
  832. Error response from daemon: No such container: justdo-web-app
  833. Error response from daemon: No such container: justdo-landing-app
  834. Error response from daemon: driver failed programming external connectivity on endpoint justdo-web-nginx (e2ddafe31657c492f3aa0d8c796a66ce0e2da07768e12f5096124ff07370086d): Error starting userland proxy: listen tcp 0.0.0.0:80: bind: address already in use
  835. Error: failed to start containers: justdo-web-app, justdo-landing-app, justdo-web-nginx
  836. ubuntu:~/environment/justdo $ df
  837. Filesystem 1K-blocks Used Available Use% Mounted on
  838. udev 1977188 0 1977188 0% /dev
  839. tmpfs 397872 852 397020 1% /run
  840. /dev/nvme0n1p1 10098432 9154240 927808 91% /
  841. tmpfs 1989356 0 1989356 0% /dev/shm
  842. tmpfs 5120 0 5120 0% /run/lock
  843. tmpfs 1989356 0 1989356 0% /sys/fs/cgroup
  844. /dev/loop0 90112 90112 0 100% /snap/core/5328
  845. /dev/loop1 13056 13056 0 100% /snap/amazon-ssm-agent/495
  846. tmpfs 397868 0 397868 0% /run/user/1000
  847. /dev/loop2 91264 91264 0 100% /snap/core/8039
  848. /dev/loop3 18432 18432 0 100% /snap/amazon-ssm-agent/1480
  849. ubuntu:~/environment/justdo $ dir
  850. bundles-archive config.bash helpers justdo justdo-web-bundle mongo-key plugins sdk-issue-report ssl utils
  851. ubuntu:~/environment/justdo $ pwd
  852. /home/ubuntu/environment/justdo
  853. ubuntu:~/environment/justdo $ df -k .
  854. Filesystem 1K-blocks Used Available Use% Mounted on
  855. /dev/nvme0n1p1 10098432 9154240 927808 91% /
  856. ubuntu:~/environment/justdo $ cd ..
  857. ubuntu:~/environment $ sh resize.sh 20
  858. Reading package lists... Done
  859. Building dependency tree
  860. Reading state information... Done
  861. The following additional packages will be installed:
  862. libjq1 libonig4
  863. The following NEW packages will be installed:
  864. jq libjq1 libonig4
  865. 0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
  866. Need to get 276 kB of archives.
  867. After this operation, 930 kB of additional disk space will be used.
  868. Get:1 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu bionic/universe amd64 libonig4 amd64 6.7.0-1 [119 kB]
  869. Get:2 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu bionic/universe amd64 libjq1 amd64 1.5+dfsg-2 [111 kB]
  870. Get:3 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu bionic/universe amd64 jq amd64 1.5+dfsg-2 [45.6 kB]
  871. Fetched 276 kB in 0s (10.6 MB/s)
  872. Selecting previously unselected package libonig4:amd64.
  873. (Reading database ... 159256 files and directories currently installed.)
  874. Preparing to unpack .../libonig4_6.7.0-1_amd64.deb ...
  875. Unpacking libonig4:amd64 (6.7.0-1) ...
  876. Selecting previously unselected package libjq1:amd64.
  877. Preparing to unpack .../libjq1_1.5+dfsg-2_amd64.deb ...
  878. Unpacking libjq1:amd64 (1.5+dfsg-2) ...
  879. Selecting previously unselected package jq.
  880. Preparing to unpack .../jq_1.5+dfsg-2_amd64.deb ...
  881. Unpacking jq (1.5+dfsg-2) ...
  882. Setting up libonig4:amd64 (6.7.0-1) ...
  883. Setting up libjq1:amd64 (1.5+dfsg-2) ...
  884. Setting up jq (1.5+dfsg-2) ...
  885. Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
  886. Processing triggers for libc-bin (2.27-3ubuntu1) ...
  887. % Total % Received % Xferd Average Speed Time Time Time Current
  888. Dload Upload Total Spent Left Speed
  889. 100 19 100 19 0 0 3800 0 --:--:-- --:--:-- --:--:-- 3800
  890. {
  891. "VolumeModification": {
  892. "VolumeId": "vol-02472e0a9153d0ce1",
  893. "ModificationState": "modifying",
  894. "TargetSize": 20,
  895. "TargetIops": 100,
  896. "TargetVolumeType": "gp2",
  897. "OriginalSize": 10,
  898. "OriginalIops": 100,
  899. "OriginalVolumeType": "gp2",
  900. "Progress": 0,
  901. "StartTime": "2019-11-19T09:59:45.000Z"
  902. }
  903. }
  904. FAILED: /dev/xvda: does not exist
  905. resize2fs 1.44.1 (24-Mar-2018)
  906. open: No such file or directory while opening /dev/xvda1
  907. ubuntu:~/environment $ cd ..
  908. ubuntu:~ $ ls
  909. environment node_modules package-lock.json
  910. ubuntu:~ $ cd ..
  911. ubuntu:/home $ ls
  912. ubuntu
  913. ubuntu:/home $ df -k .
  914. Filesystem 1K-blocks Used Available Use% Mounted on
  915. /dev/nvme0n1p1 10098432 9155372 926676 91% /
  916. ubuntu:/home $
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement