If you leave me, I'll go crazy (undeployable release bug)

Automated deployment for web applications and databases

If you leave me, I'll go crazy (undeployable release bug)

Postby isme » Thu Dec 12, 2013 12:46 pm

Hey RG,

When you create a release with no targets, and then try to deploy it, Deployment Manager shows a misleading error message.

You are not authorized to perform this action


"Not authorized? But I'm an administrator!"

This was a real problem for us when we moved our targets to a new environment.

Because you can't yet move servers in the UI, we had to add copies of the servers to the new environment and delete the old one.

That message really confused me till we worked out we also had to update all the projects that deployed to the deleted environment.

Instead of letting me create an undeployable release, an error message like this would help.

You cannot create a release with no deployment targets.


The bug affects Deployment Manager v2.3.4.13.

Here's a repro, best enjoyed with music.

Create a new environment.

http://redgatedeploy:81/environments

Image

Create a new environment with a target machine.

It's okay to just make up a machine name here.

Set a project to deploy to the environment.

http://redgatedeploy:81/projects/the-ttp-project/steps

Image

Change all the steps of a project to deploy to the new environment.

Image

Delete the environment.

http://redgatedeploy:81/environments

Image

Delete the environment.

Now things get a little strange.

Create a new release.

http://redgatedeploy:81/projects/the-tt ... ses/create

Image

Create a new release for the updated project.

Deployment Manager doesn't confirm whether I can actually deploy the package at this stage.

Deploy the release.

http://redgatedeploy:81/projects/the-tt ... ments-5101

Image

The deployment button is grey instead of blue.

The cursor changes to a no symbol over the button.

A tooltip appears with the misleading message.
Iain Elder, Skyscanner
isme
 
Posts: 83
Joined: Tue Jun 12, 2012 1:49 pm
Location: Edinburgh

Postby james.billings » Thu Dec 12, 2013 4:17 pm

I also see the same behaviour- it is indeed a bit misleading so I've logged a bug for it
james.billings
 
Posts: 1120
Joined: Wed Jun 16, 2010 11:10 am
Location: Red Gate


Return to Deployment Manager

Who is online

Users browsing this forum: No registered users and 0 guests