Re: [Openstack] Nova.Scheduler TypeError: can't compare datetime.datetime to NoneType

2013-02-07 Thread Unmesh Gurjar
Greg,

IMO, this qualifies as a bug.

To debug what's causing this scenario is your case, I would suggest
checking the database connection setting in nova.conf on your Compute &
Controller host. AFAIK, it either means Compute's status is not being
updated (Compute service down) or its being updated in a different database
server.

Hope it helps.

Regards,
Unmesh G.

On Fri, Feb 8, 2013 at 5:55 AM, Greg Chavez  wrote:

>
> So I'm getting this when I try to boot a Cirros image in scheduler.log.  I
> have a controller node, network node, and one compute node setup with
> Folsom on RHEL 6.  Any ideas?  Thanks!
>
> 2013-02-07 19:21:45 WARNING nova.scheduler.manager
> [req-358f5c96-e236-4167-b6a9-ccc02c853d41 65fdf1a86cfa4e50aafb6c132106e00f
> cec6647113c74b66b308de14032e591a] Failed to schedule_run_instance: can't
> compare datetime.datetime to NoneType
> 2013-02-07 19:21:45 WARNING nova.scheduler.manager
> [req-358f5c96-e236-4167-b6a9-ccc02c853d41 65fdf1a86cfa4e50aafb6c132106e00f
> cec6647113c74b66b308de14032e591a] [instance:
> 1a318b16-7d98-40ef-acb9-63d705542200] Setting instance to ERROR state.
> 2013-02-07 19:21:45 1688 ERROR nova.openstack.common.rpc.amqp [-]
> Exception during message handling
> 2013-02-07 19:21:45 1688 TRACE nova.openstack.common.rpc.amqp Traceback
> (most recent call last):
> 2013-02-07 19:21:45 1688 TRACE nova.openstack.common.rpc.amqp   File
> "/usr/lib/python2.6/site-packages/nova/openstack/common/rpc/amqp.py", line
> 276, in _process_data
> 2013-02-07 19:21:45 1688 TRACE nova.openstack.common.rpc.amqp rval =
> self.proxy.dispatch(ctxt, version, method, **args)
> 2013-02-07 19:21:45 1688 TRACE nova.openstack.common.rpc.amqp   File
> "/usr/lib/python2.6/site-packages/nova/openstack/common/rpc/dispatcher.py",
> line 145, in dispatch
> 2013-02-07 19:21:45 1688 TRACE nova.openstack.common.rpc.amqp return
> getattr(proxyobj, method)(ctxt, **kwargs)
> 2013-02-07 19:21:45 1688 TRACE nova.openstack.common.rpc.amqp   File
> "/usr/lib/python2.6/site-packages/nova/scheduler/manager.py", line 118, in
> run_instance
> 2013-02-07 19:21:45 1688 TRACE nova.openstack.common.rpc.amqp context,
> ex, request_spec)
> 2013-02-07 19:21:45 1688 TRACE nova.openstack.common.rpc.amqp   File
> "/usr/lib64/python2.6/contextlib.py", line 23, in __exit__
> 2013-02-07 19:21:45 1688 TRACE nova.openstack.common.rpc.amqp
> self.gen.next()
> 2013-02-07 19:21:45 1688 TRACE nova.openstack.common.rpc.amqp   File
> "/usr/lib/python2.6/site-packages/nova/scheduler/manager.py", line 106, in
> run_instance
> 2013-02-07 19:21:45 1688 TRACE nova.openstack.common.rpc.amqp
> requested_networks, is_first_time, filter_properties)
> 2013-02-07 19:21:45 1688 TRACE nova.openstack.common.rpc.amqp   File
> "/usr/lib/python2.6/site-packages/nova/scheduler/multi.py", line 69, in
> schedule_run_instance
> 2013-02-07 19:21:45 1688 TRACE nova.openstack.common.rpc.amqp return
> self.drivers['compute'].schedule_run_instance(*args, **kwargs)
> 2013-02-07 19:21:45 1688 TRACE nova.openstack.common.rpc.amqp   File
> "/usr/lib/python2.6/site-packages/nova/scheduler/filter_scheduler.py", line
> 73, in schedule_run_instance
> 2013-02-07 19:21:45 1688 TRACE nova.openstack.common.rpc.amqp
> filter_properties, instance_uuids)
> 2013-02-07 19:21:45 1688 TRACE nova.openstack.common.rpc.amqp   File
> "/usr/lib/python2.6/site-packages/nova/scheduler/filter_scheduler.py", line
> 251, in _schedule
> 2013-02-07 19:21:45 1688 TRACE nova.openstack.common.rpc.amqp
> elevated, topic)
> 2013-02-07 19:21:45 1688 TRACE nova.openstack.common.rpc.amqp   File
> "/usr/lib/python2.6/site-packages/nova/scheduler/host_manager.py", line
> 284, in get_all_host_states
> 2013-02-07 19:21:45 1688 TRACE nova.openstack.common.rpc.amqp
> host_state.update_from_compute_node(compute)
> 2013-02-07 19:21:45 1688 TRACE nova.openstack.common.rpc.amqp   File
> "/usr/lib/python2.6/site-packages/nova/scheduler/host_manager.py", line
> 125, in update_from_compute_node
> 2013-02-07 19:21:45 1688 TRACE nova.openstack.common.rpc.amqp if
> self.updated and self.updated > compute['updated_at']:
> 2013-02-07 19:21:45 1688 TRACE nova.openstack.common.rpc.amqp TypeError:
> can't compare datetime.datetime to NoneType
>
> --
> \*..+.-
> --Greg Chavez
> +//..;};
>
> ___
> Mailing list: https://launchpad.net/~openstack
> Post to : openstack@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
Thanks & Regards,
Unmesh G.
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


[Openstack] 'novarc' environment setting failed to authenticated

2013-02-07 Thread Rain Li
Hi, all,

I am following OpenStack Basic Install guide (
http://docs.openstack.org/folsom/basic-install/content/index.html), but
when executing the keystone-endpoint.sh script on the controller-node, I
always get this error message:
Expecting authentication method via
  either a service token, --token or env[SERVICE_TOKEN],
  or credentials, --os-username or env[OS_USERNAME].
usage: keystone endpoint-create [--region ] --service-id
 [--publicurl ]
[--adminurl ]
[--internalurl ]
keystone endpoint-create: error: argument --service-id/--service_id:
expected one argument
...
But I already setup the environment variables like this:
stack@folsom-controller:~$ env | grep OS_
OS_PASSWORD=password
OS_AUTH_URL=http://10.0.0.1:35357/v2.0
OS_USERNAME=admin
OS_TENANT_NAME=admin

And get the similar error when executing the sample quantum-networking.sh
script on the network-node:
Expecting authentication method via
  either a service token, --token or env[SERVICE_TOKEN],
  or credentials, --os-username or env[OS_USERNAME].
You must provide a username via either --os-username or env[OS_USERNAME]
...
I have environment variables setting like:
stack@folsom-network:~$ env | grep OS_
OS_PASSWORD=password
OS_AUTH_URL=http://10.0.0.1:5000/v2.0
OS_USERNAME=admin
OS_TENANT_NAME=admin

Any suggestions to get around this?

Regards,
Rain
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


[Openstack] MidoNet Quantum plugin proposal for G-3

2013-02-07 Thread Ishimoto, Ryu
Hi Everyone,

I know that it's late in the cycle, but I am very excited to notify
everyone that we have been working on the MidoNet Quantum plugin for
Grizzly, which would enable MidoNet (Midokura's virtual networking
solution) in Quantum, and we are hoping to have it included in for the
Grizzly-3 milestone.

Spec: http://wiki.openstack.org/Spec-QuantumMidoNetPlugin
Blueprint:
https://blueprints.launchpad.net/quantum/+spec/midonet-quantum-plugin
Forked Repository: https://github.com/midokura/quantum

We have been making good progress in our forked repository, and we should
be able to send the code out for review by  February 12th.  I understand
that you need a core developer to sponsor our plugin until a member of
Midokura becomes a core maintainer.  I will have separate discussions to
make sure this happens before we submit the code.

Any feedback appreciated!

Thanks,
Ryu
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


[Openstack] Nova.Scheduler TypeError: can't compare datetime.datetime to NoneType

2013-02-07 Thread Greg Chavez
So I'm getting this when I try to boot a Cirros image in scheduler.log.  I
have a controller node, network node, and one compute node setup with
Folsom on RHEL 6.  Any ideas?  Thanks!

2013-02-07 19:21:45 WARNING nova.scheduler.manager
[req-358f5c96-e236-4167-b6a9-ccc02c853d41 65fdf1a86cfa4e50aafb6c132106e00f
cec6647113c74b66b308de14032e591a] Failed to schedule_run_instance: can't
compare datetime.datetime to NoneType
2013-02-07 19:21:45 WARNING nova.scheduler.manager
[req-358f5c96-e236-4167-b6a9-ccc02c853d41 65fdf1a86cfa4e50aafb6c132106e00f
cec6647113c74b66b308de14032e591a] [instance:
1a318b16-7d98-40ef-acb9-63d705542200] Setting instance to ERROR state.
2013-02-07 19:21:45 1688 ERROR nova.openstack.common.rpc.amqp [-] Exception
during message handling
2013-02-07 19:21:45 1688 TRACE nova.openstack.common.rpc.amqp Traceback
(most recent call last):
2013-02-07 19:21:45 1688 TRACE nova.openstack.common.rpc.amqp   File
"/usr/lib/python2.6/site-packages/nova/openstack/common/rpc/amqp.py", line
276, in _process_data
2013-02-07 19:21:45 1688 TRACE nova.openstack.common.rpc.amqp rval =
self.proxy.dispatch(ctxt, version, method, **args)
2013-02-07 19:21:45 1688 TRACE nova.openstack.common.rpc.amqp   File
"/usr/lib/python2.6/site-packages/nova/openstack/common/rpc/dispatcher.py",
line 145, in dispatch
2013-02-07 19:21:45 1688 TRACE nova.openstack.common.rpc.amqp return
getattr(proxyobj, method)(ctxt, **kwargs)
2013-02-07 19:21:45 1688 TRACE nova.openstack.common.rpc.amqp   File
"/usr/lib/python2.6/site-packages/nova/scheduler/manager.py", line 118, in
run_instance
2013-02-07 19:21:45 1688 TRACE nova.openstack.common.rpc.amqp context,
ex, request_spec)
2013-02-07 19:21:45 1688 TRACE nova.openstack.common.rpc.amqp   File
"/usr/lib64/python2.6/contextlib.py", line 23, in __exit__
2013-02-07 19:21:45 1688 TRACE nova.openstack.common.rpc.amqp
self.gen.next()
2013-02-07 19:21:45 1688 TRACE nova.openstack.common.rpc.amqp   File
"/usr/lib/python2.6/site-packages/nova/scheduler/manager.py", line 106, in
run_instance
2013-02-07 19:21:45 1688 TRACE nova.openstack.common.rpc.amqp
requested_networks, is_first_time, filter_properties)
2013-02-07 19:21:45 1688 TRACE nova.openstack.common.rpc.amqp   File
"/usr/lib/python2.6/site-packages/nova/scheduler/multi.py", line 69, in
schedule_run_instance
2013-02-07 19:21:45 1688 TRACE nova.openstack.common.rpc.amqp return
self.drivers['compute'].schedule_run_instance(*args, **kwargs)
2013-02-07 19:21:45 1688 TRACE nova.openstack.common.rpc.amqp   File
"/usr/lib/python2.6/site-packages/nova/scheduler/filter_scheduler.py", line
73, in schedule_run_instance
2013-02-07 19:21:45 1688 TRACE nova.openstack.common.rpc.amqp
filter_properties, instance_uuids)
2013-02-07 19:21:45 1688 TRACE nova.openstack.common.rpc.amqp   File
"/usr/lib/python2.6/site-packages/nova/scheduler/filter_scheduler.py", line
251, in _schedule
2013-02-07 19:21:45 1688 TRACE nova.openstack.common.rpc.amqp elevated,
topic)
2013-02-07 19:21:45 1688 TRACE nova.openstack.common.rpc.amqp   File
"/usr/lib/python2.6/site-packages/nova/scheduler/host_manager.py", line
284, in get_all_host_states
2013-02-07 19:21:45 1688 TRACE nova.openstack.common.rpc.amqp
host_state.update_from_compute_node(compute)
2013-02-07 19:21:45 1688 TRACE nova.openstack.common.rpc.amqp   File
"/usr/lib/python2.6/site-packages/nova/scheduler/host_manager.py", line
125, in update_from_compute_node
2013-02-07 19:21:45 1688 TRACE nova.openstack.common.rpc.amqp if
self.updated and self.updated > compute['updated_at']:
2013-02-07 19:21:45 1688 TRACE nova.openstack.common.rpc.amqp TypeError:
can't compare datetime.datetime to NoneType

