[openstack-dev] Adding Ironic node kills devstack configuration
pshchelokovskyy at mirantis.com
Wed Feb 3 09:27:06 UTC 2016
1. Unfortunately no, it is not possible to "update" a running devstack by
executing stack.sh, everything is created from scratch - e.g. empty DB is
created and all migration scripts are being run to ensure that the DB is in
the state required by the component.
2. Could you please post (to pastebin for example) your full local.conf? It
is not clear - are you trying to deploy a multi-node devstack with ironic
on one node, or just deploy an all-in-one with Ironic?
For example, here is my working devstack config (all-in-one with Ironic)
for master branch (reinstalled with it about two days ago). May be you find
some inspiration there :)
On Tue, Feb 2, 2016 at 1:43 PM Pavel Fedin <p.fedin at samsung.com> wrote:
> Hello again!
> Now i am trying to add Ironic-driven compute note to existing devstack.
> Below is my local.conf for it. When i run stack.sh, it does
> something, then starts to reinitialize projects, users, groups, tenants,
> etc, effectively destroying my existing configuration.
> After that it dies with "cannot connect to... something", and my system is
> in non-working state, ready for reinstalling from
> Actually, two questions:
> 1. Is it possible to tell stack.sh to keep old configuration? Rebuilding
> it every time is very tedious task.
> 2. Why does my compute node wipe everything out? Because i enable 'key'
> (keystone ?) service? But ironic forces me to do it ("key"
> service is required by ironic). So how do i install the thing correctly ?
> --- cut ---
> # Services that a compute node runs
> ## Open vSwitch provider networking options
> # Enable Ironic plugin
> enable_plugin ironic git://git.openstack.org/openstack/ironic
> enable_service key
> enable_service glance
> # Enable Swift for agent_* drivers
> enable_service s-proxy
> enable_service s-object
> enable_service s-container
> enable_service s-account
> # Swift temp URL's are required for agent_* drivers.
> # Create 3 virtual machines to pose as Ironic's baremetal nodes.
> # Enable Ironic drivers.
> # Change this to alter the default driver for nodes created by devstack.
> # This driver should be in the enabled list above.
> # The parameters below represent the minimum possible values to create
> # functional nodes.
> # Size of the ephemeral partition in GB. Use 0 for no ephemeral partition.
> # To build your own IPA ramdisk from source, set this to True
> --- cut ---
> Kind regards,
> Pavel Fedin
> Senior Engineer
> Samsung Electronics Research center Russia
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
Dr. Pavlo Shchelokovskyy
Senior Software Engineer
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the OpenStack-dev