Email Notification step warning error in deployment

Hello,
I am using Octopus 3.0 and I have set up and tested the email notification step in Email Set up page,

In my project, I added email notification step and configured the roles for the environment in project setup. When I try to deploy the project, step 3 shows a warning:
Warning: there are no enabled deployment targets in the roles specified by this step, in this environment. This step will be skipped.

Email Notifications used to work in Octopus 1.6 we had earlier.

Can you please let me know if I need to configure email notification step with anything else?

Hi Rakesh,

Thanks for reaching out! I’m gonna need a bit more info from your side to check this out:

  • Which exact version of Octopus are you running?
  • Could send me a screenshot of your deployment process where I can see all the steps?
  • Could you send a screenshot just like Setup.jpg, but where we can see all the fields of the email step?

Thanks!
Dalmiro

hi Dalmiro,

  1. Octopus 3.3.0
    #2 and #3 -> I have attached screenshorts of Process steps, Email
    Deployment Step and actual Deployment step

Hi Rakesh,

There’s definitely something weird going on. I tried to reproduce this with the Exact same environments you have, but I wasn’t able to do it.

I’m gonna need you to do the following:

  • Go to Environments -> NMVTIS-SQL2014-Production-Primary and get the Environment ID from the URL of that page. If the URL is http://MyOctopus/app#/environments/Environments-418, then the ID would be Environments-418

  • Go to Projects -> Your Project -> Releases -> [Your release Number] and on the History table, hover your cursor on top of the release number of the Release creation event, the tooltip that’ll show up will be the release id in the format Releases-xxxx. In the attached screenshot I’m hovering over the 0.0.5 hyperlink to get the Releases-3725 ID.

  • Finally, browse the URL http://YourOctopus/api/releases/[Release ID]/deployments/preview/[Environment ID]. An example URL would be http://YourOctopus/api/releases/Releases-61/deployments/preview/Environments-21. Once you do that, send us the JSON document you got from there.

Thanks,
Dalmiro

Notice:

This issue has been closed due to inactivity. If you encounter the same or a similar issue and require help, please open a new discussion (if we asked for logs or extra details in this thread, consider including them in the new thread). If you are the creator of this thread and believe it should not be closed let us know via our support email.