Re: [ovirt-users] [Users] using cloud-init?

2014-04-10 Thread Andrew Lau
On Wed, Mar 12, 2014 at 5:07 PM, Jason Brooks jbro...@redhat.com wrote:
 On Wed, 2014-03-12 at 01:52 -0400, Oved Ourfalli wrote:
 Did you set the OS type of the VM / template to some linux based OS
 type?

 That was it. Thanks!

I'm curious, did you try the run-once option or through a template? I
can't get set the password properly if it's done through the template
option.


 Jason

 The cloud-init data is passed only to linux VMs.
 A new patch changed that, and passed it to all non-windows VMs, so if
 you left the defaults, and the OS type is Other OS, then it doesn't
 work without the patch.

 See bug https://bugzilla.redhat.com/show_bug.cgi?id=1072764

 Oved

 - Original Message -
  From: Jason Brooks jbro...@redhat.com
  To: users@ovirt.org
  Sent: Tuesday, March 11, 2014 6:21:37 PM
  Subject: [Users] using cloud-init?
 
  Hi all --
 
  I've been trying, without success, to use cloud-init w/ oVirt 3.4 on
 Fedora
  19 hosts. I've had similar failure in the past, but here are the
 steps I'm
  taking currently:
 
  1. Import as template F19 image from ovirt-image-repository glance
 repo
  2. Create new vm based on that template
  3. Choose ovirtmgmt as the nic1 for the VM
  4. Show advanced options, click initial run, expand authentication,
 enter
  a root password, paste my public key into the allowed ssh keys field
  5. Hit OK, and then run the VM
  6. In the VM's console, I see it complain about No instance
 datasource found
  7. Unsurprisingly, I can't log in w/ pw or ssh.
 
  (By the way, are there any default creds for these images? I thought
 they
  might
  be based on the fedora cloud images, but their default uname fedora
 pw
  nothing
  doesn't work)
 
  I've tried some other derivations of this, launching from the Run
 Once menu,
  filling in various different fields, etc.
 
  Any clues?
 
  I don't see many people complaining about this, so I'm assuming it's
 working
  for other people. I don't know, maybe it's something with Fedora?
 
  Thanks, Jason
  ___
  Users mailing list
  Users@ovirt.org
  http://lists.ovirt.org/mailman/listinfo/users
 


 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] using cloud-init?

2014-03-12 Thread Jason Brooks
On Wed, 2014-03-12 at 01:52 -0400, Oved Ourfalli wrote:
 Did you set the OS type of the VM / template to some linux based OS
 type?

That was it. Thanks!

Jason

 The cloud-init data is passed only to linux VMs.
 A new patch changed that, and passed it to all non-windows VMs, so if
 you left the defaults, and the OS type is Other OS, then it doesn't
 work without the patch.
 
 See bug https://bugzilla.redhat.com/show_bug.cgi?id=1072764
 
 Oved
 
 - Original Message -
  From: Jason Brooks jbro...@redhat.com
  To: users@ovirt.org
  Sent: Tuesday, March 11, 2014 6:21:37 PM
  Subject: [Users] using cloud-init?
  
  Hi all --
  
  I've been trying, without success, to use cloud-init w/ oVirt 3.4 on
 Fedora
  19 hosts. I've had similar failure in the past, but here are the
 steps I'm
  taking currently:
  
  1. Import as template F19 image from ovirt-image-repository glance
 repo
  2. Create new vm based on that template
  3. Choose ovirtmgmt as the nic1 for the VM
  4. Show advanced options, click initial run, expand authentication,
 enter
  a root password, paste my public key into the allowed ssh keys field
  5. Hit OK, and then run the VM
  6. In the VM's console, I see it complain about No instance
 datasource found
  7. Unsurprisingly, I can't log in w/ pw or ssh.
  
  (By the way, are there any default creds for these images? I thought
 they
  might
  be based on the fedora cloud images, but their default uname fedora
 pw
  nothing
  doesn't work)
  
  I've tried some other derivations of this, launching from the Run
 Once menu,
  filling in various different fields, etc.
  
  Any clues?
  
  I don't see many people complaining about this, so I'm assuming it's
 working
  for other people. I don't know, maybe it's something with Fedora?
  
  Thanks, Jason
  ___
  Users mailing list
  Users@ovirt.org
  http://lists.ovirt.org/mailman/listinfo/users
  


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] using cloud-init?

2014-03-11 Thread Oved Ourfalli
Did you set the OS type of the VM / template to some linux based OS type?
The cloud-init data is passed only to linux VMs.
A new patch changed that, and passed it to all non-windows VMs, so if you left 
the defaults, and the OS type is Other OS, then it doesn't work without the 
patch.

See bug https://bugzilla.redhat.com/show_bug.cgi?id=1072764

Oved

- Original Message -
 From: Jason Brooks jbro...@redhat.com
 To: users@ovirt.org
 Sent: Tuesday, March 11, 2014 6:21:37 PM
 Subject: [Users] using cloud-init?
 
 Hi all --
 
 I've been trying, without success, to use cloud-init w/ oVirt 3.4 on Fedora
 19 hosts. I've had similar failure in the past, but here are the steps I'm
 taking currently:
 
 1. Import as template F19 image from ovirt-image-repository glance repo
 2. Create new vm based on that template
 3. Choose ovirtmgmt as the nic1 for the VM
 4. Show advanced options, click initial run, expand authentication, enter
 a root password, paste my public key into the allowed ssh keys field
 5. Hit OK, and then run the VM
 6. In the VM's console, I see it complain about No instance datasource found
 7. Unsurprisingly, I can't log in w/ pw or ssh.
 
 (By the way, are there any default creds for these images? I thought they
 might
 be based on the fedora cloud images, but their default uname fedora pw
 nothing
 doesn't work)
 
 I've tried some other derivations of this, launching from the Run Once menu,
 filling in various different fields, etc.
 
 Any clues?
 
 I don't see many people complaining about this, so I'm assuming it's working
 for other people. I don't know, maybe it's something with Fedora?
 
 Thanks, Jason
 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users
 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users