Uploaded image for project: 'Help-Desk'
  1. Help-Desk
  2. HELP-7788

FIWARE.Request.Lab.IdM User Registration doesn't send signup email.

    Details

    • Type: extRequest
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Fix Version/s: 2021
    • Component/s: FIWARE-LAB-HELP
    • Labels:

      Description

      Dear all,
      I'm setting up IdM VM and trying to test the user registration but the
      signup email doesn't reach the user email account.

      The Horizon web UI shows the green bottom popup "*Success: *Resended
      confirmation instructions to xxx@xxx.com <xxx@yyy.com>" and the log on the
      server says:

      *sudo tools/with_venv.sh python manage.py runserver 192.168.228.229:8000
      <http://192.168.228.229:8000>Validating models...0 errors foundNovember 25,
      2016 - 10:32:51Django version 1.6.11, using settings
      'openstack_dashboard.settings'Starting development server at
      http://192.168.228.229:8000/ <http://192.168.228.229:8000/>Quit the server
      with CONTROL-C.UserWarning: Module novaclient.v1_1 is deprecated (taken as
      a basis for novaclient.v2). The preferable way to get client class or
      object you can find in novaclient.client
      module.WARNING:py.warnings:UserWarning: Module novaclient.v1_1 is
      deprecated (taken as a basis for novaclient.v2). The preferable way to get
      client class or object you can find in novaclient.client
      module.DEBUG:idm_logger:Creating a new internal keystoneclient connection
      to http://127.0.0.1:5000/v3 <http://127.0.0.1:5000/v3>.RuntimeWarning:
      Scanning acceleration disabled (_speedups not
      found)!WARNING:py.warnings:RuntimeWarning: Scanning acceleration disabled
      (_speedups not found)![25/Nov/2016 10:33:01] "GET /auth/login/ HTTP/1.1"
      200 13740[25/Nov/2016 10:33:01] "GET /static/dashboard/css/b9a56c54c930.css
      HTTP/1.1" 304 0[25/Nov/2016 10:33:01] "GET
      /static/dashboard/js/4d7112fe6b5a.js HTTP/1.1" 304 0[25/Nov/2016 10:33:01]
      "GET /static/library/jcrop/css/jquery.Jcrop.css HTTP/1.1" 304 0[25/Nov/2016
      10:33:01] "GET /static/dashboard/js/db5b3a23c36d.js HTTP/1.1" 304
      0[25/Nov/2016 10:33:01] "GET /static/fiware/i18n.js HTTP/1.1" 304
      0[25/Nov/2016 10:33:01] "GET /static/dashboard/js/3277c9844a91.js HTTP/1.1"
      304 0[25/Nov/2016 10:33:01] "GET /static/dashboard/img/icons/help.png
      HTTP/1.1" 304 0[25/Nov/2016 10:33:01] "GET
      /static/dashboard/img/icons/ges.png HTTP/1.1" 304 0[25/Nov/2016 10:33:01]
      "GET /static/dashboard/img/icons/fi-ops.png HTTP/1.1" 304 0[25/Nov/2016
      10:33:01] "GET /static/dashboard/img/icons/more-info.png HTTP/1.1" 304
      0[25/Nov/2016 10:33:01] "GET /static/dashboard/img/FIWARE-lab-2x.png
      HTTP/1.1" 304 0[25/Nov/2016 10:33:04] "GET /confirmation/ HTTP/1.1" 200
      9897DEBUG:idm_logger:Sending email to [u'xxx@xxx.com <u%27xxx@xxx.com>']
      with subject Welcome to FIWARE[25/Nov/2016 10:33:14] "POST /confirmation/
      HTTP/1.1" 302 0[25/Nov/2016 10:33:14] "GET /auth/login/ HTTP/1.1" 200 13997*

      I've configured Postfix and Stunnel and tested with success with sendmail
      command

      In localsettings.py
      [...]

      1. Send email to the console by default
        EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
      1. Custom email address and web domain
        DEFAULT_FROM_EMAIL = 'yyy@yyy.com'
        EMAIL_URL = 'http://xxx.xxx.xxx.xxx'
        EMAIL_SUBJECT_PREFIX = '[SHAPEANT Lab]'
      1. Configure these for your outgoing email host
        EMAIL_HOST = 'localhost'
        EMAIL_PORT = 11125

      EMAIL_HOST_USER = ''
      EMAIL_HOST_PASSWORD = ''

      When I try to re-send confirmation email the keystone log says:

      2016-11-25 16:24:13.472 24394 INFO eventlet.wsgi.server [-] 127.0.0.1 - -
      [25/Nov/2016 16:24:13] "GET /v3/ HTTP/1.1" 200 484 0.002038
      2016-11-25 16:24:13.491 24394 INFO eventlet.wsgi.server [-] 127.0.0.1 - -
      [25/Nov/2016 16:24:13] "GET /v3/users?name=xxx%40xxx.com HTTP/1.1" 200 576
      0.016556
      2016-11-25 16:25:55.343 24394 INFO eventlet.wsgi.server [-] 127.0.0.1 - -
      [25/Nov/2016 16:25:55] "GET /v3/ HTTP/1.1" 200 484 0.005031
      2016-11-25 16:25:55.367 24394 INFO eventlet.wsgi.server [-] 127.0.0.1 - -
      [25/Nov/2016 16:25:55] "GET /v3/users?name=xxx%40xxx.com HTTP/1.1" 200 576
      0.022905
      2016-11-25 16:25:55.374 24394 INFO eventlet.wsgi.server [-] 127.0.0.1 - -
      [25/Nov/2016 16:25:55] "GET /v3/ HTTP/1.1" 200 484 0.002006
      2016-11-25 16:25:55.411 24394 INFO eventlet.wsgi.server [-] 127.0.0.1 - -
      [25/Nov/2016 16:25:55] "GET /v3/OS-REGISTRATION/users/utente1/activate
      HTTP/1.1" 200 214 0.034249

      Please, can you help me suggesting some tests or errors to fix?

      Thanks.
      Best,
      Lucio


      Questa mail contiene informazioni di carattere confidenziale rivolte
      esclusivamente al destinatario indicato. ed è tutelata legalmente dal
      Decreto Legislativo 196 del 30/06/2003, ed ai sensi dell'art.616 c.p. E'
      vietata la copia, l'utilizzo, la diffusione e la distribuzione
      del contenuto della mail da parte di terzi. Nel caso aveste ricevuto
      questo messaggio di posta elettronica per errore, siete pregati di
      segnalarlo immediatamente al mittente e di cancellare il messaggio ed i
      file eventualmente allegati dal Vs account di posta elettronica e dal Vs
      computer.L'utilizzo non autorizzato del contenuto di questo messaggio
      costituisce infatti violazione dell'obbligo di non prendere cognizione
      della corrispondenza tra altri soggetti, salvo più grave illecito, ed
      espone il responsabile alle relative conseguenze.

      This e-mail message, including any attachments, is intended only for the
      use of the individual or entity to which it is addressed and may contain
      information that is privileged and/or confidential. If you are not the
      intended recipient or the employee or agent responsible for delivering the
      communication to the intended recipient, please notify us immediately by
      replying to this message and then delete this message from your system. You
      are hereby notified that any use, dissemination, distribution and/or
      reproduction of this message and/or any attachments by unintended
      recipients is unauthorized and may be unlawful. Furthermore, although we
      have taken precautions to minimize the risk of transmitting software
      viruses, we advise you to perform your own virus checks on any attachment
      to this message. We do not accept liability for any loss or damage caused
      by software viruses.

      Since January 1st, old domains won't be supported and messages sent to any domain different to @lists.fiware.org will be lost.
      Please, send your messages using the new domain (Fiware-lab-help@lists.fiware.org) instead of the old one.
      _______________________________________________
      Fiware-lab-help mailing list
      Fiware-lab-help@lists.fiware.org
      https://lists.fiware.org/listinfo/fiware-lab-help
      [Created via e-mail received from: Lucio Ferella <lucio.ferella@gmail.com>]

        Activity

        Hide
        danieles Daniele Santoro added a comment -

        Dear, I've forwarded your request to the second level support.

        Best,
        Daniele

        Show
        danieles Daniele Santoro added a comment - Dear, I've forwarded your request to the second level support. Best, Daniele
        Hide
        Com4Innov Sophia Antipolis Node Helpdesk added a comment -

        Hi Daniele,

        It looks like Lucio is getting trouble with the reception of the signup E-mail, also by using the "Resend confirmation email instructions" function in the Fiware Lab registration area.

        All the http transaction logs look fine with code 200. Could you help Lucio to troubleshoot his issue.

        Cheers,

        Philippe

        Show
        Com4Innov Sophia Antipolis Node Helpdesk added a comment - Hi Daniele, It looks like Lucio is getting trouble with the reception of the signup E-mail, also by using the "Resend confirmation email instructions" function in the Fiware Lab registration area. All the http transaction logs look fine with code 200. Could you help Lucio to troubleshoot his issue. Cheers, Philippe
        Hide
        danieles Daniele Santoro added a comment -

        Dear Philippe,

        My understanding is that Lucio is trying to setup its own IdM, based on the KeyRock GE, so he is not claiming problem with the Fiware Lab registration area. For this reason and because I don't have the technical skill to give support in this type of problem, I've forwarded the issue to the GE owner (Joaquin Salvachua) which should have more information about how the GE works under the scenes.

        @Lucio: Please let us know if your issue is not like I have understood.

        Best,
        Daniele

        Show
        danieles Daniele Santoro added a comment - Dear Philippe, My understanding is that Lucio is trying to setup its own IdM, based on the KeyRock GE, so he is not claiming problem with the Fiware Lab registration area. For this reason and because I don't have the technical skill to give support in this type of problem, I've forwarded the issue to the GE owner (Joaquin Salvachua) which should have more information about how the GE works under the scenes. @Lucio: Please let us know if your issue is not like I have understood. Best, Daniele
        Hide
        fw.ext.user FW External User added a comment -

        Comment by lucio.ferella@gmail.com :

        Dear Daniele,
        my issue is as you described. I used pre-built Keyrock 5.3 image. I've
        fellow tutorial and guide provided starting from fiware website.
        I'm able to send email from postfix, so the 'ground system' is working. The
        log system of horizon and keystone give me no errors but any email it's
        really sent.

        Best,

        Lucio

        2016-11-28 16:27 GMT+01:00 Help-Desk <jira-help-desk@jira.fiware.org>:

        >
        >

        Show
        fw.ext.user FW External User added a comment - Comment by lucio.ferella@gmail.com : Dear Daniele, my issue is as you described. I used pre-built Keyrock 5.3 image. I've fellow tutorial and guide provided starting from fiware website. I'm able to send email from postfix, so the 'ground system' is working. The log system of horizon and keystone give me no errors but any email it's really sent. Best, Lucio 2016-11-28 16:27 GMT+01:00 Help-Desk <jira-help-desk@jira.fiware.org>: > >
        Hide
        jsalvachua Joaquin Salvachua added a comment -

        there it goes ...

        Show
        jsalvachua Joaquin Salvachua added a comment - there it goes ...
        Hide
        aalonsog Alvaro Alonso added a comment -

        Replicated in a direct email I received

        Show
        aalonsog Alvaro Alonso added a comment - Replicated in a direct email I received

          People

          • Assignee:
            aalonsog Alvaro Alonso
            Reporter:
            fw.ext.user FW External User
          • Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: