Re: [Openstack] [openstack] [pike]

2018-02-20 Thread nithish B
stoneauth1/session.py", line
> 853, in post
> return self.request(url, 'POST', **kwargs)
>   File "/usr/lib/python2.7/site-packages/osc_lib/session.py", line 40, in
> request
> resp = super(TimingSession, self).request(url, method, **kwargs)
>   File "/usr/lib/python2.7/site-packages/positional/__init__.py", line
> 101, in inner
> return wrapped(*args, **kwargs)
>   File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line
> 742, in request
> raise exceptions.from_response(resp, method, url)
> BadRequest: Bad Request (HTTP 400)
>
> END return value: 1
> [root@controller ~]#
>
>
> On Tue, Feb 20, 2018 at 10:10 PM, Erik McCormick <
> emccorm...@cirrusseven.com> wrote:
>
>> According to your bootstrap and auth file, you're using
>> http://controller:35357/v3, but the error you posted said
>> http://nagraj_controller:35357/v3/.
>>
>> Run this:
>>
>> openstack --debug endpoint list
>>
>> Paste the output in here.
>>
>> -Erik
>>
>> On Tue, Feb 20, 2018 at 11:22 AM, Guru Desai <guru...@gmail.com> wrote:
>> > yes, did the bootstrap commands and everything went fine i.e no errors.
>> > admin port 35357 as mentioned in the pike install guide for keystone..
>> >
>> > keystone-manage bootstrap --bootstrap-password ADMIN_PASS \
>> >
>> > --bootstrap-admin-url http://controller:35357/v3  \
>> >
>> > --bootstrap-internal-url http://controller:5000/v3  \
>> >
>> > --bootstrap-public-url http://controller:5000/v3 \
>> >
>> > --bootstrap-region-id RegionOne
>> >
>> >
>> >
>> > On Tue, Feb 20, 2018 at 9:43 PM, Remo Mattei <r...@italy1.com> wrote:
>> >>
>> >> Why are you auth on the admin port? Try the default 5000?
>> >>
>> >>
>> >> On Feb 20, 2018, at 7:58 AM, Erik McCormick <
>> emccorm...@cirrusseven.com>
>> >> wrote:
>> >>
>> >> Did you run all the keystone-manage bootstrap commands? This looks
>> >> like you're trying to create the domain you're supposed to be
>> >> authenticating against.
>> >>
>> >> On Tue, Feb 20, 2018 at 10:34 AM, Guru Desai <guru...@gmail.com>
>> wrote:
>> >>
>> >> Hi Nithish,
>> >>
>> >> That part is verified. Below is the snippet of the rc file
>> >>
>> >> export OS_USERNAME=admin
>> >> export OS_PASSWORD=ADMIN_PASS
>> >>  export OS_PROJECT_NAME=admin
>> >>  export OS_USER_DOMAIN_NAME=Default
>> >>  export OS_PROJECT_DOMAIN_NAME=Default
>> >>  export OS_AUTH_URL=http://controller:35357/v3
>> >>  export OS_IDENTITY_API_VERSION=3
>> >>
>> >>
>> >> [root@controller~]# openstack domain create --description "Default
>> Domain"
>> >> default
>> >> Failed to discover available identity versions when contacting
>> >> http://controller:35357/v3/. Attempting to parse version from URL.
>> >> Bad Request (HTTP 400)
>> >>
>> >>
>> >> On Tue, Feb 20, 2018 at 7:36 PM, nithish B <bestofnith...@gmail.com>
>> >> wrote:
>> >>
>> >>
>> >> Hi Guru,
>> >> This looks more like a problem of finding the credentials. Please
>> check if
>> >> you sourced the credentials, and you did it right. A sample source
>> >> parameters might look like the following:
>> >>
>> >> export OS_USERNAME=admin
>> >> export OS_PASSWORD=
>> >> export OS_TENANT_NAME=admin
>> >> export OS_AUTH_URL=https://nagaraj_controller:5000/v3
>> >>
>> >> Thanks.
>> >>
>> >>
>> >> Regards,
>> >> Nitish B.
>> >>
>> >> On Tue, Feb 20, 2018 at 5:26 AM, Guru Desai <guru...@gmail.com> wrote:
>> >>
>> >>
>> >> Hi
>> >>
>> >> I am trying to install openstack pike and following the instruction
>> >> mentioned in
>> >> https://docs.openstack.org/keystone/pike/install/keystone-
>> install-rdo.html
>> >> for installing keystone. I am done with the environment setup. But
>> after
>> >> installing keystone, tried to create a project as mentioned in the
>> guide.
>> >> It
>> >> shows below error. Not seeing any errors in the logs as such.
>> Appreciate
>> >> any
>> >> inputs :
>> >>
>> >> openstack project create --domain default --description "Service
>> >> Project" service
>> >>
>> >> Failed to discover available identity versions when contacting
>> >> http://nagraj_controller:35357/v3/. Attempting to parse version from
>> URL.
>> >> Bad Request (HTTP 400)
>> >>
>> >> Guru
>> >>
>> >>
>> >> ___
>> >> Mailing list:
>> >> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>> >> Post to : openstack@lists.openstack.org
>> >> Unsubscribe :
>> >> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>> >>
>> >>
>> >>
>> >>
>> >> ___
>> >> Mailing list:
>> >> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>> >> Post to : openstack@lists.openstack.org
>> >> Unsubscribe :
>> >> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>> >>
>> >>
>> >> ___
>> >> Mailing list:
>> >> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>> >> Post to : openstack@lists.openstack.org
>> >> Unsubscribe :
>> >> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>> >>
>> >>
>> >
>>
>
>
> ___
> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/
> openstack
> Post to : openstack@lists.openstack.org
> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/
> openstack
>
>
___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


Re: [Openstack] [openstack] [pike]

2018-02-20 Thread nithish B
Hi Guru,
This looks more like a problem of finding the credentials. Please check if
you sourced the credentials, and you did it right. A sample source
parameters might look like the following:

export OS_USERNAME=admin
export OS_PASSWORD=
export OS_TENANT_NAME=admin
export OS_AUTH_URL=https://nagaraj_controller:5000/v3

Thanks.


Regards,
Nitish B.

On Tue, Feb 20, 2018 at 5:26 AM, Guru Desai  wrote:

> Hi
>
> I am trying to install openstack pike and following the instruction
> mentioned in https://docs.openstack.org/keystone/pike/install/
> keystone-install-rdo.html for installing keystone. I am done with the
> environment setup. But after installing keystone, tried to create a project
> as mentioned in the guide. It shows below error. Not seeing any errors in
> the logs as such. Appreciate any inputs :
>
>  openstack project create --domain default --description "Service Project"
> service
>
> Failed to discover available identity versions when contacting
> http://nagraj_controller:35357/v3/. Attempting to parse version from URL.
> Bad Request (HTTP 400)
>
> Guru
>
>
> ___
> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/
> openstack
> Post to : openstack@lists.openstack.org
> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/
> openstack
>
>
___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


Re: [Openstack] load balancer as a service for all protocols

2016-05-16 Thread nithish B
Hi Priyanka,
You can use OpenStack LBaaS with LVS driver to achieve this.

Reference: https://wiki.openstack.org/wiki/Neutron/LBaaS/LVSDriver

Hope this helps. Feel free to get back to me for any queries.

Thanks.
Nitish B.

Regards,
Nitish B.

On Mon, May 16, 2016 at 7:33 PM, Priyanka <ppn...@cse.iitb.ac.in> wrote:

> Hi Nitish,
> It should be a LBaaS.
>
> Thanks,
>
> Priyanka
> On Monday 16 May 2016 07:35 PM, nithish B wrote:
>
> Hi Priyanka,
> When you say you want to load balance between a set of VMs, will this load
> balancer be another VM or should it be a LBaaS. Please let me know.
>
> Regards,
> Nitish B.
>
> On Mon, May 16, 2016 at 7:22 PM, Priyanka <ppn...@cse.iitb.ac.in> wrote:
>
>> Hi Nitish,
>>
>> Thanks for the response. But can this be used for VMs on openstack cloud.
>> There is no plugin in openstack for this.
>>
>> Thanks,
>>
>> Priyanka
>> On Monday 16 May 2016 07:14 PM, nithish B wrote:
>>
>> Hi Priyanka,
>> You could have a look at IPVS
>> <https://en.wikipedia.org/wiki/IP_Virtual_Server>. It is part of the
>> linux kernel and load balances at the transport layer.
>>
>>
>> Regards,
>> Nitish B.
>>
>> On Mon, May 16, 2016 at 6:46 PM, Priyanka <ppn...@cse.iitb.ac.in> wrote:
>>
>>> Hi,
>>>
>>>  I have a openstack juno cloud with one controller+neutron node and
>>> three compute nodes. I want to create a load balancer for balancing the
>>> load on a set of VMs of same type. The load to these VMs would come from
>>> VMs on the same subnet and the the communications are using different
>>> protocols i.e. TCP and UDP. I read about HAproxy lbaas and lvs lbaas.
>>> HAproxy is protocol dependent which would not suit for the multiple
>>> protocol scenario and LVS is a plugin on the router which too would not
>>> work. Are there any variation of lbaas to suit this need. Also, can any of
>>> the above (HAproxy or LVS) be modified to suit my need? Please guide me on
>>> this.
>>>
>>> Thanks,
>>>
>>> Priyanka
>>>
>>> ___
>>> Mailing list:
>>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>>> Post to : openstack@lists.openstack.org
>>> Unsubscribe :
>>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>>>
>>
>>
>>
>
>
___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


Re: [Openstack] load balancer as a service for all protocols

2016-05-16 Thread nithish B
Hi Priyanka,
When you say you want to load balance between a set of VMs, will this load
balancer be another VM or should it be a LBaaS. Please let me know.

Regards,
Nitish B.

On Mon, May 16, 2016 at 7:22 PM, Priyanka <ppn...@cse.iitb.ac.in> wrote:

> Hi Nitish,
>
> Thanks for the response. But can this be used for VMs on openstack cloud.
> There is no plugin in openstack for this.
>
> Thanks,
>
> Priyanka
> On Monday 16 May 2016 07:14 PM, nithish B wrote:
>
> Hi Priyanka,
> You could have a look at IPVS
> <https://en.wikipedia.org/wiki/IP_Virtual_Server>. It is part of the
> linux kernel and load balances at the transport layer.
>
>
> Regards,
> Nitish B.
>
> On Mon, May 16, 2016 at 6:46 PM, Priyanka <ppn...@cse.iitb.ac.in> wrote:
>
>> Hi,
>>
>>  I have a openstack juno cloud with one controller+neutron node and three
>> compute nodes. I want to create a load balancer for balancing the load on a
>> set of VMs of same type. The load to these VMs would come from VMs on the
>> same subnet and the the communications are using different protocols i.e.
>> TCP and UDP. I read about HAproxy lbaas and lvs lbaas. HAproxy is protocol
>> dependent which would not suit for the multiple protocol scenario and LVS
>> is a plugin on the router which too would not work. Are there any variation
>> of lbaas to suit this need. Also, can any of the above (HAproxy or LVS) be
>> modified to suit my need? Please guide me on this.
>>
>> Thanks,
>>
>> Priyanka
>>
>> ___
>> Mailing list:
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>> Post to : openstack@lists.openstack.org
>> Unsubscribe :
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>>
>
>
>
___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


Re: [Openstack] load balancer as a service for all protocols

2016-05-16 Thread nithish B
Hi Priyanka,
You could have a look at IPVS
. It is part of the linux
kernel and load balances at the transport layer.


Regards,
Nitish B.

On Mon, May 16, 2016 at 6:46 PM, Priyanka  wrote:

> Hi,
>
>  I have a openstack juno cloud with one controller+neutron node and three
> compute nodes. I want to create a load balancer for balancing the load on a
> set of VMs of same type. The load to these VMs would come from VMs on the
> same subnet and the the communications are using different protocols i.e.
> TCP and UDP. I read about HAproxy lbaas and lvs lbaas. HAproxy is protocol
> dependent which would not suit for the multiple protocol scenario and LVS
> is a plugin on the router which too would not work. Are there any variation
> of lbaas to suit this need. Also, can any of the above (HAproxy or LVS) be
> modified to suit my need? Please guide me on this.
>
> Thanks,
>
> Priyanka
>
> ___
> Mailing list:
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to : openstack@lists.openstack.org
> Unsubscribe :
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>
___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


Re: [Openstack] instance moving to another AZ while doing resize

2015-10-29 Thread nithish B
Hi Kevin,
This generally happens when nova does not find enough system resources to
resize to the new node. Please check the nova-compute logs and let me know.

Thanks.
On Oct 29, 2015 9:36 PM, "kevin parrikar"  wrote:

> Hello All,
>  I have single compute node in AZ1(different server vendor)
> and two compute nodes in AZ2 ,when i try to resize instance in AZ1 it is
> getting restarted in AZ2 with new flavor size which i don't want to happen
> hence  i set "*allow_resize_to_same_host=True*" and "
> *allow_migrate_to_same_host=True*"" on computenode1 which is in AZ1.Now
> resize is not happening after showing Success: Scheduled resize of
> instance "instance2".Scheduler.log shows " Host filter ignoring hosts:
> computenode1" any idea how to make resize to work without restarting in
> another AZ.
>
> resize works fine on AZ with 2 compute nodes but not working
>
> Thanks and Regards,
> Kevin
>
> ___
> Mailing list:
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to : openstack@lists.openstack.org
> Unsubscribe :
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>
>
___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


Re: [openstack-dev] [Openstack] Errors in neutron-server while launching VM

2015-10-16 Thread nithish B
Hi Rahul,
Is the table "networks" available in the DB? Looks like it does not exist
and thus when neutron queries the DB, it returns the error.
Let me know.

Thanks.
Nitish B.

Regards,
Nitish B.

On Fri, Oct 16, 2015 at 3:10 PM, Rahul Arora 
wrote:

