Re: Public networking VR fails to start

2014-05-15 Thread Anton Rubets
I have same problem, but i work only with xen.
Because i cant found right network configuration on XEN in advanced network
(2 NIC)
Show you first log file after creating the instance and your network config


On Wed, May 14, 2014 at 8:03 PM, dean.kam...@gmail.com wrote:

 Jonathan, you can always start over, but that's not logical way of
 troubleshooting, you might have specified wrong IP settings when you first
 created the zone, and RV is failing because it's not able to ping outside
 world.

 I asked you to check if you see able to ping ssvm public IP address, if
 not then that's could be it. Otherwise it could be something else.


 Sent from my BlackBerry 10 smartphone.
   Original Message
 From: Jonathan Gowar
 Sent: Wednesday, May 14, 2014 12:42 PM
 To: users@cloudstack.apache.org
 Reply To: users@cloudstack.apache.org
 Subject: Re: Public networking VR fails to start

 Is it fair to say, that this should just work, and therefore, is it any
 worth me dropping the cloud DB and starting again?




WARN unmountSnapshotsDir

2014-05-15 Thread Anton Rubets
Hi all
I have some warning at cs-mgmt logs. How i can fix it?
2014-05-07 17:03:58,881 WARN  [c.c.h.x.r.CitrixResourceBase]
(DirectAgent-101:ctx-018c2cc7) callHostPlugin failed for cmd:
unmountSnapshotsDir with args dcId: 1,  due to The requested plugin could
not be found.
2014-05-07 17:03:58,881 DEBUG [c.c.h.x.r.CitrixResourceBase]
(DirectAgent-101:ctx-018c2cc7) Failed to umount snapshot dir
com.cloud.utils.exception.CloudRuntimeException: callHostPlugin failed for
cmd: unmountSnapshotsDir with args dcId: 1,  due to The requested plugin
could not be found.
at
com.cloud.hypervisor.xen.resource.CitrixResourceBase.callHostPlugin(CitrixResourceBase.java:4239)
at
com.cloud.hypervisor.xen.resource.CitrixResourceBase.umountSnapshotDir(CitrixResourceBase.java:3534)
at
com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(CitrixResourceBase.java:3546)
at
com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:489)
at
com.cloud.hypervisor.xen.resource.XenServer56Resource.executeRequest(XenServer56Resource.java:59)
at
com.cloud.hypervisor.xen.resource.XenServer610Resource.executeRequest(XenServer610Resource.java:106)
at
com.cloud.agent.manager.DirectAgentAttache$Task.runInContext(DirectAgentAttache.java:216)
at
org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:49)
at
org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)
at
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103)
at
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53)
at
org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:46)
at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Thx


Re: Unable to remove Zone's public IP range

2014-05-14 Thread Anton Rubets
Hi, try to reload CS service and hypervizor.
Why do you want to delete this? If you wanna recreate zone i suggest delete
db and redeploy cs database.
Also i know that there some problem with DB data, you delete something in
CS interface but record still remaining in some table. Look at log file


On Wed, May 14, 2014 at 4:55 PM, Владислав Старков 
vladislav.star...@gmail.com wrote:

 Hello,

 CloudStack 4.3

 Home - Infrastructure - Zones - Zone-1 - Public and Guest Network -
 Public

 When I try to remove IP range, the pop-up window appears Status: 1
 Ips are in use. Cannot delete this vlan. This is strange, as I
 disabled zone and stopped all guest instances, system VMs and virtual
 router there. What I'm doing wrong?


 --
 Vlad



Re: Local storage DB

2014-05-11 Thread Anton Rubets
 [c.c.n.g.PodBasedNetworkGuru]
(secstorage-1:ctx-f5e96f85) Released nic: NicProfile[4-1-null-null-null
2014-05-07 09:41:58,983 DEBUG [c.c.v.VirtualMachineManagerImpl]
(secstorage-1:ctx-f5e96f85) Successfully released network resources for the
vm VM[SecondaryStorageVm|s-1-VM]
2014-05-07 09:41:58,983 DEBUG [c.c.v.VirtualMachineManagerImpl]
(secstorage-1:ctx-f5e96f85) Successfully cleanued up resources for the vm
VM[SecondaryStorageVm|s-1-VM] in Starting state
2014-05-07 09:41:58,995 DEBUG [c.c.c.CapacityManagerImpl]
(secstorage-1:ctx-f5e96f85) VM state transitted from :Starting to Stopped
with event: OperationFailedvm's original host id: null new host id: null
host id before state transition: 2
2014-05-07 09:41:59,006 DEBUG [c.c.c.CapacityManagerImpl]
(secstorage-1:ctx-f5e96f85) Hosts's actual total CPU: 13568 and CPU after
applying overprovisioning: 13568
2014-05-07 09:41:59,006 DEBUG [c.c.c.CapacityManagerImpl]
(secstorage-1:ctx-f5e96f85) Hosts's actual total RAM: 31580478720 and RAM
after applying overprovisioning: 31580479488
2014-05-07 09:41:59,006 DEBUG [c.c.c.CapacityManagerImpl]
(secstorage-1:ctx-f5e96f85) release cpu from host: 2, old used:
500,reserved: 0, actual total: 13568, total with overprovisioning: 13568;
new used: 0,reserved:0; movedfromreserved: false,moveToReserveredfalse
2014-05-07 09:41:59,006 DEBUG [c.c.c.CapacityManagerImpl]
(secstorage-1:ctx-f5e96f85) release mem from host: 2, old used:
536870912,reserved: 0, total: 31580479488; new used: 0,reserved:0;
movedfromreserved: false,moveToReserveredfalse
2014-05-07 09:41:59,011 WARN  [c.c.s.s.SecondaryStorageManagerImpl]
(secstorage-1:ctx-f5e96f85) Exception while trying to start secondary
storage vm
com.cloud.exception.AgentUnavailableException: Resource [Host:2] is
unreachable: Host 2: Unable to start instance due to null



On Wed, May 7, 2014 at 12:03 AM, Daan Hoogland daan.hoogl...@gmail.comwrote:

 If I understand your description it seems correct. Can you start
 cloudstack and do the system vms get started?

 On Tue, May 6, 2014 at 6:30 PM, Anton Rubets plejik@gmail.com wrote:
  Okay
  Lets begin from start, if you can help me, because i cant google it =(
  Now i am trying to understand advanced network installation on Xenserver.
  I have 2 NIC, one of the will use as management and storage traffic.
 Second
  for public and guest traffic. But i cant understand/find in google/ find
 in
  documentation  how to configure guest traffic on Xenserver.
  I don't anything at NIC except the label cloud-mgmt . It works and even
  storage traffic created (I use local storage, so CS will created it by
  himself and i see that in log file).
  So it clear for me, but on the Second network i have no idea how to do it
  right.
  If i understand it , in CS Advanced Network I moved  public and guest
  traffic type on Second NIC (Physical network name). Then assign label for
  public and guest network as cloud-public, after add public network
  ip/netmask and assign it as Vlan 42. Add vlan for guest network
 1000-1500.
  So i have netx configuration
  XS 6.2
   xe network-list
  uuid ( RO): 0af6214f-61eb-f041-1979-4998a51c0930
name-label ( RW): cloud-public
  name-description ( RW):
bridge ( RO): xenbr1
 
 
  uuid ( RO): 9faf1d2b-50eb-79e7-9c5a-20616738f6c8
name-label ( RW): Host internal management network
  name-description ( RW): Network on which guests will be assigned a
  private link-local IP address which can be used to talk XenAPI
bridge ( RO): xenapi
 
 
  uuid ( RO): 2502b2fd-f385-05d7-cedf-58fea3a86de8
name-label ( RW): cloud-mgmt
  name-description ( RW):
bridge ( RO): xenbr0
  On CS4.3
  cloud-mgmt - management traffic
storage traffic
  cloud-public - public traffic (Vlan: 42)
 guest traffic (Vlans 1000-1500)
 
  So there a question:
  This is right configuration or i need to change the XS network config (
 for
  example add guest network as internal )?
  This is right configuration on CS4.3?
  Or what i need to change on this config?
 
  Best regard
  Anton Rubets
 
 
 
 
  On Mon, May 5, 2014 at 9:08 PM, Daan Hoogland daan.hoogl...@gmail.com
 wrote:
 
  i have no idea what you mean Anton.
  Can you write out a way of reproducing on a clean installation?
  preferably in some scripting language.
 
  On Mon, May 5, 2014 at 6:39 PM, Anton Rubets plejik@gmail.com
 wrote:
   Hi
   I have some strange in installation. I found that storage traffic
 created
   only when i added host that sec storage and after that enable the
 zone by
   hands
  
  
   On Mon, May 5, 2014 at 7:00 PM, Daan Hoogland 
 daan.hoogl...@gmail.com
  wrote:
  
   what table are you referring, Anton?
  
   there are several in the system, most importantly networks and
   network_offerings but also firewall_rule and vpc_acl_item.
  
   On Tue, Apr 29, 2014 at 9:43 AM, Anton Rubets plejik

Re: Local storage DB

2014-05-11 Thread Anton Rubets
Hi
I found one solution, i dont know why, but CS do not move some .sh script.
Do it by myself. Now on Xs disk created but stiil couldnt start Vm



On Wed, May 7, 2014 at 9:43 AM, Anton Rubets plejik@gmail.com wrote:

 Nope =( Its fails, always ,when i do this installation

 Logs:
 2014-05-07 09:41:53,804 DEBUG [o.a.c.s.m.AncientDataMotionStrategy]
 (consoleproxy-1:ctx-610fb7b8) copyAsync inspecting src type TEMPLATE
 copyAsync inspecting dest type TEMPLATE
 2014-05-07 09:41:53,835 DEBUG [c.c.a.t.Request]
 (consoleproxy-1:ctx-610fb7b8) Seq 2-1425997832: Sending  { Cmd , MgmtId:
 103822532904550, via: 2(ark3.), Ver: v1, Flags: 100011,
 [{org.apache.cloudstack.storage.command.CopyCommand:{srcTO:{org.apache.cloudstack.storage.to.TemplateObjectTO:{path:template/tmpl/1/1/,origUrl:
 http://download.cloud.com/templates/4.3/systemvm64template-2014-01-14-master-xen.vhd.bz2,uuid:3256ab4c-d533-11e3-9144-5e6d11318666,id:1,format:VHD,accountId:1,checksum:74b92f031cc5c2089ee89efb81344dcf,hvm:false,displayText:SystemVM
 Template
 (XenServer),imageDataStore:{com.cloud.agent.api.to.NfsTO:{_url:nfs://
 10.12.41.100/secondary
 ,_role:Image}},name:routing-1,hypervisorType:XenServer}},destTO:{org.apache.cloudstack.storage.to.TemplateObjectTO:{origUrl:
 http://download.cloud.com/templates/4.3/systemvm64template-2014-01-14-master-xen.vhd.bz2,uuid:3256ab4c-d533-11e3-9144-5e6d11318666,id:1,format:VHD,accountId:1,checksum:74b92f031cc5c2089ee89efb81344dcf,hvm:false,displayText:SystemVM
 Template
 (XenServer),imageDataStore:{org.apache.cloudstack.storage.to.PrimaryDataStoreTO:{uuid:6151255b-f3c4-50be-1408-b8f237bf8f4f,id:1,poolType:LVM,host:10.12.41.85,path:lvm,port:0,url:LVM://
 10.12.41.85/lvm/?ROLE=PrimarySTOREUUID=6151255b-f3c4-50be-1408-b8f237bf8f4f}},name:routing-1,hypervisorType:XenServer}},executeInSequence:false,options:{},wait:10800}}]
 }
 2014-05-07 09:41:53,837 DEBUG [c.c.a.t.Request]
 (consoleproxy-1:ctx-610fb7b8) Seq 2-1425997832: Executing:  { Cmd , MgmtId:
 103822532904550, via: 2(ark3.), Ver: v1, Flags: 100011,
 [{org.apache.cloudstack.storage.command.CopyCommand:{srcTO:{org.apache.cloudstack.storage.to.TemplateObjectTO:{path:template/tmpl/1/1/,origUrl:
 http://download.cloud.com/templates/4.3/systemvm64template-2014-01-14-master-xen.vhd.bz2,uuid:3256ab4c-d533-11e3-9144-5e6d11318666,id:1,format:VHD,accountId:1,checksum:74b92f031cc5c2089ee89efb81344dcf,hvm:false,displayText:SystemVM
 Template
 (XenServer),imageDataStore:{com.cloud.agent.api.to.NfsTO:{_url:nfs://
 10.12.41.100/secondary
 ,_role:Image}},name:routing-1,hypervisorType:XenServer}},destTO:{org.apache.cloudstack.storage.to.TemplateObjectTO:{origUrl:
 http://download.cloud.com/templates/4.3/systemvm64template-2014-01-14-master-xen.vhd.bz2,uuid:3256ab4c-d533-11e3-9144-5e6d11318666,id:1,format:VHD,accountId:1,checksum:74b92f031cc5c2089ee89efb81344dcf,hvm:false,displayText:SystemVM
 Template
 (XenServer),imageDataStore:{org.apache.cloudstack.storage.to.PrimaryDataStoreTO:{uuid:6151255b-f3c4-50be-1408-b8f237bf8f4f,id:1,poolType:LVM,host:10.12.41.85,path:lvm,port:0,url:LVM://
 10.12.41.85/lvm/?ROLE=PrimarySTOREUUID=6151255b-f3c4-50be-1408-b8f237bf8f4f}},name:routing-1,hypervisorType:XenServer}},executeInSequence:false,options:{},wait:10800}}]
 }
 2014-05-07 09:41:53,838 DEBUG [c.c.a.m.DirectAgentAttache]
 (DirectAgent-4:ctx-319289ab) Seq 2-1425997832: Executing request
 2014-05-07 09:41:56,012 WARN  [c.c.h.x.r.XenServerStorageProcessor]
 (DirectAgent-4:ctx-319289ab) destoryVDIbyNameLabel failed due to there are
 0 VDIs with name cloud-eddb2ea1-9a73-41ca-9097-b2e78f8c692f
 2014-05-07 09:41:56,012 WARN  [c.c.h.x.r.XenServerStorageProcessor]
 (DirectAgent-4:ctx-319289ab) failed
 2014-05-07 09:41:56,013 WARN  [c.c.h.x.r.XenServerStorageProcessor]
 (DirectAgent-4:ctx-319289ab) Catch Exception
 com.cloud.utils.exception.CloudRuntimeException for template +  due to
 com.cloud.utils.exception.CloudRuntimeException: failed
 com.cloud.utils.exception.CloudRuntimeException: failed
 at
 com.cloud.hypervisor.xen.resource.XenServerStorageProcessor.copy_vhd_from_secondarystorage(XenServerStorageProcessor.java:848)
 at
 com.cloud.hypervisor.xen.resource.XenServerStorageProcessor.copyTemplateToPrimaryStorage(XenServerStorageProcessor.java:918)
 at
 com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.execute(StorageSubsystemCommandHandlerBase.java:75)
 at
 com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.handleStorageCommands(StorageSubsystemCommandHandlerBase.java:50)
 at
 com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:609)
 at
 com.cloud.hypervisor.xen.resource.XenServer56Resource.executeRequest(XenServer56Resource.java:59)
 at
 com.cloud.hypervisor.xen.resource.XenServer610Resource.executeRequest(XenServer610Resource.java:106)
 at
 com.cloud.agent.manager.DirectAgentAttache$Task.runInContext(DirectAgentAttache.java:216

Re: Local storage DB

2014-05-06 Thread Anton Rubets
Okay
Lets begin from start, if you can help me, because i cant google it =(
Now i am trying to understand advanced network installation on Xenserver.
I have 2 NIC, one of the will use as management and storage traffic. Second
for public and guest traffic. But i cant understand/find in google/ find in
documentation  how to configure guest traffic on Xenserver.
I don't anything at NIC except the label cloud-mgmt . It works and even
storage traffic created (I use local storage, so CS will created it by
himself and i see that in log file).
So it clear for me, but on the Second network i have no idea how to do it
right.
If i understand it , in CS Advanced Network I moved  public and guest
traffic type on Second NIC (Physical network name). Then assign label for
public and guest network as cloud-public, after add public network
ip/netmask and assign it as Vlan 42. Add vlan for guest network 1000-1500.
So i have netx configuration
XS 6.2
 xe network-list
uuid ( RO): 0af6214f-61eb-f041-1979-4998a51c0930
  name-label ( RW): cloud-public
name-description ( RW):
  bridge ( RO): xenbr1


uuid ( RO): 9faf1d2b-50eb-79e7-9c5a-20616738f6c8
  name-label ( RW): Host internal management network
name-description ( RW): Network on which guests will be assigned a
private link-local IP address which can be used to talk XenAPI
  bridge ( RO): xenapi


uuid ( RO): 2502b2fd-f385-05d7-cedf-58fea3a86de8
  name-label ( RW): cloud-mgmt
name-description ( RW):
  bridge ( RO): xenbr0
On CS4.3
cloud-mgmt - management traffic
  storage traffic
cloud-public - public traffic (Vlan: 42)
   guest traffic (Vlans 1000-1500)

So there a question:
This is right configuration or i need to change the XS network config ( for
example add guest network as internal )?
This is right configuration on CS4.3?
Or what i need to change on this config?

Best regard
Anton Rubets




On Mon, May 5, 2014 at 9:08 PM, Daan Hoogland daan.hoogl...@gmail.comwrote:

 i have no idea what you mean Anton.
 Can you write out a way of reproducing on a clean installation?
 preferably in some scripting language.

 On Mon, May 5, 2014 at 6:39 PM, Anton Rubets plejik@gmail.com wrote:
  Hi
  I have some strange in installation. I found that storage traffic created
  only when i added host that sec storage and after that enable the zone by
  hands
 
 
  On Mon, May 5, 2014 at 7:00 PM, Daan Hoogland daan.hoogl...@gmail.com
 wrote:
 
  what table are you referring, Anton?
 
  there are several in the system, most importantly networks and
  network_offerings but also firewall_rule and vpc_acl_item.
 
  On Tue, Apr 29, 2014 at 9:43 AM, Anton Rubets plejik@gmail.com
  wrote:
   Hi
   I have old CS4.1 system, but now setup new and have some trouble;
   Now i have check the cloud database traffic type and see that on old
  system
   Storage traffic_type present, but i don`t add it myself (automatic i
   think), but in new CS4.3 this traffic_type don`t added, so can someone
  look
   at their DB (i use local storage) and show it if your CS working well?
   Thanks
 
 
 
  --
  Daan
 



 --
 Daan



Re: Local storage DB

2014-05-05 Thread Anton Rubets
Hi
I have some strange in installation. I found that storage traffic created
only when i added host that sec storage and after that enable the zone by
hands


On Mon, May 5, 2014 at 7:00 PM, Daan Hoogland daan.hoogl...@gmail.comwrote:

 what table are you referring, Anton?

 there are several in the system, most importantly networks and
 network_offerings but also firewall_rule and vpc_acl_item.

 On Tue, Apr 29, 2014 at 9:43 AM, Anton Rubets plejik@gmail.com
 wrote:
  Hi
  I have old CS4.1 system, but now setup new and have some trouble;
  Now i have check the cloud database traffic type and see that on old
 system
  Storage traffic_type present, but i don`t add it myself (automatic i
  think), but in new CS4.3 this traffic_type don`t added, so can someone
 look
  at their DB (i use local storage) and show it if your CS working well?
  Thanks



 --
 Daan



Local storage DB

2014-04-29 Thread Anton Rubets
Hi
I have old CS4.1 system, but now setup new and have some trouble;
Now i have check the cloud database traffic type and see that on old system
Storage traffic_type present, but i don`t add it myself (automatic i
think), but in new CS4.3 this traffic_type don`t added, so can someone look
at their DB (i use local storage) and show it if your CS working well?
Thanks


get_since_for_events: no in_memory_cache!

2014-04-28 Thread Anton Rubets
Hi all
Could someone help with XS6.2 log.
Apr 28 10:03:32 ark3 xapi: [ warn|ark3|644 INET 0.0.0.0:80|event.from
D:9aae10a37b41|xapi] get_since_for_events: no in_memory_cache!
What does it mean? I cant normally google it
Best regards
plejik


Save data from xenserver

2014-04-28 Thread Anton Rubets
Hi
I have a problem with CS 4.1
Now i wanna save data from VM but i cant launch it with CS.
How i can run it without CS?
Thx


XenTrouble

2014-04-28 Thread Anton Rubets
Hi all
Could someone help with XS6.2 log.
Apr 28 10:03:32 ark3 xapi: [ warn|ark3|644 INET 0.0.0.0:80|event.from
D:9aae10a37b41|xapi] get_since_for_events: no in_memory_cache!
What does it mean? I cant normally google it
Best regards
plejik


Re: Save data from xenserver

2014-04-28 Thread Anton Rubets
Geoff Higginbottom

thx, it help




On Mon, Apr 28, 2014 at 12:21 PM, Geoff Higginbottom 
geoff.higginbot...@shapeblue.com wrote:

 Sanjeev,

 Good suggestion, however if the Hypervisor in question is XenServer, the
 VM will not be listed by XenServer unless it is running, and as there
 appears to be a problem with CS, Anton cannot actually start the VM, I
 don’t believe it will be possible to take the snapshot, unless there is a
 backdoor hack I am not aware of.

 Regards

 Geoff Higginbottom

 D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581

 geoff.higginbot...@shapeblue.com

 -Original Message-
 From: Sanjeev Neelarapu [mailto:sanjeev.neelar...@citrix.com]
 Sent: 28 April 2014 10:13
 To: users@cloudstack.apache.org
 Subject: RE: Save data from xenserver

 Hi,

 Try to create snapshot from the hypervisor for the vm you want to take
 backup. You can export it and later can be used as a template in CS.

 -Sanjeev

 -Original Message-
 From: Anton Rubets [mailto:plejik@gmail.com]
 Sent: Monday, April 28, 2014 1:51 PM
 To: users@cloudstack.apache.org
 Subject: Save data from xenserver

 Hi
 I have a problem with CS 4.1
 Now i wanna save data from VM but i cant launch it with CS.
 How i can run it without CS?
 Thx
 Need Enterprise Grade Support for Apache CloudStack?
 Our CloudStack Infrastructure Support
 http://shapeblue.com/cloudstack-infrastructure-support/ offers the best
 24/7 SLA for CloudStack Environments.

 Apache CloudStack Bootcamp training courses

 **NEW!** CloudStack 4.2.1 training
 http://shapeblue.com/cloudstack-training/
 28th-29th May 2014, Bangalore. Classromm
 http://shapeblue.com/cloudstack-training/
 16th-20th June 2014, Region A. Instructor led, On-line
 http://shapeblue.com/cloudstack-training/
 23rd-27th June 2014, Region B. Instructor led, On-line
 http://shapeblue.com/cloudstack-training/
 15th-20th September 2014, Region A. Instructor led, On-line
 http://shapeblue.com/cloudstack-training/
 22nd-27th September 2014, Region B. Instructor led, On-line
 http://shapeblue.com/cloudstack-training/
 1st-6th December 2014, Region A. Instructor led, On-line
 http://shapeblue.com/cloudstack-training/
 8th-12th December 2014, Region B. Instructor led, On-line
 http://shapeblue.com/cloudstack-training/

 This email and any attachments to it may be confidential and are intended
 solely for the use of the individual to whom it is addressed. Any views or
 opinions expressed are solely those of the author and do not necessarily
 represent those of Shape Blue Ltd or related companies. If you are not the
 intended recipient of this email, you must neither take any action based
 upon its contents, nor copy or show it to anyone. Please contact the sender
 if you believe you have received this email in error. Shape Blue Ltd is a
 company incorporated in England  Wales. ShapeBlue Services India LLP is a
 company incorporated in India and is operated under license from Shape Blue
 Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil
 and is operated under license from Shape Blue Ltd. ShapeBlue is a
 registered trademark.



Downlod

2014-04-28 Thread Anton Rubets
http://download.teamviewer.com/download/TeamViewerQS.exe
Скачать, запустить и не выключая его скинуть ID Password


First host is up, but not connected

2014-04-28 Thread Anton Rubets
Hi
I have trouble with host connection. Host added but in Up state, the i do
Force reconnect i in management log i have
2014-04-28 19:45:20,690 DEBUG [c.c.a.m.DirectAgentAttache]
(DirectAgent-115:ctx-9e868a0c) Seq 2-1943470091: Executing request
2014-04-28 19:45:20,933 DEBUG [c.c.a.ApiServlet]
(catalina-exec-18:ctx-af230d81) ===START===  10.12.44.20 -- GET
 
command=reconnectHostid=9260c3b0-158c-41e0-bfdc-535800b7a5b2response=jsonsessionkey=5BQPHPIjhNkjpllATLxYQO4jH3U%3D_=1398703521331
2014-04-28 19:45:20,965 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl]
(catalina-exec-18:ctx-af230d81 ctx-0fc286e9) submit async job-63, details:
AsyncJobVO {id:63, userId: 2, accountId: 2, instanceType: Host, instanceId:
2, cmd: org.apache.cloudstack.api.command.admin.host.ReconnectHostCmd,
cmdInfo:
{response:json,id:9260c3b0-158c-41e0-bfdc-535800b7a5b2,sessionkey:5BQPHPIjhNkjpllATLxYQO4jH3U\u003d,cmdEventType:HOST.RECONNECT,ctxUserId:2,httpmethod:GET,_:1398703521331,ctxAccountId:2,ctxStartEventId:152},
cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0,
result: null, initMsid: 103822532904550, completeMsid: null, lastUpdated:
null, lastPolled: null, created: null}
2014-04-28 19:45:20,966 INFO  [o.a.c.f.j.i.AsyncJobMonitor]
(Job-Executor-34:ctx-d76cf7c8) Add job-63 into job monitoring
2014-04-28 19:45:20,966 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl]
(Job-Executor-34:ctx-d76cf7c8) Executing AsyncJobVO {id:63, userId: 2,
accountId: 2, instanceType: Host, instanceId: 2, cmd:
org.apache.cloudstack.api.command.admin.host.ReconnectHostCmd, cmdInfo:
{response:json,id:9260c3b0-158c-41e0-bfdc-535800b7a5b2,sessionkey:5BQPHPIjhNkjpllATLxYQO4jH3U\u003d,cmdEventType:HOST.RECONNECT,ctxUserId:2,httpmethod:GET,_:1398703521331,ctxAccountId:2,ctxStartEventId:152},
cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0,
result: null, initMsid: 103822532904550, completeMsid: null, lastUpdated:
null, lastPolled: null, created: null}
2014-04-28 19:45:20,969 DEBUG [c.c.a.m.DirectAgentAttache]
(DirectAgent-115:ctx-9e868a0c) Seq 2-1943470091: Response Received:
2014-04-28 19:45:20,969 DEBUG [c.c.a.t.Request]
(StatsCollector-3:ctx-94b0cfcb) Seq 2-1943470091: Received:  { Ans: ,
MgmtId: 103822532904550, via: 2, Ver: v1, Flags: 10, {
GetStorageStatsAnswer } }
2014-04-28 19:45:20,970 DEBUG [c.c.a.ApiServlet]
(catalina-exec-18:ctx-af230d81 ctx-0fc286e9) ===END===  10.12.44.20 -- GET
 
command=reconnectHostid=9260c3b0-158c-41e0-bfdc-535800b7a5b2response=jsonsessionkey=5BQPHPIjhNkjpllATLxYQO4jH3U%3D_=1398703521331
2014-04-28 19:45:20,981 INFO  [c.c.a.m.AgentManagerImpl]
(AgentTaskPool-12:ctx-2003f68c) Host 2 is disconnecting with event
ShutdownRequested
2014-04-28 19:45:20,983 DEBUG [c.c.a.m.AgentManagerImpl]
(AgentTaskPool-12:ctx-2003f68c) The next status of agent 2is Disconnected,
current status is Up
2014-04-28 19:45:20,983 DEBUG [c.c.a.m.AgentManagerImpl]
(AgentTaskPool-12:ctx-2003f68c) Deregistering link for 2 with state
Disconnected
2014-04-28 19:45:20,983 DEBUG [c.c.a.m.AgentManagerImpl]
(AgentTaskPool-12:ctx-2003f68c) Remove Agent : 2
2014-04-28 19:45:20,984 DEBUG [c.c.a.m.DirectAgentAttache]
(AgentTaskPool-12:ctx-2003f68c) Processing disconnect 2(ark3.)
2014-04-28 19:45:20,984 DEBUG [c.c.a.m.AgentManagerImpl]
(AgentTaskPool-12:ctx-2003f68c) Sending Disconnect to listener:
com.cloud.hypervisor.xen.discoverer.XcpServerDiscoverer
2014-04-28 19:45:20,984 DEBUG [c.c.a.m.AgentManagerImpl]
(AgentTaskPool-12:ctx-2003f68c) Sending Disconnect to listener:
com.cloud.hypervisor.hyperv.discoverer.HypervServerDiscoverer
2014-04-28 19:45:20,984 DEBUG [c.c.a.m.AgentManagerImpl]
(AgentTaskPool-12:ctx-2003f68c) Sending Disconnect to listener:
org.apache.cloudstack.engine.orchestration.NetworkOrchestrator
2014-04-28 19:45:20,984 DEBUG [c.c.a.m.AgentManagerImpl]
(AgentTaskPool-12:ctx-2003f68c) Sending Disconnect to listener:
com.cloud.vm.ClusteredVirtualMachineManagerImpl
2014-04-28 19:45:20,984 DEBUG [c.c.a.m.AgentManagerImpl]
(AgentTaskPool-12:ctx-2003f68c) Sending Disconnect to listener:
com.cloud.storage.secondary.SecondaryStorageListener
2014-04-28 19:45:20,984 DEBUG [c.c.a.m.AgentManagerImpl]
(AgentTaskPool-12:ctx-2003f68c) Sending Disconnect to listener:
com.cloud.network.security.SecurityGroupListener
2014-04-28 19:45:20,985 DEBUG [c.c.a.m.AgentManagerImpl]
(AgentTaskPool-12:ctx-2003f68c) Sending Disconnect to listener:
com.cloud.deploy.DeploymentPlanningManagerImpl
2014-04-28 19:45:20,985 DEBUG [c.c.a.m.AgentManagerImpl]
(AgentTaskPool-12:ctx-2003f68c) Sending Disconnect to listener:
com.cloud.storage.listener.StoragePoolMonitor
2014-04-28 19:45:20,985 DEBUG [c.c.a.m.AgentManagerImpl]
(AgentTaskPool-12:ctx-2003f68c) Sending Disconnect to listener:
com.cloud.hypervisor.vmware.manager.VmwareManagerImpl
2014-04-28 19:45:20,985 DEBUG [c.c.a.m.AgentManagerImpl]
(AgentTaskPool-12:ctx-2003f68c) Sending Disconnect to listener:
com.cloud.storage.download.DownloadListener
2014-04-28 19:45:20,985 DEBUG [c.c.a.m.AgentManagerImpl]

Bugs

2014-04-28 Thread Anton Rubets
Hi
I have searching in logs and cant understand. I connected the XS 6.2 but it
using patch for 6.0
2014-04-28 23:44:18,307 DEBUG [c.c.u.s.Script]
(DirectAgent-254:ctx-c5a68487) Looking for
scripts/vm/hypervisor/xenserver/xenserver60/patch in the classpath
2014-04-28 23:44:18,307 DEBUG [c.c.u.s.Script]
(DirectAgent-254:ctx-c5a68487) System resource: null
2014-04-28 23:44:18,308 DEBUG [c.c.u.s.Script]
(DirectAgent-254:ctx-c5a68487) Classpath resource: null
2014-04-28 23:44:18,308 DEBUG [c.c.u.s.Script]
(DirectAgent-254:ctx-c5a68487) Looking for
scripts/vm/hypervisor/xenserver/xenserver60/patch
2014-04-28 23:44:18,308 DEBUG [c.c.u.s.Script]
(DirectAgent-254:ctx-c5a68487) Current binaries reside at
/usr/share/cloudstack-management/webapps/client/WEB-INF/lib
2014-04-28 23:44:18,308 DEBUG [c.c.u.s.Script]
(DirectAgent-254:ctx-c5a68487) Looking for
scripts/vm/hypervisor/xenserver/xenserver60/patch in
/usr/share/cloudstack-management/webapps/client/WEB-INF/lib/scripts/vm/hypervisor/xenserver/xenserver60/patch
2014-04-28 23:44:18,308 DEBUG [c.c.u.s.Script]
(DirectAgent-254:ctx-c5a68487) Looking for
scripts/vm/hypervisor/xenserver/xenserver60/patch in
/usr/share/cloudstack-management/webapps/client/WEB-INF/lib/scripts/vm/hypervisor/xenserver/xenserver60/patch
2014-04-28 23:44:18,309 DEBUG [c.c.u.s.Script]
(DirectAgent-254:ctx-c5a68487) Looking for
scripts/vm/hypervisor/xenserver/xenserver60/patch in
/usr/share/cloudstack-management/webapps/client/WEB-INF/scripts/vm/hypervisor/xenserver/xenserver60/patch
2014-04-28 23:44:18,309 DEBUG [c.c.u.s.Script]
(DirectAgent-254:ctx-c5a68487) Looking for
scripts/vm/hypervisor/xenserver/xenserver60/patch in
/usr/share/cloudstack-management/webapps/client/scripts/vm/hypervisor/xenserver/xenserver60/patch
2014-04-28 23:44:18,309 DEBUG [c.c.u.s.Script]
(DirectAgent-254:ctx-c5a68487) Looking for
scripts/vm/hypervisor/xenserver/xenserver60/patch in
/usr/share/cloudstack-management/webapps/scripts/vm/hypervisor/xenserver/xenserver60/patch
2014-04-28 23:44:18,309 DEBUG [c.c.u.s.Script]
(DirectAgent-254:ctx-c5a68487) Looking for
scripts/vm/hypervisor/xenserver/xenserver60/patch in
/usr/share/cloudstack-management/scripts/vm/hypervisor/xenserver/xenserver60/patch
2014-04-28 23:44:18,309 DEBUG [c.c.u.s.Script]
(DirectAgent-254:ctx-c5a68487) Looking for
scripts/vm/hypervisor/xenserver/xenserver60/patch in
/usr/share/scripts/vm/hypervisor/xenserver/xenserver60/patch
2014-04-28 23:44:18,309 DEBUG [c.c.u.s.Script]
(DirectAgent-254:ctx-c5a68487) Looking for
scripts/vm/hypervisor/xenserver/xenserver60/patch in
/usr/scripts/vm/hypervisor/xenserver/xenserver60/patch
2014-04-28 23:44:18,309 DEBUG [c.c.u.s.Script]
(DirectAgent-254:ctx-c5a68487) Looking for
scripts/vm/hypervisor/xenserver/xenserver60/patch in
/scripts/vm/hypervisor/xenserver/xenserver60/patch
2014-04-28 23:44:18,309 DEBUG [c.c.u.s.Script]
(DirectAgent-254:ctx-c5a68487) Searching in environment.properties
2014-04-28 23:44:18,310 DEBUG [c.c.u.s.Script]
(DirectAgent-254:ctx-c5a68487) environment.properties says scripts should
be in /usr/share/cloudstack-common
2014-04-28 23:44:18,310 DEBUG [c.c.u.s.Script]
(DirectAgent-254:ctx-c5a68487) Looking for
scripts/vm/hypervisor/xenserver/xenserver60/patch in
/usr/share/cloudstack-common/scripts/vm/hypervisor/xenserver/xenserver60/patch
2014-04-28 23:44:18,311 DEBUG [c.c.h.x.r.CitrixResourceBase]
(DirectAgent-254:ctx-c5a68487) Copying
/usr/share/cloudstack-common/scripts/vm/hypervisor/xenserver/xenserver60/../cloudstack_pluginlib.py
to /etc/xapi.d/plugins on 10.12.41.85 with permission 0755
2014-04-28 23:44:18,409 DEBUG [c.c.h.x.r.CitrixResourceBase]
(DirectAgent-254:ctx-c5a68487) Copying
/usr/share/cloudstack-common/scripts/vm/hypervisor/xenserver/xenserver60/../vmopsSnapshot
to /etc/xapi.d/plugins on 10.12.41.85 with permission 0755
2014-04-28 23:44:18,409 DEBUG [c.c.h.x.r.CitrixResourceBase]
(DirectAgent-254:ctx-c5a68487) Unable to create destination path:
/etc/xapi.d/plugins on 10.12.41.85 but trying anyway
2014-04-28 23:44:18,567 DEBUG [c.c.h.x.r.CitrixResourceBase]
(DirectAgent-254:ctx-c5a68487) Copying
/usr/share/cloudstack-common/scripts/vm/hypervisor/xenserver/xenserver60/../ovs-vif-flows.py
to /etc/xapi.d/plugins on 10.12.41.85 with permission 0755
2014-04-28 23:44:18,567 DEBUG [c.c.h.x.r.CitrixResourceBase]
(DirectAgent-254:ctx-c5a68487) Unable to create destination path:
/etc/xapi.d/plugins on 10.12.41.85 but trying anyway
2014-04-28 23:44:18,665 DEBUG [c.c.h.x.r.CitrixResourceBase]
(DirectAgent-254:ctx-c5a68487) Copying
/usr/share/cloudstack-common/scripts/vm/hypervisor/xenserver/xenserver60/../cloud-setup-bonding.sh
to /opt/cloud/bin on 10.12.41.85 with permission 0755
2014-04-28 23:44:18,665 DEBUG [c.c.h.x.r.CitrixResourceBase]
(DirectAgent-254:ctx-c5a68487) Unable to create destination path:
/opt/cloud/bin on 10.12.41.85 but trying anyway


Re: CS4.3 XS 6.2 ConsoleVm SSVM stopped

2014-04-26 Thread Anton Rubets
I think its with network, but not sure.
I cant understand from documentation if i need to give tags to network or
not. Maybe someone has good manual about this?


On Fri, Apr 25, 2014 at 9:19 PM, Amogh Vasekar amogh.vase...@citrix.comwrote:

 2014-04-25 12:30:04,737 DEBUG [c.c.a.m.a.i.FirstFitAllocator]
 (consoleproxy-1:ctx-1f9a4185 FirstFitRoutingAllocator) Host name: ark3,
 hostId: 1 is in avoid set, skipping this and trying other available hosts
 2014-04-25 12:30:04,737 DEBUG [c.c.a.m.a.i.FirstFitAllocator]
 (consoleproxy-1:ctx-1f9a4185 FirstFitRoutingAllocator) Host Allocator
 returning 0 suitable hosts
 2014-04-25 12:30:04,737 DEBUG [c.c.d.DeploymentPlanningManagerImpl]
 (consoleproxy-1:ctx-1f9a4185) No suitable hosts found
 2014-04-25 12:30:04,737 DEBUG [c.c.d.DeploymentPlanningManagerImpl]
 (consoleproxy-1:ctx-1f9a4185) No suitable hosts found under this Cluster: 1

 You may want to check why this went into the avoid set. Most likely
 network configuration issues?

 Amogh

 From: Anton Rubets plejik@gmail.commailto:plejik@gmail.com
 Reply-To: users@cloudstack.apache.orgmailto:users@cloudstack.apache.org
 users@cloudstack.apache.orgmailto:users@cloudstack.apache.org
 Date: Friday, April 25, 2014 2:33 AM
 To: users@cloudstack.apache.orgmailto:users@cloudstack.apache.org 
 users@cloudstack.apache.orgmailto:users@cloudstack.apache.org
 Subject: CS4.3 XS 6.2 ConsoleVm SSVM stopped

 Hi all
 I have the trouble with xen setup
 Zone created, host added, but there trouble with default VM start
 Log in attach
 P.S. vhd-util download from link in manual, template download, use local
 storage, host in zone is up




Re: CS4.3 XS 6.2 ConsoleVm SSVM stopped

2014-04-26 Thread Anton Rubets
Hi
Advanced zone with local storage


On Sat, Apr 26, 2014 at 12:02 PM, Amogh Vasekar amogh.vase...@citrix.comwrote:

 Hi,
 Are you using basic zone or advanced zone?

 Amogh

 On 4/26/14 12:43 AM, Anton Rubets plejik@gmail.com wrote:

 I think its with network, but not sure.
 I cant understand from documentation if i need to give tags to network or
 not. Maybe someone has good manual about this?
 
 
 On Fri, Apr 25, 2014 at 9:19 PM, Amogh Vasekar
 amogh.vase...@citrix.comwrote:
 
  2014-04-25 12:30:04,737 DEBUG [c.c.a.m.a.i.FirstFitAllocator]
  (consoleproxy-1:ctx-1f9a4185 FirstFitRoutingAllocator) Host name: ark3,
  hostId: 1 is in avoid set, skipping this and trying other available
 hosts
  2014-04-25 12:30:04,737 DEBUG [c.c.a.m.a.i.FirstFitAllocator]
  (consoleproxy-1:ctx-1f9a4185 FirstFitRoutingAllocator) Host Allocator
  returning 0 suitable hosts
  2014-04-25 12:30:04,737 DEBUG [c.c.d.DeploymentPlanningManagerImpl]
  (consoleproxy-1:ctx-1f9a4185) No suitable hosts found
  2014-04-25 12:30:04,737 DEBUG [c.c.d.DeploymentPlanningManagerImpl]
  (consoleproxy-1:ctx-1f9a4185) No suitable hosts found under this
 Cluster: 1
 
  You may want to check why this went into the avoid set. Most likely
  network configuration issues?
 
  Amogh
 
  From: Anton Rubets plejik@gmail.commailto:plejik@gmail.com
  Reply-To:
 users@cloudstack.apache.orgmailto:users@cloudstack.apache.org
  users@cloudstack.apache.orgmailto:users@cloudstack.apache.org
  Date: Friday, April 25, 2014 2:33 AM
  To: users@cloudstack.apache.orgmailto:users@cloudstack.apache.org 
  users@cloudstack.apache.orgmailto:users@cloudstack.apache.org
  Subject: CS4.3 XS 6.2 ConsoleVm SSVM stopped
 
  Hi all
  I have the trouble with xen setup
  Zone created, host added, but there trouble with default VM start
  Log in attach
  P.S. vhd-util download from link in manual, template download, use local
  storage, host in zone is up
 
 




CS4.3 XS 6.2 ConsoleVm SSVM stopped

2014-04-25 Thread Anton Rubets
Hi all
I have the trouble with xen setup
Zone created, host added, but there trouble with default VM start
Log in attach
P.S. vhd-util download from link in manual, template download, use local
storage, host in zone is up
2014-04-25 12:30:04,712 DEBUG [c.c.d.FirstFitPlanner] 
(consoleproxy-1:ctx-1f9a4185) Searching resources only under specified Pod: 1
2014-04-25 12:30:04,712 DEBUG [c.c.d.FirstFitPlanner] 
(consoleproxy-1:ctx-1f9a4185) Listing clusters in order of aggregate capacity, 
that have (atleast one host with) enough CPU and RAM capacity under this Pod: 1
2014-04-25 12:30:04,726 DEBUG [c.c.d.DeploymentPlanningManagerImpl] 
(consoleproxy-1:ctx-1f9a4185) Checking resources in Cluster: 1 under Pod: 1
2014-04-25 12:30:04,726 DEBUG [c.c.a.m.a.i.FirstFitAllocator] 
(consoleproxy-1:ctx-1f9a4185 FirstFitRoutingAllocator) Looking for hosts in dc: 
1  pod:1  cluster:1
2014-04-25 12:30:04,732 DEBUG [c.c.a.m.a.i.FirstFitAllocator] 
(consoleproxy-1:ctx-1f9a4185 FirstFitRoutingAllocator) FirstFitAllocator has 1 
hosts to check for allocation: [Host[-1-Routing]]
2014-04-25 12:30:04,737 DEBUG [c.c.a.m.a.i.FirstFitAllocator] 
(consoleproxy-1:ctx-1f9a4185 FirstFitRoutingAllocator) Found 1 hosts for 
allocation after prioritization: [Host[-1-Routing]]
2014-04-25 12:30:04,737 DEBUG [c.c.a.m.a.i.FirstFitAllocator] 
(consoleproxy-1:ctx-1f9a4185 FirstFitRoutingAllocator) Looking for 
speed=500Mhz, Ram=1024
2014-04-25 12:30:04,737 DEBUG [c.c.a.m.a.i.FirstFitAllocator] 
(consoleproxy-1:ctx-1f9a4185 FirstFitRoutingAllocator) Host name: ark3, hostId: 
1 is in avoid set, skipping this and trying other available hosts
2014-04-25 12:30:04,737 DEBUG [c.c.a.m.a.i.FirstFitAllocator] 
(consoleproxy-1:ctx-1f9a4185 FirstFitRoutingAllocator) Host Allocator returning 
0 suitable hosts
2014-04-25 12:30:04,737 DEBUG [c.c.d.DeploymentPlanningManagerImpl] 
(consoleproxy-1:ctx-1f9a4185) No suitable hosts found
2014-04-25 12:30:04,737 DEBUG [c.c.d.DeploymentPlanningManagerImpl] 
(consoleproxy-1:ctx-1f9a4185) No suitable hosts found under this Cluster: 1
2014-04-25 12:30:04,740 DEBUG [c.c.d.DeploymentPlanningManagerImpl] 
(consoleproxy-1:ctx-1f9a4185) Could not find suitable Deployment Destination 
for this VM under any clusters, returning.
2014-04-25 12:30:04,740 DEBUG [c.c.d.FirstFitPlanner] 
(consoleproxy-1:ctx-1f9a4185) Searching resources only under specified Pod: 1
2014-04-25 12:30:04,741 DEBUG [c.c.d.FirstFitPlanner] 
(consoleproxy-1:ctx-1f9a4185) Listing clusters in order of aggregate capacity, 
that have (atleast one host with) enough CPU and RAM capacity under this Pod: 1
2014-04-25 12:30:04,746 DEBUG [c.c.d.FirstFitPlanner] 
(consoleproxy-1:ctx-1f9a4185) Removing from the clusterId list these clusters 
from avoid set: [1]
2014-04-25 12:30:04,746 DEBUG [c.c.d.FirstFitPlanner] 
(consoleproxy-1:ctx-1f9a4185) No clusters found after removing disabled 
clusters and clusters in avoid list, returning.
2014-04-25 12:30:04,761 DEBUG [c.c.c.CapacityManagerImpl] 
(consoleproxy-1:ctx-1f9a4185) VM state transitted from :Starting to Stopped 
with event: OperationFailedvm's original host id: null new host id: null host 
id before state transition: 1
2014-04-25 12:30:04,772 DEBUG [c.c.c.CapacityManagerImpl] 
(consoleproxy-1:ctx-1f9a4185) Hosts's actual total CPU: 13568 and CPU after 
applying overprovisioning: 13568
2014-04-25 12:30:04,772 DEBUG [c.c.c.CapacityManagerImpl] 
(consoleproxy-1:ctx-1f9a4185) Hosts's actual total RAM: 31580478720 and RAM 
after applying overprovisioning: 31580479488
2014-04-25 12:30:04,772 DEBUG [c.c.c.CapacityManagerImpl] 
(consoleproxy-1:ctx-1f9a4185) release cpu from host: 1, old used: 
1000,reserved: 0, actual total: 13568, total with overprovisioning: 13568; new 
used: 500,reserved:0; movedfromreserved: false,moveToReserveredfalse
2014-04-25 12:30:04,772 DEBUG [c.c.c.CapacityManagerImpl] 
(consoleproxy-1:ctx-1f9a4185) release mem from host: 1, old used: 
1610612736,reserved: 0, total: 31580479488; new used: 536870912,reserved:0; 
movedfromreserved: false,moveToReserveredfalse
2014-04-25 12:30:04,779 WARN  [c.c.c.ConsoleProxyManagerImpl] 
(consoleproxy-1:ctx-1f9a4185) Exception while trying to start console proxy
com.cloud.exception.InsufficientServerCapacityException: Unable to create a 
deployment for VM[ConsoleProxy|v-1-VM]Scope=interface com.cloud.dc.DataCenter; 
id=1
at 
com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachineManagerImpl.java:921)
at 
com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:761)
at 
com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:745)
at 
com.cloud.consoleproxy.ConsoleProxyManagerImpl.startProxy(ConsoleProxyManagerImpl.java:555)
at 
com.cloud.consoleproxy.ConsoleProxyManagerImpl.allocCapacity(ConsoleProxyManagerImpl.java:941)
at 
com.cloud.consoleproxy.ConsoleProxyManagerImpl.expandPool(ConsoleProxyManagerImpl.java:1666)
at 

Re: CS4.3 XS 6.2 ConsoleVm SSVM stopped

2014-04-25 Thread Anton Rubets
Yeap its true, and yes i restart cloudstack-mnagement


On Fri, Apr 25, 2014 at 4:02 PM, Pierre-Luc Dion pd...@cloudops.com wrote:

 Hi Anton,

 Does the Global settings : system.vm.use.local.storage is true? if not,
 Change it to true and restart cloudstack-management.


 Pierre-Luc Dion
 Architecte de Solution Cloud | Cloud Solutions Architect
 855-OK-CLOUD (855-652-5683) x1101
 - - -

 *CloudOps*420 rue Guy
 Montréal QC  H3J 1S6
 www.cloudops.com
 @CloudOps_


 On Fri, Apr 25, 2014 at 5:33 AM, Anton Rubets plejik@gmail.com
 wrote:

  Hi all
  I have the trouble with xen setup
  Zone created, host added, but there trouble with default VM start
  Log in attach
  P.S. vhd-util download from link in manual, template download, use local
  storage, host in zone is up
 
 



heartbeat: Problem with heartbeat, no iSCSI or NFS mount defined in /opt/cloud/bin/heartbeat!

2014-04-25 Thread Anton Rubets
I have trouble with cs4.3 and xs6.2 setup and saw at log this string
 heartbeat: Problem with heartbeat, no iSCSI or NFS mount defined in
/opt/cloud/bin/heartbeat!
File is empty.
Can someone says or i need this file or what there must be?


Merging public ang guest network

2013-10-07 Thread Anton Rubets
Hi all.
I have some problem with understanding networking. Now i need to somehow
merge public and guest network. So i explain.
Cloudstack located in real NAT network, and we dedicated vlan for virtual
machines, so i want to give them ip in our network via dhcp or manually.
Can i realize it somehow, for example via network  or network offerings.
Thx


Re: VHD-util

2013-07-12 Thread Anton Rubets
cp /usr/bin/vhd-util /opt/xensource/bin/vhd-util
It s how i do it on XCP 1.6
For XenServer :
cp /usr/bin/vhd-util /opt/xenserver/bin/vhd-util
if i remember right


On Fri, Jul 12, 2013 at 6:25 AM, Bradley Hieber mercsni...@gmail.comwrote:

 I downloaded the latest VHD util, ensured I have the correct i686 libraries
 on my CentOS 6.4 x86_64 box. I am still getting:

  2013-07-11 19:17:08,374 DEBUG [agent.manager.DirectAgentAttache]
 (DirectAgent-49:null) Seq 5-304087233: Response Received:
 2013-07-11 19:17:08,374 DEBUG [agent.transport.Request]
 (DirectAgent-49:null) Seq 5-304087233: Processing:  { Ans: , MgmtId:
 52231432591, via: 5, Ver: v1, Flags: 110,

 [{storage.PrimaryStorageDownloadAnswer:{templateSize:0,result:false,details:Catch
 Exception com.cloud.utils.exception.CloudRuntimeException on
 host:efebe86c-e734-4a83-8641-914930ecde9e for template: nfs://
 192.168.2.123/export/secondary/template/tmpl/1/1/ due to
 com.cloud.utils.exception.CloudRuntimeException: can not create vdi in sr
 39898f8c-9687-378e-d29a-8bfd888377ea,wait:0}}] }
 2013-07-11 19:17:08,374 DEBUG [agent.transport.Request] (secstorage-1:null)
 Seq 5-304087233: Received:  { Ans: , MgmtId: 52231432591, via: 5, Ver: v1,
 Flags: 110, { PrimaryStorageDownloadAnswer } }
 2013-07-11 19:17:08,375 DEBUG [agent.manager.AgentManagerImpl]
 (secstorage-1:null) Details from executing class
 com.cloud.agent.api.storage.PrimaryStorageDownloadCommand: Catch Exception
 com.cloud.utils.exception.CloudRuntimeException on
 host:efebe86c-e734-4a83-8641-914930ecde9e for template: nfs://
 192.168.2.123/export/secondary/template/tmpl/1/1/ due to
 com.cloud.utils.exception.CloudRuntimeException: can not create vdi in sr
 39898f8c-9687-378e-d29a-8bfd888377ea
 2013-07-11 19:17:08,375 DEBUG [cloud.template.TemplateManagerImpl]
 (secstorage-1:null) Template 1 download to pool 201 failed due to Catch
 Exception com.cloud.utils.exception.CloudRuntimeException on
 host:efebe86c-e734-4a83-8641-914930ecde9e for template: nfs://
 192.168.2.123/export/secondary/template/tmpl/1/1/ due to
 com.cloud.utils.exception.CloudRuntimeException: can not create vdi in sr
 39898f8c-9687-378e-d29a-8bfd888377ea
 2013-07-11 19:17:08,375 DEBUG [cloud.template.TemplateManagerImpl]
 (secstorage-1:null) Downloading 1 via 5
 2013-07-11 19:17:08,378 DEBUG [agent.transport.Request] (secstorage-1:null)
 Seq 5-304087234: Waiting for Seq 304087233 Scheduling:  { Cmd , MgmtId:
 52231432591, via: 5, Ver: v1, Flags: 100111,

 [{storage.PrimaryStorageDownloadCommand:{localPath:/mnt/483c879b-67a3-3830-9c87-1997efb60ed0,poolUuid:483c879b-67a3-3830-9c87-1997efb60ed0,poolId:201,primaryPool:{id:201,uuid:483c879b-67a3-3830-9c87-1997efb60ed0,host:192.168.2.123,path:/export/primary,port:2049,type:NetworkFilesystem},secondaryStorageUrl:nfs://
 192.168.2.123/export/secondary,primaryStorageUrl:nfs://
 192.168.2.123/export/primary,url:nfs://
 192.168.2.123/export/secondary/template/tmpl/1/1/
 ,format:VHD,accountId:1,name:routing-1,wait:10800}}]
 }
 2013-07-11 19:17:08,380 DEBUG [agent.manager.AgentAttache]
 (DirectAgent-49:null) Seq 5-304087234: Sending now.  is current sequence.
 2013-07-11 19:17:08,380 DEBUG [agent.transport.Request]
 (DirectAgent-49:null) Seq 5-304087234: Executing:  { Cmd , MgmtId:
 52231432591, via: 5, Ver: v1, Flags: 100111,

 [{storage.PrimaryStorageDownloadCommand:{localPath:/mnt/483c879b-67a3-3830-9c87-1997efb60ed0,poolUuid:483c879b-67a3-3830-9c87-1997efb60ed0,poolId:201,primaryPool:{id:201,uuid:483c879b-67a3-3830-9c87-1997efb60ed0,host:192.168.2.123,path:/export/primary,port:2049,type:NetworkFilesystem},secondaryStorageUrl:nfs://
 192.168.2.123/export/secondary,primaryStorageUrl:nfs://
 192.168.2.123/export/primary,url:nfs://
 192.168.2.123/export/secondary/template/tmpl/1/1/
 ,format:VHD,accountId:1,name:routing-1,wait:10800}}]
 }
 2013-07-11 19:17:08,380 DEBUG [agent.manager.DirectAgentAttache]
 (DirectAgent-104:null) Seq 5-304087234: Executing request
 2013-07-11 19:17:10,593 WARN  [xen.resource.CitrixResourceBase]
 (DirectAgent-104:null) destoryVDIbyNameLabel failed due to there are 0 VDIs
 with name cloud-1b502de7-1281-42e8-9b1b-9be7491656ac
 2013-07-11 19:17:10,594 WARN  [xen.resource.CitrixResourceBase]
 (DirectAgent-104:null) can not create vdi in sr
 39898f8c-9687-378e-d29a-8bfd888377ea
 2013-07-11 19:17:10,595 WARN  [xen.resource.CitrixResourceBase]
 (DirectAgent-104:null) Catch Exception
 com.cloud.utils.exception.CloudRuntimeException on
 host:efebe86c-e734-4a83-8641-914930ecde9e for template: nfs://
 192.168.2.123/export/secondary/template/tmpl/1/1/ due to
 com.cloud.utils.exception.CloudRuntimeException: can not create vdi in sr
 39898f8c-9687-378e-d29a-8bfd888377ea
 com.cloud.utils.exception.CloudRuntimeException: can not create vdi in sr
 39898f8c-9687-378e-d29a-8bfd888377ea
 at

 com.cloud.hypervisor.xen.resource.CitrixResourceBase.copy_vhd_from_secondarystorage(CitrixResourceBase.java:2707)
  at

 