-- 
\*..+.-
--Greg Chavez
+//..;};
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] keystone question

2013-02-07 Thread Miller, Mark M (EB SW Cloud - R&D - Corvallis)
Hi all,

I have spent several days installing Grizzly-2 Keystone with SSL and PKI and 
think I have been successful. I can see some of the new API resources such as 
"v3/domains", "v3/groups", and "v3/services", but I don't see these listed as 
commands in the keystoneclient. Are they simply not implemented yet or was I 
unsuccessful when I installed Grizzly-2? I also want to know if the above 
resource APIs are fully functional?

Regards,

Mark Miller

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Unable to download images from glance.

2013-02-07 Thread Iccha Sethi

Hey Antonio,
 
Unfortunately this is a known design flaw and has been reported previously as a 
bug as well - [https://bugs.launchpad.net/glance/+bug/1100220] 
https://bugs.launchpad.net/glance/+bug/1100220 . We will hopefully be looking 
at rectifying it sometime soon.
 
Thanks,
Iccha
 
 
 
-Original Message-
From: "Antonio Messina" 
Sent: Thursday, February 7, 2013 2:10pm
To: openstack@lists.launchpad.net
Subject: [Openstack] Unable to download images from glance.



Hi all,

I've recently updated the password of the glance, swift and nova
services via keystone user-update-password, and now I am unable to run
instances because nova-compute is unable to download the image from
glance.

I know it sounds stupid, but I am pretty sure all the configuration
files are fine, and the password works for *some* of the
functionalities but not for glance image-download. I tried "swift -U
service:glance ... download glance image-id" and it worked. Als
"glance image-list" works.
When I try "glance -d download-image ...", however, I get:

(cloud)antonio@kenny:~$ glance -d image-download
d5b25046-fd08-4e30-950b-ab956c547f8d --file /tmp/antanicurl -i -X GET
-H 'X-Auth-Token: 819f0cf1786e4d80ba0a1f672bbe9713' -H 'Content-Type:
application/octet-stream' -H 'User-Agent: python-glanceclient'
http://myhostname:9292/v1/images/d5b25046-fd08-4e30-950b-ab956c547f8d

HTTP/1.1 500 Internal Server Error
date: Thu, 07 Feb 2013 19:02:13 GMT
content-length: 5424
content-type: text/plain
connection: close

Traceback (most recent call last):
 File "/usr/lib/python2.7/dist-packages/eventlet/wsgi.py", line 382,
in handle_one_response
 result = self.application(self.environ, start_response)
 File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 147, in __call__
 resp = self.call_func(req, *args, **self.kwargs)
 File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 210, in call_func
 return self.func(req, *args, **kwargs)
 File "/usr/lib/python2.7/dist-packages/glance/common/wsgi.py", line
326, in __call__
 response = req.get_response(self.application)
 File "/usr/lib/python2.7/dist-packages/webob/request.py", line 1086,
in get_response
 application, catch_exc_info=False)
 File "/usr/lib/python2.7/dist-packages/webob/request.py", line 1055,
