Mailing List Archive

Create VMs with Power architecture(ppc64) on OpenStack running on x86_64 nodes??
Hello All,

I have some use-cases which I want to test in PowerPC architecture(ppc64).
As I dont have any Power machines I would like to try it with ppc64 VM's.
Is it possible to run these kind of VM's on my OpenStack cluster(Queens)
which runs on X86_64 architecture nodes(OS RHEL 7)??

I set the image property architecture=ppc64 to the ppc64 image I uploaded
to glance but no success in launching VM with those images. I am using KVM
as hypervisor(qemu 2.10.0) in my compute nodes and I think it is not built
to support power architecture. For testing without OpenStack I manually
built qemu on a x86_64 host with ppc64 support(qemu-ppc64) and then I am
able to host the ppc64 VM. But I dont know how to do this on my OpenStack
cluster. Whether I need to manually build qemu on compute nodes with ppc64
support or I need to add some lines in my nova.conf to do this?? Any help
to solve this issue would be much appreciated.

--

Thank you for your time and have a nice day,


With kind regards,
Yedhu Sastri
Re: Create VMs with Power architecture(ppc64) on OpenStack running on x86_64 nodes?? [ In reply to ]
On 2018-11-19 11:25, Yedhu Sastri wrote:

> Hello All,
>
> I have some use-cases which I want to test in PowerPC architecture(ppc64). As I dont have any Power machines I would like to try it with ppc64 VM's. Is it possible to run these kind of VM's on my OpenStack cluster(Queens) which runs on X86_64 architecture nodes(OS RHEL 7)??

I'm not 100% sure, but I'm 95% sure that the answer to your question is
"No." While there's much emulation that occurs, the CPU isn't so much
emulated, but more abstracted. Constructing and running a modern CPU in
software would be non-trivial.

-Ken

> I set the image property architecture=ppc64 to the ppc64 image I uploaded to glance but no success in launching VM with those images. I am using KVM as hypervisor(qemu 2.10.0) in my compute nodes and I think it is not built to support power architecture. For testing without OpenStack I manually built qemu on a x86_64 host with ppc64 support(qemu-ppc64) and then I am able to host the ppc64 VM. But I dont know how to do this on my OpenStack cluster. Whether I need to manually build qemu on compute nodes with ppc64 support or I need to add some lines in my nova.conf to do this?? Any help to solve this issue would be much appreciated.
>
> --
>
> Thank you for your time and have a nice day,
>
> With kind regards, Yedhu Sastri
> _______________________________________________
> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to : openstack@lists.openstack.org
> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Re: Create VMs with Power architecture(ppc64) on OpenStack running on x86_64 nodes?? [ In reply to ]
On 11/19/2018 10:25 AM, Yedhu Sastri wrote:
> Hello All,
>
> I have some use-cases which I want to test in PowerPC
> architecture(ppc64). As I dont have any Power machines I would like to
> try it with ppc64 VM's. Is it possible to run these kind of VM's on my
> OpenStack cluster(Queens) which runs on X86_64 architecture nodes(OS
> RHEL 7)??
>
> I set the image property architecture=ppc64 to the ppc64 image I
> uploaded to glance but no success in launching VM with those images. I
> am using KVM as hypervisor(qemu 2.10.0) in my compute nodes and I think
> it is not built to support power architecture. For testing without
> OpenStack I manually built qemu on a x86_64 host with ppc64
> support(qemu-ppc64) and then I am able to host the ppc64 VM. But I dont
> know how to do this on my OpenStack cluster. Whether I need to manually
> build qemu on compute nodes with ppc64 support or I need to add some
> lines in my nova.conf to do this?? Any help to solve this issue would be
> much appreciated.

I think that within an OpenStack cluster you'd have to dedicate a whole
compute node to running ppc64 and have it advertise the architecture as
ppc64. Then when you ask for "architecture=ppc64" it should land on
that node.

If this is for "development, testing or migration of applications to
Power" have you checked out these people? They provide free Power VMs.

http://openpower.ic.unicamp.br/minicloud/

Chris