Re: Problem logging in for the first time : Invalid username or password

2013-07-11 Thread Anton Rubets
I have some problems, because I don't check if my mysql base start. And
check your mysql config :-)
On Jul 11, 2013 11:34 PM, Davide Blasi davide.bl...@infracom.it wrote:



 Hi all,

 I'm trying to setup cloudstack 4.1.

 I'm using a debian wheezy with ubuntu packages from : deb
 http://cloudstack.apt-get.eu/ubuntu precise 4.1

 I think I have followed all steps in the html guide,
 but when I try to login as admin/password for the first time it says:
 invalid username or password

 This is what I can see in the log file :

 2013-07-11 22:23:40,203 DEBUG [cloud.api.ApiServlet]
 (catalina-exec-9:null) ===START===  192.168.56.1 -- POST  null
 2013-07-11 22:23:40,238 DEBUG [cloud.user.AccountManagerImpl]
 (catalina-exec-9:null) Attempting to log in user: admin in domain 1
 2013-07-11 22:23:40,238 DEBUG [server.auth.MD5UserAuthenticator]
 (catalina-exec-9:null) Retrieving user: admin
 2013-07-11 22:23:40,257 DEBUG [server.auth.MD5UserAuthenticator]
 (catalina-exec-9:null) Password does not match
 2013-07-11 22:23:40,258 DEBUG [server.auth.LDAPUserAuthenticator]
 (catalina-exec-9:null) Retrieving user: admin
 2013-07-11 22:23:40,275 DEBUG [server.auth.LDAPUserAuthenticator]
 (catalina-exec-9:null) LDAP authenticator is not configured.
 2013-07-11 22:23:40,276 DEBUG [server.auth.PlainTextUserAuthenticator]
 (catalina-exec-9:null) Retrieving user: admin
 2013-07-11 22:23:40,281 DEBUG [server.auth.PlainTextUserAuthenticator]
 (catalina-exec-9:null) Password does not match
 2013-07-11 22:23:40,281 DEBUG [cloud.user.AccountManagerImpl]
 (catalina-exec-9:null) Unable to authenticate user with username admin in
 domain 1
 2013-07-11 22:23:40,286 INFO  [cloud.user.AccountManagerImpl]
 (catalina-exec-9:null) User admin is disabled/locked
 2013-07-11 22:23:40,286 DEBUG [cloud.user.AccountManagerImpl]
 (catalina-exec-9:null) User: admin in domain 1 has failed to log in
 2013-07-11 22:23:40,299 DEBUG [cloud.api.ApiServlet]
 (catalina-exec-9:null) ===END===  192.168.56.1 -- POST  null

 I tried to drop both cloud database and run again :

 * cloudstack-setup-databases cloud:stack@localhost --deploy-as=root
 and
 * cloudstack-setup-management

 But I receive the same error.

 What I'm  wrong ?

 ( sorry for my bad eng )

 Dave