> Hi Team.
>
> I am trying to run Openstack KILO release on my Ubuntu 14.04 x86 machine.I
> am able to run all the services.i.e glance,nova.keystone,neutron etc
> successfully.
>
> But when i am trying to launch VM using below command manually.
>
> *nova boot --image 8f6e2973-c048-4445-8c31-38e159c930fc --flavor m1.tiny
> "rahul"*
>
> I am getting below error in *neutron-server *service.
> =
>
>
> 2015-10-06 02:29:53.894 8064 TRACE neutron.api.v2.resource
> self.errorhandler(self, exc, value)
> 2015-10-06 02:29:53.894 8064 TRACE neutron.api.v2.resource   File
> "/usr/lib/python2.7/site-packages/MySQLdb/connections.py", line 36, in
> defaulterrorhandler
> 2015-10-06 02:29:53.894 8064 TRACE neutron.api.v2.resource raise
> errorclass, errorvalue
> 2015-10-06 02:29:53.894 8064 TRACE neutron.api.v2.resource OperationalError:
> (OperationalError) (1054, "Unknown column 'networks.mtu' in 'field list'")
> 'SELECT networks.tenant_id AS networks_tenant_id, networks.id AS
> networks_id, networks.name AS networks_name, networks.status AS
> networks_status, networks.admin_state_up AS networks_admin_state_up,
> networks.shared AS networks_shared, networks.mtu AS networks_mtu,
> networks.vlan_transparent AS networks_vlan_transparent,
> ipallocationpools_1.id AS ipallocationpools_1_id,
> ipallocationpools_1.subnet_id AS ipallocationpools_1_subnet_id,
> ipallocationpools_1.first_ip AS ipallocationpools_1_first_ip,
> ipallocationpools_1.last_ip AS ipallocationpools_1_last_ip,
> dnsnameservers_1.address AS dnsnameservers_1_address,
> dnsnameservers_1.subnet_id AS dnsnameservers_1_subnet_id,
> subnetroutes_1.destination AS subnetroutes_1_destination,
> subnetroutes_1.nexthop AS subnetroutes_1_nexthop, subnetroutes_1.subnet_id
> AS subnetroutes_1_subnet_id, subnets_1.tenant_id AS subnets_1_tenant_id,
> subnets_1.id AS subnets_1_id, subnets_1.name AS subnets_1_name,
> subnets_1.network_id AS subnets_1_network_id, subnets_1.subnetpool_id AS
> subnets_1_subnetpool_id, subnets_1.ip_version AS subnets_1_ip_version,
> subnets_1.cidr AS subnets_1_cidr, subnets_1.gateway_ip AS
> subnets_1_gateway_ip, subnets_1.enable_dhcp AS subnets_1_enable_dhcp,
> subnets_1.shared AS subnets_1_shared, subnets_1.ipv6_ra_mode AS
> subnets_1_ipv6_ra_mode, subnets_1.ipv6_address_mode AS
> subnets_1_ipv6_address_mode, externalnetworks_1.network_id AS
> externalnetworks_1_network_id \nFROM networks LEFT OUTER JOIN
> externalnetworks ON networks.id = externalnetworks.network_id LEFT OUTER
> JOIN subnets AS subnets_1 ON networks.id = subnets_1.network_id LEFT
> OUTER JOIN ipallocationpools AS ipallocationpools_1 ON subnets_1.id =
> ipallocationpools_1.subnet_id LEFT OUTER JOIN dnsnameservers AS
> dnsnameservers_1 ON subnets_1.id = dnsnameservers_1.subnet_id LEFT OUTER
> JOIN subnetroutes AS subnetroutes_1 ON subnets_1.id =
> subnetroutes_1.subnet_id LEFT OUTER JOIN externalnetworks AS
> externalnetworks_1 ON networks.id = externalnetworks_1.network_id \nWHERE
> networks.tenant_id IN (%s) AND networks.shared IN (%s)'
> ('75ee0e2b66e04287920904eb40351f57', 0)
> 2015-10-06 02:29:53.894 8064 TRACE neutron.api.v2.resource
>
> NOTE: I am using ml2 plugins to run  the neutron-server service.
>
> Please help me solving this issue.
>
> Thanks for the help.
>
>
> --
>
> Regards
>
>
> Rahul Arora
>
> ___
> Mailing list:
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to : openst...@lists.openstack.org
> Unsubscribe :
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>
>
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [Openstack] Errors in neutron-server while launching VM

2015-10-16 Thread nithish B
Hi Rahul,
Is the table "networks" available in the DB? Looks like it does not exist
and thus when neutron queries the DB, it returns the error.
Let me know.

Thanks.
Nitish B.

Regards,
Nitish B.

On Fri, Oct 16, 2015 at 3:10 PM, Rahul Arora 
wrote:

> Hi Team.
>
> I am trying to run Openstack KILO release on my Ubuntu 14.04 x86 machine.I
> am able to run all the services.i.e glance,nova.keystone,neutron etc
> successfully.
>
> But when i am trying to launch VM using below command manually.
>
> *nova boot --image 8f6e2973-c048-4445-8c31-38e159c930fc --flavor m1.tiny
> "rahul"*
>
> I am getting below error in *neutron-server *service.
> =
>
>
> 2015-10-06 02:29:53.894 8064 TRACE neutron.api.v2.resource
> self.errorhandler(self, exc, value)
> 2015-10-06 02:29:53.894 8064 TRACE neutron.api.v2.resource   File
> "/usr/lib/python2.7/site-packages/MySQLdb/connections.py", line 36, in
> defaulterrorhandler
> 2015-10-06 02:29:53.894 8064 TRACE neutron.api.v2.resource raise
> errorclass, errorvalue
> 2015-10-06 02:29:53.894 8064 TRACE neutron.api.v2.resource OperationalError:
> (OperationalError) (1054, "Unknown column 'networks.mtu' in 'field list'")
> 'SELECT networks.tenant_id AS networks_tenant_id, networks.id AS
> networks_id, networks.name AS networks_name, networks.status AS
> networks_status, networks.admin_state_up AS networks_admin_state_up,
> networks.shared AS networks_shared, networks.mtu AS networks_mtu,
> networks.vlan_transparent AS networks_vlan_transparent,
> ipallocationpools_1.id AS ipallocationpools_1_id,
> ipallocationpools_1.subnet_id AS ipallocationpools_1_subnet_id,
> ipallocationpools_1.first_ip AS ipallocationpools_1_first_ip,
> ipallocationpools_1.last_ip AS ipallocationpools_1_last_ip,
> dnsnameservers_1.address AS dnsnameservers_1_address,
> dnsnameservers_1.subnet_id AS dnsnameservers_1_subnet_id,
> subnetroutes_1.destination AS subnetroutes_1_destination,
> subnetroutes_1.nexthop AS subnetroutes_1_nexthop, subnetroutes_1.subnet_id
> AS subnetroutes_1_subnet_id, subnets_1.tenant_id AS subnets_1_tenant_id,
> subnets_1.id AS subnets_1_id, subnets_1.name AS subnets_1_name,
> subnets_1.network_id AS subnets_1_network_id, subnets_1.subnetpool_id AS
> subnets_1_subnetpool_id, subnets_1.ip_version AS subnets_1_ip_version,
> subnets_1.cidr AS subnets_1_cidr, subnets_1.gateway_ip AS
> subnets_1_gateway_ip, subnets_1.enable_dhcp AS subnets_1_enable_dhcp,
> subnets_1.shared AS subnets_1_shared, subnets_1.ipv6_ra_mode AS
> subnets_1_ipv6_ra_mode, subnets_1.ipv6_address_mode AS
> subnets_1_ipv6_address_mode, externalnetworks_1.network_id AS
> externalnetworks_1_network_id \nFROM networks LEFT OUTER JOIN
> externalnetworks ON networks.id = externalnetworks.network_id LEFT OUTER
> JOIN subnets AS subnets_1 ON networks.id = subnets_1.network_id LEFT
> OUTER JOIN ipallocationpools AS ipallocationpools_1 ON subnets_1.id =
> ipallocationpools_1.subnet_id LEFT OUTER JOIN dnsnameservers AS
> dnsnameservers_1 ON subnets_1.id = dnsnameservers_1.subnet_id LEFT OUTER
> JOIN subnetroutes AS subnetroutes_1 ON subnets_1.id =
> subnetroutes_1.subnet_id LEFT OUTER JOIN externalnetworks AS
> externalnetworks_1 ON networks.id = externalnetworks_1.network_id \nWHERE
> networks.tenant_id IN (%s) AND networks.shared IN (%s)'
> ('75ee0e2b66e04287920904eb40351f57', 0)
> 2015-10-06 02:29:53.894 8064 TRACE neutron.api.v2.resource
>
> NOTE: I am using ml2 plugins to run  the neutron-server service.
>
> Please help me solving this issue.
>
> Thanks for the help.
>
>
> --
>
> Regards
>
>
> Rahul Arora
>
> ___
> Mailing list:
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to : openstack@lists.openstack.org
> Unsubscribe :
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>
>
___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


Re: [Openstack] Errors in neutron-server while launching VM

2015-10-16 Thread nithish B
Rahul,
After "use neutron", try "show tables" in both the machines and let me know
what is the output.

Regards,
Nitish B.

On Fri, Oct 16, 2015 at 8:04 PM, Rahul Arora <rahul1991.ar...@gmail.com>
wrote:

> HI Nitish,
>
> Actually i am running openstack kilo on my powerpc platform now.I am able
> to run it on the x86 successfully.
>
> On the running setup i.e on x86 machine also i am having same output of
> the status command in neutron database,See below.
>
> mysql> use neutron
> Reading table information for completion of table and column names
> You can turn off this feature to get a quicker startup with -A
>
> Database changed
> mysql> status
> --
> mysql  Ver 14.14 Distrib 5.5.44, for debian-linux-gnu (i686) using
> readline 6.3
>
> Connection id:381
> Current database:neutron
> Current user:root@localhost
> SSL:Not in use
> Current pager:stdout
> Using outfile:''
> Using delimiter:;
> Server version:5.5.44-0ubuntu0.14.04.1 (Ubuntu)
> Protocol version:10
> Connection:127.0.0.1 via TCP/IP
> Server characterset:latin1
> Db characterset:utf8
> Client characterset:utf8
> Conn.  characterset:utf8
> TCP port:3306
> Uptime:1 day 3 hours 52 min 27 sec
>
> Threads: 12  Questions: 576409  Slow queries: 0  Opens: 1600  Flush
> tables: 1  Open tables: 374  Queries per second avg: 5.744
>
>
> I am wondering what is the issue in powerpc.So i guess  cause is i am not
>> able to run below command successfully on the powerpc.
>
>
>
>
>> *neutron-db-manage --config-file /etc/neutron/neutron.conf --config-file
>> /etc/neutron/plugins/ml2/ml2_conf.ini upgrade head*
>
>
> But this command is successful in x86 machine.
>
> On powerpc i am getting below error while running it,
>
> raise errorclass, errorvalueegards
> sqlalchemy.exc.OperationalError: (OperationalError) (1005, "Can't create
> table 'neutron.nuage_routerroutes_mapping' (errno: 121)") '\nCREATE TA
> BLE nuage_routerroutes_mapping (\n\tdestination VARCHAR(64) NOT NULL,
> \n\tnexthop VARCHAR(64) NOT NULL, \n\trouter_id VARCHAR(36) NOT NULL, \n\
> tnuage_route_id VARCHAR(36), \n\tPRIMARY KEY (destination, nexthop,
> router_id), \n\tFOREIGN KEY(router_id) REFERENCES routers (id) ON DELETE CA
> SCADE\n)ENGINE=InnoDB\n\n' ()
>
>
> I am not able to solve this.Please help me on this,
>
> ..
>
> Regards
>
> Rahul Arora
>
>
>
>
>
>
>>
>>
>
> On Fri, Oct 16, 2015 at 7:56 PM, nithish B <bestofnith...@gmail.com>
> wrote:
>
>> Rahul,
>> Clearly, neutron didn't create the tables right. You may have to
>> re-install/re-configure neutron.
>>
>> Thanks.
>>
>> Regards,
>> Nitish B.
>>
>> On Fri, Oct 16, 2015 at 7:55 PM, Rahul Arora <rahul1991.ar...@gmail.com>
>> wrote:
>>
>>> Hi Nitish.
>>>
>>> Below is the output of status of neutron database.Yes i am using "use
>>> neutron" before running the command.
>>>
>>> MariaDB [neutron]> status
>>> --
>>> mysql  Ver 15.1 Distrib 5.5.39-MariaDB, for Linux (powerpc) using
>>> readline 5.1
>>>
>>> Connection id:  42
>>> Current database:   neutron
>>> Current user:   root@localhost
>>> SSL:Not in use
>>> Current pager:  stdout
>>> Using outfile:  ''
>>> Using delimiter:;
>>> Server: MariaDB
>>> Server version: 5.5.39-MariaDB Source distribution
>>> Protocol version:   10
>>> Connection: Localhost via UNIX socket
>>> Server characterset:utf8
>>> Db characterset:utf8
>>> Client characterset:latin1
>>> Conn.  characterset:latin1
>>> UNIX socket:/var/lib/mysql/mysql.sock
>>> Uptime: 1 hour 15 min 15 sec
>>>
>>> Threads: 11  Questions: 24713  Slow queries: 5  Opens: 164  F
>>>
>>> On Fri, Oct 16, 2015 at 7:51 PM, nithish B <bestofnith...@gmail.com>
>>> wrote:
>>>
>>>> Rahul,
>>>> Please check the version of MySQL/MariaDB which you are using. For
>>>> quick reference, you can use the following command in mysql: "*SHOW
>>>> VARIABLES LIKE "%version%";"*
>>>>
>>>> Also, before you run "show tables", you need to select the DB to use,
>>>> using "use

Re: [Openstack] Errors in neutron-server while launching VM

2015-10-16 Thread nithish B
Rahul,
Clearly, neutron didn't create the tables right. You may have to
re-install/re-configure neutron.

Thanks.

Regards,
Nitish B.

On Fri, Oct 16, 2015 at 7:55 PM, Rahul Arora <rahul1991.ar...@gmail.com>
wrote:

> Hi Nitish.
>
> Below is the output of status of neutron database.Yes i am using "use
> neutron" before running the command.
>
> MariaDB [neutron]> status
> --
> mysql  Ver 15.1 Distrib 5.5.39-MariaDB, for Linux (powerpc) using readline
> 5.1
>
> Connection id:  42
> Current database:   neutron
> Current user:   root@localhost
> SSL:Not in use
> Current pager:  stdout
> Using outfile:  ''
> Using delimiter:;
> Server: MariaDB
> Server version: 5.5.39-MariaDB Source distribution
> Protocol version:   10
> Connection: Localhost via UNIX socket
> Server characterset:utf8
> Db characterset:utf8
> Client characterset:latin1
> Conn.  characterset:latin1
> UNIX socket:/var/lib/mysql/mysql.sock
> Uptime: 1 hour 15 min 15 sec
>
> Threads: 11  Questions: 24713  Slow queries: 5  Opens: 164  F
>
> On Fri, Oct 16, 2015 at 7:51 PM, nithish B <bestofnith...@gmail.com>
> wrote:
>
>> Rahul,
>> Please check the version of MySQL/MariaDB which you are using. For quick
>> reference, you can use the following command in mysql: "*SHOW VARIABLES
>> LIKE "%version%";"*
>>
>> Also, before you run "show tables", you need to select the DB to use,
>> using "use ".
>>
>> Thanks.
>>
>>
>> Regards,
>> Nitish B.
>>
>> On Fri, Oct 16, 2015 at 6:41 PM, Rahul Arora <rahul1991.ar...@gmail.com>
>> wrote:
>>
>>> Hi Nasir,
>>>
>>> While doing installation/configuration when i was trying to run
>>> neutron-server service.I got following errors.
>>>
>>> 2015-10-05 06:48:12.549 17209 TRACE neutron   File
>>> "/usr/lib/python2.7/site-packages/MySQLdb/connections.py", line 36, in
>>> defaulterrorhandler
>>> 2015-10-05 06:48:12.549 17209 TRACE neutron raise errorclass,
>>> errorvalue
>>> 2015-10-05 06:48:12.549 17209 TRACE neutron ProgrammingError:
>>> (ProgrammingError) (1146, "Table 'neutron.ml2_gre_allocations' doesn't
>>> exist") 'SELECT ml2_gre_allocations.gre_id AS ml2_gre_allocations_gre_id,
>>> ml2_gre_allocations.allocated AS ml2_gre_allocations_allocated \nFROM
>>> ml2_gre_allocations' ()
>>> 2015-10-05 06:48:12.549 17209 TRACE neutron
>>>
>>> To fix this from internet i got one command to upgrade database.Below is
>>> the command i used.
>>>
>>> $ neutron-db-manage --config-file /etc/neutron/neutron.conf
>>> --config-file /etc/neutron/plugins/ml2/ml2_conf.ini upgrade head
>>>
>>> INFO  [alembic.runtime.migration] Context impl MySQLImpl.
>>> INFO  [alembic.runtime.migration] Will assume non-transactional DDL.
>>> INFO  [alembic.runtime.migration] Context impl MySQLImpl.
>>> INFO  [alembic.runtime.migration] Will assume non-transactional DDL.
>>> INFO  [alembic.runtime.migration] Running upgrade  -> havana,
>>> havana_initial
>>> INFO  [alembic.runtime.migration] Running upgrade havana -> e197124d4b9,
>>> add unique constraint to members
>>> /usr/lib/python2.7/site-packages/alembic/util/langhelpers.py:122:
>>> UserWarning: Argument 'name' is now named 'constraint_name' for method
>>> create
>>> _unique_constraint().
>>>   oldname, newname, fn_name
>>> /usr/lib/python2.7/site-packages/alembic/util/langhelpers.py:122:
>>> UserWarning: Argument 'source' is now named 'table_name' for method
>>> create_un
>>> ique_constraint().
>>>   oldname, newname, fn_name
>>> /usr/lib/python2.7/site-packages/alembic/util/langhelpers.py:122:
>>> UserWarning: Argument 'local_cols' is now named 'columns' for method
>>> create_u
>>> nique_constraint().
>>>   oldname, newname, fn_name
>>> INFO  [alembic.runtime.migration] Running upgrade e197124d4b9 ->
>>> 1fcfc149aca4, Add a unique constraint on (agent_type, host) columns to
>>> prevent
>>>  a race
>>> condition when an agent entry is 'upserted'.
>>> INFO  [alembic.runtime.migration] Running upgrade 1fcfc149aca4 ->
>>> 50e86cb2637a, nsx_mappings
>>> INFO  [alembic.runtime.migration] Running upgrade 50e86cb2637a ->
>>> 1421183d533f, NSX DHCP/metad

Re: [openstack-dev] [Openstack] Errors in neutron-server while launching VM

2015-10-16 Thread nithish B
ron/db/migration/alembic_migrations/env.py",
> line 100, in run_migrations_online
> context.run_migrations()
>   File "", line 8, in run_migrations
>   File "/usr/lib/python2.7/site-packages/alembic/runtime/environment.py",
> line 797, in run_migrations
> self.get_context().run_migrations(**kw)
>   File "/usr/lib/python2.7/site-packages/alembic/runtime/migration.py",
> line 312, in run_migrations
> step.migration_fn(**kw)
>   File
> "/usr/lib/python2.7/site-packages/neutron/db/migration/alembic_migrations/versions/1d6ee1ae5da5_db_healing.py",
> line 32, in upgrade
> heal_script.heal()
>   File
> "/usr/lib/python2.7/site-packages/neutron/db/migration/alembic_migrations/heal_script.py",
> line 76, in heal
> execute_alembic_command(el)
>   File
> "/usr/lib/python2.7/site-packages/neutron/db/migration/alembic_migrations/heal_script.py",
> line 88, in execute_alembic_command
> METHODS[command[0]](*command[1:])
>   File
> "/usr/lib/python2.7/site-packages/neutron/db/migration/alembic_migrations/heal_script.py",
> line 173, in add_column
> op.add_column(table_name, column.copy(), schema=schema)
>   File "", line 8, in add_column
>   File "", line 3, in add_column
>   File "/usr/lib/python2.7/site-packages/alembic/operations/ops.py", line
> 1535, in add_column
> return operations.invoke(op)
>   File "/usr/lib/python2.7/site-packages/alembic/operations/base.py", line
> 318, in invoke
> return fn(self, operation)
>   File "/usr/lib/python2.7/site-packages/alembic/operations/toimpl.py",
> line 123, in add_column
> schema=schema
>   File "/usr/lib/python2.7/site-packages/alembic/ddl/impl.py", line 172,
> in add_column
> self._exec(base.AddColumn(table_name, column, schema=schema))
>   File "/usr/lib/python2.7/site-packages/alembic/ddl/impl.py", line 118,
> in _exec
> return conn.execute(construct, *multiparams, **params)
>   File "/usr/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line
> 841, in execute
> return meth(self, multiparams, params)
>   File "/usr/lib/python2.7/site-packages/sqlalchemy/sql/ddl.py", line 69,
> in _execute_on_connection
> return connection._execute_ddl(self, multiparams, params)
>   File "/usr/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line
> 895, in _execute_ddl
> compiled
>   File "/usr/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line
> 1070, in _execute_context
> context)
>   File
> "/usr/lib/python2.7/site-packages/oslo_db/sqlalchemy/compat/handle_error.py",
> line 261, in _handle_dbapi_exception
> e, statement, parameters, cursor, context)
>   File "/usr/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line
> 1267, in _handle_dbapi_exception
> util.raise_from_cause(newraise, exc_info)
>   File "/usr/lib/python2.7/site-packages/sqlalchemy/util/compat.py", line
> 199, in raise_from_cause
> reraise(type(exception), exception, tb=exc_tb)
>   File "/usr/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line
> 1063, in _execute_context
> context)
>   File "/usr/lib/python2.7/site-packages/sqlalchemy/engine/default.py",
> line 442, in do_execute
> cursor.execute(statement, parameters)
>   File "/usr/lib/python2.7/site-packages/MySQLdb/cursors.py", line 201, in
> execute
> self.errorhandler(self, exc, value)
>   File "/usr/lib/python2.7/site-packages/MySQLdb/connections.py", line 36,
> in defaulterrorhandler
> raise errorclass, errorvalue
> oslo_db.exception.DBConnectionError: (OperationalError) (2013, 'Lost
> connection to MySQL server during query') 'ALTER TABLE nuage_routerroutes_
> mapping ADD COLUMN destination VARCHAR(64) NOT NULL' ()
> root@t1040rdb:~#
>  CTRL-A Z for help |115200 8N1 | NOR | Minicom 2.5| VT102 |
> Offline
>
> I got errors after running this command but my error in RED part got
> solved after running this command.
>
> Is this the cause of my error which i mentioned in another email?
>
> Thanks for the help
>
> ..
>
> Regards
>
> Rahul Arora
>
>
>
> On Fri, Oct 16, 2015 at 4:25 PM, Nasir Mahmood <nasir.mahm...@gmail.com>
> wrote:
>
>> Rahul,
>>
>> You may need to re-create neutron DB...this error should never be seen in
>> your logs if your installation/configuration is gone good,
>>
>> On Fri, Oct 16, 2015 at 3:22 PM, nithish B <bestofnith...@gmail.com>
>> wrote:
>>
>>> Hi Rahul,
>>> Is the tab

Re: [Openstack] Errors in neutron-server while launching VM

2015-10-16 Thread nithish B
ron/db/migration/alembic_migrations/env.py",
> line 100, in run_migrations_online
> context.run_migrations()
>   File "", line 8, in run_migrations
>   File "/usr/lib/python2.7/site-packages/alembic/runtime/environment.py",
> line 797, in run_migrations
> self.get_context().run_migrations(**kw)
>   File "/usr/lib/python2.7/site-packages/alembic/runtime/migration.py",
> line 312, in run_migrations
> step.migration_fn(**kw)
>   File
> "/usr/lib/python2.7/site-packages/neutron/db/migration/alembic_migrations/versions/1d6ee1ae5da5_db_healing.py",
> line 32, in upgrade
> heal_script.heal()
>   File
> "/usr/lib/python2.7/site-packages/neutron/db/migration/alembic_migrations/heal_script.py",
> line 76, in heal
> execute_alembic_command(el)
>   File
> "/usr/lib/python2.7/site-packages/neutron/db/migration/alembic_migrations/heal_script.py",
> line 88, in execute_alembic_command
> METHODS[command[0]](*command[1:])
>   File
> "/usr/lib/python2.7/site-packages/neutron/db/migration/alembic_migrations/heal_script.py",
> line 173, in add_column
> op.add_column(table_name, column.copy(), schema=schema)
>   File "", line 8, in add_column
>   File "", line 3, in add_column
>   File "/usr/lib/python2.7/site-packages/alembic/operations/ops.py", line
> 1535, in add_column
> return operations.invoke(op)
>   File "/usr/lib/python2.7/site-packages/alembic/operations/base.py", line
> 318, in invoke
> return fn(self, operation)
>   File "/usr/lib/python2.7/site-packages/alembic/operations/toimpl.py",
> line 123, in add_column
> schema=schema
>   File "/usr/lib/python2.7/site-packages/alembic/ddl/impl.py", line 172,
> in add_column
> self._exec(base.AddColumn(table_name, column, schema=schema))
>   File "/usr/lib/python2.7/site-packages/alembic/ddl/impl.py", line 118,
> in _exec
> return conn.execute(construct, *multiparams, **params)
>   File "/usr/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line
> 841, in execute
> return meth(self, multiparams, params)
>   File "/usr/lib/python2.7/site-packages/sqlalchemy/sql/ddl.py", line 69,
> in _execute_on_connection
> return connection._execute_ddl(self, multiparams, params)
>   File "/usr/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line
> 895, in _execute_ddl
> compiled
>   File "/usr/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line
> 1070, in _execute_context
> context)
>   File
> "/usr/lib/python2.7/site-packages/oslo_db/sqlalchemy/compat/handle_error.py",
> line 261, in _handle_dbapi_exception
> e, statement, parameters, cursor, context)
>   File "/usr/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line
> 1267, in _handle_dbapi_exception
> util.raise_from_cause(newraise, exc_info)
>   File "/usr/lib/python2.7/site-packages/sqlalchemy/util/compat.py", line
> 199, in raise_from_cause
> reraise(type(exception), exception, tb=exc_tb)
>   File "/usr/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line
> 1063, in _execute_context
> context)
>   File "/usr/lib/python2.7/site-packages/sqlalchemy/engine/default.py",
> line 442, in do_execute
> cursor.execute(statement, parameters)
>   File "/usr/lib/python2.7/site-packages/MySQLdb/cursors.py", line 201, in
> execute
> self.errorhandler(self, exc, value)
>   File "/usr/lib/python2.7/site-packages/MySQLdb/connections.py", line 36,
> in defaulterrorhandler
> raise errorclass, errorvalue
> oslo_db.exception.DBConnectionError: (OperationalError) (2013, 'Lost
> connection to MySQL server during query') 'ALTER TABLE nuage_routerroutes_
> mapping ADD COLUMN destination VARCHAR(64) NOT NULL' ()
> root@t1040rdb:~#
>  CTRL-A Z for help |115200 8N1 | NOR | Minicom 2.5| VT102 |
> Offline
>
> I got errors after running this command but my error in RED part got
> solved after running this command.
>
> Is this the cause of my error which i mentioned in another email?
>
> Thanks for the help
>
> ..
>
> Regards
>
> Rahul Arora
>
>
>
> On Fri, Oct 16, 2015 at 4:25 PM, Nasir Mahmood <nasir.mahm...@gmail.com>
> wrote:
>
>> Rahul,
>>
>> You may need to re-create neutron DB...this error should never be seen in
>> your logs if your installation/configuration is gone good,
>>
>> On Fri, Oct 16, 2015 at 3:22 PM, nithish B <bestofnith...@gmail.com>
>> wrote:
>>
>>> Hi Rahul,
>>> Is the tab

Re: [openstack-dev] [Openstack] Errors in neutron-server while launching VM

2015-10-16 Thread nithish B
Rahul,
After "use neutron", try "show tables" in both the machines and let me know
what is the output.

Regards,
Nitish B.

On Fri, Oct 16, 2015 at 8:04 PM, Rahul Arora <rahul1991.ar...@gmail.com>
wrote:

> HI Nitish,
>
> Actually i am running openstack kilo on my powerpc platform now.I am able
> to run it on the x86 successfully.
>
> On the running setup i.e on x86 machine also i am having same output of
> the status command in neutron database,See below.
>
> mysql> use neutron
> Reading table information for completion of table and column names
> You can turn off this feature to get a quicker startup with -A
>
> Database changed
> mysql> status
> --
> mysql  Ver 14.14 Distrib 5.5.44, for debian-linux-gnu (i686) using
> readline 6.3
>
> Connection id:381
> Current database:neutron
> Current user:root@localhost
> SSL:Not in use
> Current pager:stdout
> Using outfile:''
> Using delimiter:;
> Server version:5.5.44-0ubuntu0.14.04.1 (Ubuntu)
> Protocol version:10
> Connection:127.0.0.1 via TCP/IP
> Server characterset:latin1
> Db characterset:utf8
> Client characterset:utf8
> Conn.  characterset:utf8
> TCP port:3306
> Uptime:1 day 3 hours 52 min 27 sec
>
> Threads: 12  Questions: 576409  Slow queries: 0  Opens: 1600  Flush
> tables: 1  Open tables: 374  Queries per second avg: 5.744
>
>
> I am wondering what is the issue in powerpc.So i guess  cause is i am not
>> able to run below command successfully on the powerpc.
>
>
>
>
>> *neutron-db-manage --config-file /etc/neutron/neutron.conf --config-file
>> /etc/neutron/plugins/ml2/ml2_conf.ini upgrade head*
>
>
> But this command is successful in x86 machine.
>
> On powerpc i am getting below error while running it,
>
> raise errorclass, errorvalueegards
> sqlalchemy.exc.OperationalError: (OperationalError) (1005, "Can't create
> table 'neutron.nuage_routerroutes_mapping' (errno: 121)") '\nCREATE TA
> BLE nuage_routerroutes_mapping (\n\tdestination VARCHAR(64) NOT NULL,
> \n\tnexthop VARCHAR(64) NOT NULL, \n\trouter_id VARCHAR(36) NOT NULL, \n\
> tnuage_route_id VARCHAR(36), \n\tPRIMARY KEY (destination, nexthop,
> router_id), \n\tFOREIGN KEY(router_id) REFERENCES routers (id) ON DELETE CA
> SCADE\n)ENGINE=InnoDB\n\n' ()
>
>
> I am not able to solve this.Please help me on this,
>
> ..
>
> Regards
>
> Rahul Arora
>
>
>
>
>
>
>>
>>
>
> On Fri, Oct 16, 2015 at 7:56 PM, nithish B <bestofnith...@gmail.com>
> wrote:
>
>> Rahul,
>> Clearly, neutron didn't create the tables right. You may have to
>> re-install/re-configure neutron.
>>
>> Thanks.
>>
>> Regards,
>> Nitish B.
>>
>> On Fri, Oct 16, 2015 at 7:55 PM, Rahul Arora <rahul1991.ar...@gmail.com>
>> wrote:
>>
>>> Hi Nitish.
>>>
>>> Below is the output of status of neutron database.Yes i am using "use
>>> neutron" before running the command.
>>>
>>> MariaDB [neutron]> status
>>> --
>>> mysql  Ver 15.1 Distrib 5.5.39-MariaDB, for Linux (powerpc) using
>>> readline 5.1
>>>
>>> Connection id:  42
>>> Current database:   neutron
>>> Current user:   root@localhost
>>> SSL:Not in use
>>> Current pager:  stdout
>>> Using outfile:  ''
>>> Using delimiter:;
>>> Server: MariaDB
>>> Server version: 5.5.39-MariaDB Source distribution
>>> Protocol version:   10
>>> Connection: Localhost via UNIX socket
>>> Server characterset:utf8
>>> Db characterset:utf8
>>> Client characterset:latin1
>>> Conn.  characterset:latin1
>>> UNIX socket:/var/lib/mysql/mysql.sock
>>> Uptime: 1 hour 15 min 15 sec
>>>
>>> Threads: 11  Questions: 24713  Slow queries: 5  Opens: 164  F
>>>
>>> On Fri, Oct 16, 2015 at 7:51 PM, nithish B <bestofnith...@gmail.com>
>>> wrote:
>>>
>>>> Rahul,
>>>> Please check the version of MySQL/MariaDB which you are using. For
>>>> quick reference, you can use the following command in mysql: "*SHOW
>>>> VARIABLES LIKE "%version%";"*
>>>>
>>>> Also, before you run "show tables", you need to select the DB to use,
>>>> using "use

Re: [openstack-dev] [Openstack] Errors in neutron-server while launching VM

2015-10-16 Thread nithish B
Rahul,
Clearly, neutron didn't create the tables right. You may have to
re-install/re-configure neutron.

Thanks.

Regards,
Nitish B.

On Fri, Oct 16, 2015 at 7:55 PM, Rahul Arora <rahul1991.ar...@gmail.com>
wrote:

> Hi Nitish.
>
> Below is the output of status of neutron database.Yes i am using "use
> neutron" before running the command.
>
> MariaDB [neutron]> status
> --
> mysql  Ver 15.1 Distrib 5.5.39-MariaDB, for Linux (powerpc) using readline
> 5.1
>
> Connection id:  42
> Current database:   neutron
> Current user:   root@localhost
> SSL:Not in use
> Current pager:  stdout
> Using outfile:  ''
> Using delimiter:;
> Server: MariaDB
> Server version: 5.5.39-MariaDB Source distribution
> Protocol version:   10
> Connection: Localhost via UNIX socket
> Server characterset:utf8
> Db characterset:utf8
> Client characterset:latin1
> Conn.  characterset:latin1
> UNIX socket:/var/lib/mysql/mysql.sock
> Uptime: 1 hour 15 min 15 sec
>
> Threads: 11  Questions: 24713  Slow queries: 5  Opens: 164  F
>
> On Fri, Oct 16, 2015 at 7:51 PM, nithish B <bestofnith...@gmail.com>
> wrote:
>
>> Rahul,
>> Please check the version of MySQL/MariaDB which you are using. For quick
>> reference, you can use the following command in mysql: "*SHOW VARIABLES
>> LIKE "%version%";"*
>>
>> Also, before you run "show tables", you need to select the DB to use,
>> using "use ".
>>
>> Thanks.
>>
>>
>> Regards,
>> Nitish B.
>>
>> On Fri, Oct 16, 2015 at 6:41 PM, Rahul Arora <rahul1991.ar...@gmail.com>
>> wrote:
>>
>>> Hi Nasir,
>>>
>>> While doing installation/configuration when i was trying to run
>>> neutron-server service.I got following errors.
>>>
>>> 2015-10-05 06:48:12.549 17209 TRACE neutron   File
>>> "/usr/lib/python2.7/site-packages/MySQLdb/connections.py", line 36, in
>>> defaulterrorhandler
>>> 2015-10-05 06:48:12.549 17209 TRACE neutron raise errorclass,
>>> errorvalue
>>> 2015-10-05 06:48:12.549 17209 TRACE neutron ProgrammingError:
>>> (ProgrammingError) (1146, "Table 'neutron.ml2_gre_allocations' doesn't
>>> exist") 'SELECT ml2_gre_allocations.gre_id AS ml2_gre_allocations_gre_id,
>>> ml2_gre_allocations.allocated AS ml2_gre_allocations_allocated \nFROM
>>> ml2_gre_allocations' ()
>>> 2015-10-05 06:48:12.549 17209 TRACE neutron
>>>
>>> To fix this from internet i got one command to upgrade database.Below is
>>> the command i used.
>>>
>>> $ neutron-db-manage --config-file /etc/neutron/neutron.conf
>>> --config-file /etc/neutron/plugins/ml2/ml2_conf.ini upgrade head
>>>
>>> INFO  [alembic.runtime.migration] Context impl MySQLImpl.
>>> INFO  [alembic.runtime.migration] Will assume non-transactional DDL.
>>> INFO  [alembic.runtime.migration] Context impl MySQLImpl.
>>> INFO  [alembic.runtime.migration] Will assume non-transactional DDL.
>>> INFO  [alembic.runtime.migration] Running upgrade  -> havana,
>>> havana_initial
>>> INFO  [alembic.runtime.migration] Running upgrade havana -> e197124d4b9,
>>> add unique constraint to members
>>> /usr/lib/python2.7/site-packages/alembic/util/langhelpers.py:122:
>>> UserWarning: Argument 'name' is now named 'constraint_name' for method
>>> create
>>> _unique_constraint().
>>>   oldname, newname, fn_name
>>> /usr/lib/python2.7/site-packages/alembic/util/langhelpers.py:122:
>>> UserWarning: Argument 'source' is now named 'table_name' for method
>>> create_un
>>> ique_constraint().
>>>   oldname, newname, fn_name
>>> /usr/lib/python2.7/site-packages/alembic/util/langhelpers.py:122:
>>> UserWarning: Argument 'local_cols' is now named 'columns' for method
>>> create_u
>>> nique_constraint().
>>>   oldname, newname, fn_name
>>> INFO  [alembic.runtime.migration] Running upgrade e197124d4b9 ->
>>> 1fcfc149aca4, Add a unique constraint on (agent_type, host) columns to
>>> prevent
>>>  a race
>>> condition when an agent entry is 'upserted'.
>>> INFO  [alembic.runtime.migration] Running upgrade 1fcfc149aca4 ->
>>> 50e86cb2637a, nsx_mappings
>>> INFO  [alembic.runtime.migration] Running upgrade 50e86cb2637a ->
>>> 1421183d533f, NSX DHCP/metad

Re: [openstack-dev] [Openstack] Errors in neutron-server while launching VM

2015-10-16 Thread nithish B
Luke,
I think there is no issues with the DB installation part since Rahul claims
that other services are working fine and neutron is working independently.


Regards,
Nitish B.

On Fri, Oct 16, 2015 at 8:47 PM, Hinds, Luke (Nokia - GB/Bristol) <
luke.hi...@nokia.com> wrote:

> On Fri, 2015-10-16 at 20:04 +0530, EXT Rahul Arora wrote:
>
> HI Nitish,
>
> Actually i am running openstack kilo on my powerpc platform now.I am able
> to run it on the x86 successfully.
>
> On the running setup i.e on x86 machine also i am having same output of
> the status command in neutron database,See below.
>
> mysql> use neutron
> Reading table information for completion of table and column names
> You can turn off this feature to get a quicker startup with -A
>
> Database changed
> mysql> status
> --
> mysql  Ver 14.14 Distrib 5.5.44, for debian-linux-gnu (i686) using
> readline 6.3
>
> Connection id:381
> Current database:neutron
> Current user:root@localhost
> SSL:Not in use
> Current pager:stdout
> Using outfile:''
> Using delimiter:;
> Server version:5.5.44-0ubuntu0.14.04.1 (Ubuntu)
> Protocol version:10
> Connection:127.0.0.1 via TCP/IP
> Server characterset:latin1
> Db characterset:utf8
> Client characterset:utf8
> Conn.  characterset:utf8
> TCP port:3306
> Uptime:1 day 3 hours 52 min 27 sec
>
> Threads: 12  Questions: 576409  Slow queries: 0  Opens: 1600  Flush
> tables: 1  Open tables: 374  Queries per second avg: 5.744
>
>
> I am wondering what is the issue in powerpc.So i guess  cause is i am not
> able to run below command successfully on the powerpc.
>
>
>
>
> *neutron-db-manage --config-file /etc/neutron/neutron.conf --config-file
> /etc/neutron/plugins/ml2/ml2_conf.ini upgrade head*
>
>
> But this command is successful in x86 machine.
>
> On powerpc i am getting below error while running it,
>
> raise errorclass, errorvalueegards
> sqlalchemy.exc.OperationalError: (OperationalError) (1005, "Can't create
> table 'neutron.nuage_routerroutes_mapping' (errno: 121)") '\nCREATE TA
> BLE nuage_routerroutes_mapping (\n\tdestination VARCHAR(64) NOT NULL,
> \n\tnexthop VARCHAR(64) NOT NULL, \n\trouter_id VARCHAR(36) NOT NULL, \n\
> tnuage_route_id VARCHAR(36), \n\tPRIMARY KEY (destination, nexthop,
> router_id), \n\tFOREIGN KEY(router_id) REFERENCES routers (id) ON DELETE CA
> SCADE\n)ENGINE=InnoDB\n\n' ()
>
>
> I am not able to solve this.Please help me on this,
>
> ..
>
> Regards
>
> Rahul Arora
>
>
> How are you installing juno? Is it a packaged version (devstack  / ansible
> etc) or manually? It might be that you have MariaDB compiled for x86 on
> there (different instruction sets).
>
>
>
> On Fri, Oct 16, 2015 at 7:56 PM, nithish B <bestofnith...@gmail.com>
> wrote:
>
> Rahul,
> Clearly, neutron didn't create the tables right. You may have to
> re-install/re-configure neutron.
>
> Thanks.
>
> Regards,
> Nitish B.
>
> On Fri, Oct 16, 2015 at 7:55 PM, Rahul Arora <rahul1991.ar...@gmail.com>
> wrote:
>
> Hi Nitish.
>
> Below is the output of status of neutron database.Yes i am using "use
> neutron" before running the command.
>
> MariaDB [neutron]> status
> --
> mysql  Ver 15.1 Distrib 5.5.39-MariaDB, for Linux (powerpc) using readline
> 5.1
>
> Connection id:  42
> Current database:   neutron
> Current user:   root@localhost
> SSL:Not in use
> Current pager:  stdout
> Using outfile:  ''
> Using delimiter:;
> Server: MariaDB
> Server version: 5.5.39-MariaDB Source distribution
> Protocol version:   10
> Connection: Localhost via UNIX socket
> Server characterset:utf8
> Db characterset:utf8
> Client characterset:latin1
> Conn.  characterset:latin1
> UNIX socket:/var/lib/mysql/mysql.sock
> Uptime: 1 hour 15 min 15 sec
>
> Threads: 11  Questions: 24713  Slow queries: 5  Opens: 164  F
>
> On Fri, Oct 16, 2015 at 7:51 PM, nithish B <bestofnith...@gmail.com>
> wrote:
>
> Rahul,
> Please check the version of MySQL/MariaDB which you are using. For quick
> reference, you can use the following command in mysql: "*SHOW VARIABLES
> LIKE "%version%";"*
>
> Also, before you run "show tables", you need to select the DB to use,
> using "use ".
>
> Thanks.
>
>
> Regards,
> Nitish B.
>
> On Fri, Oct 16, 2015 at 6:41 PM, Rahul Arora <

Re: [Openstack] [openstack-dev] Errors in neutron-server while launching VM

2015-10-16 Thread nithish B
Luke,
I think there is no issues with the DB installation part since Rahul claims
that other services are working fine and neutron is working independently.


Regards,
Nitish B.

On Fri, Oct 16, 2015 at 8:47 PM, Hinds, Luke (Nokia - GB/Bristol) <
luke.hi...@nokia.com> wrote:

> On Fri, 2015-10-16 at 20:04 +0530, EXT Rahul Arora wrote:
>
> HI Nitish,
>
> Actually i am running openstack kilo on my powerpc platform now.I am able
> to run it on the x86 successfully.
>
> On the running setup i.e on x86 machine also i am having same output of
> the status command in neutron database,See below.
>
> mysql> use neutron
> Reading table information for completion of table and column names
> You can turn off this feature to get a quicker startup with -A
>
> Database changed
> mysql> status
> --
> mysql  Ver 14.14 Distrib 5.5.44, for debian-linux-gnu (i686) using
> readline 6.3
>
> Connection id:381
> Current database:neutron
> Current user:root@localhost
> SSL:Not in use
> Current pager:stdout
> Using outfile:''
> Using delimiter:;
> Server version:5.5.44-0ubuntu0.14.04.1 (Ubuntu)
> Protocol version:10
> Connection:127.0.0.1 via TCP/IP
> Server characterset:latin1
> Db characterset:utf8
> Client characterset:utf8
> Conn.  characterset:utf8
> TCP port:3306
> Uptime:1 day 3 hours 52 min 27 sec
>
> Threads: 12  Questions: 576409  Slow queries: 0  Opens: 1600  Flush
> tables: 1  Open tables: 374  Queries per second avg: 5.744
>
>
> I am wondering what is the issue in powerpc.So i guess  cause is i am not
> able to run below command successfully on the powerpc.
>
>
>
>
> *neutron-db-manage --config-file /etc/neutron/neutron.conf --config-file
> /etc/neutron/plugins/ml2/ml2_conf.ini upgrade head*
>
>
> But this command is successful in x86 machine.
>
> On powerpc i am getting below error while running it,
>
> raise errorclass, errorvalueegards
> sqlalchemy.exc.OperationalError: (OperationalError) (1005, "Can't create
> table 'neutron.nuage_routerroutes_mapping' (errno: 121)") '\nCREATE TA
> BLE nuage_routerroutes_mapping (\n\tdestination VARCHAR(64) NOT NULL,
> \n\tnexthop VARCHAR(64) NOT NULL, \n\trouter_id VARCHAR(36) NOT NULL, \n\
> tnuage_route_id VARCHAR(36), \n\tPRIMARY KEY (destination, nexthop,
> router_id), \n\tFOREIGN KEY(router_id) REFERENCES routers (id) ON DELETE CA
> SCADE\n)ENGINE=InnoDB\n\n' ()
>
>
> I am not able to solve this.Please help me on this,
>
> ..
>
> Regards
>
> Rahul Arora
>
>
> How are you installing juno? Is it a packaged version (devstack  / ansible
> etc) or manually? It might be that you have MariaDB compiled for x86 on
> there (different instruction sets).
>
>
>
> On Fri, Oct 16, 2015 at 7:56 PM, nithish B <bestofnith...@gmail.com>
> wrote:
>
> Rahul,
> Clearly, neutron didn't create the tables right. You may have to
> re-install/re-configure neutron.
>
> Thanks.
>
> Regards,
> Nitish B.
>
> On Fri, Oct 16, 2015 at 7:55 PM, Rahul Arora <rahul1991.ar...@gmail.com>
> wrote:
>
> Hi Nitish.
>
> Below is the output of status of neutron database.Yes i am using "use
> neutron" before running the command.
>
> MariaDB [neutron]> status
> --
> mysql  Ver 15.1 Distrib 5.5.39-MariaDB, for Linux (powerpc) using readline
> 5.1
>
> Connection id:  42
> Current database:   neutron
> Current user:   root@localhost
> SSL:Not in use
> Current pager:  stdout
> Using outfile:  ''
> Using delimiter:;
> Server: MariaDB
> Server version: 5.5.39-MariaDB Source distribution
> Protocol version:   10
> Connection: Localhost via UNIX socket
> Server characterset:utf8
> Db characterset:utf8
> Client characterset:latin1
> Conn.  characterset:latin1
> UNIX socket:/var/lib/mysql/mysql.sock
> Uptime: 1 hour 15 min 15 sec
>
> Threads: 11  Questions: 24713  Slow queries: 5  Opens: 164  F
>
> On Fri, Oct 16, 2015 at 7:51 PM, nithish B <bestofnith...@gmail.com>
> wrote:
>
> Rahul,
> Please check the version of MySQL/MariaDB which you are using. For quick
> reference, you can use the following command in mysql: "*SHOW VARIABLES
> LIKE "%version%";"*
>
> Also, before you run "show tables", you need to select the DB to use,
> using "use ".
>
> Thanks.
>
>
> Regards,
> Nitish B.
>
> On Fri, Oct 16, 2015 at 6:41 PM, Rahul Arora <

Re: [Openstack] (no subject)

2015-10-09 Thread nithish B
Hi Ayushi,
The below link should answer your question:

https://ask.openstack.org/en/question/25815/can-i-build-a-vm-in-swift-object-storage/

Regards,
Nitish B.

On Fri, Oct 9, 2015 at 12:59 AM, Ayushi Kumar 
wrote:

> Hi,
>
> why cant we use object storage for launching a vm. Please help .
>
>
> Regards
> Ayushi
>
> ___
> Mailing list:
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to : openstack@lists.openstack.org
> Unsubscribe :
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>
>
___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


Re: [Openstack] Unable to attach Cinder storage node on Ubuntu 14.04

2015-10-05 Thread nithish B
Then as the log says, "it's a code issue". Please create a bug report on
launchpad for the same.

Thanks.

Regards,
Nitish B.

On Mon, Oct 5, 2015 at 10:29 AM, Shashank Puntamkar <spuntam...@gmail.com>
wrote:

> Hi Nitish , Thanks for your response.
> There is no database in Cinder Storage node, however there is database
>  named as  "cinder" with 21 tables at Controller node.   Regards..
>
> On 10/5/15, nithish B <bestofnith...@gmail.com> wrote:
> > Hi Shashank,
> > Can you please check if any DB entries for cinder is created at all. It
> > might be that the cinder is unable to connect to DB or read from it
> > otherwise. Let me know if this is working first. Then we can check the
> > other possibilities.
> >
> > Thanks.
> >
> > Regards,
> > Nitish B.
> >
> > On Mon, Oct 5, 2015 at 9:53 AM, Shashank Puntamkar <spuntam...@gmail.com
> >
> > wrote:
> >
> >> I am facing a problem while configuring Openstack Juno Cinder storage
> >> node on Ubuntu 14.04 (DISTRIB_CODENAME=trusty
> >> DISTRIB_DESCRIPTION="Ubuntu 14.04.3 LTS" ) .
> >>
> >> On Controller node I am not able to see Cinder-Volume list when I run
> >> command "cinder service-list". It is only showing cinder-scheduler
> >> service.
> >>
> >> On further debugging of error , I checked
> >> /var/log/cinder/cinder-volume.log file on storage node. I noticed the
> >> following in the Log file
> >>
> >>
> >>
> ---
> >> 2015-10-03 12:22:26.585 1138 TRACE cinder ProgrammingError:
> >> (ProgrammingError) (1146, "Table 'cinder.volume_attachment' doesn't
> >> exist") 'SELECT anon_1.volumes_created_at AS
> >> anon_1_volumes_created_at, anon_1.volumes_updated_at AS
> >> anon_1_volumes_updated_at, anon_1.volumes_deleted_at AS
> >> anon_1_volumes_deleted_at, anon_1.volumes_id AS anon_1_volumes_id,
> >> anon_1.volumes__name_id AS anon_1_volumes__name_id,
> >> anon_1.volumes_ec2_id AS anon_1_volumes_ec2_id, anon_1.volumes_user_id
> >> AS anon_1_volumes_user_id, anon_1.volumes_project_id AS
> >> anon_1_volumes_project_id, : : : . .
> >>
> >>
> >>
> .--
> >> why this Table 'cinder.volume_attachment' doesn't exist error message
> >> in log file?
> >> In fact, I followed all the steps as mentioned in openstack Juno
> >> installation guide. I checked Firewall , checked NTP , but no clue.
> >> Can anyone suggest the solution? Thanks in advance
> >>
> >> ___
> >> Mailing list:
> >> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> >> Post to : openstack@lists.openstack.org
> >> Unsubscribe :
> >> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> >>
> >
>
___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


Re: [Openstack] Unable to attach Cinder storage node on Ubuntu 14.04

2015-10-04 Thread nithish B
Hi Shashank,
Can you please check if any DB entries for cinder is created at all. It
might be that the cinder is unable to connect to DB or read from it
otherwise. Let me know if this is working first. Then we can check the
other possibilities.

Thanks.

Regards,
Nitish B.

On Mon, Oct 5, 2015 at 9:53 AM, Shashank Puntamkar 
wrote:

> I am facing a problem while configuring Openstack Juno Cinder storage
> node on Ubuntu 14.04 (DISTRIB_CODENAME=trusty
> DISTRIB_DESCRIPTION="Ubuntu 14.04.3 LTS" ) .
>
> On Controller node I am not able to see Cinder-Volume list when I run
> command "cinder service-list". It is only showing cinder-scheduler
> service.
>
> On further debugging of error , I checked
> /var/log/cinder/cinder-volume.log file on storage node. I noticed the
> following in the Log file
>
>
> ---
> 2015-10-03 12:22:26.585 1138 TRACE cinder ProgrammingError:
> (ProgrammingError) (1146, "Table 'cinder.volume_attachment' doesn't
> exist") 'SELECT anon_1.volumes_created_at AS
> anon_1_volumes_created_at, anon_1.volumes_updated_at AS
> anon_1_volumes_updated_at, anon_1.volumes_deleted_at AS
> anon_1_volumes_deleted_at, anon_1.volumes_id AS anon_1_volumes_id,
> anon_1.volumes__name_id AS anon_1_volumes__name_id,
> anon_1.volumes_ec2_id AS anon_1_volumes_ec2_id, anon_1.volumes_user_id
> AS anon_1_volumes_user_id, anon_1.volumes_project_id AS
> anon_1_volumes_project_id, : : : . .
>
>
> .--
> why this Table 'cinder.volume_attachment' doesn't exist error message
> in log file?
> In fact, I followed all the steps as mentioned in openstack Juno
> installation guide. I checked Firewall , checked NTP , but no clue.
> Can anyone suggest the solution? Thanks in advance
>
> ___
> Mailing list:
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to : openstack@lists.openstack.org
> Unsubscribe :
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>
___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


Re: [Openstack] External network Issues

2015-08-04 Thread nithish B
Hi,
   Is IP Forwarding enabled on your host?

Regards,
Nitish B.

On Tue, Aug 4, 2015 at 7:15 PM, Dhvanan Shah dhva...@gmail.com wrote:

 Hi,

 I have deployed Kilo using Packstack on CentOS , but I am having troubles
 accessing the VM's that I spawn , through the public IP's that they are
 assigned to them.

 I created my network as follows:

 CREATE NETWORK FOR OPENSTACK

1.

a. neutron router-gateway-clear router1 (neutron router-gateway-list)
b. neutron subnet-delete public_subnet
c. neutron net-delete public
d. neutron router-interface-delete router1 private_subnet
e. neutron subnet-delete private_subnet
f. neutron net-delete private
g. neutron router-delete router1
2.

a. neutron router-create router1
b. neutron net-create private
c. neutron subnet-create --name private_subnet private 192.168.0.0/16
--allocation-pool start=192.168.0.0,end=192.168.255.250
d. neutron router-interface-add router1 private_subnet
3.

a. neutron net-create public --router:external=True//(neutron
net-create public --router:external)
b. neutron subnet-create public 10.16.37.0/24 set for your n/w
--name public_subnet --enable_dhcp=False --allocation-pool
start=10.16.37.230,end=10.16.37.250 make sure that it will not conflict
with other IP address --gateway=10.16.37.1 your n/w gateway
c. neutron router-gateway-set router1 public


 Also I made changes in the ifcfg-br-ex file and ifcfg-my network file in
 /etc/sysconfig/network-scripts.

 The Changes were as follows:

 ifcfg-br-ex
 DEVICE=br-ex
 BOOTPROTO=static
 IPADDR=your workstation IP address e.g 10.16.37.221
 NETMASK=255.255.255.0
 DNS1=your n/w DNS1 e.g 10.16.25.13
 DNS2=your n/w DNS2 e.g 10.16.25.15
 BROADCAST=10.16.37.255
 GATEWAY=10.16.37.1
 NM_CONTROLLED=no
 DEFROUTE=yes
 IPV4_FAILURE_FATAL=yes
 IPV6INIT=no
 ONBOOT=yes
 TYPE=OVSIntPort
 OVS_BRIDGE=br-ex
 DEVICETYPE=ovs

 *ifcfg-p2p1*

 DEVICE=p2p1 change with your device name

 # HWADDR=00:22:15:63:E4:E2

 ONBOOT=yes

 TYPE=OVSPort

 DEVICETYPE=ovs

 OVS_BRIDGE=br-ex

 NM_CONTROLLED=no

 IPV6INIT=no


 There is also a proxy in the network and so for that, I installed by 
 packstack
 --allinone --*provision-demo=n --provision-all-in-one-ovs-bridge=n*.

 Could someone suggest me a reason as to why i might be facing issues or
 probably where I can look to debug this issue.

 Thanks,
 Dhvanan Shah

 ___
 Mailing list:
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
 Post to : openstack@lists.openstack.org
 Unsubscribe :
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


Re: [Openstack] Use of injected-files in compute service

2015-07-27 Thread nithish B
Hi Priyanka,
Those options are used when arbitrary files has to be placed within the
instance. For example, if you wish to use your own authorized_keys,
instead of the regular keys which exists, you may use this method.  The
only limitation is that you may add upto 5 files only. So to summarize, for
injecting ssh keys, net info, root password, or arbitrary files, these
options are used.

Hope this helps.

Regards,
Nitish B.

On Mon, Jul 27, 2015 at 5:02 PM, Priyanka ppn...@cse.iitb.ac.in wrote:

  Hi,

 What is the use of injected-files,injected-file-content-bytes and
 injected-file-path-bytes in compute service. The OpenStack guide says its 
 Number
 of injected files allowed per tenant.I did not get the actual meaning of
 this.

 Thanks,

 Priyanka

 ___
 Mailing list:
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
 Post to : openstack@lists.openstack.org
 Unsubscribe :
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


Re: [Openstack] Openstack deployment on two nodes with single NIC

2015-07-20 Thread nithish B
Hi Tusa,
Yes, 192.168.1.1 is set as both gateway IP and as the I/F IP. So,
change that, and configure your routes. This should solve it.

Thanks.

Regards,
Nitish B.

On Sun, Jul 19, 2015 at 2:03 AM, italy1 r...@italy1.com wrote:

 Ciao Francesco
 I think your route are not configured correctly

 Contattami off-line

 Remo

 Inviato da IPhone



 On Sat, Jul 18, 2015 at 10:27 AM -0700, Francesco Tusa 
 f.t...@westminster.ac.uk wrote:

   Hi Nitish,

 thanks for your answer.


  According to your message I should change the IP address of interface
 qr-c15092f4 on the virtual router, to something else on the same subnet
 (e.g. 192.168.1.100).


  Sorry I am a bit confused about this.


  192.168.1.1 is the default gw for the instances on the their private
 network (I can see it if I type 'route -n' from within an instance). I
 thought this was the first hop in the packet routing.


  What will happen if I change that IP? What entity will act as gateway
 then?


  Thanks again,

 Francesco.



  --
 *From:* nithish B bestofnith...@gmail.com
 *Sent:* 18 July 2015 17:26
 *To:* Francesco Tusa
 *Cc:* openstack@lists.openstack.org
 *Subject:* Re: [Openstack] Openstack deployment on two nodes with single
 NIC

  Hi Tusa,
   Looking at the post on ask.openstack.org , I see that the Ip address
 of qr-c15092f4-bb is  192.168.1.1. Isn't that supposed to be the gateway
 IP for that I/F? This might be the issue because I see that the command ip
 netns exec qrouter-dff3861b-69d2-46c8-b990-0d218826955b tcpdump -n -i
 qr-c15092f4-bb is redirecting the packets to 192.168.1.8 which is being
 dropped as the subnet of 192.168.1.x has the gateway IP assigned as the
 inet.

  I guess changing this might solve the issue. Let me know if this worked.

  Thanks.

   Regards,
  Nitish B.

 On Sat, Jul 18, 2015 at 1:08 AM, Francesco Tusa f.t...@westminster.ac.uk
  wrote:

  Hi all,

 I want to set up a small testbed for testing purposes as described in
 the email's subject.


  I deployed Openstack on two PCs (with CentOS 7.1) in my office using
 RDO (openstack-packstack) last week.


  Basic functionalities are working but I am having issues while
 accessing VMs from the physical hosts, and getting access to the external
 network from the VMs.


  Please find below all the details, unfortunately I did not manage to
 solve the issue so far:


 https://ask.openstack.org/en/question/78232/openstack-deployment-on-two-nodes-with-one-nic/

  Thanks in advance for your valuable help.


  Regards,

 Francesco.

 The University of Westminster is a charity and a company limited by
 guarantee. Registration number: 977818 England.
 Registered Office: 309 Regent Street, London W1B 2UW.

 This message and its attachments are private and confidential. If you
 have received this message in error, please notify the sender and remove it
 and its attachments from your system.

 ___
 Mailing list:
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
 Post to : openstack@lists.openstack.org
 Unsubscribe :
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


The University of Westminster is a charity and a company limited by
 guarantee. Registration number: 977818 England.
 Registered Office: 309 Regent Street, London W1B 2UW.

 This message and its attachments are private and confidential. If you
 have received this message in error, please notify the sender and remove it
 and its attachments from your system.
  !DSPAM:1,55aa8c9c139671779012523!


___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


Re: [Openstack] Openstack deployment on two nodes with single NIC

2015-07-18 Thread nithish B
Hi Tusa,
  Looking at the post on ask.openstack.org , I see that the Ip address of
qr-c15092f4-bb is  192.168.1.1. Isn't that supposed to be the gateway IP
for that I/F? This might be the issue because I see that the command ip
netns exec qrouter-dff3861b-69d2-46c8-b990-0d218826955b tcpdump -n -i
qr-c15092f4-bb is redirecting the packets to 192.168.1.8 which is being
dropped as the subnet of 192.168.1.x has the gateway IP assigned as the
inet.

I guess changing this might solve the issue. Let me know if this worked.

Thanks.

Regards,
Nitish B.

On Sat, Jul 18, 2015 at 1:08 AM, Francesco Tusa f.t...@westminster.ac.uk
wrote:

  Hi all,

 I want to set up a small testbed for testing purposes as described in the
 email's subject.


  I deployed Openstack on two PCs (with CentOS 7.1) in my office using RDO
 (openstack-packstack) last week.


  Basic functionalities are working but I am having issues while accessing
 VMs from the physical hosts, and getting access to the external network
 from the VMs.


  Please find below all the details, unfortunately I did not manage to
 solve the issue so far:


 https://ask.openstack.org/en/question/78232/openstack-deployment-on-two-nodes-with-one-nic/

  Thanks in advance for your valuable help.


  Regards,

 Francesco.

 The University of Westminster is a charity and a company limited by
 guarantee. Registration number: 977818 England.
 Registered Office: 309 Regent Street, London W1B 2UW.

 This message and its attachments are private and confidential. If you have
 received this message in error, please notify the sender and remove it and
 its attachments from your system.

 ___
 Mailing list:
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
 Post to : openstack@lists.openstack.org
 Unsubscribe :
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


Re: [Openstack] iperf not working between VMs

2015-03-04 Thread nithish B
Hi Priyanka,
   There must be a packet drop from the client side while returning an ACK
to the server. Again, please check the server has those ports unblocked
by the firewall.

Thanks.

Regards,
Nitish B.

On Thu, Mar 5, 2015 at 9:09 AM, Priyanka Naik ppn...@cse.iitb.ac.in wrote:

 Sir,

 Yes. But it is not printing any message when it receives a connection. If
 I run iperf server on my desktop and run the client on a VM (with floating
 IP) on openstack it connects properly.

 Thanks,
 Priyanka


 On 03/04/2015 10:43 PM, Brian Haley wrote:

 On 03/04/2015 11:19 AM, ppnaik wrote:

 Sir,
 Yes.ping connectivity is there.the tcpdump on server shows the syn
 packets from
 the client. But the server does not reply syn/ack.

 Then this doesn't look like a Neutron problem.  You need to figure out
 why the
 iperf server did not respond.  If you run it in the foreground it will
 print a
 message when it receives a connection request.

 -Brian


  On 2015-03-04 21:23, abhishek jain wrote:

 Have you checked ping connectivity between the VMs?
 On Mar 4, 2015 9:19 PM, Brian Haley brian.ha...@hp.com wrote:

  Please keep replies on the list.

 I would suggest running tcpdump on the server side and see if the
 packet is
 making it to the stack then.  Perhaps there are other UFW rules
 dropping
 things?
   You can just use something like 'telnet 192.168.1.42 5001' to verify
 that.

 -Brian

 On 03/04/2015 10:25 AM, ppnaik wrote:

 Sir,
 I added rule tcp 1 65535 but it still did not work.

 Thanks,

 Priyanka


 On 2015-03-04 20:29, Brian Haley wrote:

 Like Krishna asked, have you added a security group rule for TCP port

 5001?

 Otherwise ingress traffic on that port will be dropped.

 -Brian

 On 03/04/2015 05:45 AM, Priyanka Naik wrote:

 Hi,

 Sorry my mistake . I was actually trying it for different ports and

 copied the

 earlier command on client VM. On client VM I am running

 iperf -c 192.168.1.42

 and on server

 iperf -s

 yes the server is listening on port 5001.

 netstat -anp | grep 5001
 (Not all processes could be identified, non-owned process info
   will not be shown, you would have to be root to see it all.)
 tcp0  0 0.0.0.0:50010.0.0.0:*

   LISTEN

 20227/iperf

 Thanks,
 Priyanka

 On 03/04/2015 04:10 PM, nithish B wrote:

 Hi Priyanka,
 Sorry for that. My bad. I actaully meant to say, check if that

 client is

 indeed listening on the port.

 And wait a minute, I didn't notice!!!

 Your output says:

 On iperf server VM

 |  iperf -s
  
  Server listening on TCP *port **5001*
  TCP window size: 85.3 KByte (default)
  |

 On iperf client VM

 | iperf -c 192.168.1.42 *-p 8042* -i 1 -t 10

 |
 |Kindly let me know as to why are you using port 8042 in the client

 while

 the server
 is listening on port 5001?
 |

 Regards,
 Nitish B.

 On Wed, Mar 4, 2015 at 3:58 PM, Priyanka Naik 
 ppn...@cse.iitb.ac.in
 mailto:ppn...@cse.iitb.ac.in wrote:

  Hi Nitish,

  I am able to ping the client VM(192.168.1.41) from the server
  VM(192.168.1.42).

  ping 192.168.1.41
  PING 192.168.1.41 (192.168.1.41) 56(84) bytes of data.
  64 bytes from 192.168.1.41 http://192.168.1.41: icmp_req=1

 ttl=64

  time=1.02 ms
  64 bytes from 192.168.1.41 http://192.168.1.41: icmp_req=2

 ttl=64

  time=0.495 ms
  64 bytes from 192.168.1.41 http://192.168.1.41: icmp_req=3

 ttl=64

  time=0.598 ms
  64 bytes from 192.168.1.41 http://192.168.1.41: icmp_req=4

 ttl=64

  time=0.462 ms
  ^C
  --- 192.168.1.41 ping statistics ---
  4 packets transmitted, 4 received, 0% packet loss, time 2999ms
  rtt min/avg/max/mdev = 0.462/0.645/1.025/0.225 ms

  I am sorry I did not understand pinging a specified port.

  Thanks,

  Priyanka


  On 03/04/2015 03:49 PM, nithish B wrote:

  Hi Priyanka,
  First check if you are able to ping the client VM from
 the

 server VM

  on the specified port. If not, then there is an issue with the

 network

  configuration.
 Else, if you are able to ping on the specific port, then

 there is some

  tunnelling issue and we can fix that!
  Let me know this and we can proceed.


  Regards,
  Nitish B.

  On Wed, Mar 4, 2015 at 3:15 PM, Priyanka Naik 

 ppn...@cse.iitb.ac.in

  mailto:ppn...@cse.iitb.ac.in wrote:

  Hi,

  I have a multinode openstack juno setup. Iperf does not
 work

 between

  VMs( on the same compute node asw ell as different compute

 nodes)

  On iperf server VM

  |  iperf -s



  Server listening on TCP port 5001
  TCP window size: 85.3 KByte (default)

|

  On iperf client VM

Re: [Openstack] REST client-server

2015-03-04 Thread nithish B
Hi Sandhya,
You have to probably add those ports to the security group and enable
IP forwarding in neutron.

Thanks.

Regards,
Nitish B.

On Thu, Mar 5, 2015 at 6:59 AM, Sandhya S coolssa...@gmail.com wrote:

 Hi all,

 I am trying to implement client-server architecture by placing my client
 code on local machine and server on my Virtual machine.
 But it is not communicating, because both belongs to different networks.Is
 there any possible way to establish communication??



 Best regards,
 Sandhya

 ___
 Mailing list:
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
 Post to : openstack@lists.openstack.org
 Unsubscribe :
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


Re: [Openstack] Openstack nova free disk issue

2015-01-06 Thread nithish B
Btw, you can try adding the /home as the default disk and try.
To have /home as the default disk, you can use:
# echo /dev/mapper/centos-home /home fielsystem-type(like xfs or ext4)
defaults 1 2  /etc/fstab
Regards,
Nitish B.

On Tue, Jan 6, 2015 at 5:59 PM, nithish B bestofnith...@gmail.com wrote:

 Hi Priyanka,
 Can you please tell me the hypervisor that you are using?

 Thanks.

 Regards,
 Nitish B.

 On Tue, Jan 6, 2015 at 4:00 PM, ppnaik ppn...@cse.iitb.ac.in wrote:

 Thanks Nitish,

 The problem was it was taking disk from the /root partition which had
 just 50 GB that is why it was overcommiting. Is there a way to ask it to
 use the /home partition instead.

 Thanks

 Priyanka


 On 2015-01-06 15:39, nithish B wrote:

 Hi Priyanka,
 The compute node has already been ballooned and over allocated to
 it's
 limit. To solve the issue, kindly add more disk to you compute host.

 Hope this helps.

 Thanks.

 Regards,
 Nitish B.

 On Tue, Jan 6, 2015 at 2:26 PM, ppnaik ppn...@cse.iitb.ac.in wrote:

  Hi All,
 I have a multi node setup of openstack juno on centos 7. After I
 instantiate multiple VMs and check the nova-compute.log on compute
 nodes it
 shows a negative value for free disks even though the the physical
 system
 has a lot of free memory

 on the physical system. df -h

 Filesystem   Size  Used Avail Use% Mounted on
 /dev/mapper/centos-root   50G  2.0G   49G   4% /
 devtmpfs  16G 0   16G   0% /dev
 tmpfs 16G 0   16G   0% /dev/shm
 tmpfs 16G  281M   16G   2% /run
 tmpfs 16G 0   16G   0% /sys/fs/cgroup
 /dev/mapper/centos-home  865G   33M  865G   1% /home
 /dev/sda1494M  137M  358M  28% /boot

 nova-compute.log on compute node:

 2015-01-06 11:00:28.756 8123 AUDIT nova.compute.resource_tracker [-]
 Total
 physical ram (MB): 31911, total allocated virtual ram (MB): 17920
 2015-01-06 11:00:28.756 8123 AUDIT nova.compute.resource_tracker [-]
 Free
 disk (GB): -113
 2015-01-06 11:00:28.757 8123 AUDIT nova.compute.resource_tracker [-]
 Total
 usable vcpus: 16, total allocated vcpus: 10

 What is the issue and how can I resolve it? Please help.

 Thanks,

 Priyanka



 ___
 Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/
 openstack
 Post to : openstack@lists.openstack.org
 Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/
 openstack



___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


Re: [Openstack] Openstack nova free disk issue

2015-01-06 Thread nithish B
Hi Priyanka,
Can you please tell me the hypervisor that you are using?

Thanks.

Regards,
Nitish B.

On Tue, Jan 6, 2015 at 4:00 PM, ppnaik ppn...@cse.iitb.ac.in wrote:

 Thanks Nitish,

 The problem was it was taking disk from the /root partition which had just
 50 GB that is why it was overcommiting. Is there a way to ask it to use the
 /home partition instead.

 Thanks

 Priyanka


 On 2015-01-06 15:39, nithish B wrote:

 Hi Priyanka,
 The compute node has already been ballooned and over allocated to it's
 limit. To solve the issue, kindly add more disk to you compute host.

 Hope this helps.

 Thanks.

 Regards,
 Nitish B.

 On Tue, Jan 6, 2015 at 2:26 PM, ppnaik ppn...@cse.iitb.ac.in wrote:

  Hi All,
 I have a multi node setup of openstack juno on centos 7. After I
 instantiate multiple VMs and check the nova-compute.log on compute nodes
 it
 shows a negative value for free disks even though the the physical system
 has a lot of free memory

 on the physical system. df -h

 Filesystem   Size  Used Avail Use% Mounted on
 /dev/mapper/centos-root   50G  2.0G   49G   4% /
 devtmpfs  16G 0   16G   0% /dev
 tmpfs 16G 0   16G   0% /dev/shm
 tmpfs 16G  281M   16G   2% /run
 tmpfs 16G 0   16G   0% /sys/fs/cgroup
 /dev/mapper/centos-home  865G   33M  865G   1% /home
 /dev/sda1494M  137M  358M  28% /boot

 nova-compute.log on compute node:

 2015-01-06 11:00:28.756 8123 AUDIT nova.compute.resource_tracker [-]
 Total
 physical ram (MB): 31911, total allocated virtual ram (MB): 17920
 2015-01-06 11:00:28.756 8123 AUDIT nova.compute.resource_tracker [-] Free
 disk (GB): -113
 2015-01-06 11:00:28.757 8123 AUDIT nova.compute.resource_tracker [-]
 Total
 usable vcpus: 16, total allocated vcpus: 10

 What is the issue and how can I resolve it? Please help.

 Thanks,

 Priyanka



 ___
 Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/
 openstack
 Post to : openstack@lists.openstack.org
 Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/
 openstack


___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


Re: [Openstack] Failed to launch instance after ironic API settings

2014-11-13 Thread nithish B
Hi,
Can you post the nova-compute log because Please try again later
[Error: No valid host was found. There are not enough hosts available.] is
more of a generic error. The actual error will be present in the logs.

Thanks.

Regards,
Nitish B.

On Fri, Nov 14, 2014 at 2:10 AM, sindhusha.yadavalli 
sindhusha.yadava...@students.iiit.ac.in wrote:

 I enabled ironic api but now i cant able to launch instance.is there any
 relation b/w Ironic API and new instance launching.i am getting the
 follwoing error.
 Failed to launch instance tesing: Please try again later [Error: No
 valid host was found. There are not enough hosts available.]
 plz help me to solve this.
 Thanks a lot in advance.

 ___
 Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/
 openstack
 Post to : openstack@lists.openstack.org
 Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/
 openstack

___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


Re: [Openstack] Complete Newb Questions.

2014-11-06 Thread nithish B
Hi Ken,
 To try openstack, other than DevStack, you can also try The
OpenStackCookbook https://github.com/OpenStackCookbook/OpenStackCookbook,
which builds OpenStack on Ubuntu and uses Vagrant and VirtualBox.
 Also, you can try Packstack https://wiki.openstack.org/wiki/Packstack,
which builds OpenStack on RedHat systems - ex. CentOS, Fedora, etc.
If you wanna get a bit more deeper, you can try puppet.

Thanks.

Regards,
Nitish B.

On Fri, Nov 7, 2014 at 10:20 AM, Ken D'Ambrosio k...@jots.org wrote:

 Hi!  Long time Linux admin, who's finally decided that the cloud is real,
 and I'm just thankful that there's an OSS answer to AWS.  And now, it's
 time to get my feet wet.  Which leads me to two questions:

 1) I'm really surprised by how few books I see on OpenStack -- especially
 at the introductory level -- and how tepid the reviews for the O'Reilly
 books are.  Is there favored documentation, either dead tree, or
 electronic, that I should be checking out?

 2) I'd really like to set up a home install -- DevStack seems to be the
 way to fly since I don't exactly have a rack of systems lying around for my
 own personal use.  Is there a better approach I should be taking?

 Thanks much,

 -Ken

 ___
 Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/
 openstack
 Post to : openstack@lists.openstack.org
 Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/
 openstack

___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


Re: [Openstack] [cinder] Sonething went wrong

2014-09-19 Thread nithish B
Hi,
   Looking at the log, it seems like the auth key for cinder does not exist.

From the python docs,
exception KeyError is raised when a mapping (dictionary) key is not found
in the set of existing keys.

So, please check the cinder installation and setup. Also, cinder logs might
give you a better understanding on this problem.

Thanks.

Regards,
Nitish B.

On Fri, Sep 19, 2014 at 5:21 PM, Stephane EVEILLARD 
stephane.eveill...@gmail.com wrote:

 hello

 I'm still having troubles with my openstack install
 after installling cinder, I've got the something went wrong in horizon
 and everything went back in order when stopping
 openstack-cinder-api and
 openstack-cinder-scheduler services

 in /var/log/httpd/error_log I ve got

 [Fri Sep 19 11:42:02 2014] [error] Internal Server Error: /dashboard/admin/
 [Fri Sep 19 11:42:02 2014] [error] Traceback (most recent call last):
 [Fri Sep 19 11:42:02 2014] [error]   File
 /usr/lib/python2.6/site-packages/django/core/handlers/base.py, line 109,
 in get_response
 [Fri Sep 19 11:42:02 2014] [error] response = callback(request,
 *callback_args, **callback_kwargs)
 [Fri Sep 19 11:42:02 2014] [error]   File
 /usr/lib/python2.6/site-packages/horizon/decorators.py, line 38, in dec
 [Fri Sep 19 11:42:02 2014] [error] return view_func(request, *args,
 **kwargs)
 [Fri Sep 19 11:42:02 2014] [error]   File
 /usr/lib/python2.6/site-packages/horizon/decorators.py, line 86, in dec
 [Fri Sep 19 11:42:02 2014] [error] return view_func(request, *args,
 **kwargs)
 [Fri Sep 19 11:42:02 2014] [error]   File
 /usr/lib/python2.6/site-packages/horizon/decorators.py, line 54, in dec
 [Fri Sep 19 11:42:02 2014] [error] return view_func(request, *args,
 **kwargs)
 [Fri Sep 19 11:42:02 2014] [error]   File
 /usr/lib/python2.6/site-packages/horizon/decorators.py, line 38, in dec
 [Fri Sep 19 11:42:02 2014] [error] return view_func(request, *args,
 **kwargs)
 [Fri Sep 19 11:42:02 2014] [error]   File
 /usr/lib/python2.6/site-packages/horizon/decorators.py, line 86, in dec
 [Fri Sep 19 11:42:02 2014] [error] return view_func(request, *args,
 **kwargs)
 [Fri Sep 19 11:42:02 2014] [error]   File
 /usr/lib/python2.6/site-packages/django/views/generic/base.py, line 48,
 in view
 [Fri Sep 19 11:42:02 2014] [error] return self.dispatch(request,
 *args, **kwargs)
 [Fri Sep 19 11:42:02 2014] [error]   File
 /usr/lib/python2.6/site-packages/django/views/generic/base.py, line 69,
 in dispatch
 [Fri Sep 19 11:42:02 2014] [error] return handler(request, *args,
 **kwargs)
 [Fri Sep 19 11:42:02 2014] [error]   File
 /usr/lib/python2.6/site-packages/horizon/tables/views.py, line 154, in get
 [Fri Sep 19 11:42:02 2014] [error] handled = self.construct_tables()
 [Fri Sep 19 11:42:02 2014] [error]   File
 /usr/lib/python2.6/site-packages/horizon/tables/views.py, line 145, in
 construct_tables
 [Fri Sep 19 11:42:02 2014] [error] handled = self.handle_table(table)
 [Fri Sep 19 11:42:02 2014] [error]   File
 /usr/lib/python2.6/site-packages/horizon/tables/views.py, line 118, in
 handle_table
 [Fri Sep 19 11:42:02 2014] [error] data = self._get_data_dict()
 [Fri Sep 19 11:42:02 2014] [error]   File
 /usr/lib/python2.6/site-packages/horizon/tables/views.py, line 181, in
 _get_data_dict
 [Fri Sep 19 11:42:02 2014] [error] self._data = {self.table_class._
 meta.name: self.get_data()}
 [Fri Sep 19 11:42:02 2014] [error]   File
 /usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/dashboards/admin/overview/views.py,
 line 60, in get_data
 [Fri Sep 19 11:42:02 2014] [error] data = super(GlobalOverview,
 self).get_data()
 [Fri Sep 19 11:42:02 2014] [error]   File
 /usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/usage/views.py,
 line 44, in get_data
 [Fri Sep 19 11:42:02 2014] [error] self.usage.get_limits()
 [Fri Sep 19 11:42:02 2014] [error]   File
 /usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/usage/base.py,
 line 194, in get_limits
 [Fri Sep 19 11:42:02 2014] [error] self.get_cinder_limits()
 [Fri Sep 19 11:42:02 2014] [error]   File
 /usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/usage/base.py,
 line 183, in get_cinder_limits
 [Fri Sep 19 11:42:02 2014] [error] exceptions.handle(self.request, msg)
 [Fri Sep 19 11:42:02 2014] [error]   File
 /usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/usage/base.py,
 line 180, in get_cinder_limits
 [Fri Sep 19 11:42:02 2014] [error]
 self.limits.update(api.cinder.tenant_absolute_limits(self.request))
 [Fri Sep 19 11:42:02 2014] [error]   File
 /usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/api/cinder.py,
 line 253, in tenant_absolute_limits
 [Fri Sep 19 11:42:02 2014] [error] limits =
 cinderclient(request).limits.get().absolute
 [Fri Sep 19 11:42:02 2014] [error]   File
 

Re: [Openstack] floating ip (icehouse)

2014-09-12 Thread nithish B
Well, I'm guessing that the gateway to those IPs are not configured. Else,
traceroute should have worked. Kindly check if the gateway for that
floating IPs exists in the host.

Regards,
Nitish B.

On Wed, Sep 10, 2014 at 10:33 PM, Paras pradhan pradhanpa...@gmail.com
wrote:

 Hi,

 This is what I see.

 nova net-list

 +--+-+--+

 | ID   | Label   | CIDR |

 +--+-+--+

 | 1b35da99-6ba3-431c-b1a9-4b59cbe30316 | ext_net | -|

 | ff818534-ecba-4f8b-a4c9-a2f09fe1ee79 | prv | -|

 +--+-+--+


 nova floating-ip-list

 +-+---+---+-+

 | Ip  | Server Id | Fixed Ip  | Pool|

 +-+---+---+-+

 | 192.168.122.100 |   | 50.50.1.6 | ext_net |

 +-+---+---+-+


 Not any custom firewalls. I can see rules on controller, computer and
 network rules installed by openstack.


 I can't traceroute the floating ips from the router which has the same
 network address.


 Paras.



 On Wed, Sep 10, 2014 at 2:41 AM, nithish B bestofnith...@gmail.com
 wrote:

 Hi,
Is this ip listed in your network? Kindly confirm that. Also, maybe
 the firewall is configured to drop those packets. Check it up with
 $traceroute ip-address and post the output. That's a start!

 Regards,
 Nitish B.

 On Tue, Sep 9, 2014 at 9:17 PM, Paras pradhan pradhanpa...@gmail.com
 wrote:

 Hello,

 I have a controller, a network and a compute node setup. When I spin an
 instance, it gets its ip and it can reach the internet. Then I assign a
 floating ip. From dashboard or cli I can see the ip's assoication with the
 instanace but I can't ping this floating ip externally or from within the
 instance. Where do I look?.  Distro: ubuntu 14.04 with mls.

 Thanks
 Paras.

 ___
 Mailing list:
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
 Post to : openstack@lists.openstack.org
 Unsubscribe :
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack




___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


Re: [Openstack] floating ip (icehouse)

2014-09-10 Thread nithish B
Hi,
   Is this ip listed in your network? Kindly confirm that. Also, maybe the
firewall is configured to drop those packets. Check it up with $traceroute
ip-address and post the output. That's a start!

Regards,
Nitish B.

On Tue, Sep 9, 2014 at 9:17 PM, Paras pradhan pradhanpa...@gmail.com
wrote:

 Hello,

 I have a controller, a network and a compute node setup. When I spin an
 instance, it gets its ip and it can reach the internet. Then I assign a
 floating ip. From dashboard or cli I can see the ip's assoication with the
 instanace but I can't ping this floating ip externally or from within the
 instance. Where do I look?.  Distro: ubuntu 14.04 with mls.

 Thanks
 Paras.

 ___
 Mailing list:
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
 Post to : openstack@lists.openstack.org
 Unsubscribe :
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


Re: [Openstack] problem in launching instance in icehouse [Virtual Interface creation failed]

2014-09-08 Thread nithish B
Hi,
Adding
vif_plugging_is_fatal = False
vif_plugging_timeout = 0
in the DEFAULT section of nova.conf in all the nodes usually works.
Add that and try again, and let me know if it still has got issues.

Thanks.

Regards,
Nitish B.

On Sun, Sep 7, 2014 at 10:47 PM, Srinivasreddy R 
srinivasreddy4...@gmail.com wrote:

 hi Nitish ,

 thanks for your reply ..

 i have attached  nova.conf and ml2_conf.ini .

 thanks,
 srinivas.



 Hi Srinivasreddy,
  Can you please paste your nova.conf and ml2_conf.ini?


 Regards,
 Nitish B.


 On Sun, Sep 7, 2014 at 12:12 AM, Srinivasreddy R 
 srinivasreddy4...@gmail.com wrote:

 Hi,

 I am trying to setup openstack  with 3 node setup .
 i am following
 OPENSTACK INSTALLATION GUIDE FOR UBUNTU 12.04/14.04 (LTS)  - ICEHOUSE
 http://docs.openstack.org/icehouse/install-guide/install/apt/content/index.html
 http://docs.openstack.org/icehouse/install-guide/install/apt/content/


 the following are the logs in dashboard ..
 pls help me ..pls give me some inputs how to debug .

 *Instance Overview*
 *Info*
 --

 Name
 demo-instance100
 ID
 3d9b2d74-18e3-4654-a11f-19337754ccad
 Status
 Error
 Availability Zone
 nova
 Created
 Sept. 6, 2014, 12:50 a.m.
 Uptime
 41 minutes
 *Fault*
 --

 Message
 Virtual Interface creation failed
 Code
 500
 Details
 File /usr/lib/python2.7/dist-packages/nova/compute/manager.py, line
 290, in decorated_function return function(self, context, *args, **kwargs)
 File /usr/lib/python2.7/dist-packages/nova/compute/manager.py, line 2102,
 in run_instance do_run_instance() File
 /usr/lib/python2.7/dist-packages/nova/openstack/common/lockutils.py, line
 249, in inner return f(*args, **kwargs) File
 /usr/lib/python2.7/dist-packages/nova/compute/manager.py, line 2101, in
 do_run_instance legacy_bdm_in_spec) File
 /usr/lib/python2.7/dist-packages/nova/compute/manager.py, line 1225, in
 _run_instance notify(error, fault=e) # notify that build failed File
 /usr/lib/python2.7/dist-packages/nova/openstack/common/excutils.py, line
 68, in __exit__ six.reraise(self.type_, self.value, self.tb) File
 /usr/lib/python2.7/dist-packages/nova/compute/manager.py, line 1209, in
 _run_instance instance, image_meta, legacy_bdm_in_spec) File
 /usr/lib/python2.7/dist-packages/nova/compute/manager.py, line 1353, in
 _build_instance network_info.wait(do_raise=False) File
 /usr/lib/python2.7/dist-packages/nova/openstack/common/excutils.py, line
 68, in __exit__ six.reraise(self.type_, self.value, self.tb) File
 /usr/lib/python2.7/dist-packages/nova/compute/manager.py, line 1329, in
 _build_instance set_access_ip=set_access_ip) File
 /usr/lib/python2.7/dist-packages/nova/compute/manager.py, line 393, in
 decorated_function return function(self, context, *args, **kwargs) File
 /usr/lib/python2.7/dist-packages/nova/compute/manager.py, line 1741, in
 _spawn LOG.exception(_('Instance failed to spawn'), instance=instance) File
 /usr/lib/python2.7/dist-packages/nova/openstack/common/excutils.py, line
 68, in __exit__ six.reraise(self.type_, self.value, self.tb) File
 /usr/lib/python2.7/dist-packages/nova/compute/manager.py, line 1738, in
 _spawn block_device_info) File
 /usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py, line 2287,
 in spawn block_device_info) File
 /usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py, line 3703,
 in _create_domain_and_network raise
 exception.VirtualInterfaceCreateException()
 Created
 Sept. 6, 2014, 12:50 a.m.
 *Specs*
 --

 Flavor
 m1.tiny
 RAM
 512MB
 VCPUs
 1 VCPU
 Disk
 1GB
 *IP Addresses*
 --

 Ext-Net
 203.0.113.104
 Demo-Net1
 172.168.1.2
 Ext-Net1
 192.0.113.102
 *Security Groups*
 --

 default
 · ALLOW IPv4 from default
 · ALLOW IPv4 22/tcp from 0.0.0.0/0
 · ALLOW IPv4 to 0.0.0.0/0
 · ALLOW IPv6 to ::/0
 · ALLOW IPv6 from default
 · ALLOW IPv4 icmp from 0.0.0.0/0
 *Meta*
 --

 Key Name
 ssn-key
 Image Name
 IMAGELABEL
 http://10.203.3.15/horizon/project/images/79072353-a583-4a1a-9f3c-d5f3e1fa4328/
 *Volumes Attached*
 --

 Volume
 *No volumes attached.*


 thanks,
 srinivas.


 ___
 Mailing list:
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
 Post to : openstack@lists.openstack.org
 Unsubscribe :
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack




