ocft make fails always
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
resource-agents (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Precise |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
root@p1c2ppx01 /var/lib/
Making 'apache':
ERROR: apache: line 21: Macro 'default_status' not found.
# ls /var/lib/
apache_
Running ocft with bash -xv shows this:
+ '[' '!' -r /var/lib/
+ parse_die 'Macro '\''default_
+ local str
+ str='Macro '\''default_
+ die 'apache: line 21: Macro '\''default_
+ local str
+ str='apache: line 21: Macro '\''default_
+ echo 'ERROR: apache: line 21: Macro '\''default_
But that file is not present. It seems CASE-BLOCKs are not saved to file as expected?
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: resource-agents 1:3.9.2-5ubuntu4.1
ProcVersionSign
Uname: Linux 3.2.0-27-generic x86_64
ApportVersion: 2.0.1-0ubuntu11
Architecture: amd64
Date: Mon Aug 6 12:37:22 2012
InstallationMedia: Ubuntu-Server 12.04 LTS "Precise Pangolin" - Release amd64 (20120424.1)
SourcePackage: resource-agents
UpgradeStatus: No upgrade log present (probably fresh install)
In focal:
(c)rafaeldtinoc o@reviews: .../share/ resource- agents/ ocft$ sudo ./runocft statusurl configfile
Making 'apache':
- case 0: check base env
- case 1: check base env: set non-existing OCF_RESKEY_
- case 2: check base env: set non-existing OCF_RESKEY_
- case 3: normal start
- case 4: normal stop
- case 5: double start
- case 6: double stop
- case 7: running monitor
- case 8: not running monitor
- case 9: unimplemented command
Initializing 'apache' ...
Done.
apache: check base env - OK. statusurl - OK. configfile - OK.
apache: check base env: set non-existing OCF_RESKEY_
apache: check base env: set non-existing OCF_RESKEY_
apache: normal start - OK.
apache: normal stop - OK.
apache: double start - OK.
apache: double stop - OK.
apache: running monitor - OK.
apache: not running monitor - OK.
apache: unimplemented command - OK.