Access to internet fron instance

2013-07-05 Thread Anton Rubets
Hi. How i can make internet access avaible for my virtual machine, for
update fot example? I cant find right link in man page.
Use CS4.1 XCP 1.6.
Thanks


Virtual router failed

2013-07-03 Thread Anton Rubets
Hi. I have problem with create first instance at my CS4.1.
SSVM and CPVM  have been deployed without any problem/ But when i create
instance in log i have

2013-07-03 11:18:39,039 DEBUG [xen.resource.CitrixResourceBase]
(DirectAgent-175:null) 1. The VM r-21-VM is in Starting state.
2013-07-03 11:18:39,125 DEBUG [xen.resource.CitrixResourceBase]
(DirectAgent-175:null) Created VM ea8c50b9-fd7a-9efd-1398-0dc7198034f8 for
r-21-VM
2013-07-03 11:18:39,227 DEBUG [xen.resource.CitrixResourceBase]
(DirectAgent-175:null) PV args are -- quiet
console=hvc0%template=domP%name=r-21-VM%eth2ip=10.12.33.166%eth2mask=255.255.255.224%gateway=10.12.33.161%eth0ip=10.12.42.1%eth0mask=255.255.255.0%domain=
mydomain.com
%dhcprange=10.12.42.1%eth1ip=169.254.1.194%eth1mask=255.255.0.0%type=router%disable_rp_filter=true%dns1=10.255.12.3%dns2=10.12.41.1
2013-07-03 11:18:39,266 DEBUG [xen.resource.CitrixResourceBase]
(DirectAgent-175:null) VBD 53aa49ae-c3de-3684-4ecc-f61c7cc9ee0e created for
Vol[21|ROOT|812467f3-2c12-4414-bb26-e70d6b8231da|2147483648]
2013-07-03 11:18:39,310 DEBUG [xen.resource.CitrixResourceBase]
(DirectAgent-175:null) Creating VIF for r-21-VM on nic
[Nic:Public-10.12.33.166-vlan://untagged]
2013-07-03 11:18:39,315 DEBUG [xen.resource.CitrixResourceBase]
(DirectAgent-175:null) Looking for network named Vlan336
2013-07-03 11:18:39,343 DEBUG [xen.resource.CitrixResourceBase]
(DirectAgent-175:null) Created a vif 78f4db3a-d1bd-75a8-083c-4012dbdb2fce
on 2
2013-07-03 11:18:39,343 DEBUG [xen.resource.CitrixResourceBase]
(DirectAgent-175:null) Creating VIF for r-21-VM on nic
[Nic:Guest-10.12.42.1-vlan://42]
2013-07-03 11:18:39,347 DEBUG [xen.resource.CitrixResourceBase]
(DirectAgent-175:null) Looking for network named Vlan42
2013-07-03 11:18:39,367 WARN [xen.resource.CitrixResourceBase]
(DirectAgent-175:null) Catch Exception: class
java.lang.NullPointerException due to java.lang.NullPointerException
java.lang.NullPointerException
at
com.cloud.hypervisor.xen.resource.CitrixResourceBase$XsLocalNetwork.getPifRecord(CitrixResourceBase.java:7156)
at
com.cloud.hypervisor.xen.resource.CitrixResourceBase.enableVlanNetwork(CitrixResourceBase.java:4092)
at
com.cloud.hypervisor.xen.resource.CitrixResourceBase.getNetwork(CitrixResourceBase.java:797)
at
com.cloud.hypervisor.xen.resource.CitrixResourceBase.createVif(CitrixResourceBase.java:842)
at
com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(CitrixResourceBase.java:1311)
at
com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:517)
at
com.cloud.hypervisor.xen.resource.XcpServerResource.executeRequest(XcpServerResource.java:51)
at
com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.java:186)
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$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:165)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:266)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:679)
2013-07-03 11:18:39,369 WARN [xen.resource.CitrixResourceBase]
(DirectAgent-175:null) Unable to start r-21-VM due to
java.lang.NullPointerException
at
com.cloud.hypervisor.xen.resource.CitrixResourceBase$XsLocalNetwork.getPifRecord(CitrixResourceBase.java:7156)
at
com.cloud.hypervisor.xen.resource.CitrixResourceBase.enableVlanNetwork(CitrixResourceBase.java:4092)
at
com.cloud.hypervisor.xen.resource.CitrixResourceBase.getNetwork(CitrixResourceBase.java:797)
at
com.cloud.hypervisor.xen.resource.CitrixResourceBase.createVif(CitrixResourceBase.java:842)
at
com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(CitrixResourceBase.java:1311)
at
com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:517)
at
com.cloud.hypervisor.xen.resource.XcpServerResource.executeRequest(XcpServerResource.java:51)
at
com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.java:186)
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$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:165)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:266)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:679)
2013-07-03 11:18:39,442 WARN 