in call_application
 app_iter = application(self.environ, start_response)
 File "/usr/lib/python2.7/dist-packages/keystone/middleware/auth_token.py",
line 278, in __call__
 return self.app(env, start_response)
 File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 147, in __call__
 resp = self.call_func(req, *args, **self.kwargs)
 File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 210, in call_func
 return self.func(req, *args, **kwargs)
 File "/usr/lib/python2.7/dist-packages/glance/common/wsgi.py", line
326, in __call__
 response = req.get_response(self.application)
 File "/usr/lib/python2.7/dist-packages/webob/request.py", line 1086,
in get_response
 application, catch_exc_info=False)
 File "/usr/lib/python2.7/dist-packages/webob/request.py", line 1055,
in call_application
 app_iter = application(self.environ, start_response)
 File "/usr/lib/python2.7/dist-packages/paste/urlmap.py", line 203, in __call__
 return app(environ, start_response)
 File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 159, in __call__
 return resp(environ, start_response)
 File "/usr/lib/python2.7/dist-packages/routes/middleware.py", line
131, in __call__
 response = self.app(environ, start_response)
 File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 159, in __call__
 return resp(environ, start_response)
 File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 147, in __call__
 resp = self.call_func(req, *args, **self.kwargs)
 File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 210, in call_func
 return self.func(req, *args, **kwargs)
 File "/usr/lib/python2.7/dist-packages/glance/common/wsgi.py", line
532, in __call__
 request, **action_args)
 File "/usr/lib/python2.7/dist-packages/glance/common/wsgi.py", line
549, in dispatch
 return method(*args, **kwargs)
 File "/usr/lib/python2.7/dist-packages/glance/api/v1/images.py",
line 318, in show
 image_meta['location'])
 File "/usr/lib/python2.7/dist-packages/glance/api/v1/images.py",
line 294, in _get_from_store
 image_data, image_size = get_from_backend(context, where)
 File "/usr/lib/python2.7/dist-packages/glance/store/__init__.py",
line 221, in get_from_backend
 return store.get(loc)
 File "/usr/lib/python2.7/dist-packages/glance/store/swift.py", line
291, in get
 resp_chunk_size=self.CHUNKSIZE)
 File "/usr/lib/python2.7/dist-packages/swiftclient/client.py", line
1048, in get_object
 resp_chunk_size=resp_chunk_size)
 File "/usr/lib/python2.7/dist-packages/swiftclient/client.py", line
969, in _retry
 self.url, self.token = self.get_auth()
 File "/usr/lib/python2.7/dist-packages/swiftclient/client.py", line
957, in get_auth
 os_options=self.os_options)
 File "/usr/lib/python2.7/dist-packages/swiftclient/client.py", line
30

[Openstack] Provider networks and manual ip management

2013-02-07 Thread tra26
Again, is there a better place to ask these types of questions?

I am trying to get a provider network working where I have full control of
the ip allocations. What I need is to be able to have 2 (or more public ip
addresses, or really to our private network). I know this can't be done
with floating ips, so that is why I am looking to patch it into my network
and just manually configure the ips. (probably also having a flat vm
network as well).

I've got a provider network configured as so, with no dhcp on the subnet:
+---+--+
| Field | Value|
+---+--+
| admin_state_up| True |
| id| f1c2fb46-72a3-410c-b06a-518c56659d62 |
| name  | provider |
| provider:network_type | flat |
| provider:physical_network | prinet   |
| provider:segmentation_id  |  |
| router:external   | True |
| shared| True |
| status| ACTIVE   |
| subnets   | c68bb08b-483f-49a5-be08-b690e84c4f17 |
| tenant_id | 35cd7af3118248bcb0ada0080afa3403 |
+---+--+

+--+--+
| Field| Value|
+--+--+
| allocation_pools | {"start": "192.168.224.2", "end": "192.168.224.254"} |
| cidr | 192.168.224.0/24 |
| dns_nameservers  |  |
| enable_dhcp  | False|
| gateway_ip   | 192.168.224.1|
| host_routes  |  |
| id   | c68bb08b-483f-49a5-be08-b690e84c4f17 |
| ip_version   | 4|
| name |  |
| network_id   | f1c2fb46-72a3-410c-b06a-518c56659d62 |
| tenant_id| 35cd7af3118248bcb0ada0080afa3403 |
+--+--+


nova is assigning an ip to the port regardless of there being no dhcp and
therefore the port does not allow me to configure it. Using a different ip
results in the iptables rules rejecting the packets.

Anyone know how to fix this or get around this? Please?

-Trevor


___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


[Openstack] Call for speakers for the 1st Nordic OpenStack Meetup in Stockholm

2013-02-07 Thread Nicolae Paladi
Hi,

An OpenStack meetup will be arranged in Stockholm, Sweden, on April, 3rd
2013.

You're welcome to email me if you're interested in holding a presentation
at this meetup,

More details about the meetup:
http://www.meetup.com/OpenStack-User-Group-Nordics/events/95258382/

cheers,
/Nicolae.
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] How to Query Nova Instance Faults

2013-02-07 Thread Staicu Gabriel
Hi,

1) connect to mysql database:
mysql -uroot -p

2) use nova database once in mysql prompt 
mysql> use nova;


3) find the error values
mysql> select * from instance_faults;

Regards,
Gabriel




 From: Malek Mushleh 
To: openstack@lists.launchpad.net 
Sent: Thursday, February 7, 2013 5:14 PM
Subject: [Openstack] How to Query Nova Instance Faults
 
Hi,

I am getting an error when performing "nova boot ...:" on an image that I have 
confirmed is in my glance repository. However, the corresponding logs do not 
indicate why or what the error is.

Is there a way and how to query the database for the nova instance error as 
alluded to here:

http://stackoverflow.com/questions/13954539/nova-boot-error-devstack

Thanks,

Malek

___
Mailing list: https://launchpad.net/~openstack
Post to     : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


[Openstack] How to Query Nova Instance Faults

2013-02-07 Thread Malek Mushleh
Hi,

I am getting an error when performing "nova boot ...:" on an image that I have 
confirmed is in my glance repository. However, the corresponding logs do not 
indicate why or what the error is.

Is there a way and how to query the database for the nova instance error as 
alluded to here:

http://stackoverflow.com/questions/13954539/nova-boot-error-devstack

Thanks,

Malek

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] VM doesn't attach IP

2013-02-07 Thread Guilherme Russi
By the way, I'm look your post and I saw some things that I don't have at
the ifconfig, like this part:

br-eth1 Link encap:Ethernet HWaddr 00:11:25:8e:a8:2d
  inet addr:10.10.3.1 Bcast:10.10.255.255 Mask:255.255.0.0
  inet6 addr: fe80::211:

br-ex Link encap:Ethernet HWaddr 00:11:25:8e:a8:2c
  inet addr:9.126.108.143 Bcast:9.126.108.255 Mask:255.255.255.0
  inet6 addr: fe80::211:25ff:fe8e:a82c/64 Scope:Link
  UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1
  RX packets:435547 errors:0 dropped:16395 overruns:0 frame:0
  TX packets:156208 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:0
  RX bytes:46251450 (46.2 MB) TX bytes:135765850 (135.7 MB)


How did you created these br-* with IP?

Guilherme.


2013/2/7 Guilherme Russi 

> Hi Anil,
>
>  I'm trying to find something to fix it, are you using quantum or
> nova-network? I'm working with quantum, I have one physical computer with 2
> NICs that is the controller and another 4 physical computers with 2 NICs
> each that are the node compute, I left the Network node with the Controller
> node, at the same physical compute.
>
> Regards.
>
> Guilherme.
>
>
>
> 2013/2/7 Anil Vishnoi 
>
>> Hi Guilherme,
>>
>> I reported the same issue just a moment ago here :
>> https://answers.launchpad.net/quantum/+question/221283
>>
>> I think we are facing the same issue here- atleast VM logs shows.
>>
>> Anil
>>
>>
>> On Thu, Feb 7, 2013 at 5:14 PM, Guilherme Russi <
>> luisguilherme...@gmail.com> wrote:
>>
>>> Hello guys,
>>>
>>>  My VMs are not attaching IP address, I've been look the VM's log but I
>>> can't realize what is going on. I'm sending my VM's log. Can anybody help
>>> me, please?
>>>
>>> Regards.
>>>
>>> Guilherme.
>>>
>>> ___
>>> Mailing list: https://launchpad.net/~openstack
>>> Post to : openstack@lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~openstack
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>>
>>
>> --
>> Thanks & Regards
>> --Anil Kumar Vishnoi
>>
>
>
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] VM doesn't attach IP