___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


Re: [Openstack] problem in launching instance in icehouse [Virtual Interface creation failed]

2014-09-07 Thread nithish B
Hi Srinivasreddy,
 Can you please paste your nova.conf and ml2_conf.ini?


Regards,
Nitish B.


On Sun, Sep 7, 2014 at 12:12 AM, Srinivasreddy R 
srinivasreddy4...@gmail.com wrote:

 Hi,

 I am trying to setup openstack  with 3 node setup .
 i am following
 OPENSTACK INSTALLATION GUIDE FOR UBUNTU 12.04/14.04 (LTS)  - ICEHOUSE
 http://docs.openstack.org/icehouse/install-guide/install/apt/content/index.html
 http://docs.openstack.org/icehouse/install-guide/install/apt/content/


 the following are the logs in dashboard ..
 pls help me ..pls give me some inputs how to debug .

 *Instance Overview*
 *Info*
 --

 Name
 demo-instance100
 ID
 3d9b2d74-18e3-4654-a11f-19337754ccad
 Status
 Error
 Availability Zone
 nova
 Created
 Sept. 6, 2014, 12:50 a.m.
 Uptime
 41 minutes
 *Fault*
 --

 Message
 Virtual Interface creation failed
 Code
 500
 Details
 File /usr/lib/python2.7/dist-packages/nova/compute/manager.py, line 290,
 in decorated_function return function(self, context, *args, **kwargs) File
 /usr/lib/python2.7/dist-packages/nova/compute/manager.py, line 2102, in
 run_instance do_run_instance() File
 /usr/lib/python2.7/dist-packages/nova/openstack/common/lockutils.py, line
 249, in inner return f(*args, **kwargs) File
 /usr/lib/python2.7/dist-packages/nova/compute/manager.py, line 2101, in
 do_run_instance legacy_bdm_in_spec) File
 /usr/lib/python2.7/dist-packages/nova/compute/manager.py, line 1225, in
 _run_instance notify(error, fault=e) # notify that build failed File
 /usr/lib/python2.7/dist-packages/nova/openstack/common/excutils.py, line
 68, in __exit__ six.reraise(self.type_, self.value, self.tb) File
 /usr/lib/python2.7/dist-packages/nova/compute/manager.py, line 1209, in
 _run_instance instance, image_meta, legacy_bdm_in_spec) File
 /usr/lib/python2.7/dist-packages/nova/compute/manager.py, line 1353, in
 _build_instance network_info.wait(do_raise=False) File
 /usr/lib/python2.7/dist-packages/nova/openstack/common/excutils.py, line
 68, in __exit__ six.reraise(self.type_, self.value, self.tb) File
 /usr/lib/python2.7/dist-packages/nova/compute/manager.py, line 1329, in
 _build_instance set_access_ip=set_access_ip) File
 /usr/lib/python2.7/dist-packages/nova/compute/manager.py, line 393, in
 decorated_function return function(self, context, *args, **kwargs) File
 /usr/lib/python2.7/dist-packages/nova/compute/manager.py, line 1741, in
 _spawn LOG.exception(_('Instance failed to spawn'), instance=instance) File
 /usr/lib/python2.7/dist-packages/nova/openstack/common/excutils.py, line
 68, in __exit__ six.reraise(self.type_, self.value, self.tb) File
 /usr/lib/python2.7/dist-packages/nova/compute/manager.py, line 1738, in
 _spawn block_device_info) File
 /usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py, line 2287,
 in spawn block_device_info) File
 /usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py, line 3703,
 in _create_domain_and_network raise
 exception.VirtualInterfaceCreateException()
 Created
 Sept. 6, 2014, 12:50 a.m.
 *Specs*
 --

 Flavor
 m1.tiny
 RAM
 512MB
 VCPUs
 1 VCPU
 Disk
 1GB
 *IP Addresses*
 --

 Ext-Net
 203.0.113.104
 Demo-Net1
 172.168.1.2
 Ext-Net1
 192.0.113.102
 *Security Groups*
 --

 default
 · ALLOW IPv4 from default
 · ALLOW IPv4 22/tcp from 0.0.0.0/0
 · ALLOW IPv4 to 0.0.0.0/0
 · ALLOW IPv6 to ::/0
 · ALLOW IPv6 from default
 · ALLOW IPv4 icmp from 0.0.0.0/0
 *Meta*
 --

 Key Name
 ssn-key
 Image Name
 IMAGELABEL
 http://10.203.3.15/horizon/project/images/79072353-a583-4a1a-9f3c-d5f3e1fa4328/
 *Volumes Attached*
 --

 Volume
 *No volumes attached.*


 thanks,
 srinivas.


 ___
 Mailing list:
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
 Post to : openstack@lists.openstack.org
 Unsubscribe :
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


Re: [Openstack] Help regarding openstack dashboard

2014-09-04 Thread nithish B
Hi Sadia,
Both your config files are wrong. For example, the section
sql_connection = mysql://root:seecs@127.0.0.1/nova?charset=utf8 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.

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.

Regards,
Nitish B.


On Wed, Sep 3, 2014 at 5:07 PM, Sadia Bashir 11msccssbas...@seecs.edu.pk
wrote:

 Hello Nithish,

 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?


 On Wed, Sep 3, 2014 at 2:36 PM, nithish B bestofnith...@gmail.com wrote:

 Hi Sadia,
  If you cannot find nova.conf and keystone.conf in your system, do
 the following:

 1. Copy the following to a file.

 NOVA_CONF=/etc/nova/nova.conf
 KEYSTONE_CONF=/etc/keystone/keystone.conf

 cp ${NOVA_CONF}{,.bak}
 cat  ${NOVA_CONF} EOF
 [DEFAULT]
 dhcpbridge_flagfile=/etc/nova/nova.conf
 dhcpbridge=/usr/bin/nova-dhcpbridge
 logdir=/var/log/nova
 state_path=/var/lib/nova
 lock_path=/var/lock/nova
 root_helper=sudo nova-rootwrap /etc/nova/rootwrap.conf
 verbose=True

 use_syslog = True
 syslog_log_facility = LOG_LOCAL0

 api_paste_config=/etc/nova/api-paste.ini
 enabled_apis=ec2,osapi_compute,metadata

 # Libvirt and Virtualization
 libvirt_use_virtio_for_bridges=True
 connection_type=libvirt
 libvirt_type=qemu

 # Database
 sql_connection=mysql://nova:${MYSQL_NOVA_PASS}@${MYSQL_HOST}/nova

 # Messaging
 rabbit_host=${MYSQL_HOST}

 # EC2 API Flags
 #ec2_host=${MYSQL_HOST}
 #ec2_dmz_host=${MYSQL_HOST}
 #ec2_private_dns_show_ip=True

 # Network settings
 network_api_class=nova.network.neutronv2.api.API
 neutron_url=http://${MY_IP}:9696
 neutron_auth_strategy=keystone
 neutron_admin_tenant_name=service
 neutron_admin_username=neutron
 neutron_admin_password=neutron
 neutron_admin_auth_url=http://${MY_IP}:5000/v2.0
 libvirt_vif_driver=nova.virt.libvirt.vif.LibvirtHybridOVSBridgeDriver
 linuxnet_interface_driver=nova.network.linux_net.LinuxOVSInterfaceDriver
 #firewall_driver=nova.virt.libvirt.firewall.IptablesFirewallDriver
 security_group_api=neutron
 firewall_driver=nova.virt.firewall.NoopFirewallDriver

 service_neutron_metadata_proxy=true
 neutron_metadata_proxy_shared_secret=foo

 #Metadata
 #metadata_host = ${MYSQL_HOST}
 #metadata_listen = ${MYSQL_HOST}
 #metadata_listen_port = 8775

 # Cinder #
 volume_driver=nova.volume.driver.ISCSIDriver
 enabled_apis=ec2,osapi_compute,metadata
 volume_api_class=nova.volume.cinder.API
 iscsi_helper=tgtadm
 iscsi_ip_address=${CONTROLLER_HOST}

 # Images
 image_service=nova.image.glance.GlanceImageService
 glance_api_servers=${GLANCE_HOST}:9292

 # Scheduler
 scheduler_default_filters=AllHostsFilter

 # Auth
 auth_strategy=keystone
 #keystone_ec2_url=http://${KEYSTONE_ENDPOINT}:5000/v2.0/ec2tokens

 # NoVNC
 novnc_enabled=true
 novncproxy_host=${MY_IP}
 novncproxy_base_url=http://${MY_IP}:6080/vnc_auto.html
 novncproxy_port=6080

 xvpvncproxy_port=6081
 xvpvncproxy_host=${MY_IP}
 xvpvncproxy_base_url=http://${MY_IP}:6081/console

 vncserver_proxyclient_address=${MY_IP}
 vncserver_listen=0.0.0.0

 [keystone_authtoken]
 service_protocol = http
 service_host = ${MY_IP}
 service_port = 5000
 auth_host = ${MY_IP}
 auth_port = 35357
 auth_protocol = http
 auth_uri = http://${MY_IP}:35357/
 admin_tenant_name = ${SERVICE_TENANT}
 admin_user = ${NOVA_SERVICE_USER}
 admin_password = ${NOVA_SERVICE_PASS}


 EOF

 sudo chmod 0640 $NOVA_CONF
 sudo chown nova:nova $NOVA_CONF

 sudo nova-manage db sync

 sudo stop nova-api
 sudo stop nova-scheduler
 sudo stop nova-novncproxy
 sudo stop nova-consoleauth
 sudo stop nova-conductor
 sudo stop nova-cert


 sudo start nova-api
 sudo start nova-scheduler
 sudo start nova-conductor
 sudo start nova-cert
 sudo start nova-consoleauth
 sudo start nova-novncproxy

 #sudo sed -i s#^connection.*#connection =
 mysql://keystone:${MYSQL_KEYSTONE_PASS}@${MYSQL_HOST}/keystone#
 ${KEYSTONE_CONF}
 #sudo sed -i 's/^#admin_token.*/admin_token = ADMIN/' ${KEYSTONE_CONF}
 #sudo sed -i 's,^#log_dir.*,log_dir = /var/log/keystone,' ${KEYSTONE_CONF}

 #sudo echo use_syslog = True  ${KEYSTONE_CONF}
 #sudo echo syslog_log_facility = LOG_LOCAL0  ${KEYSTONE_CONF}

 sudo stop keystone
 sudo start keystone

 sudo keystone-manage db_sync

 sudo apt-get -y install python-keystoneclient

 export ENDPOINT=${MY_IP}
 export SERVICE_TOKEN=ADMIN
 export SERVICE_ENDPOINT=http://${ENDPOINT}:35357/v2.0
 export PASSWORD=openstack

 source .keystonerc



 P.S. Provide the parameters in accord

Re: [Openstack] Unexpected error in OpenStack Nova

2014-09-04 Thread nithish B
Hi all,
I guess it is a keystone issue. Can you please post the output of
$keystone user-list ?
Thanks.

Regards,
Nitish B.


On Thu, Sep 4, 2014 at 1:28 AM, Chris Buccella 
chris.bucce...@antallagon.com wrote:

 Have you checked the nova-api log?


 -Chris


 On Wed, Sep 3, 2014 at 10:11 AM, Hossein Zabolzadeh zabolza...@gmail.com
 wrote:

 Hi,
 After successful installation of both keystone and nova, I tried to
 execute the 'nova list' command by the folllowing env variables(My
 Deployment Model is single machine deployment):
 export OS_USERNAME=admin
 export OS_PASSWORD=...
 export OS_TENANT_NAME=service
 export OS_AUTH_URL=http://10.0.0.1:5000

  But the following unknown error was occurred:
 ERROR: attribute 'message' of 'exceptions.BaseException' objects (HTTP
 300)

 My nova.conf has the following configuration to connect to keystone:
 [keystone_authtoken]
 auth_uri = localhost:5000
 auth_host = 10.0.0.1
 auth_port = 35357
 auth_protocol = http
 admin_tenant_name = service
 admin_user = nova
 admin_password = nova_pass

 How can I solve the problem?
 Thanks in advance.

 ___
 Mailing list:
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
 Post to : openstack@lists.openstack.org
 Unsubscribe :
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack



 ___
 Mailing list:
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
 Post to : openstack@lists.openstack.org
 Unsubscribe :
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