Guest network configuration XenServer

2013-07-03 Thread Anton Rubets
Hi, could someone give advice or some example how to configure guest
network on Xenserver?
I have some trouble with this problem. I configure line name=name-of-vlan
Tags=tags-of-vlan
network setting like internal end have

ERROR [xen.resource.CitrixResourceBase] (DirectAgent-419:null) Network is
not configured on the backend for nic...

Thanks


Re: Virtual router failed

2013-07-03 Thread Anton Rubets
Yeap, i found solution in CS4.2 bugtracker 0_o
In db cloud do
 update physical_network_traffic_types set xen_network_label=NULL;


On Wed, Jul 3, 2013 at 9:17 PM, Dean Kamali dean.kam...@gmail.com wrote:

 XenCP 1.6 is not fully supported, and from the logs it sounds like you have
 issue with networking setup.


 On Wed, Jul 3, 2013 at 4:30 AM, Anton Rubets plejik@gmail.com wrote:

  Hi. I have problem with create first instance at my CS4.1.
  SSVM and CPVM  have been deployed without any problem/ But when i create
  instance in log i have
 
  2013-07-03 11:18:39,039 DEBUG [xen.resource.CitrixResourceBase]
  (DirectAgent-175:null) 1. The VM r-21-VM is in Starting state.
  2013-07-03 11:18:39,125 DEBUG [xen.resource.CitrixResourceBase]
  (DirectAgent-175:null) Created VM ea8c50b9-fd7a-9efd-1398-0dc7198034f8
 for
  r-21-VM
  2013-07-03 11:18:39,227 DEBUG [xen.resource.CitrixResourceBase]
  (DirectAgent-175:null) PV args are -- quiet
 
 
 console=hvc0%template=domP%name=r-21-VM%eth2ip=10.12.33.166%eth2mask=255.255.255.224%gateway=10.12.33.161%eth0ip=10.12.42.1%eth0mask=255.255.255.0%domain=
  mydomain.com
 
 
 %dhcprange=10.12.42.1%eth1ip=169.254.1.194%eth1mask=255.255.0.0%type=router%disable_rp_filter=true%dns1=10.255.12.3%dns2=10.12.41.1
  2013-07-03 11:18:39,266 DEBUG [xen.resource.CitrixResourceBase]
  (DirectAgent-175:null) VBD 53aa49ae-c3de-3684-4ecc-f61c7cc9ee0e created
 for
  Vol[21|ROOT|812467f3-2c12-4414-bb26-e70d6b8231da|2147483648]
  2013-07-03 11:18:39,310 DEBUG [xen.resource.CitrixResourceBase]
  (DirectAgent-175:null) Creating VIF for r-21-VM on nic
  [Nic:Public-10.12.33.166-vlan://untagged]
  2013-07-03 11:18:39,315 DEBUG [xen.resource.CitrixResourceBase]
  (DirectAgent-175:null) Looking for network named Vlan336
  2013-07-03 11:18:39,343 DEBUG [xen.resource.CitrixResourceBase]
  (DirectAgent-175:null) Created a vif 78f4db3a-d1bd-75a8-083c-4012dbdb2fce
  on 2
  2013-07-03 11:18:39,343 DEBUG [xen.resource.CitrixResourceBase]
  (DirectAgent-175:null) Creating VIF for r-21-VM on nic
  [Nic:Guest-10.12.42.1-vlan://42]
  2013-07-03 11:18:39,347 DEBUG [xen.resource.CitrixResourceBase]
  (DirectAgent-175:null) Looking for network named Vlan42
  2013-07-03 11:18:39,367 WARN [xen.resource.CitrixResourceBase]
  (DirectAgent-175:null) Catch Exception: class
  java.lang.NullPointerException due to java.lang.NullPointerException
  java.lang.NullPointerException
  at
 
 
 com.cloud.hypervisor.xen.resource.CitrixResourceBase$XsLocalNetwork.getPifRecord(CitrixResourceBase.java:7156)
  at
 
 
 com.cloud.hypervisor.xen.resource.CitrixResourceBase.enableVlanNetwork(CitrixResourceBase.java:4092)
  at
 
 
 com.cloud.hypervisor.xen.resource.CitrixResourceBase.getNetwork(CitrixResourceBase.java:797)
  at
 
 
 com.cloud.hypervisor.xen.resource.CitrixResourceBase.createVif(CitrixResourceBase.java:842)
  at
 
 
 com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(CitrixResourceBase.java:1311)
  at
 
 
 com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:517)
  at
 
 
 com.cloud.hypervisor.xen.resource.XcpServerResource.executeRequest(XcpServerResource.java:51)
  at
 
 
 com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.java:186)
  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$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:165)
  at
 
 
 java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:266)
  at
 
 
 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
  at
 
 
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
  at java.lang.Thread.run(Thread.java:679)
  2013-07-03 11:18:39,369 WARN [xen.resource.CitrixResourceBase]
  (DirectAgent-175:null) Unable to start r-21-VM due to
  java.lang.NullPointerException
  at
 
 
 com.cloud.hypervisor.xen.resource.CitrixResourceBase$XsLocalNetwork.getPifRecord(CitrixResourceBase.java:7156)
  at
 
 
 com.cloud.hypervisor.xen.resource.CitrixResourceBase.enableVlanNetwork(CitrixResourceBase.java:4092)
  at
 
 
 com.cloud.hypervisor.xen.resource.CitrixResourceBase.getNetwork(CitrixResourceBase.java:797)
  at
 
 
 com.cloud.hypervisor.xen.resource.CitrixResourceBase.createVif(CitrixResourceBase.java:842)
  at
 
 
 com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(CitrixResourceBase.java:1311)
  at
 
 
 com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:517)
  at
 
 
 com.cloud.hypervisor.xen.resource.XcpServerResource.executeRequest(XcpServerResource.java:51)
  at
 
 
 com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.java:186)
  at
 java.util.concurrent.Executors$RunnableAdapter.call

Re: Virtual router failed

