Local storage DB
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
Re: Local storage DB
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 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
Re: Local storage DB
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 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 > 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 >
Re: Local storage DB
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 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 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 >> 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
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 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 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 >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 > >> 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
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 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 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 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 > >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 >> >> 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 >> -- Daan
Re: Local storage DB
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=Primary&STOREUUID=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=Primary&STOREUUID=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) at org.apache.cloudstack.managed.context.M
Re: Local storage DB
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 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=Primary&STOREUUID=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=Primary&STOREUUID=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.XenServer5