--config option is not honored
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
euca2ools |
Fix Released
|
Undecided
|
Unassigned | ||
euca2ools (Ubuntu) |
Fix Released
|
Low
|
Unassigned |
Bug Description
$ mkdir /tmp/xx
$ cd /tmp/xx
$ export HOME=$PWD
$ cat > .eucarc.mine <<"EOF"
DATA_DIR=
. ${DATA_DIR}/info
EC2_REGION=
EC2_CERT=
EC2_PRIVATE_
EC2_ACCESS_
EC2_SECRET_
EC2_USER_
EUCALYPTUS_
EC2_URL=https:/
S3_URL=https:/
EOF
# my.log will get appended to each time this is sourced
$ echo "echo HI WORLD >> $PWD/my.log" >> .eucarc.mine
# failure is expected, as we have no configuration
$ rm -f .eucarc
$ euca-describe-
EC2_ACCESS_KEY environment variable must be set.
# attempt to use --config, this should work.
$ euca-describe-
EC2_ACCESS_KEY environment variable must be set.
$ euca-describe-
EC2_ACCESS_KEY environment variable must be set.
$ ls -l my.log
ls: cannot access my.log: No such file or directory
# use .eucarc (default config)
$ ln -s .eucarc.mine .eucarc
$ euca-describe-
ami-03c30a6a smoser-
So, it seems the '--config' is completely broken, and not even being read, or at very least not being processed with bash
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: euca2ools 2.0.0~bzr464-
ProcVersionSign
Uname: Linux 3.1.0-2-generic x86_64
ApportVersion: 1.26-0ubuntu1
Architecture: amd64
Date: Wed Nov 16 11:59:49 2011
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
PackageArchitec
ProcEnviron:
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: euca2ools
UpgradeStatus: Upgraded to precise on 2011-11-07 (9 days ago)
Related branches
description: | updated |
Changed in euca2ools: | |
status: | Fix Committed → Fix Released |
Trivially reproduced.