[openstack-dev] [Ironic] Multi-ironic-conductor issue

2014-08-07 Thread Jander lu
Hi, all

if I have more than one ironic conductor, so does each conductor should has
their own PXE server and DHCP namespace or they just share one centralized
pxe server or dhcp server ? if they share one centralized pxe and dhcp
server, so how does they support HA?
___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] [Nova] [ironic]nova scheduler and ironic

2014-06-24 Thread Jander lu
hi, guys, I have two confused issue when reading source code.

1) can we have ironic driver and KVM driver both exist in the cloud? for
example, I have 8 compute nodes, I make 4 of them with compute_driver =
libvirt and remaining 4 nodes with
compute_driver=nova.virt.ironic.IronicDriver ?

2) if it works, how does nova scheduler work to choose the right node in
this case if I want boot a VM or a physical node ?


thx all.
___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [Ironic] two confused part about Ironic

2014-06-08 Thread Jander lu
Hi Devananda

I have 16 compute nodes, as your suggestion (you should use host aggregates
to differentiate the nova-compute services configured to use different
hypervisor drivers (eg, nova.virt.libvirt vs nova.virt.ironic) .

(1)I  can set 4 of them with nova.virt.ironic(for bare metal provision) and
left 12 of them with nova.virt.libvirt (for VM provision), they can work
well together both for VM provision and Ironic provision ?  of course I
should use host aggregates to make 4 nodes as one aggregate and left 12
nodes as another aggregate.
(2 ) should I replace the nova sheduler? the default nova scheduler(Filter
Scheduler) can support this?



2014-06-06 15:45 GMT+08:00 Jander lu lhcxx0...@gmail.com:

 Hi Devananda

 I have 16 compute nodes, as your suggestion (you should use host
 aggregates to differentiate the nova-compute services configured to use
 different hypervisor drivers (eg, nova.virt.libvirt vs nova.virt.ironic)
 .

 (1)I  can set 4 of them with nova.virt.ironic(for bare metal provision)
 and left 12 of them with nova.virt.libvirt (for VM provision), they can
 work well together both for VM provision and Ironic provision ?  of course
 I should use host aggregates to make 4 nodes as one aggregate and left 12
 nodes as another aggregate.
 (2 ) should I replace the nova sheduler? the default nova scheduler(Filter
 Scheduler) can support this?


 2014-06-06 1:27 GMT+08:00 Devananda van der Veen devananda@gmail.com
 :

 There is documentation available here:
   http://docs.openstack.org/developer/ironic/deploy/install-guide.html

 On Thu, Jun 5, 2014 at 1:25 AM, Jander lu lhcxx0...@gmail.com wrote:
  Hi, Devvananda
 
  I searched a lot about the installation of Ironic, but there is little
  metarial about this,  there is only devstack with
  ironic(
 http://docs.openstack.org/developer/ironic/dev/dev-quickstart.html)
 
  is there any docs about how to deploy Ironic on production physical node
  enviroment?
 
  thx
 
 
 
  2014-05-30 1:49 GMT+08:00 Devananda van der Veen 
 devananda@gmail.com:
 
  On Wed, May 28, 2014 at 8:14 PM, Jander lu lhcxx0...@gmail.com
 wrote:
 
  Hi, guys, I have two confused part in Ironic.
 
 
 
  (1) if I use nova boot api to launch an physical instance, how does
 nova
  boot command differentiate whether VM or physical node provision?
 From this
  article, nova bare metal use PlacementFilter instead of
 FilterScheduler.so
  does Ironic use the same method?
  (
 http://www.mirantis.com/blog/baremetal-provisioning-multi-tenancy-placement-control-isolation/
 )
 
 
  That blog post is now more than three releases old. I would strongly
  encourage you to use Ironic, instead of nova-baremetal, today. To my
  knowledge, that PlacementFilter was not made publicly available. There
 are
  filters available for the FilterScheduler that work with Ironic.
 
  As I understand it, you should use host aggregates to differentiate the
  nova-compute services configured to use different hypervisor drivers
 (eg,
  nova.virt.libvirt vs nova.virt.ironic).
 
 
 
  (2)does Ironic only support Flat network? If not, how does Ironic
  implement tenant isolation in virtual network? say,if one tenant has
 two
  vritual network namespace,how does the created bare metal node
 instance send
  the dhcp request to the right namespace?
 
 
  Ironic does not yet perform tenant isolation when using the PXE driver,
  and should not be used in an untrusted multitenant environment today.
 There
  are other issues with untrusted tenants as well (such as firmware
 exploits)
  that make it generally unsuitable to untrusted multitenancy (though
  specialized hardware platforms may mitigate this).
 
  There have been discussions with Neutron, and work is being started to
  perform physical network isolation, but this is still some ways off.
 
  Regards,
  Devananda
 
 
  ___
  OpenStack-dev mailing list
  OpenStack-dev@lists.openstack.org
  http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
 
 
 
  ___
  OpenStack-dev mailing list
  OpenStack-dev@lists.openstack.org
  http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
 

 ___
 OpenStack-dev mailing list
 OpenStack-dev@lists.openstack.org
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev



___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [ironic] Can nova manage both ironic bare metal nodes and kvm VMs ?

2014-06-06 Thread Jander lu
still not, I did not successfully set up my Ironic environment.

has your Ironic environment run well now?


2014-06-06 11:53 GMT+08:00 严超 yanchao...@gmail.com:

 Hi, Jander:
 Thank you very much .
 Does this work after you follow these steps ?

 *Best Regards!*


 *Chao Yan--**My twitter:Andy Yan @yanchao727
 https://twitter.com/yanchao727*


 *My Weibo:http://weibo.com/herewearenow
 http://weibo.com/herewearenow--*


 2014-06-06 11:40 GMT+08:00 Jander lu lhcxx0...@gmail.com:

 hi chao
 I have met the same problem, I read this article
 http://www.mirantis.com/blog/baremetal-provisioning-multi-tenancy-placement-control-isolation/


 2014-06-05 19:26 GMT+08:00 严超 yanchao...@gmail.com:

  Hi, All:
 In deploying with devstack and Ironic+Nova, we set:
 compute_driver = nova.virt.ironic.IronicDriver
 This means we can no longer use nova to boot VMs.
 Is there a way to manage both ironic bare metal nodes and kvm VMs in
 Nova ?
  I followed this Link:
 https://etherpad.openstack.org/p/IronicDeployDevstack


 *Best Regards!*


 *Chao Yan--**My twitter:Andy Yan @yanchao727
 https://twitter.com/yanchao727*


 *My Weibo:http://weibo.com/herewearenow
 http://weibo.com/herewearenow--*

 ___
 OpenStack-dev mailing list
 OpenStack-dev@lists.openstack.org
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev



 ___
 OpenStack-dev mailing list
 OpenStack-dev@lists.openstack.org
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev



 ___
 OpenStack-dev mailing list
 OpenStack-dev@lists.openstack.org
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [Ironic] two confused part about Ironic

2014-06-06 Thread Jander lu
Hi Devananda

I have 16 compute nodes, as your suggestion (you should use host aggregates
to differentiate the nova-compute services configured to use different
hypervisor drivers (eg, nova.virt.libvirt vs nova.virt.ironic) .

(1)I  can set 4 of them with nova.virt.ironic(for bare metal provision) and
left 12 of them with nova.virt.libvirt (for VM provision), they can work
well together both for VM provision and Ironic provision ?  of course I
should use host aggregates to make 4 nodes as one aggregate and left 12
nodes as another aggregate.
(2 ) should I replace the nova sheduler? the default nova scheduler(Filter
Scheduler) can support this?


2014-06-06 1:27 GMT+08:00 Devananda van der Veen devananda@gmail.com:

 There is documentation available here:
   http://docs.openstack.org/developer/ironic/deploy/install-guide.html

 On Thu, Jun 5, 2014 at 1:25 AM, Jander lu lhcxx0...@gmail.com wrote:
  Hi, Devvananda
 
  I searched a lot about the installation of Ironic, but there is little
  metarial about this,  there is only devstack with
  ironic(
 http://docs.openstack.org/developer/ironic/dev/dev-quickstart.html)
 
  is there any docs about how to deploy Ironic on production physical node
  enviroment?
 
  thx
 
 
 
  2014-05-30 1:49 GMT+08:00 Devananda van der Veen 
 devananda@gmail.com:
 
  On Wed, May 28, 2014 at 8:14 PM, Jander lu lhcxx0...@gmail.com wrote:
 
  Hi, guys, I have two confused part in Ironic.
 
 
 
  (1) if I use nova boot api to launch an physical instance, how does
 nova
  boot command differentiate whether VM or physical node provision? From
 this
  article, nova bare metal use PlacementFilter instead of
 FilterScheduler.so
  does Ironic use the same method?
  (
 http://www.mirantis.com/blog/baremetal-provisioning-multi-tenancy-placement-control-isolation/
 )
 
 
  That blog post is now more than three releases old. I would strongly
  encourage you to use Ironic, instead of nova-baremetal, today. To my
  knowledge, that PlacementFilter was not made publicly available. There
 are
  filters available for the FilterScheduler that work with Ironic.
 
  As I understand it, you should use host aggregates to differentiate the
  nova-compute services configured to use different hypervisor drivers
 (eg,
  nova.virt.libvirt vs nova.virt.ironic).
 
 
 
  (2)does Ironic only support Flat network? If not, how does Ironic
  implement tenant isolation in virtual network? say,if one tenant has
 two
  vritual network namespace,how does the created bare metal node
 instance send
  the dhcp request to the right namespace?
 
 
  Ironic does not yet perform tenant isolation when using the PXE driver,
  and should not be used in an untrusted multitenant environment today.
 There
  are other issues with untrusted tenants as well (such as firmware
 exploits)
  that make it generally unsuitable to untrusted multitenancy (though
  specialized hardware platforms may mitigate this).
 
  There have been discussions with Neutron, and work is being started to
  perform physical network isolation, but this is still some ways off.
 
  Regards,
  Devananda
 
 
  ___
  OpenStack-dev mailing list
  OpenStack-dev@lists.openstack.org
  http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
 
 
 
  ___
  OpenStack-dev mailing list
  OpenStack-dev@lists.openstack.org
  http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
 

 ___
 OpenStack-dev mailing list
 OpenStack-dev@lists.openstack.org
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [Ironic] two confused part about Ironic

2014-06-05 Thread Jander lu
Hi, Devvananda

I searched a lot about the installation of Ironic, but there is little
metarial about this,  there is only devstack with ironic(
http://docs.openstack.org/developer/ironic/dev/dev-quickstart.html)

is there any docs about how to deploy Ironic on production physical node
enviroment?

thx



2014-05-30 1:49 GMT+08:00 Devananda van der Veen devananda@gmail.com:

 On Wed, May 28, 2014 at 8:14 PM, Jander lu lhcxx0...@gmail.com wrote:

 Hi, guys, I have two confused part in Ironic.



 (1) if I use nova boot api to launch an physical instance, how does nova
 boot command differentiate whether VM or physical node provision? From
 this article, nova bare metal use PlacementFilter instead of
 FilterScheduler.so does Ironic use the same method? (
 http://www.mirantis.com/blog/baremetal-provisioning-multi-tenancy-placement-control-isolation/
 )


 That blog post is now more than three releases old. I would strongly
 encourage you to use Ironic, instead of nova-baremetal, today. To my
 knowledge, that PlacementFilter was not made publicly available. There are
 filters available for the FilterScheduler that work with Ironic.

 As I understand it, you should use host aggregates to differentiate the
 nova-compute services configured to use different hypervisor drivers (eg,
 nova.virt.libvirt vs nova.virt.ironic).



 (2)does Ironic only support Flat network? If not, how does Ironic
 implement tenant isolation in virtual network? say,if one tenant has two
 vritual network namespace,how does the created bare metal node instance
 send the dhcp request to the right namespace?


 Ironic does not yet perform tenant isolation when using the PXE driver,
 and should not be used in an untrusted multitenant environment today. There
 are other issues with untrusted tenants as well (such as firmware exploits)
 that make it generally unsuitable to untrusted multitenancy (though
 specialized hardware platforms may mitigate this).

 There have been discussions with Neutron, and work is being started to
 perform physical network isolation, but this is still some ways off.

 Regards,
 Devananda


 ___
 OpenStack-dev mailing list
 OpenStack-dev@lists.openstack.org
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [ironic] Can nova manage both ironic bare metal nodes and kvm VMs ?

2014-06-05 Thread Jander lu
hi chao
I have met the same problem, I read this article
http://www.mirantis.com/blog/baremetal-provisioning-multi-tenancy-placement-control-isolation/


2014-06-05 19:26 GMT+08:00 严超 yanchao...@gmail.com:

 Hi, All:
 In deploying with devstack and Ironic+Nova, we set:
 compute_driver = nova.virt.ironic.IronicDriver
 This means we can no longer use nova to boot VMs.
 Is there a way to manage both ironic bare metal nodes and kvm VMs in
 Nova ?
  I followed this Link:
 https://etherpad.openstack.org/p/IronicDeployDevstack


 *Best Regards!*


 *Chao Yan--**My twitter:Andy Yan @yanchao727
 https://twitter.com/yanchao727*


 *My Weibo:http://weibo.com/herewearenow
 http://weibo.com/herewearenow--*

 ___
 OpenStack-dev mailing list
 OpenStack-dev@lists.openstack.org
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [ironic] Can nova manage both ironic bare metal nodes and kvm VMs ?

2014-06-05 Thread Jander lu
use host aggregates to differentiate the nova-compute services configured
to use different hypervisor drivers (eg, nova.virt.libvirt vs nova.virt.
ironic).


2014-06-06 11:40 GMT+08:00 Jander lu lhcxx0...@gmail.com:

 hi chao
 I have met the same problem, I read this article
 http://www.mirantis.com/blog/baremetal-provisioning-multi-tenancy-placement-control-isolation/


 2014-06-05 19:26 GMT+08:00 严超 yanchao...@gmail.com:

 Hi, All:
 In deploying with devstack and Ironic+Nova, we set:
 compute_driver = nova.virt.ironic.IronicDriver
 This means we can no longer use nova to boot VMs.
 Is there a way to manage both ironic bare metal nodes and kvm VMs in
 Nova ?
  I followed this Link:
 https://etherpad.openstack.org/p/IronicDeployDevstack


 *Best Regards!*


 *Chao Yan--**My twitter:Andy Yan @yanchao727
 https://twitter.com/yanchao727*


 *My Weibo:http://weibo.com/herewearenow
 http://weibo.com/herewearenow--*

 ___
 OpenStack-dev mailing list
 OpenStack-dev@lists.openstack.org
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev



___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] [Ironic] two confused part about Ironic

2014-05-28 Thread Jander lu
Hi, guys, I have two confused part in Ironic.



(1) if I use nova boot api to launch an physical instance, how does nova
boot command differentiate whether VM or physical node provision? From this
article, nova bare metal use PlacementFilter instead of
FilterScheduler.so does Ironic use the same method? (
http://www.mirantis.com/blog/baremetal-provisioning-multi-tenancy-placement-control-isolation/
)


(2)does Ironic only support Flat network? If not, how does Ironic implement
tenant isolation in virtual network? say,if one tenant has two vritual
network namespace,how does the created bare metal node instance send the
dhcp request to the right namespace?



Thank you for help
___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] [Nova Baremetal] disk-image builder tool error

2014-04-22 Thread Jander lu
Hi,

I am following this wiki page(https://wiki.openstack.org/wiki/Baremetal ),
by using devstack to set up a nova baremetal provision environment, but met
one problems as below:

when I use disk-image builder(
https://github.com/openstack/diskimage-builder.git) command to build a
image, there is no output file and the error message seems confused to me,I
don't know what I should do next,  below is the output of the console.

stack@helpme:~/diskimage-builder$ bin/disk-image-create -u base -o my-image
Building elements: base  base
Expanded element dependencies to: base
Building in /tmp/image.LB2Dc8vH
dib-run-parts Mon Apr 21 19:05:11 EDT 2014 Running
/tmp/image.LB2Dc8vH/hooks/root.d/01-ccache
dib-run-parts Mon Apr 21 19:05:11 EDT 2014 01-ccache completed
--- PROFILING ---

Target: root.d

Script Seconds
---  --

01-ccache 0.042

- END PROFILING -
Please include at least one distribution root element.
stack@helpme:~/diskimage-builder$ cd ~


I think the wiki content both in Baremetal and Disk-image-builder is not
latest updated.

could someone point me how to give a try with this?

thanks!!
___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev