<div dir="ltr">Hi Sadia,<div>    Both your config files are wrong. For example, the section "sql_connection = mysql://<a href="http://root:seecs@127.0.0.1/nova?charset=utf8">root:seecs@127.0.0.1/nova?charset=utf8</a>" in nova.conf is present under the [DEFAULT] section, but it's supposed to be under the [database] section and in keystone.conf, it's missing!!! Kindly change both - well, my guess now would be to change all - conf files accordingly to get it working.</div>
<div><br></div><div>P.S. If you get this working, then all other components will automatically work. This I guess, would answer your other mail/question of yours of not able to load a cirrOS image to glance. This is because glance does not have an endpoint in keystone.</div>
</div><div class="gmail_extra"><br clear="all"><div><div dir="ltr"><div>Regards,<br></div>Nitish B.<br></div></div>
<br><br><div class="gmail_quote">On Wed, Sep 3, 2014 at 5:07 PM, Sadia Bashir <span dir="ltr"><<a href="mailto:11msccssbashir@seecs.edu.pk" target="_blank">11msccssbashir@seecs.edu.pk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div>Hello Nithish,<br><br></div>Thank you for your reply, I found nova.conf in /etc/nove and keystone.conf in /etc/keystone. Pls see attached. I found these two files different from what you have told me. Should I change these files accordingly in order to make things work? <br>


</div><div class="gmail_extra"><div><div class="h5"><br><br><div class="gmail_quote">On Wed, Sep 3, 2014 at 2:36 PM, nithish B <span dir="ltr"><<a href="mailto:bestofnithish@gmail.com" target="_blank">bestofnithish@gmail.com</a>></span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Sadia,<div>     If you cannot find nova.conf and keystone.conf in your system, do the following:</div>


<div><br></div><div>1. Copy the following to a file.</div><div><br></div><div><div>NOVA_CONF=/etc/nova/nova.conf</div>
<div>KEYSTONE_CONF=/etc/keystone/keystone.conf<br></div><div><br></div><div>cp ${NOVA_CONF}{,.bak}</div><div>cat > ${NOVA_CONF} <<EOF</div><div>[DEFAULT]</div><div>dhcpbridge_flagfile=/etc/nova/nova.conf</div><div>



dhcpbridge=/usr/bin/nova-dhcpbridge</div><div>logdir=/var/log/nova</div><div>state_path=/var/lib/nova</div><div>lock_path=/var/lock/nova</div><div>root_helper=sudo nova-rootwrap /etc/nova/rootwrap.conf</div><div>verbose=True</div>



<div><br></div><div>use_syslog = True</div><div>syslog_log_facility = LOG_LOCAL0</div><div><br></div><div>api_paste_config=/etc/nova/api-paste.ini</div><div>enabled_apis=ec2,osapi_compute,metadata</div><div><br></div><div>



# Libvirt and Virtualization</div><div>libvirt_use_virtio_for_bridges=True</div><div>connection_type=libvirt</div><div>libvirt_type=qemu</div><div><br></div><div># Database</div><div>sql_connection=mysql://nova:${MYSQL_NOVA_PASS}@${MYSQL_HOST}/nova</div>



<div><br></div><div># Messaging</div><div>rabbit_host=${MYSQL_HOST}</div><div><br></div><div># EC2 API Flags</div><div>#ec2_host=${MYSQL_HOST}</div><div>#ec2_dmz_host=${MYSQL_HOST}</div><div>#ec2_private_dns_show_ip=True</div>



<div><br></div><div># Network settings</div><div>network_api_class=nova.network.neutronv2.api.API</div><div>neutron_url=http://${MY_IP}:9696</div><div>neutron_auth_strategy=keystone</div><div>neutron_admin_tenant_name=service</div>



<div>neutron_admin_username=neutron</div><div>neutron_admin_password=neutron</div><div>neutron_admin_auth_url=http://${MY_IP}:5000/v2.0</div><div>libvirt_vif_driver=nova.virt.libvirt.vif.LibvirtHybridOVSBridgeDriver</div>



<div>linuxnet_interface_driver=nova.network.linux_net.LinuxOVSInterfaceDriver</div><div>#firewall_driver=nova.virt.libvirt.firewall.IptablesFirewallDriver</div><div>security_group_api=neutron</div><div>firewall_driver=nova.virt.firewall.NoopFirewallDriver</div>



<div><br></div><div>service_neutron_metadata_proxy=true</div><div>neutron_metadata_proxy_shared_secret=foo</div><div><br></div><div>#Metadata</div><div>#metadata_host = ${MYSQL_HOST}</div><div>#metadata_listen = ${MYSQL_HOST}</div>



<div>#metadata_listen_port = 8775</div><div><br></div><div># Cinder #</div><div>volume_driver=nova.volume.driver.ISCSIDriver</div><div>enabled_apis=ec2,osapi_compute,metadata</div><div>volume_api_class=nova.volume.cinder.API</div>



<div>iscsi_helper=tgtadm</div><div>iscsi_ip_address=${CONTROLLER_HOST}</div><div><br></div><div># Images</div><div>image_service=nova.image.glance.GlanceImageService</div><div>glance_api_servers=${GLANCE_HOST}:9292</div>


<div>
<br></div><div># Scheduler</div><div>scheduler_default_filters=AllHostsFilter</div><div><br></div><div># Auth</div><div>auth_strategy=keystone</div><div>#keystone_ec2_url=http://${KEYSTONE_ENDPOINT}:5000/v2.0/ec2tokens</div>



