Move Bamboo to another server.

Hi,

I've got a system where Jira, Confluence, Bamboo and Bitbucket runs on the same server and they use a dedicated database server. Two servers in total..

My mission is to separate the apps onto dedicated servers which use a common database server. Which means I'm going to end up with 4 app servers and one database server.

I've read through the guidelines and so far I've completed Jira and Confluence.

However, when working with Bamboo I've come across some issues.

--- Bamboo migration ---

Please note that IP/DNS innfor have been masked.

I've started with doing a backup of the production Bamboo (Overview>System>Export...). Then I've installed the same Bamboo version on the new server and began importing the backup file. After some time the import fails because calls are made to services in production. See below examples

1)
This is the first error that occurs. Please advise.

2017-06-29 12:13:59,986 ERROR [localhost-startStop-1] [DefaultUserAccessor] Error in getUser():com.atlassian.crowd.exception.OperationFailedException: org.apache.commons.httpclient.ConnectTimeoutException: The host did not accept the connection within timeout of 5000 ms
com.atlassian.user.EntityException: com.atlassian.crowd.exception.OperationFailedException: org.apache.commons.httpclient.ConnectTimeoutException: The host did not accept the connection within timeout of 5000 ms
at com.atlassian.crowd.integration.atlassianuser.UserGroupCache.fetchAndSetSnapshot(UserGroupCache.java:110)

2)
The below calls are made to Jira, Confluence, Bitbucket in the prod environment... which are unavailable..


2017-06-29 12:07:01,716 INFO [NavLink RestCapabilitiesClient:thread-1] [RestCapabilitiesClient] Failed to request capabilities from 'http://confluence-prod.mydomain/rest/capabilities': Connect to confluence-prod.mydomain:80 [confluence-prod.mydomain/1.1.1.1] failed: connect timed out
2017-06-29 12:07:03,220 INFO [NavLink RestCapabilitiesClient:thread-1] [RestCapabilitiesClient] Failed to request capabilities from 'http://jira-prod.mydomain/rest/capabilities': Connect to jira-prod.mydomain:80 [jira-prod.mydomain/3.2.2.2] failed: connect timed out

3)
The same goes for git, this call can never succeed as the git call is being made to the production jira server. How do I solve this issue?


--> git@jira.prod.mydomain/1.1.1.1:7999

Caused by: com.atlassian.bamboo.plugins.git.GitCommandException: command /usr/bin/git ls-remote ssh://b7abd223-f8f6-443e-9b81-22604870ff84@127.0.0.1:46847/tek/useradmin.git failed with code 128. Working directory was [/var/atlassian/application-data/bamboo/xml-data/build-dir]., stderr:
Error while opening SSH session
stdout:
Warning: Permanently added '[127.0.0.1]:46847' (RSA) to the list of known hosts.
BAMBOO-SSH-PROXY: [While connecting to [git@jira.prod.mydomain/1.1.1.1:7999]: Error while opening SSH session: org.apache.sshd.common.RuntimeSshException: Failed to get the session.]

--- end ---

 

Any help would be greatly appreciated, thank you.

 

 

2 answers

0 vote
Cristiano Oliveira Community Champion Jun 29, 2017

Hi Per! How are you doing?

Are your current Bamboo and Bitbucket instances still available? Could you point to new JIRA server before exporting?

Thanks,

Cristiano

Hi,   The instances are available. Please elaborate about the export, I'm not following.

If you want me to change these locations I can not do that as they are beinng used for production purposes.

I guess plan B would be to modify the expoprt data, if possible ...

 

 

Rgds

 

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Renan Battaglin
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

1,341 views 0 5
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you