Re: [Openstack] Help regarding openstack dashboard

2014-09-03 Thread nithish B
Hi Sadia,
 If you cannot find nova.conf and keystone.conf in your system, do the
following:

1. Copy the following to a file.

NOVA_CONF=/etc/nova/nova.conf
KEYSTONE_CONF=/etc/keystone/keystone.conf

cp ${NOVA_CONF}{,.bak}
cat  ${NOVA_CONF} EOF
[DEFAULT]
dhcpbridge_flagfile=/etc/nova/nova.conf
dhcpbridge=/usr/bin/nova-dhcpbridge
logdir=/var/log/nova
state_path=/var/lib/nova
lock_path=/var/lock/nova
root_helper=sudo nova-rootwrap /etc/nova/rootwrap.conf
verbose=True

use_syslog = True
syslog_log_facility = LOG_LOCAL0

api_paste_config=/etc/nova/api-paste.ini
enabled_apis=ec2,osapi_compute,metadata

# Libvirt and Virtualization
libvirt_use_virtio_for_bridges=True
connection_type=libvirt
libvirt_type=qemu

# Database
sql_connection=mysql://nova:${MYSQL_NOVA_PASS}@${MYSQL_HOST}/nova

# Messaging
rabbit_host=${MYSQL_HOST}

# EC2 API Flags
#ec2_host=${MYSQL_HOST}
#ec2_dmz_host=${MYSQL_HOST}
#ec2_private_dns_show_ip=True

