Bug 693591

Summary: Activation email from Zanata has invalid URL.
Product: [Retired] Zanata Reporter: Kenichi Takemura <ktakemur>
Component: Authentication-InternalAssignee: zanata-dev-internal <zanata-dev-internal>
Status: CLOSED NOTABUG QA Contact: Ding-Yi Chen <dchen>
Severity: high Docs Contact:
Priority: high    
Version: 1.3-alpha-1CC: ebaak, jeast, sflaniga, zanata-bugs
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-04-05 02:40:32 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Kenichi Takemura 2011-04-05 01:41:27 UTC
Description of problem:

Start Zanata specifying hostname (run.sh -b hostname)
so that user can access to zanata via http://hostname:8080/zanata.

When registering a user, 'Zanata Account Activation' email contain a URL which is http://localhost:8080/... where the operated user cannot access.

--------------
Dear Kenichi,

Please click on the following link to activate your account:

http://localhost:8080/zanata/account/activate/da5109a9f6f441c36c30a1e67896c0de
--------------

Version-Release number of selected component (if applicable):
1.3-alpha-1

How reproducible:
1/1

Steps to Reproduce:
1. Start Zanata; $JBOSS_HOME/bin/run.sh -b hostname
2. Register a user from Zanata
3. Check email for Account Activation
  
Actual results:
Clicking on the provided link to activate the account is invalid url.

Expected results:
The URL should point to Zanata host.

Additional info:

Comment 1 Kenichi Takemura 2011-04-05 01:50:07 UTC
Additional info.

Zanata host is configured to get address from dhcp server.
It `hostname` returns

$ hostname
unused-12-214.bne.redhat.com

Comment 2 Sean Flanigan 2011-04-05 01:55:25 UTC
Please see http://code.google.com/p/flies/wiki/InstallationGuide#Configuration

Jacquelynn, can you please make sure the initial configuration steps are easy to find when you develop the installation/admin book?

Comment 3 Kenichi Takemura 2011-04-05 02:40:32 UTC
Thanks for your support.