<div><br></div><div># NoVNC</div><div>novnc_enabled=true</div><div>novncproxy_host=${MY_IP}</div><div>novncproxy_base_url=http://${MY_IP}:6080/vnc_auto.html</div><div>novncproxy_port=6080</div><div><br></div><div>xvpvncproxy_port=6081</div>



<div>xvpvncproxy_host=${MY_IP}</div><div>xvpvncproxy_base_url=http://${MY_IP}:6081/console</div><div><br></div><div>vncserver_proxyclient_address=${MY_IP}</div><div>vncserver_listen=0.0.0.0</div><div><br></div><div>[keystone_authtoken]</div>



<div>service_protocol = http</div><div>service_host = ${MY_IP}</div><div>service_port = 5000</div><div>auth_host = ${MY_IP}</div><div>auth_port = 35357</div><div>auth_protocol = http</div><div>auth_uri = http://${MY_IP}:35357/</div>



<div>admin_tenant_name = ${SERVICE_TENANT}</div><div>admin_user = ${NOVA_SERVICE_USER}</div><div>admin_password = ${NOVA_SERVICE_PASS}</div><div><br></div><div><br></div><div>EOF</div><div><br></div><div>sudo chmod 0640 $NOVA_CONF</div>



<div>sudo chown nova:nova $NOVA_CONF</div><div><br></div><div>sudo nova-manage db sync</div><div><br></div><div>sudo stop nova-api</div><div>sudo stop nova-scheduler</div><div>sudo stop nova-novncproxy</div><div>sudo stop nova-consoleauth</div>



<div>sudo stop nova-conductor</div><div>sudo stop nova-cert</div><div><br></div><div><br></div><div>sudo start nova-api</div><div>sudo start nova-scheduler</div><div>sudo start nova-conductor</div><div>sudo start nova-cert</div>



<div>sudo start nova-consoleauth</div><div>sudo start nova-novncproxy</div></div><div><br></div><div><div>#sudo sed -i "s#^connection.*#connection = mysql://keystone:${MYSQL_KEYSTONE_PASS}@${MYSQL_HOST}/keystone#" ${KEYSTONE_CONF}</div>



<div>#sudo sed -i 's/^#admin_token.*/admin_token = ADMIN/' ${KEYSTONE_CONF}</div><div>#sudo sed -i 's,^#log_dir.*,log_dir = /var/log/keystone,' ${KEYSTONE_CONF}</div><div><br></div><div>#sudo echo "use_syslog = True" >> ${KEYSTONE_CONF}</div>



<div>#sudo echo "syslog_log_facility = LOG_LOCAL0" >> ${KEYSTONE_CONF}</div><div><br></div><div>sudo stop keystone</div><div>sudo start keystone</div><div><br></div><div>sudo keystone-manage db_sync</div>


<div>
<br></div><div>sudo apt-get -y install python-keystoneclient</div><div><br></div><div>export ENDPOINT=${MY_IP}</div><div>export SERVICE_TOKEN=ADMIN</div><div>export SERVICE_ENDPOINT=http://${ENDPOINT}:35357/v2.0</div><div>



export PASSWORD=openstack</div><div><br></div><div>source .keystonerc</div></div><div><br></div><div><br></div><div><br></div><div>P.S. Provide the parameters in accord to your setup.</div><div><br></div><div><br></div></div>



<div class="gmail_extra"><br clear="all"><div><div dir="ltr"><div>Regards,<br></div>Nitish B.<br></div></div>
<br><br><div class="gmail_quote"><div><div>On Wed, Sep 3, 2014 at 2:31 PM, Sadia Bashir <span dir="ltr"><<a href="mailto:11msccssbashir@seecs.edu.pk" target="_blank">11msccssbashir@seecs.edu.pk</a>></span> wrote:<br>


</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>
<div dir="ltr">By the way I followed instructions given at <a href="http://www.devstack.org" target="_blank">www.devstack.org</a> and its installation went smooth. <br></div><div class="gmail_extra"><div><div><br>
<br><div class="gmail_quote">On Wed, Sep 3, 2014 at 1:51 PM, Sadia Bashir <span dir="ltr"><<a href="mailto:11msccssbashir@seecs.edu.pk" target="_blank">11msccssbashir@seecs.edu.pk</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div>Hello everyone, <br><br></div>I am new here, It is my first email to the list. I successfully completed installation of openstack on Ubuntu 14.04 LTS and it gave me URLs for accessing dashboard, admin user password and keystone services as well. But I am facing following issues:<br>






<br></div>1. After I login to openstack dashboard, I got the following error:<br>Error: Unable to retrieve usage information<br></div>I am not able to create any instances, volumes or anything there. <br></div>2. I tried following this link <a href="https://answers.launchpad.net/horizon/+question/181166" target="_blank">https://answers.launchpad.net/horizon/+question/181166</a> to resolve error but I found no nova.conf and keystone.conf in my system. <br>






<br></div>Pls tell me how do I resolve these errors. Any useful link, suggestion or help will be appreciated. Thank you in advance!<span><font color="#888888"><br><br clear="all"><div><div><div><div><div><div>

<br>-- <br></div><div>Regards,<br></div>
<div>Sadia<br></div><div><div><font color="#3366ff"><br></font></div><div><font color="#3366ff"></font> </div>
</div></div></div></div></div></div></font></span></div>
</blockquote></div><br><br clear="all"><br></div></div>-- <br><div><font color="#3366ff"><br></font></div><div><font color="#3366ff"></font> </div>
</div>
<br></div></div>_______________________________________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
Post to     : <a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a><br>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br><br clear="all"><br></div></div>-- <br><div><font color="#3366ff"><br></font></div><div><font color="#3366ff"></font> </div>
</div>
</blockquote></div><br></div>