2013-02-07 Thread Guilherme Russi
Hi Anil,

 I'm trying to find something to fix it, are you using quantum or
nova-network? I'm working with quantum, I have one physical computer with 2
NICs that is the controller and another 4 physical computers with 2 NICs
each that are the node compute, I left the Network node with the Controller
node, at the same physical compute.

Regards.

Guilherme.


2013/2/7 Anil Vishnoi 

> Hi Guilherme,
>
> I reported the same issue just a moment ago here :
> https://answers.launchpad.net/quantum/+question/221283
>
> I think we are facing the same issue here- atleast VM logs shows.
>
> Anil
>
>
> On Thu, Feb 7, 2013 at 5:14 PM, Guilherme Russi <
> luisguilherme...@gmail.com> wrote:
>
>> Hello guys,
>>
>>  My VMs are not attaching IP address, I've been look the VM's log but I
>> can't realize what is going on. I'm sending my VM's log. Can anybody help
>> me, please?
>>
>> Regards.
>>
>> Guilherme.
>>
>> ___
>> Mailing list: https://launchpad.net/~openstack
>> Post to : openstack@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~openstack
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
>
> --
> Thanks & Regards
> --Anil Kumar Vishnoi
>
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] VM doesn't attach IP

2013-02-07 Thread Anil Vishnoi
Hi Guilherme,

I reported the same issue just a moment ago here :
https://answers.launchpad.net/quantum/+question/221283

I think we are facing the same issue here- atleast VM logs shows.

Anil


On Thu, Feb 7, 2013 at 5:14 PM, Guilherme Russi
wrote:

> Hello guys,
>
>  My VMs are not attaching IP address, I've been look the VM's log but I
> can't realize what is going on. I'm sending my VM's log. Can anybody help
> me, please?
>
> Regards.
>
> Guilherme.
>
> ___
> Mailing list: https://launchpad.net/~openstack
> Post to : openstack@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
Thanks & Regards
--Anil Kumar Vishnoi
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


[Openstack] VM doesn't attach IP

2013-02-07 Thread Guilherme Russi
Hello guys,

 My VMs are not attaching IP address, I've been look the VM's log but I
can't realize what is going on. I'm sending my VM's log. Can anybody help
me, please?

Regards.

Guilherme.


LogVM
Description: Binary data
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Horizon

2013-02-07 Thread Viktor Viking
Hi Emilien,

I had edited keystone-data.sh and changed the password to "secret". But
your pointers helped me. I had also changed the value "SERVICE_TENANT_NAME"
to "MY_TENANT" as you can see in the mysql table. Apparently that was not a
good idea. I dropped the tables, changed it back to "service", run the
script again and… voilá.

I can login now.

Thank you for your help,
Viktor




On Wed, Feb 6, 2013 at 7:06 PM, Emilien Macchi  wrote:

> Hi Viktor,
>
>
>- If you have used keystone-data.sh script, the password should be
>"password".
>- Horizon does not use novarc neither MySQL. It only uses OpenStack
>APIs.
>- Django log files can by found on /var/log/apache2/error.log &
>access.log
>
>
> Cheers,
>
> Emilien Macchi
> 
> // eNovance Inc.  http://enovance.com
> // ✉ emil...@enovance.com ☎ +33 (0)1 49 70 99 80
> // 10 rue de la Victoire 75009 Paris
>
>
> --
> *From: *"Viktor Viking" 
> *To: *openstack@lists.launchpad.net
> *Sent: *Wednesday, February 6, 2013 1:47:02 PM
> *Subject: *[Openstack] Horizon
>
>
> Hi,
>
> After a successful installation of Folsom, I'm trying to use Dashboard.
> I've had no success login in.
>
> If I just type a random user/passwd string, I get a message: "Invalid
> username or password".
>
> If I type admin:secret (a correct user:password combination), the login
> page reloads and nothing happens.
>
> Some info on my setup:
>
> I followed this guide for Folsom installation:
>
>
> http://docs.openstack.org/folsom/basic-install/content/basic-install-folsom.pdf
>
> My novarc file:
>
> export OS_TENANT_NAME=admin
> export OS_USERNAME=admin
> export OS_PASSWORD=secret
> export OS_AUTH_URL="http://localhost:5000/v2.0/";
> export SERVICE_ENDPOINT="http://localhost:35357/v2.0";
> export SERVICE_TOKEN=secret
>
> Keystone.log doesn't show anything out of the ordinary.
>
> mysql> select id,name from user;
> +--+-+
> | id   | name|
> +--+-+
> | 6294f0f5e16d49b9992c211e9cac6855 | admin   |
> | 88f6d25dec6f40f1a9cddf2b20aad4b2 | cinder  |
> | 4c0f5a439a3d44368e8d4af395049ff2 | demo|
> | c7ee8554321d4fe2bba341a99ee98dc9 | glance  |
> | 520ddc424a30447aa47992400382a167 | nova|
> | 6e44c5aa1edc4fe5919286ecdda196a0 | quantum |
> | f4a54be5b3154f85bc4df89a61c5360d | swift   |
> | 6dfec4512b7f4eaa9dc214d7232244fd | viktor  |
> +--+-+
>
> mysql> select * from tenant;
>
> +--+++
> | id   | name   | extra
>|
>
> +--+++
> | 779c87a9c37f4f63b0fc0aab236a5e1e | demo   | {"enabled":
> true, "description": null} |
> | 8d4286a5249e43e9aa56864357737884 | invisible_to_admin | {"enabled":
> true, "description": null} |
> | cf03bbe4daaf4579bd005a4e64da3334 | MYTENANT   | {"enabled":
> true, "description": null} |
> | f822dc409d684062b003ba99efa12672 | admin  | {"enabled":
> true, "description": null} |
>
> +--+++
>
> I realize dashboard doesn't use a database anymore as it did in Essex. Is
> that right? BTW, where can I find django log files?
>
> Any tips about what is going wrong?
>
> Thank you,
> Viktor
>
> ___
> Mailing list: https://launchpad.net/~openstack
> Post to : openstack@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


[Openstack] Volatile server builds and hybrid use cases

2013-02-07 Thread Daniel Pocock


I'm just wondering if anyone can comment on the following two topics:


a) volatile images - e.g. development servers where new packages are
installed every few days and where the entire system state must be
preserved on every reboot.  Can the whole cookie-cutter static image concept be 
bypassed and
the entire instance runs from persistent storage but still under the control of 
OpenStack?


b) hybrid deployments - e.g. if somebody already has 20 physical servers
running VMs with a vanilla Xen hypervisor, can they add Nova to those
servers and run some OpenStack managed VM instances alongside the
standalone images wherever they have spare CPU capacity?  Or do they need to 
move all the vanilla VMs onto 10
servers and then just run Nova on the other 10?





___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Hardcoding of requests in client

2013-02-07 Thread Sascha Peilicke

Am 06.02.2013 17:29, schrieb Dean Troyer:

On Wed, Feb 6, 2013 at 9:49 AM, Chuck Short  wrote:

So during our regular package builds we been noticing a lot of failures due
to requests being hardcoded to <1.0. An example of this is the following
(for glance) can be found at:

http://pastebin.ubuntu.com/1616835/

This is due to python-keystoneclient having a hard dependency of requests

=0.8.8,<1.0. I would like to propose that we update the dependencies for

the clients to at least >=1.0. Most Linux distros for example, Ubuntu,  are
using requests 1.1.  Making glance and python-keystoneclient not intsallable
on the same system on raring.


Go for it, but you'll have to do all of the clients at the same time,
which is the reason for the pinning.  Lovely incompatible lib
dependency changes in one project have that nice domino effect...

dt


Actually, I already filed several reviews for that:

https://review.openstack.org/#/c/20479/
https://review.openstack.org/#/c/20119/
https://review.openstack.org/#/c/20127/

Feel free to add some weight to the open ones. I wanted to get some 
feedback before adding reviews to the missing components 
(glance,ceilometer).

--
With kind regards,
Sascha Peilicke
SUSE Linux GmbH, Maxfeldstr. 5, D-90409 Nuernberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer HRB 16746 (AG Nürnberg)

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp