regression: nova boot --file does not work
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-novaclient (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Since more often than not cloud instances have a broken /etc/hosts, autopkgtest's nova setup script does this to force an update of /etc/hosts to include the own hostname:
# cloud-init config to fix broken hostname resolution
local cfg=`mktemp`
echo "manage_etc_hosts: true" > $cfg
nova boot --flavor $FLAVOR --key_name $KEYNAME \
--file /etc/cloud/
--image $IMAGE $NET_ID --poll $SRVNAME
This did work in the past (several months ago, thus in the saucy/trusty era, with Canonistack), but seems to have broken in utopic or with Bootstack:
$ cat /tmp/cfg
manage_etc_hosts: true
$ nova boot --flavor m1.small --key_name pitti --image ubuntu-
$ ssh -o UserKnownHostsF
ubuntu@
05_logging.cfg 90_dpkg.cfg README
I. e. the file is not there. /var/log/
ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: python-novaclient 1:2.19.0-0ubuntu1
ProcVersionSign
Uname: Linux 3.16.0-18-generic x86_64
ApportVersion: 2.14.7-0ubuntu2
Architecture: amd64
CurrentDesktop: Unity
Date: Wed Oct 1 11:15:15 2014
EcryptfsInUse: Yes
InstallationDate: Installed on 2014-02-27 (216 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Alpha amd64 (20140224)
PackageArchitec
SourcePackage: python-novaclient
UpgradeStatus: No upgrade log present (probably fresh install)