← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1392383] [NEW] cloud init not worked

 

Public bug reported:

I am trying to  provision an EC2 instance of ubuntu 14.04 using foreman.
I am getting this error in the cloud-config steps.

2014-11-13 12:14:12,458 - util.py[WARNING]: Failed loading yaml blob

2014-11-13 12:14:12,480 - util.py[WARNING]: Failed loading yaml blob

2014-11-13 12:14:12,481 - util.py[WARNING]: Failed at merging in cloud
config part from part-001


Please find my cloud-config user data below...


#cloud-config
users:
  - name: demo
    groups: sudo
    shell: /bin/bash
    passwd:6ea14577c05a726871ec6317d1f07c75
    sudo: ['ALL=(ALL) NOPASSWD:ALL']
    ssh_keys:
  rsa_private: |
    -----BEGIN RSA PRIVATE KEY-----
    MIIEogIBAAKCAQEAujjX7hJxI5uM4pnGZrgi79karG0yRReVJvX6qUCBWYNW23w2
GUrKE8koN61MXl/lJgUK/7H12FxBCpt4r4seBBYHpUfIouxElzhNYtiq3baFyabl
ZFMxHeWpFrinEBbe1hZq/RiU/rgWsR1HZwgxJVOiF5N4Su...........=
    -----END RSA PRIVATE KEY-----

  rsa_public: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC6ONfuEnEjm4zimcZmuCLv2RqsbTJFF5Um9fqpQIFZg1bbfDYZSsoTySg3rUxeX+UmBQr/sfX..............................................................
  - touch /test.txt



I might be something silly here as new to  this kind of provision.
Please help me by the step to ensure that I have login to new instance.

** 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/1392383

Title:
  cloud init not worked

Status in Init scripts for use on cloud images:
  New

Bug description:
  I am trying to  provision an EC2 instance of ubuntu 14.04 using
  foreman. I am getting this error in the cloud-config steps.

  2014-11-13 12:14:12,458 - util.py[WARNING]: Failed loading yaml blob

  2014-11-13 12:14:12,480 - util.py[WARNING]: Failed loading yaml blob

  2014-11-13 12:14:12,481 - util.py[WARNING]: Failed at merging in cloud
  config part from part-001

  
  Please find my cloud-config user data below...


  #cloud-config
  users:
    - name: demo
      groups: sudo
      shell: /bin/bash
      passwd:6ea14577c05a726871ec6317d1f07c75
      sudo: ['ALL=(ALL) NOPASSWD:ALL']
      ssh_keys:
    rsa_private: |
      -----BEGIN RSA PRIVATE KEY-----
      MIIEogIBAAKCAQEAujjX7hJxI5uM4pnGZrgi79karG0yRReVJvX6qUCBWYNW23w2
  GUrKE8koN61MXl/lJgUK/7H12FxBCpt4r4seBBYHpUfIouxElzhNYtiq3baFyabl
  ZFMxHeWpFrinEBbe1hZq/RiU/rgWsR1HZwgxJVOiF5N4Su...........=
      -----END RSA PRIVATE KEY-----

    rsa_public: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC6ONfuEnEjm4zimcZmuCLv2RqsbTJFF5Um9fqpQIFZg1bbfDYZSsoTySg3rUxeX+UmBQr/sfX..............................................................
    - touch /test.txt




  I might be something silly here as new to  this kind of provision.
  Please help me by the step to ensure that I have login to new
  instance.

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


Follow ups

References