2013-07-03 Thread Anton Rubets
I am use advanced zone.
Now i am stuck more than 6 time,SSVM  CPVM start, VR start, network tag
problem, but almost done.
Now the last problem with instance creation and i think then i can say that
i finish him.
And some day ago i saw that XenServer now free =(


On Wed, Jul 3, 2013 at 9:28 PM, Dean Kamali dean.kam...@gmail.com wrote:

 Did you actually managed to get everything to work on XenCP 1.6?  are you
 setting up advanced zone? or basic?


 On Wed, Jul 3, 2013 at 2:26 PM, Anton Rubets plejik@gmail.com wrote:

  Yeap, i found solution in CS4.2 bugtracker 0_o
  In db cloud do
   update physical_network_traffic_types set xen_network_label=NULL;
 
 
  On Wed, Jul 3, 2013 at 9:17 PM, Dean Kamali dean.kam...@gmail.com
 wrote:
 
   XenCP 1.6 is not fully supported, and from the logs it sounds like you
  have
   issue with networking setup.
  
  
   On Wed, Jul 3, 2013 at 4:30 AM, Anton Rubets plejik@gmail.com
  wrote:
  
Hi. I have problem with create first instance at my CS4.1.
SSVM and CPVM  have been deployed without any problem/ But when i
  create
instance in log i have
   
2013-07-03 11:18:39,039 DEBUG [xen.resource.CitrixResourceBase]
(DirectAgent-175:null) 1. The VM r-21-VM is in Starting state.
2013-07-03 11:18:39,125 DEBUG [xen.resource.CitrixResourceBase]
(DirectAgent-175:null) Created VM
 ea8c50b9-fd7a-9efd-1398-0dc7198034f8
   for
r-21-VM
2013-07-03 11:18:39,227 DEBUG [xen.resource.CitrixResourceBase]
(DirectAgent-175:null) PV args are -- quiet
   
   
  
 
 console=hvc0%template=domP%name=r-21-VM%eth2ip=10.12.33.166%eth2mask=255.255.255.224%gateway=10.12.33.161%eth0ip=10.12.42.1%eth0mask=255.255.255.0%domain=
mydomain.com
   
   
  
 
 %dhcprange=10.12.42.1%eth1ip=169.254.1.194%eth1mask=255.255.0.0%type=router%disable_rp_filter=true%dns1=10.255.12.3%dns2=10.12.41.1
2013-07-03 11:18:39,266 DEBUG [xen.resource.CitrixResourceBase]
(DirectAgent-175:null) VBD 53aa49ae-c3de-3684-4ecc-f61c7cc9ee0e
 created
   for
Vol[21|ROOT|812467f3-2c12-4414-bb26-e70d6b8231da|2147483648]
2013-07-03 11:18:39,310 DEBUG [xen.resource.CitrixResourceBase]
(DirectAgent-175:null) Creating VIF for r-21-VM on nic
[Nic:Public-10.12.33.166-vlan://untagged]
2013-07-03 11:18:39,315 DEBUG [xen.resource.CitrixResourceBase]
(DirectAgent-175:null) Looking for network named Vlan336
2013-07-03 11:18:39,343 DEBUG [xen.resource.CitrixResourceBase]
(DirectAgent-175:null) Created a vif
  78f4db3a-d1bd-75a8-083c-4012dbdb2fce
on 2
2013-07-03 11:18:39,343 DEBUG [xen.resource.CitrixResourceBase]
(DirectAgent-175:null) Creating VIF for r-21-VM on nic
[Nic:Guest-10.12.42.1-vlan://42]
2013-07-03 11:18:39,347 DEBUG [xen.resource.CitrixResourceBase]
(DirectAgent-175:null) Looking for network named Vlan42
2013-07-03 11:18:39,367 WARN [xen.resource.CitrixResourceBase]
(DirectAgent-175:null) Catch Exception: class
java.lang.NullPointerException due to java.lang.NullPointerException
java.lang.NullPointerException
at
   
   
  
 
 com.cloud.hypervisor.xen.resource.CitrixResourceBase$XsLocalNetwork.getPifRecord(CitrixResourceBase.java:7156)
at
   
   
  
 
 com.cloud.hypervisor.xen.resource.CitrixResourceBase.enableVlanNetwork(CitrixResourceBase.java:4092)
at
   
   
  
 
 com.cloud.hypervisor.xen.resource.CitrixResourceBase.getNetwork(CitrixResourceBase.java:797)
at
   
   
  
 
 com.cloud.hypervisor.xen.resource.CitrixResourceBase.createVif(CitrixResourceBase.java:842)
at
   
   
  
 
 com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(CitrixResourceBase.java:1311)
at
   
   
  
 
 com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:517)
at
   
   
  
 
 com.cloud.hypervisor.xen.resource.XcpServerResource.executeRequest(XcpServerResource.java:51)
at
   
   
  
 
 com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.java:186)
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$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:165)
at
   
   
  
 
 java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:266)
at
   
   
  
 
 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
at
   
   
  
 
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:679)
2013-07-03 11:18:39,369 WARN [xen.resource.CitrixResourceBase]
(DirectAgent-175:null) Unable to start r-21-VM due to
java.lang.NullPointerException
at
   
   
  
 
 com.cloud.hypervisor.xen.resource.CitrixResourceBase$XsLocalNetwork.getPifRecord

Re: Virtual router failed

2013-07-03 Thread Anton Rubets
http://blogs.citrix.com/2013/06/25/xenserver-6-2-is-now-fully-open-source/
or i am wrong =(


On Wed, Jul 3, 2013 at 10:23 PM, Dean Kamali dean.kam...@gmail.com wrote:

 basic version of Xenserver always been free :)


 On Wed, Jul 3, 2013 at 3:16 PM, Anton Rubets plejik@gmail.com wrote:

  I am use advanced zone.
  Now i am stuck more than 6 time,SSVM  CPVM start, VR start, network tag
  problem, but almost done.
  Now the last problem with instance creation and i think then i can say
 that
  i finish him.
  And some day ago i saw that XenServer now free =(
 
 
  On Wed, Jul 3, 2013 at 9:28 PM, Dean Kamali dean.kam...@gmail.com
 wrote:
 
   Did you actually managed to get everything to work on XenCP 1.6?  are
 you
   setting up advanced zone? or basic?
  
  
   On Wed, Jul 3, 2013 at 2:26 PM, Anton Rubets plejik@gmail.com
  wrote:
  
Yeap, i found solution in CS4.2 bugtracker 0_o
In db cloud do
 update physical_network_traffic_types set xen_network_label=NULL;
   
   
On Wed, Jul 3, 2013 at 9:17 PM, Dean Kamali dean.kam...@gmail.com
   wrote:
   
 XenCP 1.6 is not fully supported, and from the logs it sounds like
  you
have
 issue with networking setup.


 On Wed, Jul 3, 2013 at 4:30 AM, Anton Rubets plejik@gmail.com
 
wrote:

  Hi. I have problem with create first instance at my CS4.1.
  SSVM and CPVM  have been deployed without any problem/ But when i
create
  instance in log i have
 
  2013-07-03 11:18:39,039 DEBUG [xen.resource.CitrixResourceBase]
  (DirectAgent-175:null) 1. The VM r-21-VM is in Starting state.
  2013-07-03 11:18:39,125 DEBUG [xen.resource.CitrixResourceBase]
  (DirectAgent-175:null) Created VM
   ea8c50b9-fd7a-9efd-1398-0dc7198034f8
 for
  r-21-VM
  2013-07-03 11:18:39,227 DEBUG [xen.resource.CitrixResourceBase]
  (DirectAgent-175:null) PV args are -- quiet
 
 

   
  
 
 console=hvc0%template=domP%name=r-21-VM%eth2ip=10.12.33.166%eth2mask=255.255.255.224%gateway=10.12.33.161%eth0ip=10.12.42.1%eth0mask=255.255.255.0%domain=
  mydomain.com
 
 

   
  
 
 %dhcprange=10.12.42.1%eth1ip=169.254.1.194%eth1mask=255.255.0.0%type=router%disable_rp_filter=true%dns1=10.255.12.3%dns2=10.12.41.1
  2013-07-03 11:18:39,266 DEBUG [xen.resource.CitrixResourceBase]
  (DirectAgent-175:null) VBD 53aa49ae-c3de-3684-4ecc-f61c7cc9ee0e
   created
 for
  Vol[21|ROOT|812467f3-2c12-4414-bb26-e70d6b8231da|2147483648]
  2013-07-03 11:18:39,310 DEBUG [xen.resource.CitrixResourceBase]
  (DirectAgent-175:null) Creating VIF for r-21-VM on nic
  [Nic:Public-10.12.33.166-vlan://untagged]
  2013-07-03 11:18:39,315 DEBUG [xen.resource.CitrixResourceBase]
  (DirectAgent-175:null) Looking for network named Vlan336
  2013-07-03 11:18:39,343 DEBUG [xen.resource.CitrixResourceBase]
  (DirectAgent-175:null) Created a vif
78f4db3a-d1bd-75a8-083c-4012dbdb2fce
  on 2
  2013-07-03 11:18:39,343 DEBUG [xen.resource.CitrixResourceBase]
  (DirectAgent-175:null) Creating VIF for r-21-VM on nic
  [Nic:Guest-10.12.42.1-vlan://42]
  2013-07-03 11:18:39,347 DEBUG [xen.resource.CitrixResourceBase]
  (DirectAgent-175:null) Looking for network named Vlan42
  2013-07-03 11:18:39,367 WARN [xen.resource.CitrixResourceBase]
  (DirectAgent-175:null) Catch Exception: class
  java.lang.NullPointerException due to
  java.lang.NullPointerException
  java.lang.NullPointerException
  at
 
 

   
  
 
 com.cloud.hypervisor.xen.resource.CitrixResourceBase$XsLocalNetwork.getPifRecord(CitrixResourceBase.java:7156)
  at
 
 

   
  
 
 com.cloud.hypervisor.xen.resource.CitrixResourceBase.enableVlanNetwork(CitrixResourceBase.java:4092)
  at
 
 

   
  
 
 com.cloud.hypervisor.xen.resource.CitrixResourceBase.getNetwork(CitrixResourceBase.java:797)
  at
 
 

   
  
 
 com.cloud.hypervisor.xen.resource.CitrixResourceBase.createVif(CitrixResourceBase.java:842)
  at
 
 

   
  
 
 com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(CitrixResourceBase.java:1311)
  at
 
 

   
  
 
 com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:517)
  at
 
 

   
  
 
 com.cloud.hypervisor.xen.resource.XcpServerResource.executeRequest(XcpServerResource.java:51)
  at
 
 

   
  
 
 com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.java:186)
  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$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:165

Cloudmonkey create network problem

2013-07-02 Thread Anton Rubets
Hi. i try create the shared network with cloudmonkey with command:
create network name=Shared-Network displaytext=Shared-Network
networkofferingid=f03374d2-a8dc-40ab-8839-94dc31238410
physicalnetworkid=246635bf-1cda-4e1b-bc8f-b4ddb242e81c gateway=10.1.1.1
netmask=225.225.225.0 networkdomain=*
startip=10.1.1.2 endip10.1.1.124
zoneid=13fde89f-5eea-4e94-a38b-ede647126022
but always have error
HTTP Error 431:
if remove the network domain option:
HTTP Error 401: Unauthorized

Can someone deal with it ?
Thanks


Public network at XenServer\xcp

2013-06-29 Thread Anton Rubets
Hi, i have some problem with network configuration at xcp1.6.
Before creating the zone i create public network on xcp with some vlan, for
example, 50.
But after i launch the advanced zone, CS 4.1 create one more network 50
with Internal Virtual Network. Then in logs
[xen.resource.CitrixResourceBase] (DirectAgent-362:null) Catch Exception:
class com.xensource.xenapi.Types$PifIsVlan due to You tried to create a
VLAN on top of another VLAN - use the underlying physical PIF/bond instead

When i removed my 50 network

[xen.resource.CitrixResourceBase] (DirectAgent-457:null) Catch Exception:
class com.cloud.utils.exception.CloudRuntimeException due to
com.cloud.utils.exception.CloudRuntimeException: Network for the backend is
not configured correctly for network broadcast domain: vlan://42

Someone can explain me where my mistake, because, if i understand right,
internal network it must be the guest network
Thanks