<p dir="ltr">Hi,</p>
<p dir="ltr">If you are trying to update the stack from 1 to 3 controllers, it will not work, its not supported. You will have to delete the stack and start again with 3 controllers. I also advise you to try mitaka. </p>
<p dir="ltr">Regards</p>
<div class="gmail_extra"><br><div class="gmail_quote">Em 02/08/2016 17:00, "Luca 'remix_tj' Lorenzetto" <<a href="mailto:lorenzetto.luca@gmail.com">lorenzetto.luca@gmail.com</a>> escreveu:<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
I'm deploying Liberty on a set of server using tripleo. I imported and<br>
correctly introspected 6 nodes. First i did a setup with 1 controller<br>
node and 3 computing nodes. No issues during this deploy, everything<br>
went fine. On this deployment i used custom hostname formats (defined<br>
via yaml environment file) and custom dns_domain (changed in<br>
/etc/nova/nova.conf and /etc/neutron/dhcp_agent.ini and all<br>
/usr/share/openstack-tripleo-heat-templates/*.yaml files that contains<br>
localdomain)<br>
<br>
Now I'm working to have a 3 controller setup with HA. I'm running this<br>
command to deploy:<br>
<br>
openstack overcloud deploy --templates -e<br>
/usr/share/openstack-tripleo-heat-templates/environments/network-isolation.yaml<br>
-e ~/templates/network-environment.yaml -e<br>
~/templates/puppet-ceph-external.yaml -e ~/hostname-nostri.yaml<br>
--neutron-bridge-mappings datacentre:br-ex,storage-pub:br-stg-pub -e<br>
/usr/share/openstack-tripleo-heat-templates/environments/puppet-pacemaker.yaml<br>
--ntp-server timesrv1 --control-scale 3 --compute-scale 3<br>
--ceph-storage-scale 0 --control-flavor controlhp --compute-flavor<br>
computehp --neutron-network-type vxlan --neutron-tunnel-types vxlan<br>
--verbose --debug --log-file overcloud_$(date +%T).log<br>
<br>
I see that stack creation starts and correctly deploy os on the nodes.<br>
Nodes are named according to ControllerHostnameFormat and<br>
ComputeHostnameFormat that i specified into ~/hostname-nostri.yaml.<br>
<br>
Everything goes well until HA configuration starts. I see this stack<br>
creation failing:<br>
<br>
overcloud-ControllerNodesPostDeployment-bbp3c47jgau2-ControllerLoadBalancerDeployment_Step1-sla6ce7n2arq<br>
<br>
The error message of the deployment command is:<br>
<br>
Stack failed with status: Resource CREATE failed:<br>
resources.ControllerLoadBalancerDeployment_Step1:<br>
resources.ControllerNodesPostDeployment.Error: resources[0]:<br>
Deployment to server failed: deploy_status_code: Deployment exited<br>
with non-zero status code: 6<br>
Heat Stack create failed.<br>
<br>
<br>
If i go in depth with heat deployment-show i see that all resources<br>
report this deploy_stderr:<br>
<br>
Error: Could not prefetch mysql_user provider 'mysql': Execution of<br>
'/usr/bin/mysql -NBe SELECT CONCAT(User, '@',Host) AS User FROM<br>
mysql.user' returned 1: ERROR 2002 (HY000): Can't connect to local<br>
MySQL server through socket '/var/lib/mysql/mysql.sock' (2)<br>
Error: Could not prefetch mysql_database provider 'mysql': Execution<br>
of '/usr/bin/mysql -NBe show databases' returned 1: ERROR 2002<br>
(HY000): Can't connect to local MySQL server through socket<br>
'/var/lib/mysql/mysql.sock' (2)\<br>
Error: Command exceeded timeout<br>
Error: /Stage[main]/Pacemaker::Corosync/Exec[auth-successful-across-all-nodes]/returns:<br>
change from notrun to 0 failed: Command exceeded timeout<br>
Warning: /Stage[main]/Pacemaker::Corosync/Exec[Create Cluster<br>
tripleo_cluster]: Skipping because of failed dependencies<br>
Warning: /Stage[main]/Pacemaker::Corosync/Exec[Start Cluster<br>
tripleo_cluster]: Skipping because of failed dependencies<br>
Warning: /Stage[main]/Pacemaker::Corosync/Exec[wait-for-settle]:<br>
Skipping because of failed dependencies<br>
Warning: /Stage[main]/Pacemaker::Corosync/Notify[pacemaker settled]:<br>
Skipping because of failed dependencies<br>
Warning: /Stage[main]/Pacemaker::Stonith/Exec[Disable STONITH]:<br>
Skipping because of failed dependencies",<br>
<br>
<br>
<br>
I see nodes are stuck on puppet step<br>
"auth-successful-across-all-nodes" (defined in<br>
/etc/puppet/modules/pacemaker/manifests/corosync.pp)<br>
<br>
/usr/bin/python2 /usr/sbin/pcs cluster auth opsctrl0 opsctrl1 opsctrl2<br>
-u hacluster -p PASSWORD --force<br>
<br>
I suppose that the problem is due to corosync service not yet started.<br>
But as far as i can see corosync will never start because<br>
/etc/corosync/corosync.conf file is missing.<br>
<br>
in /etc/hosts opsctrl{0-2} are correctly defined and each host can<br>
talk with the others.<br>
<br>
<br>
<br>
I'm stuck and i don't know what to do. Anyone had similar issues? I'm<br>
missing something that i have to enter in the configuration?<br>
<br>
<br>
I'm using a in-house mirror of rdo-release made on April 20, and<br>
custom images build from rhel image and this repository. A week ago i<br>
tried with latest repository but had the same error (and also others,<br>
that's why i returned to this older mirror that was working).<br>
<br>
This is the list of packages installed from rdo-release repository:<br>
<br>
crudini-0.7-1.el7.noarch<br>
dib-utils-0.0.9-1.el7.noarch<br>
dibbler-client-1.0.1-0.RC1.2.el7.x86_64<br>
diskimage-builder-1.4.0-1.el7.noarch<br>
erlang-asn1-R16B-03.16.el7.x86_64<br>
erlang-compiler-R16B-03.16.el7.x86_64<br>
erlang-crypto-R16B-03.16.el7.x86_64<br>
erlang-erts-R16B-03.16.el7.x86_64<br>
erlang-hipe-R16B-03.16.el7.x86_64<br>
erlang-inets-R16B-03.16.el7.x86_64<br>
erlang-kernel-R16B-03.16.el7.x86_64<br>
erlang-mnesia-R16B-03.16.el7.x86_64<br>
erlang-os_mon-R16B-03.16.el7.x86_64<br>
erlang-otp_mibs-R16B-03.16.el7.x86_64<br>
erlang-public_key-R16B-03.16.el7.x86_64<br>
erlang-runtime_tools-R16B-03.16.el7.x86_64<br>
erlang-sasl-R16B-03.16.el7.x86_64<br>
erlang-sd_notify-0.1-1.el7.x86_64<br>
erlang-snmp-R16B-03.16.el7.x86_64<br>
erlang-ssl-R16B-03.16.el7.x86_64<br>
erlang-stdlib-R16B-03.16.el7.x86_64<br>
erlang-syntax_tools-R16B-03.16.el7.x86_64<br>
erlang-tools-R16B-03.16.el7.x86_64<br>
erlang-xmerl-R16B-03.16.el7.x86_64<br>
hiera-1.3.4-1.el7.noarch<br>
instack-0.0.8-1.el7.noarch<br>
instack-undercloud-2.1.3-1.el7.noarch<br>
jq-1.3-2.el7.x86_64<br>
liberasurecode-1.1.1-1.el7.x86_64<br>
libnetfilter_queue-1.0.2-2.el7.x86_64<br>
memcached-1.4.25-1.el7.x86_64<br>
1:openstack-ceilometer-alarm-5.0.2-1.el7.noarch<br>
1:openstack-ceilometer-api-5.0.2-1.el7.noarch<br>
1:openstack-ceilometer-central-5.0.2-1.el7.noarch<br>
1:openstack-ceilometer-collector-5.0.2-1.el7.noarch<br>
1:openstack-ceilometer-common-5.0.2-1.el7.noarch<br>
1:openstack-ceilometer-notification-5.0.2-1.el7.noarch<br>
1:openstack-ceilometer-polling-5.0.2-1.el7.noarch<br>
1:openstack-glance-11.0.1-2.el7.noarch<br>
1:openstack-heat-api-5.0.0-1.el7.noarch<br>
1:openstack-heat-api-cfn-5.0.0-1.el7.noarch<br>
1:openstack-heat-api-cloudwatch-5.0.0-1.el7.noarch<br>
1:openstack-heat-common-5.0.0-1.el7.noarch<br>
1:openstack-heat-engine-5.0.0-1.el7.noarch<br>
openstack-heat-templates-0-0.1.20151019.el7.noarch<br>
1:openstack-ironic-api-4.2.2-1.el7.noarch<br>
1:openstack-ironic-common-4.2.2-1.el7.noarch<br>
1:openstack-ironic-conductor-4.2.2-1.el7.noarch<br>
openstack-ironic-inspector-2.2.2-1.el7.noarch<br>
1:openstack-keystone-8.0.1-1.el7.noarch<br>
1:openstack-neutron-7.0.3-1.el7.noarch<br>
1:openstack-neutron-common-7.0.3-1.el7.noarch<br>
1:openstack-neutron-ml2-7.0.3-1.el7.noarch<br>
1:openstack-neutron-openvswitch-7.0.3-1.el7.noarch<br>
1:openstack-nova-api-12.0.1-1.el7.noarch<br>
1:openstack-nova-cert-12.0.1-1.el7.noarch<br>
1:openstack-nova-common-12.0.1-1.el7.noarch<br>
1:openstack-nova-compute-12.0.1-1.el7.noarch<br>
1:openstack-nova-conductor-12.0.1-1.el7.noarch<br>
1:openstack-nova-scheduler-12.0.1-1.el7.noarch<br>
1:openstack-puppet-modules-7.0.1-1.el7.noarch<br>
openstack-selinux-0.6.41-1.el7.noarch<br>
openstack-swift-2.5.0-1.el7.noarch<br>
openstack-swift-account-2.5.0-1.el7.noarch<br>
openstack-swift-container-2.5.0-1.el7.noarch<br>
openstack-swift-object-2.5.0-1.el7.noarch<br>
openstack-swift-plugin-swift3-1.7-4.el7.noarch<br>
openstack-swift-proxy-2.5.0-1.el7.noarch<br>
openstack-tripleo-0.0.6-1.el7.noarch<br>
openstack-tripleo-heat-templates-0.8.7-1.el7.noarch<br>
openstack-tripleo-image-elements-0.9.7-1.el7.noarch<br>
openstack-tripleo-puppet-elements-0.0.2-1.el7.noarch<br>
openstack-utils-2015.2-1.el7.noarch<br>
openvswitch-2.4.0-1.el7.x86_64<br>
os-apply-config-0.1.32-3.el7.noarch<br>
os-cloud-config-0.2.10-2.el7.noarch<br>
os-collect-config-0.1.36-4.el7.noarch<br>
os-net-config-0.1.5-3.el7.noarch<br>
os-refresh-config-0.1.11-2.el7.noarch<br>
puppet-3.6.2-3.el7.noarch<br>
pyOpenSSL-0.15.1-1.el7.noarch<br>
pyparsing-2.0.3-1.el7.noarch<br>
pysendfile-2.0.0-5.el7.x86_64<br>
pysnmp-4.2.5-2.el7.noarch<br>
pystache-0.5.3-2.el7.noarch<br>
python-alembic-0.8.3-3.el7.noarch<br>
python-amqp-1.4.6-1.el7.noarch<br>
python-anyjson-0.3.3-3.el7.noarch<br>
python-automaton-0.7.0-1.el7.noarch<br>
python-babel-1.3-6.el7.noarch<br>
python-bson-3.0.3-1.el7.x86_64<br>
python-cachetools-1.0.3-2.el7.noarch<br>
1:python-ceilometer-5.0.2-1.el7.noarch<br>
python-ceilometerclient-1.5.0-1.el7.noarch<br>
python-cinderclient-1.4.0-1.el7.noarch<br>
python-cliff-1.15.0-1.el7.noarch<br>
python-cliff-tablib-1.1-3.el7.noarch<br>
python-cmd2-0.6.8-3.el7.noarch<br>
python-contextlib2-0.4.0-1.el7.noarch<br>
python-croniter-0.3.4-2.el7.noarch<br>
python-dogpile-cache-0.5.7-3.el7.noarch<br>
python-dogpile-core-0.4.1-2.el7.noarch<br>
python-ecdsa-0.11-3.el7.noarch<br>
python-editor-0.4-4.el7.noarch<br>
python-elasticsearch-1.4.0-2.el7.noarch<br>
python-extras-0.0.3-2.el7.noarch<br>
python-fixtures-1.4.0-2.el7.noarch<br>
python-futures-3.0.3-1.el7.noarch<br>
1:python-glance-11.0.1-2.el7.noarch<br>
python-glance-store-0.9.1-1.el7.noarch<br>
1:python-glanceclient-1.1.0-1.el7.noarch<br>
python-heatclient-0.8.0-1.el7.noarch<br>
python-httplib2-0.9.2-1.el7.noarch<br>
python-idna-2.0-1.el7.noarch<br>
python-ipaddress-1.0.7-4.el7.noarch<br>
python-ironicclient-0.8.1-1.el7.noarch<br>
python-jsonpatch-1.2-2.el7.noarch<br>
python-jsonpath-rw-1.2.3-2.el7.noarch<br>
python-jsonschema-2.3.0-1.el7.noarch<br>
python-keyring-5.0-4.el7.noarch<br>
1:python-keystone-8.0.1-1.el7.noarch<br>
1:python-keystoneclient-1.7.2-1.el7.noarch<br>
python-keystonemiddleware-2.3.1-1.el7.noarch<br>
1:python-kombu-3.0.32-1.el7.noarch<br>
python-ldappool-1.0-4.el7.noarch<br>
python-linecache2-1.0.0-1.el7.noarch<br>
python-logutils-0.3.3-3.el7.noarch<br>
python-memcached-1.54-3.el7.noarch<br>
python-migrate-0.10.0-1.el7.noarch<br>
python-mimeparse-0.1.4-1.el7.noarch<br>
python-monotonic-0.3-1.el7.noarch<br>
python-ncclient-0.4.2-2.el7.noarch<br>
python-netaddr-0.7.18-1.el7.noarch<br>
python-netifaces-0.10.4-1.el7.x86_64<br>
python-networkx-core-1.10-1.el7.noarch<br>
1:python-neutron-7.0.3-1.el7.noarch<br>
python-neutronclient-3.1.0-1.el7.noarch<br>
python-nose-1.3.7-7.el7.noarch<br>
1:python-nova-12.0.1-1.el7.noarch<br>
1:python-novaclient-2.30.1-1.el7.noarch<br>
python-oauthlib-0.7.2-5.20150520git514cad7.el7.noarch<br>
python-openstackclient-1.7.2-1.el7.noarch<br>
python-openvswitch-2.4.0-1.el7.noarch<br>
python-oslo-cache-0.7.0-1.el7.noarch<br>
python-oslo-concurrency-2.6.0-1.el7.noarch<br>
python-oslo-db-2.6.0-3.el7.noarch<br>
python-oslo-log-1.10.0-1.el7.noarch<br>
python-oslo-messaging-2.5.0-1.el7.noarch<br>
python-oslo-middleware-2.8.0-1.el7.noarch<br>
python-oslo-policy-0.11.0-1.el7.noarch<br>
python-oslo-rootwrap-2.3.0-1.el7.noarch<br>
python-oslo-service-0.9.0-1.el7.noarch<br>
python-oslo-versionedobjects-0.10.0-1.el7.noarch<br>
python-oslo-vmware-1.21.0-1.el7.noarch<br>
python-osprofiler-0.3.0-1.el7.noarch<br>
python-paramiko-1.15.1-1.el7.noarch<br>
python-paste-deploy-1.5.2-6.el7.noarch<br>
python-pbr-1.8.1-2.el7.noarch<br>
python-posix_ipc-0.9.8-1.el7.x86_64<br>
python-prettytable-0.7.2-1.el7.noarch<br>
python-proliantutils-2.1.7-1.el7.noarch<br>
python-psutil-1.2.1-1.el7.x86_64<br>
python-pycadf-1.1.0-1.el7.noarch<br>
python-pyeclib-1.2.0-1.el7.x86_64<br>
python-pyghmi-0.8.0-2.el7.noarch<br>
python-pygments-2.0.2-4.el7.noarch<br>
python-pymongo-3.0.3-1.el7.x86_64<br>
python-pysaml2-3.0.2-1.el7.noarch<br>
python-qpid-0.30-1.el7.noarch<br>
python-qpid-common-0.30-1.el7.noarch<br>
python-repoze-lru-0.4-3.el7.noarch<br>
python-repoze-who-2.1-1.el7.noarch<br>
python-requests-2.9.1-2.el7.noarch<br>
python-retrying-1.2.3-4.el7.noarch<br>
python-rfc3986-0.2.0-1.el7.noarch<br>
python-routes-1.13-2.el7.noarch<br>
python-saharaclient-0.11.1-1.el7.noarch<br>
python-semantic_version-2.4.2-1.el7.noarch<br>
python-simplegeneric-0.8-7.el7.noarch<br>
python-simplejson-3.5.3-5.el7.x86_64<br>
python-sqlalchemy-1.0.11-1.el7.x86_64<br>
python-sqlparse-0.1.18-5.el7.noarch<br>
python-stevedore-1.8.0-1.el7.noarch<br>
python-swiftclient-2.6.0-1.el7.noarch<br>
python-tablib-0.10.0-1.el7.noarch<br>
python-taskflow-1.21.0-1.el7.noarch<br>
python-tempita-0.5.1-8.el7.noarch<br>
python-testtools-1.8.0-2.el7.noarch<br>
python-tooz-1.24.0-1.el7.noarch<br>
python-traceback2-1.4.0-2.el7.noarch<br>
python-tripleoclient-0.0.11-3.el7.noarch<br>
python-troveclient-1.3.0-1.el7.noarch<br>
python-unicodecsv-0.14.1-1.el7.noarch<br>
python-unittest2-1.0.1-1.el7.noarch<br>
python-urllib3-1.13.1-3.el7.noarch<br>
python-warlock-1.0.1-1.el7.noarch<br>
python-webob-1.4.1-2.el7.noarch<br>
python-websockify-0.6.0-2.el7.noarch<br>
python-wrapt-1.10.5-3.el7.x86_64<br>
python2-PyMySQL-0.6.7-2.el7.noarch<br>
python2-appdirs-1.4.0-4.el7.noarch<br>
python2-castellan-0.3.1-1.el7.noarch<br>
python2-cffi-1.5.2-1.el7.x86_64<br>
python2-cryptography-1.2.1-3.el7.x86_64<br>
python2-debtcollector-0.8.0-1.el7.noarch<br>
python2-eventlet-0.17.4-4.el7.noarch<br>
python2-fasteners-0.14.1-4.el7.noarch<br>
python2-funcsigs-0.4-2.el7.noarch<br>
python2-futurist-0.5.0-1.el7.noarch<br>
python2-greenlet-0.4.9-1.el7.x86_64<br>
python2-ironic-inspector-client-1.2.0-2.el7.noarch<br>
python2-iso8601-0.1.11-1.el7.noarch<br>
python2-jsonpath-rw-ext-0.1.7-1.1.el7.noarch<br>
python2-mock-1.3.0-1.el7.noarch<br>
python2-os-brick-0.5.0-1.el7.noarch<br>
python2-os-client-config-1.7.4-1.el7.noarch<br>
2:python2-oslo-config-2.4.0-1.el7.noarch<br>
python2-oslo-context-0.6.0-1.el7.noarch<br>
python2-oslo-i18n-2.6.0-1.el7.noarch<br>
python2-oslo-reports-0.5.0-1.el7.noarch<br>
python2-oslo-serialization-1.9.0-1.el7.noarch<br>
python2-oslo-utils-2.5.0-1.el7.noarch<br>
python2-passlib-1.6.5-1.el7.noarch<br>
python2-pecan-1.0.2-2.el7.noarch<br>
python2-pyasn1-0.1.9-6.el7.1.noarch<br>
python2-rsa-3.3-2.el7.noarch<br>
python2-singledispatch-3.4.0.3-4.el7.noarch<br>
python2-suds-0.7-0.1.94664ddd46a6.el7.noarch<br>
python2-wsme-0.7.0-2.el7.noarch<br>
rabbitmq-server-3.3.5-17.el7.noarch<br>
ruby-augeas-0.5.0-1.el7.x86_64<br>
ruby-shadow-1.4.1-23.el7.x86_64<br>
rubygem-rgen-0.6.6-2.el7.noarch<br>
tripleo-common-0.0.1-2.el7.noarch<br>
<br>
<br>
Thank you,<br>
<br>
<br>
Luca<br>
<br>
<br>
<br>
<br>
<br>
--<br>
"E' assurdo impiegare gli uomini di intelligenza eccellente per fare<br>
calcoli che potrebbero essere affidati a chiunque se si usassero delle<br>
macchine"<br>
Gottfried Wilhelm von Leibnitz, Filosofo e Matematico (1646-1716)<br>
<br>
"Internet è la più grande biblioteca del mondo.<br>
Ma il problema è che i libri sono tutti sparsi sul pavimento"<br>
John Allen Paulos, Matematico (1945-vivente)<br>
<br>
Luca 'remix_tj' Lorenzetto, <a href="http://www.remixtj.net" rel="noreferrer" target="_blank">http://www.remixtj.net</a> , <<a href="mailto:lorenzetto.luca@gmail.com">lorenzetto.luca@gmail.com</a>><br>
<br>
_______________________________________________<br>
rdo-list mailing list<br>
<a href="mailto:rdo-list@redhat.com">rdo-list@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/rdo-list" rel="noreferrer" target="_blank">https://www.redhat.com/mailman/listinfo/rdo-list</a><br>
<br>
To unsubscribe: <a href="mailto:rdo-list-unsubscribe@redhat.com">rdo-list-unsubscribe@redhat.com</a></blockquote></div><br></div>