_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Re: Create VMs with Power architecture(ppc64) on OpenStack running on x86_64 nodes?? [ In reply to ]
On Mon, 2018-11-19 at 14:48 -0600, Chris Friesen wrote:
> On 11/19/2018 10:25 AM, Yedhu Sastri wrote:
> > Hello All,
> >
> > I have some use-cases which I want to test in PowerPC
> > architecture(ppc64). As I dont have any Power machines I would like to
> > try it with ppc64 VM's. Is it possible to run these kind of VM's on my
> > OpenStack cluster(Queens) which runs on X86_64 architecture nodes(OS
> > RHEL 7)??
> >
> > I set the image property architecture=ppc64 to the ppc64 image I
> > uploaded to glance but no success in launching VM with those images. I
> > am using KVM as hypervisor(qemu 2.10.0) in my compute nodes and I think
> > it is not built to support power architecture. For testing without
> > OpenStack I manually built qemu on a x86_64 host with ppc64
> > support(qemu-ppc64) and then I am able to host the ppc64 VM. But I dont
> > know how to do this on my OpenStack cluster. Whether I need to manually
> > build qemu on compute nodes with ppc64 support or I need to add some
> > lines in my nova.conf to do this?? Any help to solve this issue would be
> > much appreciated.
>
> I think that within an OpenStack cluster you'd have to dedicate a whole
> compute node to running ppc64 and have it advertise the architecture as
> ppc64. Then when you ask for "architecture=ppc64" it should land on
> that node.
you know it says it for arm but you might be able to do this by setting
hw_machine_type https://github.com/openstack/glance/blob/master/etc/metadefs/compute-libvirt-image.json#L34
i know you can set the hw_machine_type to set teh default for all instace on a host
https://docs.openstack.org/nova/latest/configuration/config.html#libvirt.hw_machine_type
but i can rememebr it image property is alys used or if its just used for arm as the docs suggest.

the hypervisor_type in the image should be set to qemu to make sure you avoid the kvm hosts as they will not work
for cpu emulation.


>
> If this is for "development, testing or migration of applications to
> Power" have you checked out these people? They provide free Power VMs.
>
> http://openpower.ic.unicamp.br/minicloud/
>
> Chris
>
> _______________________________________________
> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to : openstack@lists.openstack.org
> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Re: Create VMs with Power architecture(ppc64) on OpenStack running on x86_64 nodes?? [ In reply to ]
Thank you all for the valuable informations. So I will try with one compute
node which has qemu as libvirt_type in nova.conf and then I hope I can host
ppc64 VM's on that node.

On Mon, Nov 19, 2018 at 10:47 PM Sean Mooney <smooney@redhat.com> wrote:

> On Mon, 2018-11-19 at 14:48 -0600, Chris Friesen wrote:
> > On 11/19/2018 10:25 AM, Yedhu Sastri wrote:
> > > Hello All,
> > >
> > > I have some use-cases which I want to test in PowerPC
> > > architecture(ppc64). As I dont have any Power machines I would like to
> > > try it with ppc64 VM's. Is it possible to run these kind of VM's on my
> > > OpenStack cluster(Queens) which runs on X86_64 architecture nodes(OS
> > > RHEL 7)??
> > >
> > > I set the image property architecture=ppc64 to the ppc64 image I
> > > uploaded to glance but no success in launching VM with those images. I
> > > am using KVM as hypervisor(qemu 2.10.0) in my compute nodes and I
> think
> > > it is not built to support power architecture. For testing without
> > > OpenStack I manually built qemu on a x86_64 host with ppc64
> > > support(qemu-ppc64) and then I am able to host the ppc64 VM. But I
> dont
> > > know how to do this on my OpenStack cluster. Whether I need to
> manually
> > > build qemu on compute nodes with ppc64 support or I need to add some
> > > lines in my nova.conf to do this?? Any help to solve this issue would
> be
> > > much appreciated.
> >
> > I think that within an OpenStack cluster you'd have to dedicate a whole
> > compute node to running ppc64 and have it advertise the architecture as
> > ppc64. Then when you ask for "architecture=ppc64" it should land on
> > that node.
> you know it says it for arm but you might be able to do this by setting
> hw_machine_type
> https://github.com/openstack/glance/blob/master/etc/metadefs/compute-libvirt-image.json#L34
> i know you can set the hw_machine_type to set teh default for all instace
> on a host
>
> https://docs.openstack.org/nova/latest/configuration/config.html#libvirt.hw_machine_type
> but i can rememebr it image property is alys used or if its just used for
> arm as the docs suggest.
>
> the hypervisor_type in the image should be set to qemu to make sure you
> avoid the kvm hosts as they will not work
> for cpu emulation.
>
>
> >
> > If this is for "development, testing or migration of applications to
> > Power" have you checked out these people? They provide free Power VMs.
> >
> > http://openpower.ic.unicamp.br/minicloud/
> >
> > Chris
> >
> > _______________________________________________
> > Mailing list:
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> > Post to : openstack@lists.openstack.org
> > Unsubscribe :
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>
> _______________________________________________
> Mailing list:
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to : openstack@lists.openstack.org
> Unsubscribe :
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>


--

Thank you for your time and have a nice day,


With kind regards,
Yedhu Sastri