Code Monkey home page Code Monkey logo

sunbird-devops's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

sunbird-devops's Issues

Upgrade of NGINX

@Abhishek-Govula commented on Mon Feb 19 2018

Hi,
Can you please provide the latest version of NGINX for the proxy service. The current proxy service is using NGINX version# 1.13.3 which is obsolete.


@steotia commented on Mon Feb 19 2018

@mathewjpallan can you please get your team to triage it? Or else if it is a configuration which @Abhishek-Govula can handle, let him know how to do it.
cc @Manojvv


@steotia commented on Mon Feb 19 2018

How are you deploying the stack?
Let me know the deployment steps (basic).


@Abhishek-Govula commented on Mon Feb 19 2018

@steotia - I am running the deployment script. Inside sunbird-devops/deploy/deploy-proxy.sh directory

content_service failed to start

content_service_content_service container doesn't start after installation.

Log messages below:

content_service_content_service.1.v8uv854olarj@sl-dev-appsrvr | /home/sunbird/mw/content/node_modules/azure-storage/lib/common/services/servicesettings.js:83
content_service_content_service.1.v8uv854olarj@sl-dev-appsrvr | throw new SyntaxError(SR.INVALID_CONNECTION_STRING);
content_service_content_service.1.y20aiss38x01@sl-dev-appsrvr | throw new SyntaxError(SR.INVALID_CONNECTION_STRING);
content_service_content_service.1.njvasdcxy1qw@sl-dev-appsrvr | throw new SyntaxError(SR.INVALID_CONNECTION_STRING);
content_service_content_service.1.w86oh7jiwxvs@sl-dev-appsrvr | throw new SyntaxError(SR.INVALID_CONNECTION_STRING);
content_service_content_service.1.w86oh7jiwxvs@sl-dev-appsrvr | ^
content_service_content_service.1.v8uv854olarj@sl-dev-appsrvr | ^
content_service_content_service.1.y20aiss38x01@sl-dev-appsrvr | ^
content_service_content_service.1.njvasdcxy1qw@sl-dev-appsrvr | ^
content_service_content_service.1.njvasdcxy1qw@sl-dev-appsrvr |
content_service_content_service.1.w86oh7jiwxvs@sl-dev-appsrvr |
content_service_content_service.1.v8uv854olarj@sl-dev-appsrvr |
content_service_content_service.1.y20aiss38x01@sl-dev-appsrvr |
content_service_content_service.1.y20aiss38x01@sl-dev-appsrvr | SyntaxError: Connection strings must be of the form "key1=value1;key2=value2".
content_service_content_service.1.njvasdcxy1qw@sl-dev-appsrvr | SyntaxError: Connection strings must be of the form "key1=value1;key2=value2".
content_service_content_service.1.w86oh7jiwxvs@sl-dev-appsrvr | SyntaxError: Connection strings must be of the form "key1=value1;key2=value2".
content_service_content_service.1.v8uv854olarj@sl-dev-appsrvr | SyntaxError: Connection strings must be of the form "key1=value1;key2=value2".

screen shot 2018-02-14 at 12 37 23 pm

@Manojvv @harishgilimi @kochhar @rjshrjndrn @mathewjpallan

Version '2.4.1.0-1ppa~xenial' for 'ansible' was not found

While trying to run :::

ubuntu@ip-10-0-0-28:/sunbird-devops/deploy$ sudo ./install-dbs.sh mysb-devops/ansible/inventories/deploy
Reading package lists... Done
Building dependency tree
Reading state information... Done
software-properties-common is already the newest version (0.96.20.7).
0 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.
gpg: keyring /tmp/tmpefwtsimy/secring.gpg' created gpg: keyring /tmp/tmpefwtsimy/pubring.gpg' created
gpg: requesting key 7BB9C367 from hkp server keyserver.ubuntu.com
gpg: /tmp/tmpefwtsimy/trustdb.gpg: trustdb created
gpg: key 7BB9C367: public key "Launchpad PPA for Ansible, Inc." imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
OK
Hit:1 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial InRelease
Get:2 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB]
Get:3 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-backports InRelease [102 kB]
Ign:4 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.4 InRelease
Hit:5 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.4 Release
Hit:6 https://download.docker.com/linux/ubuntu xenial InRelease
Get:7 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]
Hit:8 http://ppa.launchpad.net/ansible/ansible/ubuntu xenial InRelease
Hit:11 http://ppa.launchpad.net/webupd8team/java/ubuntu xenial InRelease
Get:10 http://dl.bintray.com/apache/cassandra 311x InRelease [3,169 B]
Get:12 http://dl.bintray.com/apache/cassandra 22x InRelease [3,168 B]
Fetched 313 kB in 0s (478 kB/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Version '2.4.1.0-1ppa
xenial' for 'ansible' was not found

we are getting the above error.We check the ansible version,it is as per requirement and also pinging.

Docker Image for Documentation Site

@coolbung @kochhar @steotia @parthlawate @mathewjpallan

Hi,

Can some please review the PR - #5 ?

This docker image will be used for building and deploying the site http://www.sunbird.org/ using CircleCI.
This image is using Ubuntu Xenial as base image and has -> ruby, aws-cli , gems and other required dependencies.

Also can someone please build the image and host it on sunbird docker hub account? or else add me in account so that i can take necessary actions.

Logs are not coming under Kibana.

Once server is restarted some times logs are visible , but after an hour or two non of the logs are coming , this is happening across all installation.

Getting error while running certbot.sh

Hi Team,

While running ./certbot.sh script we getting bellow error.

-e This script won't work for aws, as it's black listed in letsencrypt
so if youre running on aws please press ctrl+c with in 5 seconds
please enter your dns name
sunbird.....io(entered correct Domain name here)
dpkg-query: error: --search needs at least one file name pattern argument

Use --help for help about querying packages.

Julia Computing - keycloak not up after Azure server restart

Hi, The julia computing azure servers got restarted early this morning and the sunbird.juliacomputing.io login was not working - we were getting 502 Bad gateway error.

On investigation we found that the keycloak is not up and we needed to manually restart the keycloak to ensure that the sunbird application is up and running.

Raising this issue as part of documentation - @mathewjpallan @rjshrjndrn

Unable to install dbs

Facing the following error when trying to execute sudo ./install-dbs.sh <implementation-name>-devops/ansible/inventories/<environment-name>

sluser@sl-dev-dbsrvr:~/sunbird-devops/deploy$ sudo ./install-dbs.sh sldev-devops/ansible/inventories/dev/
@@@@@@@@@ Elasticsearch installation
./install-dbs.sh: 14: ./install-dbs.sh: ansible-playbook: not found

@Manojvv @mathewjpallan @kochhar @rjshrjndrn

Ansible version not found during migration of sunbird to AWS

While trying to run :::
ubuntu@ip-10-0-0-28:/sunbird-devops/deploy$ sudo ./install-dbs.sh mysb-devops/ansible/inventories/deploy
Reading package lists... Done
Building dependency tree
Reading state information... Done
software-properties-common is already the newest version (0.96.20.7).
0 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.
gpg: keyring /tmp/tmpefwtsimy/secring.gpg' created gpg: keyring/tmp/tmpefwtsimy/pubring.gpg' created
gpg: requesting key 7BB9C367 from hkp server keyserver.ubuntu.com
gpg: /tmp/tmpefwtsimy/trustdb.gpg: trustdb created
gpg: key 7BB9C367: public key "Launchpad PPA for Ansible, Inc." imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
OK
Hit:1 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial InRelease
Get:2 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB]
Get:3 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-backports InRelease [102 kB]
Ign:4 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.4 InRelease
Hit:5 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.4 Release
Hit:6 https://download.docker.com/linux/ubuntu xenial InRelease
Get:7 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]
Hit:8 http://ppa.launchpad.net/ansible/ansible/ubuntu xenial InRelease
Hit:11 http://ppa.launchpad.net/webupd8team/java/ubuntu xenial InRelease
Get:10 http://dl.bintray.com/apache/cassandra 311x InRelease [3,169 B]
Get:12 http://dl.bintray.com/apache/cassandra 22x InRelease [3,168 B]
Fetched 313 kB in 0s (478 kB/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Version '2.4.1.0-1ppaxenial' for 'ansible' was not found
we are getting the above error.We check the ansible version,it is as per requirement and also pinging.

Multinode docker swarm creation

In the multinode installation, Initiating docker swarm in multiple nodes.

It'll need 1 or an odd number of managers(for HA), and worker nodes( for load distribution). Keeping manager nodes separately, as it's best practice.

Manager node can be of t2.medium.

sunbird installation

To create a fast and reliable Installation procedure, which requires bare minimum user intervention as much as possible.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.