Skip to content

Instantly share code, notes, and snippets.

@enriqueaf
Created July 7, 2011 15:55
Show Gist options
  • Save enriqueaf/1069830 to your computer and use it in GitHub Desktop.
Save enriqueaf/1069830 to your computer and use it in GitHub Desktop.
Haizea Error: Problem when Host of CPU:8 and running VM needding CPU:8
[2011-07-07 17:53:26.86] ENACT.ONE.INFO Fetching nodes from OpenNebula
[2011-07-07 17:53:26.87] ENACT.ONE.INFO Fetched node 1 tenorio Disk: [80000] | CPU: [100, 100, 100, 100, 100, 100, 100, 100] | Memory: [16384.0]
[2011-07-07 17:53:26.87] ENACT.ONE.INFO Fetched 1 nodes from OpenNebula
[2011-07-07 17:53:26.87] RM Starting resource manager
[2011-07-07 17:53:26.87] RPCSERVER RPC server started on port 42493
[2011-07-07 17:53:26.87] CLOCK Starting clock
[2011-07-07 17:53:26.87] CLOCK Waking up to manage resources
[2011-07-07 17:53:26.87] CLOCK Wake-up time recorded as 2011-07-07 17:53:27.00
[2011-07-07 17:53:26.88] VMSCHED We have to free all this space {node => space}
[2011-07-07 17:53:26.88] VMSCHED Nothing to see
[2011-07-07 17:53:26.88] VMSCHED FINISH DELAYING
[2011-07-07 17:53:26.88] VMSCHED FINISH DELAYING END's
[2011-07-07 17:53:26.88] RM Requesting leases
[2011-07-07 17:53:26.88] RM Running scheduling function
[2011-07-07 17:53:26.88] CLOCK Going back to sleep. Waking up at 2011-07-07 17:53:47.00 to see if something interesting has happened by then.
[2011-07-07 17:53:47.00] CLOCK Waking up to manage resources
[2011-07-07 17:53:47.00] CLOCK Wake-up time recorded as 2011-07-07 17:53:47.00
[2011-07-07 17:53:47.00] VMSCHED We have to free all this space {node => space}
[2011-07-07 17:53:47.00] VMSCHED Nothing to see
[2011-07-07 17:53:47.00] VMSCHED FINISH DELAYING
[2011-07-07 17:53:47.00] VMSCHED FINISH DELAYING END's
[2011-07-07 17:53:47.13] RM Requesting leases
[2011-07-07 17:53:47.13] LSCHED Lease #1 has been requested.
[2011-07-07 17:53:47.13] LEASES __________________________________________________
[2011-07-07 17:53:47.13] LEASES Lease ID : 1
[2011-07-07 17:53:47.13] LEASES Type : Best-effort
[2011-07-07 17:53:47.13] LEASES Submission time: 2011-07-07 17:53:39.00
[2011-07-07 17:53:47.13] LEASES Start : REQ: Unspecified | SCH: None | ACT: None
[2011-07-07 17:53:47.13] LEASES Duration : REQ: 01:00:00.00 | ACC: 00:00:00.00 | ACT: None | KNW: None
[2011-07-07 17:53:47.13] LEASES Deadline : None
[2011-07-07 17:53:47.13] LEASES State : New
[2011-07-07 17:53:47.13] LEASES Resource req : {1: Disk: [0] | CPU: [800] | Memory: [128]}
[2011-07-07 17:53:47.13] LEASES Software : <haizea.core.leases.UnmanagedSoftwareEnvironment object at 0x2be5610>
[2011-07-07 17:53:47.13] LEASES Price : None
[2011-07-07 17:53:47.13] LEASES Extras : {}
[2011-07-07 17:53:47.13] LEASES VM RESOURCE RESERVATIONS
[2011-07-07 17:53:47.13] LEASES ~~~~~~~~~~~~~~~~~~~~~~~~
[2011-07-07 17:53:47.13] LEASES --------------------------------------------------
[2011-07-07 17:53:47.13] LSCHED Lease #1 has been marked as pending.
[2011-07-07 17:53:47.13] RM Running scheduling function
[2011-07-07 17:53:47.13] LSCHED Queued lease request #1, 1 nodes for 01:00:00.00.
[2011-07-07 17:53:47.13] LSCHED Next request in the queue is lease 1. Attempting to schedule...
[2011-07-07 17:53:47.13] LEASES __________________________________________________
[2011-07-07 17:53:47.13] LEASES Lease ID : 1
[2011-07-07 17:53:47.13] LEASES Type : Best-effort
[2011-07-07 17:53:47.13] LEASES Submission time: 2011-07-07 17:53:39.00
[2011-07-07 17:53:47.13] LEASES Start : REQ: Unspecified | SCH: None | ACT: None
[2011-07-07 17:53:47.13] LEASES Duration : REQ: 01:00:00.00 | ACC: 00:00:00.00 | ACT: None | KNW: None
[2011-07-07 17:53:47.13] LEASES Deadline : None
[2011-07-07 17:53:47.13] LEASES State : Queued
[2011-07-07 17:53:47.13] LEASES Resource req : {1: Disk: [0] | CPU: [800] | Memory: [128]}
[2011-07-07 17:53:47.13] LEASES Software : <haizea.core.leases.UnmanagedSoftwareEnvironment object at 0x2be5610>
[2011-07-07 17:53:47.13] LEASES Price : None
[2011-07-07 17:53:47.13] LEASES Extras : {}
[2011-07-07 17:53:47.13] LEASES VM RESOURCE RESERVATIONS
[2011-07-07 17:53:47.13] LEASES ~~~~~~~~~~~~~~~~~~~~~~~~
[2011-07-07 17:53:47.13] LEASES --------------------------------------------------
[2011-07-07 17:53:47.13] VMSCHED Attempting to map from 2011-07-07 17:53:57.00 to 2011-07-07 18:53:57.00
[2011-07-07 17:53:47.13] RM An unexpected exception has happened.
[2011-07-07 17:53:47.16] RM File "/home/enrique/Projects/haizea/src/haizea/core/manager.py", line 439, in process_requests
self.scheduler.schedule(nexttime)
[2011-07-07 17:53:47.16] RM File "/home/enrique/Projects/haizea/src/haizea/core/scheduler/lease_scheduler.py", line 207, in schedule
self.__process_queue(nexttime)
[2011-07-07 17:53:47.16] RM File "/home/enrique/Projects/haizea/src/haizea/core/scheduler/lease_scheduler.py", line 606, in __process_queue
self.__schedule_lease(lease, nexttime)
[2011-07-07 17:53:47.16] RM File "/home/enrique/Projects/haizea/src/haizea/core/scheduler/lease_scheduler.py", line 672, in __schedule_lease
(vmrr, preemptions) = self.vm_scheduler.schedule(lease, lease.duration.get_remaining_duration(), nexttime, earliest)
[2011-07-07 17:53:47.16] RM File "/home/enrique/Projects/haizea/src/haizea/core/scheduler/vm_scheduler.py", line 112, in schedule
return self.__schedule_asap(lease, duration, nexttime, earliest, allow_in_future = self.can_schedule_in_future())
[2011-07-07 17:53:47.16] RM File "/home/enrique/Projects/haizea/src/haizea/core/scheduler/vm_scheduler.py", line 585, in __schedule_asap
raise InconsistentScheduleError, "Could not find a mapping in the future (this should not happen)"
[2011-07-07 17:53:47.16] RM Message: Could not find a mapping in the future (this should not happen)
[2011-07-07 17:53:47.16] RM Panicking...
[2011-07-07 17:53:47.89] RM --- Haizea status summary ---
[2011-07-07 17:53:47.89] RM Queued: 1 (1 Best-effort)
[2011-07-07 17:53:47.89] RM ------
[2011-07-07 17:53:47.89] RM TOTAL: 1
[2011-07-07 17:53:47.89] RM ---- End summary ----
[2011-07-07 17:53:47.89] RM Next change point (in slot table): None
[2011-07-07 17:53:47.89] RM vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
[2011-07-07 17:53:47.89] LEASES __________________________________________________
[2011-07-07 17:53:47.89] LEASES Lease ID : 1
[2011-07-07 17:53:47.89] LEASES Type : Best-effort
[2011-07-07 17:53:47.89] LEASES Submission time: 2011-07-07 17:53:39.00
[2011-07-07 17:53:47.89] LEASES Start : REQ: Unspecified | SCH: None | ACT: None
[2011-07-07 17:53:47.89] LEASES Duration : REQ: 01:00:00.00 | ACC: 00:00:00.00 | ACT: None | KNW: None
[2011-07-07 17:53:47.89] LEASES Deadline : None
[2011-07-07 17:53:47.89] LEASES State : Queued
[2011-07-07 17:53:47.89] LEASES Resource req : {1: Disk: [0] | CPU: [800] | Memory: [128]}
[2011-07-07 17:53:47.89] LEASES Software : <haizea.core.leases.UnmanagedSoftwareEnvironment object at 0x2be5610>
[2011-07-07 17:53:47.89] LEASES Price : None
[2011-07-07 17:53:47.89] LEASES Extras : {}
[2011-07-07 17:53:47.89] LEASES VM RESOURCE RESERVATIONS
[2011-07-07 17:53:47.89] LEASES ~~~~~~~~~~~~~~~~~~~~~~~~
[2011-07-07 17:53:47.89] LEASES --------------------------------------------------
[2011-07-07 17:53:47.89] RM ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment