← Back to team overview

kernel-packages team mailing list archive

[Bug 1267707] Re: Logging in to ubuntu guest is displaying (none) in the command prompt

 

This could be related to cloud-init, adding that package.

** Also affects: cloud-init (Ubuntu)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1267707

Title:
  Logging in to ubuntu guest is displaying (none) in  the command prompt

Status in “cloud-init” package in Ubuntu:
  New
Status in “linux” package in Ubuntu:
  Confirmed

Bug description:
  Description:
  -----------------

  Used below qemu command to open the guest ,
  qemu-system-ppc64 -enable-kvm -M pseries -cpu POWER8 -smp 1 -m 10G -nographic -nodefaults -monitor stdio -serial pty -append "root=/dev/sda" -kernel trusty-server-cloudimg-ppc64el-vmlinuz-generic -device spapr-vscsi -device spapr-vlan,netdev=net0,mac=52:54:00:b3:2d:f8 -netdev bridge,br=virbr0,id=net0 -drive file=trusty-server-cloudimg-ppc64el.img.qcow2

  got as below 
  (qemu) char device redirected to /dev/pts/2 (label serial0)

  when opening screen for /dev/pts/2 using  "screen /dev/pts/2" from
  host, It displayed the below error continuosly

  2014-01-10 04:40:35,082 - util.py[WARNING]: Failed writing semaphore file /var/lib/cloud/instances/iid-datasource-none/sem/config_set_passwords
  2014-01-10 04:40:35,083 - util.py[WARNING]: Running set-passwords (<module 'cloudinit.config.cc_set_passwords' from '/usr/lib/python2.7/dist-packages/cloudinit/config/cc_set_passwords.pyc'>) failed

  Later after on opening another screen using new qemu command I got the
  login prompt.

  But the issue is ..,

  On logging in to guest we get    ubuntu@ubuntu:~$    but now i am getting ubuntu@(none):~$  after logging in.
  also as root its diplaying root@(none):~#  instaead of root@ubuntu:~#

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


References