← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1474959] [NEW] Cloud Image launched by Heat, creates a "cloud" user without Shell.

 

Public bug reported:

Guys,

If I launch an Ubuntu Trusty Instance using Heat, there is no "ubuntu"
user available.

Instead, there is a "cloud" user, without shell!

Look:

No "ubuntu" user:
---
username@kilo-1:~$ ssh ubuntu@172.31.254.158
Permission denied (publickey).
---

Instead, there is a "cloud" user without shell:
---
username@kilo-1:~$ ssh cloud@172.31.254.158
Welcome to Ubuntu 14.04.2 LTS (GNU/Linux 3.13.0-57-generic x86_64)

.......

$

$ bash -i
cloud@ubuntu-1:~$ grep cloud /etc/passwd
cloud:x:1000:1000::/home/cloud:
---

No shell for "cloud" user!

But, if I launch the very same Ubuntu Trusty image, using Horizon, then,
the "ubuntu" user becomes available, without any problems.

I'm using OpenStack Kilo, on top of Trusty using Ubuntu Cloud Archives.

Trusty Image: http://uec-
images.ubuntu.com/releases/14.04.2/release/ubuntu-14.04-server-cloudimg-
amd64-disk1.img

Thanks!
Thiago

** Affects: cloud-init
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to cloud-init.
https://bugs.launchpad.net/bugs/1474959

Title:
  Cloud Image launched by Heat, creates a "cloud" user without Shell.

Status in cloud-init:
  New

Bug description:
  Guys,

  If I launch an Ubuntu Trusty Instance using Heat, there is no "ubuntu"
  user available.

  Instead, there is a "cloud" user, without shell!

  Look:

  No "ubuntu" user:
  ---
  username@kilo-1:~$ ssh ubuntu@172.31.254.158
  Permission denied (publickey).
  ---

  Instead, there is a "cloud" user without shell:
  ---
  username@kilo-1:~$ ssh cloud@172.31.254.158
  Welcome to Ubuntu 14.04.2 LTS (GNU/Linux 3.13.0-57-generic x86_64)

  .......

  $

  $ bash -i
  cloud@ubuntu-1:~$ grep cloud /etc/passwd
  cloud:x:1000:1000::/home/cloud:
  ---

  No shell for "cloud" user!

  But, if I launch the very same Ubuntu Trusty image, using Horizon,
  then, the "ubuntu" user becomes available, without any problems.

  I'm using OpenStack Kilo, on top of Trusty using Ubuntu Cloud
  Archives.

  Trusty Image: http://uec-
  images.ubuntu.com/releases/14.04.2/release/ubuntu-14.04-server-
  cloudimg-amd64-disk1.img

  Thanks!
  Thiago

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1474959/+subscriptions


Follow ups