View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
114 | WADF | Core | public | 25 Nov 2008 16:59 | 11 Nov 2019 20:37 |
Reporter | mrosenquist | Assigned To | timj | ||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | assigned | Resolution | open | ||
Product Version | 0.9.3 | ||||
Summary | 114: "wadf-deploy -d instance=foo-bar demo-baz" tries to use db_user as demo_baz | ||||
Description | "wadf-deploy -d install=foo-bar demo-baz", tries to use db_user as demo-baz Not an issue with the config, | ||||
Tags | No tags attached. | ||||
|
If the command you pasted is exactly what you used, then the problem is because you did "-d install=..." rather than "-d instance=..." |
|
I have seen this and it does not seem to be a configuration error |
|
This is a major bug in WADF's macro resolving. It happens if you have something like this: instance = demo-baz db_user = @underscore:instance@ ... db1_deploy_user = @db1_user@ instance = foo-bar db1_deploy_user will be demo_baz not foo_bar. WADF needs to reconcile and reconstruct a fresh macro stack based on the original expanded, ordered one (_macro_defs) in the correct order BEFORE resolveAllMacros() A temporary workaround is just to redefine the "end" macro explicitly. Another way is to avoid redefining specific database details where not necessary i.e. instance = demo-baz db_user = @underscore:instance@ ... db_deploy_user = @db_user@ instance = foo-bar the above stops WADF resolving db1_user too early. |
Date Modified | Username | Field | Change |
---|---|---|---|
25 Nov 2008 16:59 | mrosenquist | New Issue | |
27 Nov 2008 22:25 | timj | Note Added: 135 | |
27 Nov 2008 22:25 | timj | Status | new => feedback |
29 Nov 2008 17:14 | timj | Summary | "wadf-deploy -d install=ifp-csearch demo-csearch", trys to use db_user as demo-csearch => "wadf-deploy -d install=foo-bar demo-baz" tries to use db_user as demo-baz |
29 Nov 2008 17:14 | timj | Description Updated | |
4 Dec 2008 13:58 | timj | Assigned To | => timj |
4 Dec 2008 13:58 | timj | Status | feedback => assigned |
6 Dec 2008 15:27 | timj | Note Added: 141 | |
6 Dec 2008 15:27 | timj | Target Version | => 0.10.1 |
9 Dec 2008 22:25 | timj | Summary | "wadf-deploy -d install=foo-bar demo-baz" tries to use db_user as demo-baz => "wadf-deploy -d instance=foo-bar demo-baz" tries to use db_user as demo_baz |
9 Dec 2008 23:12 | timj | Note Added: 147 | |
11 Dec 2008 21:19 | timj | Target Version | 0.10.1 => 0.11.1 |
8 Jan 2009 13:30 | timj | Target Version | 0.11.1 => 0.12.1 |
31 May 2009 00:36 | timj | Target Version | 0.12.0 => 0.13.0 |
11 Nov 2019 20:37 | timj | Target Version | 0.13.7 => |