<div dir="ltr">Hi Pavel,<div><br></div><div>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.</div><div>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?</div><div><br></div><div>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 :) </div><div dir="ltr"><div><br></div><div><a href="http://paste.openstack.org/show/485815/">http://paste.openstack.org/show/485815/</a></div><div><br></div><div>Cheers,<br><br><div class="gmail_quote"><div dir="ltr">On Tue, Feb 2, 2016 at 1:43 PM Pavel Fedin <<a href="mailto:p.fedin@samsung.com" target="_blank">p.fedin@samsung.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> Hello again!<br>
<br>
 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<br>
something, then starts to reinitialize projects, users, groups, tenants, etc, effectively destroying my existing configuration.<br>
After that it dies with "cannot connect to... something", and my system is in non-working state, ready for reinstalling from<br>
scratch.<br>
 Actually, two questions:<br>
1. Is it possible to tell stack.sh to keep old configuration? Rebuilding it every time is very tedious task.<br>
2. Why does my compute node wipe everything out? Because i enable 'key' (keystone ?) service? But ironic forces me to do it ("key"<br>
service is required by ironic). So how do i install the thing correctly ?<br>
<br>
--- cut ---<br>
[[local|localrc]]<br>
HOST_IP=10.51.0.5<br>
SERVICE_HOST=10.51.0.4<br>
MYSQL_HOST=$SERVICE_HOST<br>
RABBIT_HOST=$SERVICE_HOST<br>
GLANCE_HOSTPORT=$SERVICE_HOST:9292<br>
ADMIN_PASSWORD=nfv<br>
DATABASE_PASSWORD=$ADMIN_PASSWORD<br>
RABBIT_PASSWORD=$ADMIN_PASSWORD<br>
SERVICE_PASSWORD=$ADMIN_PASSWORD<br>
DATABASE_TYPE=mysql<br>
<br>
# Services that a compute node runs<br>
ENABLED_SERVICES=n-cpu,rabbit,q-agt<br>
<br>
## Open vSwitch provider networking options<br>
PHYSICAL_NETWORK=public<br>
OVS_PHYSICAL_BRIDGE=br-ex<br>
PUBLIC_INTERFACE=ens33<br>
Q_USE_PROVIDER_NETWORKING=True<br>
Q_L3_ENABLED=False<br>
<br>
# Enable Ironic plugin<br>
enable_plugin ironic git://<a href="http://git.openstack.org/openstack/ironic" rel="noreferrer" target="_blank">git.openstack.org/openstack/ironic</a><br>
<br>
enable_service key<br>
enable_service glance<br>
<br>
# Enable Swift for agent_* drivers<br>
enable_service s-proxy<br>
enable_service s-object<br>
enable_service s-container<br>
enable_service s-account<br>
<br>
# Swift temp URL's are required for agent_* drivers.<br>
SWIFT_ENABLE_TEMPURLS=True<br>
<br>
# Create 3 virtual machines to pose as Ironic's baremetal nodes.<br>
IRONIC_VM_COUNT=2<br>
IRONIC_VM_SSH_PORT=22<br>
IRONIC_BAREMETAL_BASIC_OPS=True<br>
IRONIC_DEPLOY_DRIVER_ISCSI_WITH_IPA=True<br>
<br>
# Enable Ironic drivers.<br>
IRONIC_ENABLED_DRIVERS=fake,agent_ssh,agent_ipmitool,pxe_ssh,pxe_ipmitool<br>
<br>
# Change this to alter the default driver for nodes created by devstack.<br>
# This driver should be in the enabled list above.<br>
IRONIC_DEPLOY_DRIVER=pxe_ssh<br>
<br>
# The parameters below represent the minimum possible values to create<br>
# functional nodes.<br>
IRONIC_VM_SPECS_RAM=1024<br>
IRONIC_VM_SPECS_DISK=10<br>
<br>
# Size of the ephemeral partition in GB. Use 0 for no ephemeral partition.<br>
IRONIC_VM_EPHEMERAL_DISK=0<br>
<br>
# To build your own IPA ramdisk from source, set this to True<br>
IRONIC_BUILD_DEPLOY_RAMDISK=False<br>
<br>
VIRT_DRIVER=ironic<br>
--- cut ---<br>
<br>
Kind regards,<br>
Pavel Fedin<br>
Senior Engineer<br>
Samsung Electronics Research center Russia<br>
<br>
<br>
<br>
<br>
__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
</blockquote></div></div></div></div><div dir="ltr">-- <br></div><div dir="ltr"><span>Dr. Pavlo Shchelokovskyy</span><div>Senior Software Engineer</div><div>Mirantis Inc</div><div><a>www.mirantis.com</a></div></div>