Hi Edison

    Thanks for the clarification. I'll try to debug why the template is
not downloaded.

    I'm running the management-server as a separate vm (over virtualBox,
with one interface in the host-network) at 192.168.56.31. I have sent the
'host' parameter as 192.168.56.31. Isn't this correct?

Thanks
Prabhakar

On 1/15/14 6:09 PM, "Edison Su" <edison...@citrix.com> wrote:

>
>
>> -----Original Message-----
>> From: Prabhakaran Ganesan [mailto:gprab...@juniper.net]
>> Sent: Wednesday, January 15, 2014 4:28 PM
>> To: dev@cloudstack.apache.org
>> Subject: Re: Devcloud update for 4.3
>> 
>> Hi Edison
>> 
>>     Thanks for the details. I was trying to download the tty-linux iso
>>and launch
>> the same. Do you mean to use the built-in 'tiny linux template' by tty
>>linux?
>Yes, the build-in "tty linux".  Doesn't it show up on the UI in create vm
>wizard?
>If not, then what's the agent status of your ssvm? If agent status is not
>in up state(90% true), then check "host" in global configuration, make
>sure "host = 192.168.56.10"
>
>> For some reason, it doesn't get downloaded in my environment.
>> Is there anyway to download it to some location in sec storage (similar
>>to
>> downloading the system vm template)?
>> 
>>     Also, how do I launch the VM without 'data disk'. If I go through
>>the UI, it
>> always asks me to select a DiskOffering and I'm not able to create a 0GB
>> custom offering also.
>> 
>> Thanks
>> Prabhakar
>> 
>> On 1/15/14 4:15 PM, "Edison Su" <edison...@citrix.com> wrote:
>> 
>> >Iso and data disk doesn't work on devcloud, as there is a bug in debian
>> >xen kernel. The only thing devcloud can do, right now, is launching tty
>> >Linux vm.
>> >If you have a separate xen template, you can try to register the
>> >template, then create a vm from it. But make sure, the template url can
>> >be accessed by devcloud.
>> >
>> >> -----Original Message-----
>> >> From: Prabhakaran Ganesan [mailto:gprab...@juniper.net]
>> >> Sent: Wednesday, January 15, 2014 3:36 PM
>> >> To: dev@cloudstack.apache.org
>> >> Subject: Re: Devcloud update for 4.3
>> >>
>> >> Hi Edison
>> >>
>> >>     Thanks for your response. Yes, I'm trying to launch my own iso,
>> >>with 'small'
>> >> data disk offering.
>> >>
>> >>     I tried registering the ttylinux VM ISO. What should I select for
>> >>OS type?
>> >>
>> >> Thanks
>> >> Prabhakaran
>> >>
>> >> On 1/15/14 3:23 PM, "Edison Su" <edison...@citrix.com> wrote:
>> >>
>> >> >Seems attach disk failed, are you using data disk offering when you
>> >> >create the VM? How about just try to start ttyLinux vm, without data
>> >>disk.
>> >> >
>> >> >> -----Original Message-----
>> >> >> From: Prabhakaran Ganesan [mailto:gprab...@juniper.net]
>> >> >> Sent: Wednesday, January 15, 2014 3:10 PM
>> >> >> To: dev@cloudstack.apache.org
>> >> >> Subject: Re: Devcloud update for 4.3
>> >> >>
>> >> >> I'm new to this alias, looks like it does not support attachments.
>> >> >>I have pasted  the significant error logs below. Please let me know
>> >> >>how I can share the  complete logs for your reference.
>> >> >>
>> >> >> Thanks
>> >> >> Prabhakar
>> >> >>
>> >> >> Mgmt-server side:
>> >> >> =================
>> >> >> [root@localhost cloudstack]# INFO  [o.a.c.f.j.i.AsyncJobMonitor]
>> >> >> (Job-Executor-11:ctx-686ff842) Add job-21 into job monitoring WARN
>> >> >> [c.c.h.x.r.CitrixResourceBase] (DirectAgent-180:ctx-e20ff431) Task
>> >> >> failed! Task record:                 uuid:
>> >> >> 2640def4-6141-8698-ded9-adf2da19b746
>> >> >>            nameLabel: Async.VM.start_on
>> >> >>      nameDescription:
>> >> >>    allowedOperations: []
>> >> >>    currentOperations: {}
>> >> >>              created: Wed Jan 15 06:20:00 PST 2014
>> >> >>             finished: Wed Jan 15 06:20:00 PST 2014
>> >> >>               status: failure
>> >> >>           residentOn: com.xensource.xenapi.Host@3ba61fa8
>> >> >>             progress: 1.0
>> >> >>                 type: <none/>
>> >> >>               result:
>> >> >>            errorInfo: [INTERNAL_ERROR, Xb.Noent]
>> >> >>          otherConfig: {}
>> >> >>            subtaskOf: com.xensource.xenapi.Task@aaf13f6f
>> >> >>             subtasks: []
>> >> >>
>> >> >> WARN  [c.c.h.x.r.CitrixResourceBase]
>> >> >>(DirectAgent-180:ctx-e20ff431) Unable  to start VM(i-2-7-VM) on
>> >> >>host(9d4c9db8-32f7-25c3-0435-eab4bf3adcea) due  to
>> >> >> Task failed! Task record:                 uuid:
>> >> >> 2640def4-6141-8698-ded9-adf2da19b746
>> >> >>            nameLabel: Async.VM.start_on
>> >> >>      nameDescription:
>> >> >>    allowedOperations: []
>> >> >>    currentOperations: {}
>> >> >>              created: Wed Jan 15 06:20:00 PST 2014
>> >> >>             finished: Wed Jan 15 06:20:00 PST 2014
>> >> >>               status: failure
>> >> >>           residentOn: com.xensource.xenapi.Host@3ba61fa8
>> >> >>             progress: 1.0
>> >> >>                 type: <none/>
>> >> >>               result:
>> >> >>            errorInfo: [INTERNAL_ERROR, Xb.Noent]
>> >> >>          otherConfig: {}
>> >> >>            subtaskOf: com.xensource.xenapi.Task@aaf13f6f
>> >> >>             subtasks: []
>> >> >>
>> >> >> Task failed! Task record:                 uuid:
>> >> >> 2640def4-6141-8698-ded9-adf2da19b746
>> >> >>            nameLabel: Async.VM.start_on
>> >> >>      nameDescription:
>> >> >>    allowedOperations: []
>> >> >>    currentOperations: {}
>> >> >>              created: Wed Jan 15 06:20:00 PST 2014
>> >> >>             finished: Wed Jan 15 06:20:00 PST 2014
>> >> >>               status: failure
>> >> >>           residentOn: com.xensource.xenapi.Host@3ba61fa8
>> >> >>             progress: 1.0
>> >> >>                 type: <none/>
>> >> >>               result:
>> >> >>            errorInfo: [INTERNAL_ERROR, Xb.Noent]
>> >> >>          otherConfig: {}
>> >> >>            subtaskOf: com.xensource.xenapi.Task@aaf13f6f
>> >> >>             subtasks: []
>> >> >>
>> >> >>        at
>> >> >>
>> >> >>com.cloud.hypervisor.xen.resource.CitrixResourceBase.checkForSucce
>> s
>> >> >>s(
>> >> C
>> >> >>itr
>> >> >> ix
>> >> >> ResourceBase.java:3685)
>> >> >>        at
>> >> >>
>> >> >>com.cloud.hypervisor.xen.resource.CitrixResourceBase.startVM(Citrix
>> >> >>Res
>> >> >>ou
>> >> >> rce
>> >> >> Base.java:3797)
>> >> >>        at
>> >> >>
>> >> >>com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(Citrix
>> >> >>Res
>> >> >>ou
>> >> >> rce
>> >> >> Base.java:1700)
>> >> >>        at
>> >> >>
>> >> >>com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeReque
>> st
>> >> >>(
>> >> Ci
>> >> >>tr
>> >> >> ixR
>> >> >> esourceBase.java:545)
>> >> >>        at
>> >> >>
>> >>
>> com.cloud.hypervisor.xen.resource.XcpOssResource.executeRequest(XcpOs
>> >> >> sResou
>> >> >> rce.java:133)
>> >> >>        at
>> >> >>
>> >> >>com.cloud.agent.manager.DirectAgentAttache$Task.runInContext(Dire
>> ct
>> >> Age
>> >> >> ntAtt
>> >> >> ache.java:216)
>> >> >>        at
>> >> >>
>> >>
>> org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(
>> >> >> ManagedC
>> >> >> ontextRunnable.java:49)
>> >> >>        at
>> >> >>
>> >> >>org.apache.cloudstack.managed.context.impl.DefaultManagedContext
>> $1.
>> >> cal
>> >> >> l(Def
>> >> >> aultManagedContext.java:56)
>> >> >>        at
>> >> >>
>> >> >>org.apache.cloudstack.managed.context.impl.DefaultManagedContext
>> .ca
>> >> >>l
>> >> lW
>> >> >> ithCo
>> >> >> ntext(DefaultManagedContext.java:103)
>> >> >>        at
>> >> >>
>> >>
>> org.apache.cloudstack.managed.context.impl.DefaultManagedContext.run
>> >> >> WithCon
>> >> >> text(DefaultManagedContext.java:53)
>> >> >>        at
>> >> >>
>> >>
>> org.apache.cloudstack.managed.context.ManagedContextRunnable.run(Ma
>> >> >> nagedCon
>> >> >> textRunnable.java:46)
>> >> >>        at
>> >> >>
>> >>java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471
>> >>)
>> >> >>        at
>> >> >> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
>> >> >>        at java.util.concurrent.FutureTask.run(FutureTask.java:166)
>> >> >>        at
>> >> >>
>> >> >>java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureT
>> ask.
>> >> a
>> >> >>c
>> >> >> cess
>> >> >> $101(ScheduledThreadPoolExecutor.java:165)
>> >> >>        at
>> >> >>
>> >> >>java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureT
>> ask.
>> >> r
>> >> >>u
>> >> >> n(Sc
>> >> >> heduledThreadPoolExecutor.java:266)
>> >> >>        at
>> >> >>
>> >> >>java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecut
>> or.
>> >> j
>> >> >>av
>> >> >> a:1
>> >> >> 146)
>> >> >>        at
>> >> >>
>> >> >>java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExec
>> utor.
>> >> >>ja
>> >> >> va:
>> >> >> 615)
>> >> >>        at java.lang.Thread.run(Thread.java:701)
>> >> >> WARN  [c.c.h.x.r.CitrixResourceBase]
>> >> >>(DirectAgent-180:ctx-e20ff431) Catch
>> >> >> Exception: class com.cloud.utils.exception.CloudRuntimeException
>> >> >>due to
>> >> >> com.cloud.utils.exception.CloudRuntimeException: Unable to start
>> >> >> VM(i-2-7-VM) on host(9d4c9db8-32f7-25c3-0435-eab4bf3adcea) due
>> to
>> >> Task
>> >> >> failed! Task record:                 uuid:
>> >> >> 2640def4-6141-8698-ded9-adf2da19b746
>> >> >>            nameLabel: Async.VM.start_on
>> >> >>
>> >> >> XCP-XAPI Errors:
>> >> >>
>> >> >> ================
>> >> >> 20140115T14:20:00.766Z| info|devcloud|1461|Async.VM.start_on
>> >> >> R:451bd4b939c8|dispatcher] spawning a new thread to handle the
>> >> >>current  task (trackid=71ad5d3d9cf6b650d2105b1925aa94f7)
>> >> >> [20140115T14:20:00.770Z|debug|devcloud|1461|Async.VM.start_on
>> >> >> R:451bd4b939c8|audit] VM.start_on: VM =
>> >> >> '85522f78-43c1-7668-cf2f-d5735262fce3 (i-2-7-VM)'; host
>> >> >>'9d4c9db8-32f7-  25c3-0435-eab4bf3adcea (devcloud)'
>> >> >> [20140115T14:20:00.780Z|debug|devcloud|1461|Async.VM.start_on
>> >> >> R:451bd4b939c8|xapi] No operations are valid because
>> >> >>current-operations =  [ OpaqueRef:451bd4b9-39c8-2bcb-84b1-
>> >> 03a0d7bd751d
>> >> >>-> attach ]
>> >> >>[20140115T14:20:00.789Z|debug|devcloud|1461|Async.VM.start_on
>> >> >> R:451bd4b939c8|xapi] host devcloud; available_memory = 2757689344;
>> >> >>memory_required = 575668224
>> >> >>[20140115T14:20:00.789Z|debug|devcloud|1461|Async.VM.start_on
>> >> >> R:451bd4b939c8|xapi_ha_vm_failover]
>> >> >> assert_configuration_change_preserves_ha_plan c =
>> >> >>configuration_change  = { old_vms_leaving = [  ]; new_vms_arriving
>> >> >>= [ 0d19f3fa (devcloud)
>> >> >> 7eeed546
>> >> >> (i-2-7-VM) ]; hosts_to_disable = [  ]; num_failures = no change;
>> >> >>new_vms =  [  ] }
>> >> >>[20140115T14:20:00.795Z|debug|devcloud|1461|Async.VM.start_on
>> >> >> R:451bd4b939c8|thread_queue] push(vm_lifecycle_op, VM.start
>> >> >>Async.VM.start_on R:451bd4b939c8): queue = [ VM.start
>> >> >>Async.VM.start_on
>> >> >> R:451bd4b939c8 ](1)
>> >> >> [20140115T14:20:00.795Z|debug|devcloud|186||thread_queue]
>> >> >> pop(vm_lifecycle_op) = VM.start Async.VM.start_on R:451bd4b939c8
>> >> >>[20140115T14:20:00.796Z|debug|devcloud|1461|Async.VM.start_on
>> >> >> R:451bd4b939c8|locking_helpers] Acquired lock on VM
>> >> >> OpaqueRef:7eeed546-7f37-ab5c-e495-772f4f52d7f8 with token 14
>> >> >>[20140115T14:20:00.796Z|debug|devcloud|1461|Async.VM.start_on
>> >> >> R:451bd4b939c8|xapi] start: making sure the VM really is halted
>> >> >>[20140115T14:20:00.796Z|debug|devcloud|1461|Async.VM.start_on
>> >> >> R:451bd4b939c8|xapi] start: checking that VM can run on this host
>> >> >>[20140115T14:20:00.798Z| info|devcloud|1461|Async.VM.start_on
>> >> >> R:451bd4b939c8|xapi] The VM's BIOS strings were not yet filled in.
>> >> >>The VM is  now made BIOS-generic.
>> >> >> [20140115T14:20:00.799Z|debug|devcloud|1461|Async.VM.start_on
>> >> >> R:451bd4b939c8|xapi] start: bringing up domain in the paused state
>> >> >>[20140115T14:20:00.801Z|debug|devcloud|1461|Async.VM.start_on
>> >> >> R:451bd4b939c8|memory_control] reserve_memory_range
>> min=562176
>> >> >> max=562176
>> >> >> [20140115T14:20:00.802Z|debug|devcloud|1461|Async.VM.start_on
>> >> >> R:451bd4b939c8|xenstore-rpc] Checking pid 2734
>> >> >>[20140115T14:20:00.803Z|debug|devcloud|1461|Async.VM.start_on
>> >> >> R:451bd4b939c8|backtrace] Raised at hashtbl.ml:93.19-28 ->
>> >> >> debug.ml:100.36-65
>> >> >> [20140115T14:20:00.804Z|error|devcloud|1461|Async.VM.start_on
>> >> >> R:451bd4b939c8|memory_control] Unexpected exception talking to
>> >> >>ballooning
>> >> >> daemon: INTERNAL_ERROR: [ Xb.Noent ]
>> >> >>[20140115T14:20:00.804Z|debug|devcloud|1461|Async.VM.start_on
>> >> >> R:451bd4b939c8|xapi] Raised at memory_control.ml:55.12-13 ->
>> >> >> memory_control.ml:95.6-10 -> memory_control.ml:125.2-577 ->
>> >> >> vmops.ml:994.4-261 -> pervasiveext.ml:22.2-9
>> >> >>[20140115T14:20:00.805Z|debug|devcloud|1461|Async.VM.start_on
>> >> >> R:451bd4b939c8|xapi] Raised at pervasiveext.ml:26.22-25 ->
>> >> >> xenctrl.ml:114.13-17 -> xenctrl.ml:114.56-59 ->
>> >> >>xapi_vm.ml:234.6-120
>> >> >>->
>> >> >> pervasiveext.ml:22.2-9
>> >> >> [20140115T14:20:00.805Z|debug|devcloud|1461|Async.VM.start_on
>> >> >> R:451bd4b939c8|xapi] Raised at pervasiveext.ml:26.22-25 ->
>> >> >> pervasiveext.ml:22.2-9
>> >> >> [20140115T14:20:00.806Z|debug|devcloud|1461|Async.VM.start_on
>> >> >> R:451bd4b939c8|locking_helpers] Released lock on VM
>> >> >> OpaqueRef:7eeed546-7f37-ab5c-e495-772f4f52d7f8 with token 14
>> >> >>
>> >> >>
>> >> >>
>> >> >>
>> >> >>
>> >> >> On 1/15/14 3:03 PM, "Prabhakaran Ganesan" <gprab...@juniper.net>
>> >> >> wrote:
>> >> >>
>> >> >> >Not sure if I attached the logs earlier.
>> >> >> >
>> >> >> >On 1/15/14 2:56 PM, "Prabhakaran Ganesan" <gprab...@juniper.net>
>> >> >> wrote:
>> >> >> >
>> >> >> >>Hi Edison
>> >> >> >>
>> >> >> >>    I'm having trouble with launching guest instances. All
>> >> >> >>system VMs are up and running, including the router. But when I
>> >> >> >>try to launch the guest, I'm getting [INTERNAL_ERROR, Xb.noent].
>> >> >> >>Here is some more information on my environment.
>> >> >> >>
>> >> >> >>Host: VirtualBox 4.2 in Centos (192.168.56.1) runs NFS, DNS and
>> >> >> >>WebServer Mgmt Server: Centos 6.4 VM (192.168.56.31), built from
>> >> >> >>4.3 source (2G RAM, 20GB disk)
>> >> >> >>DevCloud: Latest 4.3 compatible Devcloud2.ova downloaded from
>> >> >> sebgoa's
>> >> >> >>apache location (3.5G RAM, 30G disk)
>> >> >> >>
>> >> >> >>I have tried fixing Dom0 memory to allow more memory for guest
>> >> >> >>VMs, as below.
>> >> >> >>
>> >> >> >>xe vm-param-set memory-dynamic-max=500MiB
>> >> >> >>uuid=c8c2f1a3-40d3-308f-70bf-687f7f49b9a5
>> >> >> >>
>> >> >> >>
>> >> >> >>Have attached the management-server and xcp-xapi logs here. I
>> >> >> >>used to run into the same error with the Devcloud.ova downloaded
>> >> >> >>from the bhaisaab's apache location. I have tried using
>> >> >> >>different compute offerings (lower
>> >> >> >>cpu/memory) also. Can you let me know what is going wrong here?
>> >> >> >>
>> >> >> >>
>> >> >> >>
>> >> >> >>
>> >> >> >>Thanks
>> >> >> >>Prabhakar
>> >> >> >>
>> >> >> >>On 1/15/14 10:09 AM, "Edison Su" <edison...@citrix.com> wrote:
>> >> >> >>
>> >> >> >>>Thanks, could you update
>> >> >> >>>https://cwiki.apache.org/confluence/display/CLOUDSTACK/DevCl
>> oud
>> >> >> >>>,
>> >> >> >>>point to your link?
>> >> >> >>>The devcloud reboot issue, also happened to me, haven't have
>> >> >> >>>time to investigate it yet, it's only happened during the first
>> >> >> >>>time adding the host though, and it can recover itself, so not
>> >> >> >>>a
>> >>critical bug.
>> >> >> >>>
>> >> >> >>>> -----Original Message-----
>> >> >> >>>> From: sebgoa [mailto:run...@gmail.com]
>> >> >> >>>> Sent: Wednesday, January 15, 2014 8:49 AM
>> >> >> >>>> To: dev@cloudstack.apache.org
>> >> >> >>>> Subject: Re: Devcloud update for 4.3
>> >> >> >>>>
>> >> >> >>>> I put the image at
>> >> >> >>>> http://people.apache.org/~sebgoa/devcloud2.ova
>> >> >> >>>>
>> >> >> >>>>
>> >> >> >>>>
>> >> >> >>>> On Jan 15, 2014, at 3:57 PM, sebgoa <run...@gmail.com> wrote:
>> >> >> >>>>
>> >> >> >>>> > I confirm that this works.
>> >> >> >>>> >
>> >> >> >>>> > I am uploading the image to my people space on apache
>>infra.
>> >> >> >>>> >
>> >> >> >>>> > I had several warnings, devcloud rebooted (which I don't
>> >> >> >>>> > remember
>> >> >> >>>> happening), but finally It seemed to recover and I started an
>> >> >> >>>>instance.
>> >> >> >>>> >
>> >> >> >>>> > Here are the logs, if someone cares to look at them:
>> >> >> >>>> >
>> >> >> >>>> > http://pastebin.com/yR5RTJsj
>> >> >> >>>> >
>> >> >> >>>> > -sebastien
>> >> >> >>>> >
>> >> >> >>>> > On Jan 15, 2014, at 10:30 AM, Sebastien Goasguen
>> >> >> >>>> > <run...@gmail.com>
>> >> >> >>>> wrote:
>> >> >> >>>> >
>> >> >> >>>> >>
>> >> >> >>>> >> On Jan 14, 2014, at 8:32 PM, Edison Su
>> >> >> >>>> >> <edison...@citrix.com>
>> >> >> >>>>wrote:
>> >> >> >>>> >>
>> >> >> >>>> >>> After several fixes, devcloud is working on 4.3 branch
>>now.
>> >> >> >>>> >>> Manually create a new devcloud image(the only change to
>> >> >> >>>> >>> the image
>> >> >> >>>>is
>> >> >> >>>> to put 4.3 system vm template into
>> >> >> >>>>/opt/storage/secondary/**/1/1/), and  put it under:
>> >> >> >>>>http://pan.baidu.com/s/1dDkmM5r (Can't find a free place to
>> >> >> >>>>hold 1.3G data, so put it in a Chinese dropbox like
>> >> >> >>>>website(which has
>> >>2T
>> >> storage for free...) ).
>> >> >> >>>> >>> Not sure you can download it or not. If not, then I may
>> >> >> >>>> >>> need help
>> >> >> >>>>to find
>> >> >> >>>> another place to store the image.
>> >> >> >>>> >>
>> >> >> >>>> >> Cool,
>> >> >> >>>> >>
>> >> >> >>>> >> Maybe you can put it on S3 or your public_html on
>> >> >> >>>> >> people.apache.org
>> >> >> >>>> >>
>> >> >> >>>> >>
>> >> >> >>>> >
>> >> >> >>>
>> >> >> >>>
>> >> >> >>>
>> >> >> >>
>> >> >> >>
>> >> >> >>
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >>
>> >> >
>> >> >
>> >> >
>> >>
>> >
>> >
>> >
>> 
>
>
>


Reply via email to