[lxc-users] LXD Openstack
gustavo panizzo (gfa)
gfa at zumbi.com.ar
Mon Jun 29 08:06:49 UTC 2015
putting the list back in the loop
On 2015-06-26 22:42, Frederico Araujo wrote:
> Here is the output of n-sch:
>
> 2015-06-26 09:21:58.396 DEBUG oslo_concurrency.lockutils
> [req-a7c9846b-5df5-426d-8966-74b7839dc1a
> 6 None None] Lock "host_instance" acquired by "sync_instance_info" ::
> waited 0.000s from (pid=229
> 88) inner
> /usr/local/lib/python2.7/dist-packages/oslo_concurrency/lockutils.py:250
> 2015-06-26 09:21:58.397 INFO nova.scheduler.host_manager
> [req-a7c9846b-5df5-426d-8966-74b7839dc1a
> 6 None None] Successfully synced instances from host 'devstack'.
> 2015-06-26 09:21:58.397 DEBUG oslo_concurrency.lockutils
> [req-a7c9846b-5df5-426d-8966-74b7839dc1a
> 6 None None] Lock "host_instance" released by "sync_instance_info" ::
> held 0.001s from (pid=22988
> ) inner
> /usr/local/lib/python2.7/dist-packages/oslo_concurrency/lockutils.py:262
> 2015-06-26 09:22:05.123 DEBUG nova.filters
> [req-4903b39f-2b83-4c05-ace6-74319784e85d admin admin]
> Starting with 1 host(s) from (pid=22988) get_filtered_objects
> /opt/stack/nova/nova/filters.py:70
> 2015-06-26 09:22:05.123 DEBUG nova.filters
> [req-4903b39f-2b83-4c05-ace6-74319784e85d admin admin]
> Filter RetryFilter returned 1 host(s) from (pid=22988)
> get_filtered_objects /opt/stack/nova/nova
> /filters.py:84
> 2015-06-26 09:22:05.123 DEBUG nova.filters
> [req-4903b39f-2b83-4c05-ace6-74319784e85d admin admin]
> Filter AvailabilityZoneFilter returned 1 host(s) from (pid=22988)
> get_filtered_objects /opt/stac
> k/nova/nova/filters.py:84
> 2015-06-26 09:22:05.123 DEBUG nova.filters
> [req-4903b39f-2b83-4c05-ace6-74319784e85d admin admin]
> Filter RamFilter returned 1 host(s) from (pid=22988)
> get_filtered_objects /opt/stack/nova/nova/f
> ilters.py:84
> 2015-06-26 09:22:05.124 DEBUG nova.filters
> [req-4903b39f-2b83-4c05-ace6-74319784e85d admin admin]
> Filter ComputeFilter returned 1 host(s) from (pid=22988)
> get_filtered_objects /opt/stack/nova/no
> va/filters.py:84
> 2015-06-26 09:22:05.124 DEBUG nova.filters
> [req-4903b39f-2b83-4c05-ace6-74319784e85d admin admin]
> Filter ComputeCapabilitiesFilter returned 1 host(s) from (pid=22988)
> get_filtered_objects /opt/s
> tack/nova/nova/filters.py:84
> 2015-06-26 09:22:05.124 DEBUG nova.filters
> [req-4903b39f-2b83-4c05-ace6-74319784e85d admin admin] Filter
> ImagePropertiesFilter returned 1 host(s) from (pid=22988)
> get_filtered_objects /opt/stack/nova/nova/filters.py:84
> 2015-06-26 09:22:05.124 DEBUG nova.filters
> [req-4903b39f-2b83-4c05-ace6-74319784e85d admin admin] Filter
> ServerGroupAntiAffinityFilter returned 1 host(s) from (pid=22988)
> get_filtered_objects /opt/stack/nova/nova/filters.py:84
> 2015-06-26 09:22:05.124 DEBUG nova.filters
> [req-4903b39f-2b83-4c05-ace6-74319784e85d admin admin] Filter
> ServerGroupAffinityFilter returned 1 host(s) from (pid=22988)
> get_filtered_objects /opt/stack/nova/nova/filters.py:84
> 2015-06-26 09:22:05.124 DEBUG nova.scheduler.filter_scheduler
> [req-4903b39f-2b83-4c05-ace6-74319784e85d admin admin] Filtered
> [(devstack, devstack) ram:15588 disk:83968 io_ops:0 instances:0] from
> (pid=22988) _schedule /opt/stack/nova/nova/scheduler/filter_scheduler.py:152
> 2015-06-26 09:22:05.125 DEBUG nova.scheduler.filter_scheduler
> [req-4903b39f-2b83-4c05-ace6-74319784e85d admin admin] Weighed
> [WeighedHost [host: (devstack, devstack) ram:15588 disk:83968 io_ops:0
> instances:0, weight: 0.0]] from (pid=22988) _schedule
> /opt/stack/nova/nova/scheduler/filter_scheduler.py:157
> 2015-06-26 09:22:05.125 DEBUG nova.scheduler.filter_scheduler
> [req-4903b39f-2b83-4c05-ace6-74319784e85d admin admin] Selected host:
> WeighedHost [host: (devstack, devstack) ram:15588 disk:83968 io_ops:0
> instances:0, weight: 0.0] from (pid=22988) _schedule
> /opt/stack/nova/nova/scheduler/filter_scheduler.py:167
> 2015-06-26 09:22:08.803 DEBUG nova.openstack.common.periodic_task
> [req-fb9fc0e8-daef-4e32-843d-a2d0a93b0a21 None None] Running periodic
> task SchedulerManager._expire_reservations from (pid=22988)
> run_periodic_tasks
> /opt/stack/nova/nova/openstack/common/periodic_task.py:219
> 2015-06-26 09:22:08.807 DEBUG nova.openstack.common.loopingcall
> [req-fb9fc0e8-daef-4e32-843d-a2d0a93b0a21 None None] Dynamic looping
> call <bound method Service.periodic_tasks of <nova.service.Service
> object at 0x7fc4cd0aa950>> sleeping for 5.21 seconds from (pid=22988)
> _inner /opt/stack/nova/nova/openstack/common/loopingcall.py:132
> 2015-06-26 09:22:14.019 DEBUG nova.openstack.common.periodic_task
> [req-fb9fc0e8-daef-4e32-843d-a2d0a93b0a21 None None] Running periodic
> task SchedulerManager._run_periodic_tasks from (pid=22988)
> run_periodic_tasks
> /opt/stack/nova/nova/openstack/common/periodic_task.py:219
> 2015-06-26 09:22:14.019 DEBUG nova.openstack.common.loopingcall
> [req-fb9fc0e8-daef-4e32-843d-a2d0a93b0a21 None None] Dynamic looping
> call <bound method Service.periodic_tasks of <nova.service.Service
> object at 0x7fc4cd0aa950>> sleeping for 55.78 seconds from (pid=22988)
> _inner /opt/stack/nova/nova/openstack/common/loopingcall.py:132
> 2015-06-26 09:23:09.803 DEBUG nova.openstack.common.periodic_task
> [req-fb9fc0e8-daef-4e32-843d-a2d0a93b0a21 None None] Running periodic
> task SchedulerManager._expire_reservations from (pid=22988)
> run_periodic_tasks
> /opt/stack/nova/nova/openstack/common/periodic_task.py:219
> 2015-06-26 09:23:09.807 DEBUG nova.openstack.common.loopingcall
> [req-fb9fc0e8-daef-4e32-843d-a2d0a93b0a21 None None] Dynamic looping
> call <bound method Service.periodic_tasks of <nova.service.Service
> object at 0x7fc4cd0aa950>> sleeping for 4.21 seconds from (pid=22988)
> _inner /opt/stack/nova/nova/openstack/common/loopingcall.py:132
> 2015-06-26 09:23:14.019 DEBUG nova.openstack.common.periodic_task
> [req-fb9fc0e8-daef-4e32-843d-a2d0a93b0a21 None None] Running periodic
> task SchedulerManager._run_periodic_tasks from (pid=22988)
> run_periodic_tasks
> /opt/stack/nova/nova/openstack/common/periodic_task.py:219
> 2015-06-26 09:23:14.019 DEBUG nova.openstack.common.loopingcall
> [req-fb9fc0e8-daef-4e32-843d-a2d0a93b0a21 None None] Dynamic looping
> call <bound method Service.periodic_tasks of <nova.service.Service
> object at 0x7fc4cd0aa950>> sleeping for 55.78 seconds from (pid=22988)
> _inner /opt/stack/nova/nova/openstack/common/loopingcall.py:132
> 2015-06-26 09:24:03.400 DEBUG oslo_concurrency.lockutils
> [req-83f08864-4383-48ee-a64f-4d6dc37314fb None None] Lock
> "host_instance" acquired by "sync_instance_info" :: waited 0.000s from
> (pid=22988) inner
> /usr/local/lib/python2.7/dist-packages/oslo_concurrency/lockutils.py:250
> 2015-06-26 09:24:03.415 INFO nova.scheduler.host_manager
> [req-83f08864-4383-48ee-a64f-4d6dc37314fb None None] The instance sync
> for host 'devstack' did not match. Re-created its InstanceList.
> 2015-06-26 09:24:03.415 DEBUG oslo_concurrency.lockutils
> [req-83f08864-4383-48ee-a64f-4d6dc37314fb None None] Lock
> "host_instance" released by "sync_instance_info" :: held 0.015s from
> (pid=22988) inner
> /usr/local/lib/python2.7/dist-packages/oslo_concurrency/lockutils.py:262
> 2015-06-26 09:24:09.802 DEBUG nova.openstack.common.periodic_task
> [req-fb9fc0e8-daef-4e32-843d-a2d0a93b0a21 None None] Running periodic
> task SchedulerManager._expire_reservations from (pid=22988)
> run_periodic_tasks
> /opt/stack/nova/nova/openstack/common/periodic_task.py:219
> 2015-06-26 09:24:09.806 DEBUG nova.openstack.common.loopingcall
> [req-fb9fc0e8-daef-4e32-843d-a2d0a93b0a21 None None] Dynamic looping
> call <bound method Service.periodic_tasks of <nova.service.Service
> object at 0x7fc4cd0aa950>> sleeping for 6.21 seconds from (pid=22988)
> _inner /opt/stack/nova/nova/openstack/common/loopingcall.py:132
> 2015-06-26 09:24:16.018 DEBUG nova.openstack.common.periodic_task
> [req-fb9fc0e8-daef-4e32-843d-a2d0a93b0a21 None None] Running periodic
> task SchedulerManager._run_periodic_tasks from (pid=22988)
> run_periodic_tasks
> /opt/stack/nova/nova/openstack/common/periodic_task.py:219
> 2015-06-26 09:24:16.019 DEBUG nova.openstack.common.loopingcall
> [req-fb9fc0e8-daef-4e32-843d-a2d0a93b0a21 None None] Dynamic looping
> call <bound method Service.periodic_tasks of <nova.service.Service
> object at 0x7fc4cd0aa950>> sleeping for 55.78 seconds from (pid=22988)
> _inner /opt/stack/nova/nova/openstack/common/loopingcall.py:132
>
> And this is the error message I get when launching the instance:
>
> /Error: Failed to perform requested operation on instance "test2", the
> instance has an error status: Please try again later [Error: Build of
> instance dc759588-ca81-41ef-a877-0afe73b19bee aborted: Image
> ff9ca36c-fff0-42a6-8eae-605cb7cfdd9e is unacceptable: Image failed to
> upload: Error 500 - Could not get image metadata: exit status 2.]. /
>
> Now, what's strange is that I don't have authorization to run nova
> service-list. I get a ERROR (Unauthorized): Invalid user / password.
> Attached are my nova and keystone configs.
you should source the openrc file with the admin credentials and try
again. also maybe your current user has no perms to use that image
(error looks strange to me)
--
1AE0 322E B8F7 4717 BDEA BF1D 44BB 1BA7 9F6C 6333
keybase: http://keybase.io/gfa
More information about the lxc-users
mailing list