Peritor Open Source
  • Home
  • Webistrano
  • Login
  • Settings
  • Register
  • Help/Guide
  • About Trac
  • Wiki
  • Timeline
  • Roadmap
  • Browse Source
  • View Tickets
  • Search

Ticket Navigation

Ticket #84 (new defect)

Opened 2 months ago

Last modified 2 months ago

having two stages with the same name results in incorrect hosts being used

Reported by: lburgess Assigned to: jweiss
Priority: major Milestone:
Component: component1 Version:
Keywords: Cc:

Description

If you have a stage in project A and project B with the same name (i.e. "production"), then when you do a deployment on project A or project B, it appears that the hosts from both stages in both projects are used. In my example, I have one host on projectA->production (called vm11) and a different host on projectB->production (called vm13). If I run a deployment on projectA->production, the tasks are executed on both vm11 and vm13. If I have a unique name for the stages (production-A and production-B for example), the problem appears to go away. This was observed both on the trunk and on the 1.3 branch.

Attachments

sample-capfile (3.8 kB) - added by lburgess on 07/01/08 23:19:10.
capfile with custom recipes for "java" role

Change History

06/30/08 21:33:19 changed by jweiss

  • owner changed from somebody to jweiss.

This sounds really strage, we have several Webistrano instances each with multiple projects, all with the production and test stage and we never observed something like this.

Are you sure that the different DNS names don't point to the same IP?

07/01/08 23:18:44 changed by lburgess

Positive, I've got 6 virtual machines each with different IPs and DNS names that do resolve properly. I am able to create stages on each project that are different names (like prod-a and prod-b for projects a and b, respectively). When I do that, the different hosts are used. I did have to create a separate role as well (in this case i called it "java"), since the projects are pure file projects representing tomcat webapps and don't need all the rails stuff. I've attached the capfile export from my webistrano instance if that helps.

07/01/08 23:19:10 changed by lburgess

  • attachment sample-capfile added.

capfile with custom recipes for "java" role

Download in other formats: Comma-delimited Text  Tab-delimited Text  RSS Feed  


© 2007 - 2008 Peritor Wissensmanagement GmbH | Impressum | Legal

Powered by Trac 0.10.4 | Edgewall Software