<div dir="ltr"><div class="gmail_default">Hi all,</div><div class="gmail_default">I'm trying to poupulate the compute dbs on controller node, but I'm getting this error, I can't figure out why 'cause I'm able to login :</div><div class="gmail_default"><i><br></i></div><div class="gmail_default" style=""><div class="gmail_default"><i>[root@controller nova]# su -s /bin/sh -c "nova-manage db sync" nova</i></div><div class="gmail_default"><i>Command failed, please check log for more info</i></div><div class="gmail_default"><i>[root@controller nova]# more /var/log/nova/nova-manage.log</i></div><div class="gmail_default"><i>2016-01-14 13:11:15.269 4286 CRITICAL nova [-] OperationalError: (_mysql_exceptions.OperationalError) (1045, "Access denied for user 'nova'@'localhost' (using password: YES)")</i></div><div class="gmail_default"><i>2016-01-14 13:11:15.269 4286 ERROR nova Traceback (most recent call last):</i></div><div class="gmail_default"><i>2016-01-14 13:11:15.269 4286 ERROR nova File "/usr/bin/nova-manage", line 10, in <module></i></div><div class="gmail_default"><i>2016-01-14 13:11:15.269 4286 ERROR nova sys.exit(main())</i></div><div><br></div><div>but :</div><div><br></div><div style=""><div style=""><i>[root@controller nova]# mysql -u nova -p </i></div><div style=""><i>Enter password: r00tme</i></div><div style=""><i>Welcome to the MariaDB monitor. Commands end with ; or \g.</i></div><div style=""><i>Your MariaDB connection id is 12</i></div><div style=""><i>Server version: 5.5.44-MariaDB MariaDB Server</i></div><div style=""><i><br></i></div><div style=""><i>Copyright (c) 2000, 2015, Oracle, MariaDB Corporation Ab and others.</i></div><div style=""><i><br></i></div><div style=""><i>Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.</i></div><div style=""><i><br></i></div><div style=""><i>MariaDB [(none)]> </i></div></div><div><br></div><div><br></div><div>connection string in nova.conf file is </div><div><br></div><div style=""><i>connection=mysql://nova:r00tme@controller/nova</i><br></div><div style=""><font size="1"><br></font></div><div style="">Any suggestions ?</div><div style=""><br></div><div style="">Cheers</div><div style=""><br></div><div style="">Gabriele</div><div style=""><font size="1"><br></font></div><div style="font-size:x-small"><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-01-14 11:20 GMT+00:00 Soputhi Sea <span dir="ltr"><<a href="mailto:puthi@live.com" target="_blank">puthi@live.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div dir="ltr"><span style="color:rgb(68,68,68);font-size:15px;line-height:21.3px;background-color:rgb(255,255,255)">Hi,</span><div style="line-height:21.3px;color:rgb(68,68,68);font-size:15px;background-color:rgb(255,255,255)"><br style="line-height:21.3px"></div><div style="line-height:21.3px;color:rgb(68,68,68);font-size:15px;background-color:rgb(255,255,255)">Openstack Juno's Live Migration, I've been trying to get live-migration to work on this version but i keep getting the same error as below.</div><div style="line-height:21.3px;color:rgb(68,68,68);font-size:15px;background-color:rgb(255,255,255)">I wonder if anybody can point me to the right direction to where to debug the problem. Or if anybody come across this problem before please share some ideas.</div><div style="line-height:21.3px;color:rgb(68,68,68);font-size:15px;background-color:rgb(255,255,255)">I google around for a few days already but so far I haven't got any luck.</div><div style="line-height:21.3px;color:rgb(68,68,68);font-size:15px;background-color:rgb(255,255,255)"><br style="line-height:21.3px"></div><div style="line-height:21.3px;color:rgb(68,68,68);font-size:15px;background-color:rgb(255,255,255)"><span style="line-height:22.72px;font-size:12pt">Note: the same nova, neutron and libvirt configuration work on Icehouse and Liberty on a different cluster, as i tested.</span></div><div style="line-height:21.3px;color:rgb(68,68,68);font-size:15px;background-color:rgb(255,255,255)"><br style="line-height:21.3px"></div><div style="line-height:21.3px;color:rgb(68,68,68);font-size:15px;background-color:rgb(255,255,255)">Thanks</div><div style="line-height:21.3px;color:rgb(68,68,68);font-size:15px;background-color:rgb(255,255,255)">Puthi</div><div style="line-height:21.3px;color:rgb(68,68,68);font-size:15px;background-color:rgb(255,255,255)"><br style="line-height:21.3px"></div><div style="line-height:21.3px;color:rgb(68,68,68);font-size:15px;background-color:rgb(255,255,255)">Nova Version tested: 2014.2.3 and 2014.2.4</div><div style="line-height:21.3px;color:rgb(68,68,68);font-size:15px;background-color:rgb(255,255,255)">Nova Error Log</div><div style="line-height:21.3px;color:rgb(68,68,68);font-size:15px;background-color:rgb(255,255,255)">============</div><div style="line-height:21.3px;color:rgb(68,68,68);font-size:15px;background-color:rgb(255,255,255)"><div style="line-height:21.3px">2016-01-14 17:34:08.818 6173 ERROR oslo.messaging.rpc.dispatcher [req-54581412-a194-40d5-9208-b1bf6d04f8d8 ] Exception during message handling: A NetworkModel is required here</div><div style="line-height:21.3px">2016-01-14 17:34:08.818 6173 TRACE oslo.messaging.rpc.dispatcher Traceback (most recent call last):</div><div style="line-height:21.3px">2016-01-14 17:34:08.818 6173 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/oslo/messaging/rpc/dispatcher.py", line 134, in _dispatch_and_reply</div><div style="line-height:21.3px">2016-01-14 17:34:08.818 6173 TRACE oslo.messaging.rpc.dispatcher incoming.message))</div><div style="line-height:21.3px">2016-01-14 17:34:08.818 6173 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/oslo/messaging/rpc/dispatcher.py", line 177, in _dispatch</div><div style="line-height:21.3px">2016-01-14 17:34:08.818 6173 TRACE oslo.messaging.rpc.dispatcher return self._do_dispatch(endpoint, method, ctxt, args)</div><div style="line-height:21.3px">2016-01-14 17:34:08.818 6173 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/oslo/messaging/rpc/dispatcher.py", line 123, in _do_dispatch</div><div style="line-height:21.3px">2016-01-14 17:34:08.818 6173 TRACE oslo.messaging.rpc.dispatcher result = getattr(endpoint, method)(ctxt, **new_args)</div><div style="line-height:21.3px">2016-01-14 17:34:08.818 6173 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/nova/exception.py", line 88, in wrapped</div><div style="line-height:21.3px">2016-01-14 17:34:08.818 6173 TRACE oslo.messaging.rpc.dispatcher payload)</div><div style="line-height:21.3px">2016-01-14 17:34:08.818 6173 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/nova/openstack/common/excutils.py", line 82, in __exit__</div><div style="line-height:21.3px">2016-01-14 17:34:08.818 6173 TRACE oslo.messaging.rpc.dispatcher six.reraise(self.type_, self.value, self.tb)</div><div style="line-height:21.3px">2016-01-14 17:34:08.818 6173 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/nova/exception.py", line 71, in wrapped</div><div style="line-height:21.3px">2016-01-14 17:34:08.818 6173 TRACE oslo.messaging.rpc.dispatcher return f(self, context, *args, **kw)</div><div style="line-height:21.3px">2016-01-14 17:34:08.818 6173 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 335, in decorated_function</div><div style="line-height:21.3px">2016-01-14 17:34:08.818 6173 TRACE oslo.messaging.rpc.dispatcher kwargs['instance'], e, sys.exc_info())</div><div style="line-height:21.3px">2016-01-14 17:34:08.818 6173 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/nova/openstack/common/excutils.py", line 82, in __exit__</div><div style="line-height:21.3px">2016-01-14 17:34:08.818 6173 TRACE oslo.messaging.rpc.dispatcher six.reraise(self.type_, self.value, self.tb)</div><div style="line-height:21.3px">2016-01-14 17:34:08.818 6173 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 323, in decorated_function</div><div style="line-height:21.3px">2016-01-14 17:34:08.818 6173 TRACE oslo.messaging.rpc.dispatcher return function(self, context, *args, **kwargs)</div><div style="line-height:21.3px">2016-01-14 17:34:08.818 6173 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 4978, in live_migration</div><div style="line-height:21.3px">2016-01-14 17:34:08.818 6173 TRACE oslo.messaging.rpc.dispatcher expected_attrs=expected)</div><div style="line-height:21.3px">2016-01-14 17:34:08.818 6173 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/nova/objects/instance.py", line 300, in _from_db_object</div><div style="line-height:21.3px">2016-01-14 17:34:08.818 6173 TRACE oslo.messaging.rpc.dispatcher db_inst['info_cache'])</div><div style="line-height:21.3px">2016-01-14 17:34:08.818 6173 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/nova/objects/instance_info_cache.py", line 45, in _from_db_object</div><div style="line-height:21.3px">2016-01-14 17:34:08.818 6173 TRACE oslo.messaging.rpc.dispatcher info_cache[field] = db_obj[field]</div><div style="line-height:21.3px">2016-01-14 17:34:08.818 6173 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/nova/objects/base.py", line 474, in __setitem__</div><div style="line-height:21.3px">2016-01-14 17:34:08.818 6173 TRACE oslo.messaging.rpc.dispatcher setattr(self, name, value)</div><div style="line-height:21.3px">2016-01-14 17:34:08.818 6173 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/nova/objects/base.py", line 75, in setter</div><div style="line-height:21.3px">2016-01-14 17:34:08.818 6173 TRACE oslo.messaging.rpc.dispatcher field_value = field.coerce(self, name, value)</div><div style="line-height:21.3px">2016-01-14 17:34:08.818 6173 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/nova/objects/fields.py", line 189, in coerce</div><div style="line-height:21.3px">2016-01-14 17:34:08.818 6173 TRACE oslo.messaging.rpc.dispatcher return self._type.coerce(obj, attr, value)</div><div style="line-height:21.3px">2016-01-14 17:34:08.818 6173 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/nova/objects/fields.py", line 516, in coerce</div><div style="line-height:21.3px">2016-01-14 17:34:08.818 6173 TRACE oslo.messaging.rpc.dispatcher raise ValueError(_('A NetworkModel is required here'))</div><div style="line-height:21.3px">2016-01-14 17:34:08.818 6173 TRACE oslo.messaging.rpc.dispatcher ValueError: A NetworkModel is required here</div><div style="line-height:21.3px">2016-01-14 17:34:08.818 6173 TRACE oslo.messaging.rpc.dispatcher</div></div><div style="line-height:21.3px;color:rgb(68,68,68);font-size:15px;background-color:rgb(255,255,255)"><br style="line-height:21.3px"></div><div style="line-height:21.3px;color:rgb(68,68,68);font-size:15px;background-color:rgb(255,255,255)"><br style="line-height:21.3px"></div><div style="line-height:21.3px;color:rgb(68,68,68);font-size:15px;background-color:rgb(255,255,255)">Nova Config</div><div style="line-height:21.3px;color:rgb(68,68,68);font-size:15px;background-color:rgb(255,255,255)">===========================</div><div style="line-height:21.3px;color:rgb(68,68,68);font-size:15px;background-color:rgb(255,255,255)"><div style="line-height:21.3px">[DEFAULT]</div><div style="line-height:21.3px">rpc_backend = qpid</div><div style="line-height:21.3px">qpid_hostname = management-host</div><div style="line-height:21.3px">auth_strategy = keystone</div><div style="line-height:21.3px">my_ip = 10.201.171.244</div><div style="line-height:21.3px">vnc_enabled = True</div><div style="line-height:21.3px">novncproxy_host=0.0.0.0</div><div style="line-height:21.3px">novncproxy_port=6080</div><div style="line-height:21.3px">novncproxy_base_url=<a href="http://management-host:6080/vnc_auto.html" target="_blank">http://management-host:6080/vnc_auto.html</a></div><div style="line-height:21.3px">network_api_class = nova.network.neutronv2.api.API</div><div style="line-height:21.3px">linuxnet_interface_driver = nova.network.linux_net.LinuxOVSInterfaceDriver</div><div style="line-height:21.3px">firewall_driver = nova.virt.firewall.NoopFirewallDriver</div><div style="line-height:21.3px">vncserver_listen=0.0.0.0</div><div style="line-height:21.3px">vncserver_proxyclient_address=10.201.171.244</div><div style="line-height:21.3px">[baremetal]</div><div style="line-height:21.3px">[cells]</div><div style="line-height:21.3px">[cinder]</div><div style="line-height:21.3px">[conductor]</div><div style="line-height:21.3px">[database]</div><div style="line-height:21.3px">connection = mysql://nova:novadbpassword@db-host/nova</div><div style="line-height:21.3px">[ephemeral_storage_encryption]</div><div style="line-height:21.3px">[glance]</div><div style="line-height:21.3px">host = glance-host</div><div style="line-height:21.3px">port = 9292</div><div style="line-height:21.3px">api_servers=$host:$port</div><div style="line-height:21.3px">[hyperv]</div><div style="line-height:21.3px">[image_file_url]</div><div style="line-height:21.3px">[ironic]</div><div style="line-height:21.3px">[keymgr]</div><div style="line-height:21.3px">[keystone_authtoken]</div><div style="line-height:21.3px">auth_uri = <a href="http://management-host:5000/v2.0" target="_blank">http://management-host:5000/v2.0</a></div><div style="line-height:21.3px">identity_uri = <a href="http://management-host:35357" target="_blank">http://management-host:35357</a></div><div style="line-height:21.3px">admin_user = nova</div><div style="line-height:21.3px">admin_tenant_name = service</div><div style="line-height:21.3px">admin_password = nova2014agprod2</div><div style="line-height:21.3px">[libvirt]</div><div style="line-height:21.3px">live_migration_flag=VIR_MIGRATE_UNDEFINE_SOURCE, VIR_MIGRATE_PEER2PEER, VIR_MIGRATE_LIVE #, VIR_MIGRATE_TUNNELLED</div><div style="line-height:21.3px">block_migration_flag=VIR_MIGRATE_UNDEFINE_SOURCE, VIR_MIGRATE_PEER2PEER, VIR_MIGRATE_NON_SHARED_INC, VIR_MIGRATE_LIVE</div><div style="line-height:21.3px">[matchmaker_redis]</div><div style="line-height:21.3px">[matchmaker_ring]</div><div style="line-height:21.3px">[metrics]</div><div style="line-height:21.3px">[neutron]</div><div style="line-height:21.3px">url = <a href="http://management-host:9696" target="_blank">http://management-host:9696</a></div><div style="line-height:21.3px">admin_username = neutron</div><div style="line-height:21.3px">admin_password = neutronpassword</div><div style="line-height:21.3px">admin_tenant_name = service</div><div style="line-height:21.3px">admin_auth_url = <a href="http://management-host:35357/v2.0" target="_blank">http://management-host:35357/v2.0</a></div><div style="line-height:21.3px">auth_strategy = keystone</div><div style="line-height:21.3px">[osapi_v3]</div><div style="line-height:21.3px">[rdp]</div><div style="line-height:21.3px">[serial_console]</div><div style="line-height:21.3px">[spice]</div><div style="line-height:21.3px">[ssl]</div><div style="line-height:21.3px">[trusted_computing]</div><div style="line-height:21.3px">[upgrade_levels]</div><div style="line-height:21.3px">compute=icehouse</div><div style="line-height:21.3px">conductor=icehouse</div><div style="line-height:21.3px">[vmware]</div><div style="line-height:21.3px">[xenserver]</div><div style="line-height:21.3px">[zookeeper]</div></div><div style="line-height:21.3px;color:rgb(68,68,68);font-size:15px;background-color:rgb(255,255,255)"><br style="line-height:21.3px"></div><div style="line-height:21.3px;color:rgb(68,68,68);font-size:15px;background-color:rgb(255,255,255)"><br style="line-height:21.3px"></div><div style="line-height:21.3px;color:rgb(68,68,68);font-size:15px;background-color:rgb(255,255,255)"><br style="line-height:21.3px"></div><div style="line-height:21.3px;color:rgb(68,68,68);font-size:15px;background-color:rgb(255,255,255)"><br style="line-height:21.3px"></div><div style="line-height:21.3px;color:rgb(68,68,68);font-size:15px;background-color:rgb(255,255,255)">Neutron Config</div><div style="line-height:21.3px;color:rgb(68,68,68);font-size:15px;background-color:rgb(255,255,255)">============</div><div style="line-height:21.3px;color:rgb(68,68,68);font-size:15px;background-color:rgb(255,255,255)"><div style="line-height:21.3px">[DEFAULT]</div><div style="line-height:21.3px">auth_strategy = keystone</div><div style="line-height:21.3px">rpc_backend = neutron.openstack.common.rpc.impl_qpid</div><div style="line-height:21.3px">qpid_hostname = management-host</div><div style="line-height:21.3px">core_plugin = ml2</div><div style="line-height:21.3px">service_plugins = router</div><div style="line-height:21.3px">dhcp_lease_duration = 604800</div><div style="line-height:21.3px">dhcp_agents_per_network = 3</div><div style="line-height:21.3px">[matchmaker_redis]</div><div style="line-height:21.3px">[matchmaker_ring]</div><div style="line-height:21.3px">[quotas]</div><div style="line-height:21.3px">[agent]</div><div style="line-height:21.3px">[keystone_authtoken]</div><div style="line-height:21.3px">auth_uri = <a href="http://management-host:5000" target="_blank">http://management-host:5000</a></div><div style="line-height:21.3px">identity_uri = <a href="http://management-host:35357" target="_blank">http://management-host:35357</a></div><div style="line-height:21.3px">admin_tenant_name = service</div><div style="line-height:21.3px">admin_user = neutron</div><div style="line-height:21.3px">admin_password = neutronpassword</div><div style="line-height:21.3px">auth_host = management-host</div><div style="line-height:21.3px">auth_protocol = http</div><div style="line-height:21.3px">auth_port = 35357</div><div style="line-height:21.3px">[database]</div><div style="line-height:21.3px">[service_providers]</div><div style="line-height:21.3px">service_provider=LOADBALANCER:Haproxy:neutron.services.loadbalancer.drivers.haproxy.plugin_driver.HaproxyOnHostPluginDriver:default</div><div style="line-height:21.3px">service_provider=VPN:openswan:neutron.services.vpn.service_drivers.ipsec.IPsecVPNDriver:default</div></div><div style="line-height:21.3px;color:rgb(68,68,68);font-size:15px;background-color:rgb(255,255,255)"><br style="line-height:21.3px"></div><div style="line-height:21.3px;color:rgb(68,68,68);font-size:15px;background-color:rgb(255,255,255)"><br style="line-height:21.3px"></div><div style="line-height:21.3px;color:rgb(68,68,68);font-size:15px;background-color:rgb(255,255,255)">Neutron Plugin</div><div style="line-height:21.3px;color:rgb(68,68,68);font-size:15px;background-color:rgb(255,255,255)">============</div><div style="line-height:21.3px;color:rgb(68,68,68);font-size:15px;background-color:rgb(255,255,255)"><div style="line-height:21.3px">[ml2]</div><div style="line-height:21.3px">type_drivers = local,flat</div><div style="line-height:21.3px">mechanism_drivers = openvswitch</div><div style="line-height:21.3px">[ml2_type_flat]</div><div style="line-height:21.3px">flat_networks = physnet3</div><div style="line-height:21.3px">[ml2_type_vlan]</div><div style="line-height:21.3px">[ml2_type_gre]</div><div style="line-height:21.3px">tunnel_id_ranges = 1:1000</div><div style="line-height:21.3px">[ml2_type_vxlan]</div><div style="line-height:21.3px">[securitygroup]</div><div style="line-height:21.3px">firewall_driver = neutron.agent.firewall.NoopFirewallDriver</div><div style="line-height:21.3px">enable_security_group = False</div><div style="line-height:21.3px">[ovs]</div><div style="line-height:21.3px">enable_tunneling = False</div><div style="line-height:21.3px">local_ip = 10.201.171.244</div><div style="line-height:21.3px">network_vlan_ranges = physnet3</div><div style="line-height:21.3px">bridge_mappings = physnet3:br-bond0</div></div><div style="line-height:21.3px;color:rgb(68,68,68);font-size:15px;background-color:rgb(255,255,255)"><br style="line-height:21.3px"></div><div style="line-height:21.3px;color:rgb(68,68,68);font-size:15px;background-color:rgb(255,255,255)"><br style="line-height:21.3px"></div><div style="line-height:21.3px;color:rgb(68,68,68);font-size:15px;background-color:rgb(255,255,255)">Libvirt Config</div><div style="line-height:21.3px;color:rgb(68,68,68);font-size:15px;background-color:rgb(255,255,255)">===========</div><div style="line-height:21.3px;color:rgb(68,68,68);font-size:15px;background-color:rgb(255,255,255)"><p style="line-height:20.8267px;margin-bottom:1.35em;font-family:Calibri;font-size:11pt;color:rgb(31,73,125)">/etc/sysconfig/libvirtd</p><p style="line-height:20.8267px;margin-bottom:1.35em;font-family:Calibri;font-size:11pt;color:rgb(31,73,125)">Uncomment</p><p style="line-height:20.8267px;margin-bottom:1.35em;font-family:Calibri;font-size:11pt;color:rgb(31,73,125)">LIBVIRTD_ARGS="--listen"</p><p style="line-height:20.8267px;margin-bottom:1.35em;font-family:Calibri;font-size:11pt;color:rgb(31,73,125)"><br style="line-height:20.8267px"></p><p style="line-height:20.8267px;margin-bottom:1.35em;font-family:Calibri;font-size:11pt;color:rgb(31,73,125)">/etc/libvirt/libvirtd.conf</p><p style="line-height:20.8267px;margin-bottom:1.35em;font-family:Calibri;font-size:11pt;color:rgb(31,73,125)"> <span style="line-height:20.8267px;font-size:11pt">listen_tls = 0</span></p><p style="line-height:20.8267px;margin-bottom:1.35em;font-family:Calibri;font-size:11pt;color:rgb(31,73,125)">listen_tcp = 1</p><p style="line-height:20.8267px;margin-bottom:1.35em;font-family:Calibri;font-size:11pt;color:rgb(31,73,125)">auth_tcp = “none”</p></div> </div></div>
<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><br></blockquote></div><br></div>