microsoft / oxa-tools

Open edX on Azure Tools
MIT License
36 stars 103 forks source link

Stamp version not deployed open edx ficus code completely #385

Closed UVijayaBhargavi closed 5 years ago

UVijayaBhargavi commented 5 years ago

Hi, I am new to Azure Stamp version deployment. I am trying to deploy stamp version using ficus stamp deployment video(https://partner.microsoft.com/en-us/asset/detail/deploying-openedx-on-azure-part-2b-mp4). All the setup was completed successfully but when I try to check the code in my first VM there is no open edx code deployed in VM. when I run the command sudo -H -u edxapp bash in my VM. it's showing the following error:

sudo: unknown user: edxapp
sudo: unable to initialize policy plugin

In Azure resource showing 15 successful deployments. My lms url also not working. the following changes i did in parameters.json file:

  1. SSH key
  2. Admin user name's
  3. version id Also, I did following changes in stamp-v2.json and stamp-keyvault.json:
  4. open edx version and Forum version changed to ficus.master
  5. Ubuntu release changed from 14 to 16

Is anything wrong I did? I did not get any errors during deployment.

eltoncarr commented 5 years ago

If your setup is complete (as proven by the email notifications you will receive), all instructions provided for accessing your cluster applies. Please refer to documentations to https://aka.ms/laas.

UVijayaBhargavi commented 5 years ago

Hi eltoncarr, Thanks for reply. we succesfully deployed stamp version but there is issue with SMTP. when i check the log, we are getting the following connection time out error for SMTP : File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/core/mail/init.py", line 62, in send_mail return mail.send() File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/core/mail/message.py", line 303, in send return self.get_connection(fail_silently).send_messages([self]) File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/core/mail/backends/smtp.py", line 100, in send_messages new_conn_created = self.open() File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/core/mail/backends/smtp.py", line 58, in open self.connection = connection_class(self.host, self.port, **connection_params) File "/usr/lib/python2.7/smtplib.py", line 256, in init (code, msg) = self.connect(host, port) File "/usr/lib/python2.7/smtplib.py", line 316, in connect self.sock = self._get_socket(host, port, self.timeout) File "/usr/lib/python2.7/smtplib.py", line 291, in _get_socket return socket.create_connection((host, port), timeout) File "/usr/lib/python2.7/socket.py", line 575, in create_connection raise err error: [Errno 110] Connection timed out

Is anything i missed in deployment.I followed the same link https://aka.ms/laas. for deployment. Thanks.

eltoncarr commented 5 years ago

Connection timeout means you are unable to connect to your smtp server. You can double check using the mail program on the server and checking the logs (standard linux instructions apply). Also look at your SMTP configuration on the server (standard linux SSMPTd instructions apply) and tweak accordingly. In the deployment doc, we provided some guidance for dealing with O365 email account and Gmail accounts.