No cloud_init package in ubuntu image

Bug #1421104 reported by Marc Koderer
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Shared File Systems Service (Manila)
Fix Released
Wishlist
Igor Malinovskiy

Bug Description

Problem:
----------

There is no cloud-init installed in the ubuntu nfs/cifs image by default.
With that a ssh-key authentication is not possible.

## Locally in the ubuntu vm:
# dpkg -l|grep cloud

Steps to reproduce:
------------------------------

  export SECGROUP="sec01"
  nova secgroup-create $SECGROUP "$SECGROUP description"
  nova secgroup-add-rule $SECGROUP icmp -1 -1 0.0.0.0/0
  nova secgroup-add-rule $SECGROUP tcp 22 22 0.0.0.0/0
  KEY_NAME=test_key
  KEY_FILE=key.pem
  nova keypair-add $KEY_NAME > $KEY_FILE
  chmod 600 $KEY_FILE
  nova boot --flavor 100 --image 191d3f64-f1c6-4170-8ded-7b4297e0407a --security-groups=$SECGROUP --key-name $KEY_NAME test01
  sudo ip netns exec qrouter-c2e7b2ab-cd41-460e-a926-c379e3bd0a7e ssh -i $KEY_FILE ubuntu@10.0.0.5

Marc Koderer (m-koderer)
description: updated
Revision history for this message
rspalt (rene-spalt) wrote :

better use

...
nova boot --flavor manila-service-flavor --image ubuntu_1204_nfs_cifs --security-groups=$SECGROUP --key-name $KEY_NAME --poll test01
nova ssh --address-type fixed --login ubuntu -i $KEY_FILE test01

to reproduce. ids and ip addresses differ over installations.

rspalt (rene-spalt)
Changed in manila:
status: New → Confirmed
Changed in manila:
importance: Undecided → Wishlist
Revision history for this message
Thomas Bechtold (toabctl) wrote :

Who's maintaining the image? Is it somehow automatically generated?

Revision history for this message
Thomas Bechtold (toabctl) wrote :

FYI: There's a new blueprint to address the problem that the build process of the image is currently not reproducible and there's no way to propose changes to the currently used image (see https://blueprints.launchpad.net/manila/+spec/reproducible-server-image )

Changed in manila:
assignee: nobody → Igor Malinovskiy (imalinovskiy)
status: Confirmed → In Progress
Changed in manila:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in manila:
milestone: none → liberty-1
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in manila:
milestone: liberty-1 → 1.0.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.