# Network settings
network_api_class=nova.network.neutronv2.api.API
neutron_url=http://${MY_IP}:9696
neutron_auth_strategy=keystone
neutron_admin_tenant_name=service
neutron_admin_username=neutron
neutron_admin_password=neutron
neutron_admin_auth_url=http://${MY_IP}:5000/v2.0
libvirt_vif_driver=nova.virt.libvirt.vif.LibvirtHybridOVSBridgeDriver
linuxnet_interface_driver=nova.network.linux_net.LinuxOVSInterfaceDriver
#firewall_driver=nova.virt.libvirt.firewall.IptablesFirewallDriver
security_group_api=neutron
firewall_driver=nova.virt.firewall.NoopFirewallDriver

service_neutron_metadata_proxy=true
neutron_metadata_proxy_shared_secret=foo

#Metadata
#metadata_host = ${MYSQL_HOST}
#metadata_listen = ${MYSQL_HOST}
#metadata_listen_port = 8775

# Cinder #
volume_driver=nova.volume.driver.ISCSIDriver
enabled_apis=ec2,osapi_compute,metadata
volume_api_class=nova.volume.cinder.API
iscsi_helper=tgtadm
iscsi_ip_address=${CONTROLLER_HOST}

# Images
image_service=nova.image.glance.GlanceImageService
glance_api_servers=${GLANCE_HOST}:9292

# Scheduler
scheduler_default_filters=AllHostsFilter

# Auth
auth_strategy=keystone
#keystone_ec2_url=http://${KEYSTONE_ENDPOINT}:5000/v2.0/ec2tokens

# NoVNC
novnc_enabled=true
novncproxy_host=${MY_IP}
novncproxy_base_url=http://${MY_IP}:6080/vnc_auto.html
novncproxy_port=6080

xvpvncproxy_port=6081
xvpvncproxy_host=${MY_IP}
xvpvncproxy_base_url=http://${MY_IP}:6081/console

vncserver_proxyclient_address=${MY_IP}
vncserver_listen=0.0.0.0

[keystone_authtoken]
service_protocol = http
service_host = ${MY_IP}
service_port = 5000
auth_host = ${MY_IP}
auth_port = 35357
auth_protocol = http
auth_uri = http://${MY_IP}:35357/
admin_tenant_name = ${SERVICE_TENANT}
admin_user = ${NOVA_SERVICE_USER}
admin_password = ${NOVA_SERVICE_PASS}


EOF

sudo chmod 0640 $NOVA_CONF
sudo chown nova:nova $NOVA_CONF

sudo nova-manage db sync

sudo stop nova-api
sudo stop nova-scheduler
sudo stop nova-novncproxy
sudo stop nova-consoleauth
sudo stop nova-conductor
sudo stop nova-cert


sudo start nova-api
sudo start nova-scheduler
sudo start nova-conductor
sudo start nova-cert
sudo start nova-consoleauth
sudo start nova-novncproxy

#sudo sed -i s#^connection.*#connection =
mysql://keystone:${MYSQL_KEYSTONE_PASS}@${MYSQL_HOST}/keystone#
${KEYSTONE_CONF}
#sudo sed -i 's/^#admin_token.*/admin_token = ADMIN/' ${KEYSTONE_CONF}
#sudo sed -i 's,^#log_dir.*,log_dir = /var/log/keystone,' ${KEYSTONE_CONF}

#sudo echo use_syslog = True  ${KEYSTONE_CONF}
#sudo echo syslog_log_facility = LOG_LOCAL0  ${KEYSTONE_CONF}

sudo stop keystone
sudo start keystone

sudo keystone-manage db_sync

sudo apt-get -y install python-keystoneclient

export ENDPOINT=${MY_IP}
export SERVICE_TOKEN=ADMIN
export SERVICE_ENDPOINT=http://${ENDPOINT}:35357/v2.0
export PASSWORD=openstack

source .keystonerc



P.S. Provide the parameters in accord to your setup.



Regards,
Nitish B.


On Wed, Sep 3, 2014 at 2:31 PM, Sadia Bashir 11msccssbas...@seecs.edu.pk
wrote:

 By the way I followed instructions given at www.devstack.org and its
 installation went smooth.


 On Wed, Sep 3, 2014 at 1:51 PM, Sadia Bashir 11msccssbas...@seecs.edu.pk
 wrote:

 Hello everyone,

 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:

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

 Pls tell me how do I resolve these errors. Any useful link, suggestion or
 help will be appreciated. Thank you in advance!


 --
 Regards,
 Sadia






 --



 ___
 Mailing list:
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack