Using S3/Minio as the only secondary storage
Hello Everyone, I was wondering if it was common or even recommended to use an S3 compatible storage system as the only secondary storage provider ? The environment is 4.11.3.0 with KVM (Centos 7.6), and our tier1 storage solution also provides an S3 compatible object store (apparently Minio under the hood). I have always used NFS to install the SSVM templates and the install script (cloud-install-sys-tmplt) only takes a mount point. How, if possible, would I proceed with S3 only storage ? best, Jean-Francois
RE: Unable to log in to the cloudstack management page (Web UI)
Hi Gregor, Thank you for your reply. > Can you post the result of the following query? > select * from cloud.account where id = 2; The result of the query is as follows. mysql> select * from cloud.account where id = 2; ++--+--+--+---+-+-+++-+-+ | id | account_name | uuid | type | domain_id | state | removed | cleanup_needed | network_domain | default_zone_id | default | ++--+--+--+---+-+-+++-+-+ | 2 | admin| 483d0fcf-da63-11e3-8ea9-24be05a86042 |1 | 1 | enabled | NULL| 0 | NULL |NULL | 1 | ++--+--+--+---+-+-+++-+-+ 1 row in set (0.00 sec) "type", "state" and "removed" seem to be good. Should I check records in other tables? Best regards, Eiji Sagawa > -Original Message- > From: Riepl, Gregor (SWISS TXT) [mailto:gregor.ri...@swisstxt.ch] > Sent: Tuesday, July 16, 2019 9:46 PM > To: users@cloudstack.apache.org > Cc: Shigemoto, Yasumasa/重元 康昌 ; > Hoshikawa, Toyohiko/星川 豊彦 > Subject: Re: Unable to log in to the cloudstack management page (Web UI) > > Hi Eiji, > > If I read the source code right, account roles were hard-coded in 4.2. > > Can you post the result of the following query? > > select * from cloud.account where id = 2; > > "type" is an enum that can take the following values: > https://github.com/apache/cloudstack/blob/4.2/api/src/com/cloud/user > /Account.java#L42-L47 > > "state" should be "enabled" > > "removed" should be NULL > > Hope this helps! > > Regards, > Gregor > > On Tue, 2019-07-16 at 08:33 +, sagawa_e...@fujitsu.com wrote: > > Hi Liridon, > > > > Thank you for your reply. > > > > > select * from cloud.account where id = 2; and select * from roles > > > where id in (select role_id from account where id = 2); > > > > I did not find the role table and account.role_id column. > > The cloudstack version of my system is 4.2.1. > > Is there no table/column in this version? > > > > > As it seems that your user Admin can log in but maybe your account > > > or role is inactive or not properly configured. Can you check if you > > > are able to log in with another account / user which is not under > > > the admin account? > > > > I confirmed login with another account. > > I tried with multiple accounts, but I couldn't log in all. > > > > Best regards, > > Eiji Sagawa > > > > > > > > > -Original Message- > > > From: Ismaili, Liridon (SWISS TXT) [mailto: > > > liridon.isma...@swisstxt.ch] > > > Sent: Friday, July 5, 2019 6:00 PM > > > To: users@cloudstack.apache.org > > > Cc: Shigemoto, Yasumasa/重元 康昌 ; > > > Hoshikawa, Toyohiko/星川 豊彦 > > > Subject: AW: Unable to log in to the cloudstack management page (Web > > > UI) > > > > > > Hi Eiji > > > > > > the JSON inside the body tells the same as the error you posted > > > already. > > > May you check the DB if there is something misconfigured with the > > > accounts or roles? > > > Please run this query and post the results: > > > select * from cloud.account where id = 2; and select * from roles > > > where id in (select role_id from account where id = 2); > > > > > > As it seems that your user Admin can log in but maybe your account > > > or role is inactive or not properly configured. Can you check if you > > > are able to log in with another account / user which is not under > > > the admin account? > > > > > > Regards > > > Liridon > > > > > > Von: sagawa_e...@fujitsu.com > > > Gesendet: Freitag, 5. Juli 2019 10:31 > > > An: users@cloudstack.apache.org > > > Cc: shigemoto.ya...@fujitsu.com; t-hoshik...@fujitsu.com > > > Betreff: RE: Unable to log in to the cloudstack management page (Web > > > UI) > > > > > > Hi Gregor, > > > > > > Thank you very much for answering my questions. > > > > > > > > > > > 192.168.122.1 - - [01/Jul/2019:06:13:10 +0900] "GET > > > > > > > > > /client/api?command=listCapabilities=json=h1Lws > > > k > > > > 9 > > > > > dqVwZxGAwk0owzFDtmi4%3D&_=1561961591972 HTTP/1.1" 432 151 > > > > > > > > This happens just after login and indicates something is wrong. > > > > It might not help much, but can you post the JSON body of the > > > > response? > > > > > > This JSON body was returned. > > > --- > > > { "errorresponse" : > > > > {"uuidList":[],"errorcode":432,"cserrorcode":,"errortext":"The > > > given command does not exist or it is not available for user"} } > > > --- > > > > > > Do you know anything from this JSON body? > > > > > > > > > Best regards, > > > Eiji
Re: [ANNOUNCE] Bobby (Boris Stoyanov) has joined the PMC
Congratulations, Bobby! From: Paul Angus Sent: Tuesday, July 16, 2019 3:12:51 AM To: priv...@cloudstack.apache.org; d...@cloudstack.apache.org; users@cloudstack.apache.org Subject: [ANNOUNCE] Bobby (Boris Stoyanov) has joined the PMC NetApp Security WARNING: This is an external email. Do not click links or open attachments unless you recognize the sender and know the content is safe. Fellow CloudStackers, It gives me great pleasure to say that Bobby has been invited to join the PMC and has gracefully accepted. Please join me in congratulating Bobby! Kind regards, Paul Angus CloudStack PMC
Re: Agent LB for CloudStack failed
Nicolas, can you have a look and comment? Thanks. Regards, Rohit Yadav From: li jerry Sent: Tuesday, July 16, 2019 6:50:40 AM To: users@cloudstack.apache.org ; d...@cloudstack.apache.org Subject: Agent LB for CloudStack failed Hello everyone My kvm Agent LB on 4.11.2/4.11.3 failed. When the preferred managment node is forced to power off, the agent will not immediately connect to the second management node.After 15 minutes, the agent issues a "No route to host" error and connects to the second management node. management node: acs-mn01,172.17.1.141 acs-mn02,172.17.1.142 mysql db node: acs-db01 kvmm agent node: test-ceph-node01 test-ceph-node02 test-ceph-node03 test-ceph-node04 global seting host=172.17.1.142,172.17.1.141 indirect.agent.lb.algorithm=roundrobin indirect.agent.lb.check.interval=60 Partial agnet logs: 2019-07-15 23:22:39,340 DEBUG [cloud.agent.Agent] (UgentTask-5:null) (logid:) Sending ping: Seq 1-19: { Cmd , MgmtId: -1, via: 1, Ver : v1, Flags: 11, [{"com.cloud.agent.api.PingRoutingWithNwGroupsCommand":{"newGroupStates":{},"_hostVmStateReport":{},"_gatewayAccessible":true,"_vnetAccessible":true,"hostType ":"Routing","hostId":1,"wait":0}}] } 2019-07-15 23:23:09,960 DEBUG [utils.nio.NioConnection] (Agent-NioConnectionHandler-1:null) (logid:) Location 1: Socket Socket[addr=/172.17.1.142,port=8250,localport= 34854] closed on read. Probably -1 returned: No route to host 2019-07-15 23:23:09,960 DEBUG [utils.nio.NioConnection] (Agent-NioConnectionHandler-1:null) (logid:) Closing socket Socket[addr=/172.17.1.142,port=8250,localport=34854] 2019-07-15 23:23:09,961 DEBUG [cloud.agent.Agent] (Agent-Handler-4:null) (logid:a4e4de49) Clearing watch list: 2 2019-07-15 23:23:09,962 INFO [cloud.agent.Agent] (Agent-Handler-4:null) (logid:a4e4de49) Lost connection to host: 172.17.1.142. Attempting reconnection while we still have 0 commands in Progress. 2019-07-15 23:23:09,963 INFO [utils.nio.NioClient] (Agent-Handler-4:null) (logid:a4e4de49) NioClient connection closed 2019-07-15 23:23:09,964 INFO [cloud.agent.Agent] (Agent-Handler-4:null) (logid:a4e4de49) Reconnecting to host:172.17.1.142 2019-07-15 23:23:09,964 INFO [utils.nio.NioClient] (Agent-Handler-4:null) (logid:a4e4de49) Connecting to 172.17.1.142:8250 2019-07-15 23:23:12,972 ERROR [utils.nio.NioConnection] (Agent-Handler-4:null) (logid:a4e4de49) Unable to initialize the threads. java.net.NoRouteToHostException: No route to host At sun.nio.ch.Net.connect0(Native Method) At sun.nio.ch.Net.connect(Net.java:454) At sun.nio.ch.Net.connect(Net.java:446) At sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:648) At com.cloud.utils.nio.NioClient.init(NioClient.java:56) At com.cloud.utils.nio.NioConnection.start(NioConnection.java:95) At com.cloud.agent.Agent.reconnect(Agent.java:517) At com.cloud.agent.Agent$ServerHandler.doTask(Agent.java:1091) At com.clo rohit.ya...@shapeblue.com www.shapeblue.com Amadeus House, Floral Street, London WC2E 9DPUK @shapeblue
Re: [ANNOUNCE] Bobby (Boris Stoyanov) has joined the PMC
Congrats Bobby! Regards. Regards, Rohit Yadav From: Paul Angus Sent: Tuesday, July 16, 2019 2:42:51 PM To: priv...@cloudstack.apache.org ; d...@cloudstack.apache.org ; users@cloudstack.apache.org Subject: [ANNOUNCE] Bobby (Boris Stoyanov) has joined the PMC Fellow CloudStackers, It gives me great pleasure to say that Bobby has been invited to join the PMC and has gracefully accepted. Please join me in congratulating Bobby! Kind regards, Paul Angus CloudStack PMC rohit.ya...@shapeblue.com www.shapeblue.com Amadeus House, Floral Street, London WC2E 9DPUK @shapeblue
Re: "Command failed due to Internal Server Error" when stopping a VM
+1 Have experienced exactly the same problem. My host is centos7. Would be interested to get the solution. On Tue, 16 Jul 2019, 23:57 daniel bellido, wrote: > Hello, > > I've done a fresh install of cloudstack 4.11.3 on 2 ubuntu 18.04 servers > (1 server hosts the management server , the other hosts a KVM host). > I've configured the cloud using the wizard. > Everything works fine except that I receive "internal server errors" when > I stop the VMs . From the UI , the status stays as "stopping'; so the > workaround is to go to the DB and set the status as "stopped". Expunging > the VM results also in a internal server error too. > > Looking at the management server logs, I can see these errors : > > > 2019-07-16 22:49:59,967 DEBUG [o.a.c.n.t.BasicNetworkTopology] > (AgentManager-Handler-2:null) (logid:) REMOVING DHCP ENTRY RULE > 2019-07-16 22:49:59,967 DEBUG [o.a.c.n.t.BasicNetworkTopology] > (AgentManager-Handler-2:null) (logid:) Applying dhcp entry in network > Ntwk[204|Guest|6] > 2019-07-16 22:49:59,971 WARN [c.c.a.m.AgentManagerImpl] > (AgentManager-Handler-2:null) (logid:) Caught: > java.lang.NullPointerException > at > org.apache.cloudstack.network.topology.BasicNetworkVisitor.visit(BasicNetworkVisitor.java:201) > at com.cloud.network.rules.DhcpEntryRules.accept(DhcpEntryRules.java:64) > at > org.apache.cloudstack.network.topology.BasicNetworkTopology.applyRules(BasicNetworkTopology.java:390) > at > org.apache.cloudstack.network.topology.BasicNetworkTopology.removeDhcpEntry(BasicNetworkTopology.java:464) > at > com.cloud.network.element.VirtualRouterElement.removeDhcpEntry(VirtualRouterElement.java:972) > at > org.apache.cloudstack.engine.orchestration.NetworkOrchestrator.cleanupNicDhcpDnsEntry(NetworkOrchestrator.java:2933) > at com.cloud.vm.UserVmManagerImpl.finalizeStop(UserVmManagerImpl.java:4389) > at > com.cloud.vm.VirtualMachineManagerImpl.sendStop(VirtualMachineManagerImpl.java:1485) > at > com.cloud.vm.VirtualMachineManagerImpl.handlePowerOffReportWithNoPendingJobsOnVM(VirtualMachineManagerImpl.java:4186) > at > com.cloud.vm.VirtualMachineManagerImpl.scanStalledVMInTransitionStateOnUpHost(VirtualMachineManagerImpl.java:4238) > at > com.cloud.vm.VirtualMachineManagerImpl.processCommands(VirtualMachineManagerImpl.java:3076) > at > com.cloud.agent.manager.AgentManagerImpl.handleCommands(AgentManagerImpl.java:317) > at > com.cloud.agent.manager.AgentManagerImpl$AgentHandler.processRequest(AgentManagerImpl.java:1296) > at > com.cloud.agent.manager.AgentManagerImpl$AgentHandler.doTask(AgentManagerImpl.java:1383) > at > com.cloud.agent.manager.ClusteredAgentManagerImpl$ClusteredAgentHandler.doTask(ClusteredAgentManagerImpl.java:712) > at com.cloud.utils.nio.Task.call(Task.java:83) > at com.cloud.utils.nio.Task.call(Task.java:29) > at java.util.concurrent.FutureTask.run(FutureTask.java:266) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) > at java.lang.Thread.run(Thread.java:748) > > > > 2019-07-16 22:51:00,004 ERROR [o.a.c.f.m.MessageDispatcher] > (AgentManager-Handler-5:null) (logid:) Unexpected exception when calling > com.cloud.vm.ClusteredVirtualMachineManagerImpl.HandlePowerStateReport > java.lang.reflect.InvocationTargetException > at sun.reflect.GeneratedMethodAccessor153.invoke(Unknown Source) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:498) > at > org.apache.cloudstack.framework.messagebus.MessageDispatcher.dispatch(MessageDispatcher.java:75) > at > org.apache.cloudstack.framework.messagebus.MessageDispatcher.onPublishMessage(MessageDispatcher.java:45) > at > org.apache.cloudstack.framework.messagebus.MessageBusBase$SubscriptionNode.notifySubscribers(MessageBusBase.java:441) > at > org.apache.cloudstack.framework.messagebus.MessageBusBase.publish(MessageBusBase.java:178) > at > com.cloud.vm.VirtualMachinePowerStateSyncImpl.processReport(VirtualMachinePowerStateSyncImpl.java:147) > at > com.cloud.vm.VirtualMachinePowerStateSyncImpl.processHostVmStatePingReport(VirtualMachinePowerStateSyncImpl.java:68) > at > com.cloud.vm.VirtualMachineManagerImpl.processCommands(VirtualMachineManagerImpl.java:3071) > at > com.cloud.agent.manager.AgentManagerImpl.handleCommands(AgentManagerImpl.java:317) > at > com.cloud.agent.manager.AgentManagerImpl$AgentHandler.processRequest(AgentManagerImpl.java:1296) > at > com.cloud.agent.manager.AgentManagerImpl$AgentHandler.doTask(AgentManagerImpl.java:1383) > at > com.cloud.agent.manager.ClusteredAgentManagerImpl$ClusteredAgentHandler.doTask(ClusteredAgentManagerImpl.java:712) > at com.cloud.utils.nio.Task.call(Task.java:83) > at com.cloud.utils.nio.Task.call(Task.java:29) > at java.util.concurrent.FutureTask.run(FutureTask.java:266) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) > at >
RE: "Command failed due to Internal Server Error" when stopping a VM
Yes Rafael, the VR is up & running. On the host, the VR is r-4-VM : root@host001:~# virsh list IdName State 1 r-4-VM running 2 v-1-VM running 3 s-2-VM running 16i-4-16-VM running I'm able to create VMs, to ssh to them but not to stop them. De : Rafael Weingärtner Envoyé : mardi 16 juillet 2019 23:04 À : users Objet : Re: "Command failed due to Internal Server Error" when stopping a VM Do you have virtual routers up and running? On Tue, Jul 16, 2019 at 5:57 PM daniel bellido wrote: > Hello, > > I've done a fresh install of cloudstack 4.11.3 on 2 ubuntu 18.04 servers > (1 server hosts the management server , the other hosts a KVM host). > I've configured the cloud using the wizard. > Everything works fine except that I receive "internal server errors" when > I stop the VMs . From the UI , the status stays as "stopping'; so the > workaround is to go to the DB and set the status as "stopped". Expunging > the VM results also in a internal server error too. > > Looking at the management server logs, I can see these errors : > > > 2019-07-16 22:49:59,967 DEBUG [o.a.c.n.t.BasicNetworkTopology] > (AgentManager-Handler-2:null) (logid:) REMOVING DHCP ENTRY RULE > 2019-07-16 22:49:59,967 DEBUG [o.a.c.n.t.BasicNetworkTopology] > (AgentManager-Handler-2:null) (logid:) Applying dhcp entry in network > Ntwk[204|Guest|6] > 2019-07-16 22:49:59,971 WARN [c.c.a.m.AgentManagerImpl] > (AgentManager-Handler-2:null) (logid:) Caught: > java.lang.NullPointerException > at > org.apache.cloudstack.network.topology.BasicNetworkVisitor.visit(BasicNetworkVisitor.java:201) > at com.cloud.network.rules.DhcpEntryRules.accept(DhcpEntryRules.java:64) > at > org.apache.cloudstack.network.topology.BasicNetworkTopology.applyRules(BasicNetworkTopology.java:390) > at > org.apache.cloudstack.network.topology.BasicNetworkTopology.removeDhcpEntry(BasicNetworkTopology.java:464) > at > com.cloud.network.element.VirtualRouterElement.removeDhcpEntry(VirtualRouterElement.java:972) > at > org.apache.cloudstack.engine.orchestration.NetworkOrchestrator.cleanupNicDhcpDnsEntry(NetworkOrchestrator.java:2933) > at com.cloud.vm.UserVmManagerImpl.finalizeStop(UserVmManagerImpl.java:4389) > at > com.cloud.vm.VirtualMachineManagerImpl.sendStop(VirtualMachineManagerImpl.java:1485) > at > com.cloud.vm.VirtualMachineManagerImpl.handlePowerOffReportWithNoPendingJobsOnVM(VirtualMachineManagerImpl.java:4186) > at > com.cloud.vm.VirtualMachineManagerImpl.scanStalledVMInTransitionStateOnUpHost(VirtualMachineManagerImpl.java:4238) > at > com.cloud.vm.VirtualMachineManagerImpl.processCommands(VirtualMachineManagerImpl.java:3076) > at > com.cloud.agent.manager.AgentManagerImpl.handleCommands(AgentManagerImpl.java:317) > at > com.cloud.agent.manager.AgentManagerImpl$AgentHandler.processRequest(AgentManagerImpl.java:1296) > at > com.cloud.agent.manager.AgentManagerImpl$AgentHandler.doTask(AgentManagerImpl.java:1383) > at > com.cloud.agent.manager.ClusteredAgentManagerImpl$ClusteredAgentHandler.doTask(ClusteredAgentManagerImpl.java:712) > at com.cloud.utils.nio.Task.call(Task.java:83) > at com.cloud.utils.nio.Task.call(Task.java:29) > at java.util.concurrent.FutureTask.run(FutureTask.java:266) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) > at java.lang.Thread.run(Thread.java:748) > > > > 2019-07-16 22:51:00,004 ERROR [o.a.c.f.m.MessageDispatcher] > (AgentManager-Handler-5:null) (logid:) Unexpected exception when calling > com.cloud.vm.ClusteredVirtualMachineManagerImpl.HandlePowerStateReport > java.lang.reflect.InvocationTargetException > at sun.reflect.GeneratedMethodAccessor153.invoke(Unknown Source) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:498) > at > org.apache.cloudstack.framework.messagebus.MessageDispatcher.dispatch(MessageDispatcher.java:75) > at > org.apache.cloudstack.framework.messagebus.MessageDispatcher.onPublishMessage(MessageDispatcher.java:45) > at > org.apache.cloudstack.framework.messagebus.MessageBusBase$SubscriptionNode.notifySubscribers(MessageBusBase.java:441) > at > org.apache.cloudstack.framework.messagebus.MessageBusBase.publish(MessageBusBase.java:178) > at > com.cloud.vm.VirtualMachinePowerStateSyncImpl.processReport(VirtualMachinePowerStateSyncImpl.java:147) > at > com.cloud.vm.VirtualMachinePowerStateSyncImpl.processHostVmStatePingReport(VirtualMachinePowerStateSyncImpl.java:68) > at > com.cloud.vm.VirtualMachineManagerImpl.processCommands(VirtualMachineManagerImpl.java:3071) > at > com.cloud.agent.manager.AgentManagerImpl.handleCommands(AgentManagerImpl.java:317) > at >
Re: "Command failed due to Internal Server Error" when stopping a VM
Do you have virtual routers up and running? On Tue, Jul 16, 2019 at 5:57 PM daniel bellido wrote: > Hello, > > I've done a fresh install of cloudstack 4.11.3 on 2 ubuntu 18.04 servers > (1 server hosts the management server , the other hosts a KVM host). > I've configured the cloud using the wizard. > Everything works fine except that I receive "internal server errors" when > I stop the VMs . From the UI , the status stays as "stopping'; so the > workaround is to go to the DB and set the status as "stopped". Expunging > the VM results also in a internal server error too. > > Looking at the management server logs, I can see these errors : > > > 2019-07-16 22:49:59,967 DEBUG [o.a.c.n.t.BasicNetworkTopology] > (AgentManager-Handler-2:null) (logid:) REMOVING DHCP ENTRY RULE > 2019-07-16 22:49:59,967 DEBUG [o.a.c.n.t.BasicNetworkTopology] > (AgentManager-Handler-2:null) (logid:) Applying dhcp entry in network > Ntwk[204|Guest|6] > 2019-07-16 22:49:59,971 WARN [c.c.a.m.AgentManagerImpl] > (AgentManager-Handler-2:null) (logid:) Caught: > java.lang.NullPointerException > at > org.apache.cloudstack.network.topology.BasicNetworkVisitor.visit(BasicNetworkVisitor.java:201) > at com.cloud.network.rules.DhcpEntryRules.accept(DhcpEntryRules.java:64) > at > org.apache.cloudstack.network.topology.BasicNetworkTopology.applyRules(BasicNetworkTopology.java:390) > at > org.apache.cloudstack.network.topology.BasicNetworkTopology.removeDhcpEntry(BasicNetworkTopology.java:464) > at > com.cloud.network.element.VirtualRouterElement.removeDhcpEntry(VirtualRouterElement.java:972) > at > org.apache.cloudstack.engine.orchestration.NetworkOrchestrator.cleanupNicDhcpDnsEntry(NetworkOrchestrator.java:2933) > at com.cloud.vm.UserVmManagerImpl.finalizeStop(UserVmManagerImpl.java:4389) > at > com.cloud.vm.VirtualMachineManagerImpl.sendStop(VirtualMachineManagerImpl.java:1485) > at > com.cloud.vm.VirtualMachineManagerImpl.handlePowerOffReportWithNoPendingJobsOnVM(VirtualMachineManagerImpl.java:4186) > at > com.cloud.vm.VirtualMachineManagerImpl.scanStalledVMInTransitionStateOnUpHost(VirtualMachineManagerImpl.java:4238) > at > com.cloud.vm.VirtualMachineManagerImpl.processCommands(VirtualMachineManagerImpl.java:3076) > at > com.cloud.agent.manager.AgentManagerImpl.handleCommands(AgentManagerImpl.java:317) > at > com.cloud.agent.manager.AgentManagerImpl$AgentHandler.processRequest(AgentManagerImpl.java:1296) > at > com.cloud.agent.manager.AgentManagerImpl$AgentHandler.doTask(AgentManagerImpl.java:1383) > at > com.cloud.agent.manager.ClusteredAgentManagerImpl$ClusteredAgentHandler.doTask(ClusteredAgentManagerImpl.java:712) > at com.cloud.utils.nio.Task.call(Task.java:83) > at com.cloud.utils.nio.Task.call(Task.java:29) > at java.util.concurrent.FutureTask.run(FutureTask.java:266) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) > at java.lang.Thread.run(Thread.java:748) > > > > 2019-07-16 22:51:00,004 ERROR [o.a.c.f.m.MessageDispatcher] > (AgentManager-Handler-5:null) (logid:) Unexpected exception when calling > com.cloud.vm.ClusteredVirtualMachineManagerImpl.HandlePowerStateReport > java.lang.reflect.InvocationTargetException > at sun.reflect.GeneratedMethodAccessor153.invoke(Unknown Source) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:498) > at > org.apache.cloudstack.framework.messagebus.MessageDispatcher.dispatch(MessageDispatcher.java:75) > at > org.apache.cloudstack.framework.messagebus.MessageDispatcher.onPublishMessage(MessageDispatcher.java:45) > at > org.apache.cloudstack.framework.messagebus.MessageBusBase$SubscriptionNode.notifySubscribers(MessageBusBase.java:441) > at > org.apache.cloudstack.framework.messagebus.MessageBusBase.publish(MessageBusBase.java:178) > at > com.cloud.vm.VirtualMachinePowerStateSyncImpl.processReport(VirtualMachinePowerStateSyncImpl.java:147) > at > com.cloud.vm.VirtualMachinePowerStateSyncImpl.processHostVmStatePingReport(VirtualMachinePowerStateSyncImpl.java:68) > at > com.cloud.vm.VirtualMachineManagerImpl.processCommands(VirtualMachineManagerImpl.java:3071) > at > com.cloud.agent.manager.AgentManagerImpl.handleCommands(AgentManagerImpl.java:317) > at > com.cloud.agent.manager.AgentManagerImpl$AgentHandler.processRequest(AgentManagerImpl.java:1296) > at > com.cloud.agent.manager.AgentManagerImpl$AgentHandler.doTask(AgentManagerImpl.java:1383) > at > com.cloud.agent.manager.ClusteredAgentManagerImpl$ClusteredAgentHandler.doTask(ClusteredAgentManagerImpl.java:712) > at com.cloud.utils.nio.Task.call(Task.java:83) > at com.cloud.utils.nio.Task.call(Task.java:29) > at java.util.concurrent.FutureTask.run(FutureTask.java:266) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) > at >
"Command failed due to Internal Server Error" when stopping a VM
Hello, I've done a fresh install of cloudstack 4.11.3 on 2 ubuntu 18.04 servers (1 server hosts the management server , the other hosts a KVM host). I've configured the cloud using the wizard. Everything works fine except that I receive "internal server errors" when I stop the VMs . From the UI , the status stays as "stopping'; so the workaround is to go to the DB and set the status as "stopped". Expunging the VM results also in a internal server error too. Looking at the management server logs, I can see these errors : 2019-07-16 22:49:59,967 DEBUG [o.a.c.n.t.BasicNetworkTopology] (AgentManager-Handler-2:null) (logid:) REMOVING DHCP ENTRY RULE 2019-07-16 22:49:59,967 DEBUG [o.a.c.n.t.BasicNetworkTopology] (AgentManager-Handler-2:null) (logid:) Applying dhcp entry in network Ntwk[204|Guest|6] 2019-07-16 22:49:59,971 WARN [c.c.a.m.AgentManagerImpl] (AgentManager-Handler-2:null) (logid:) Caught: java.lang.NullPointerException at org.apache.cloudstack.network.topology.BasicNetworkVisitor.visit(BasicNetworkVisitor.java:201) at com.cloud.network.rules.DhcpEntryRules.accept(DhcpEntryRules.java:64) at org.apache.cloudstack.network.topology.BasicNetworkTopology.applyRules(BasicNetworkTopology.java:390) at org.apache.cloudstack.network.topology.BasicNetworkTopology.removeDhcpEntry(BasicNetworkTopology.java:464) at com.cloud.network.element.VirtualRouterElement.removeDhcpEntry(VirtualRouterElement.java:972) at org.apache.cloudstack.engine.orchestration.NetworkOrchestrator.cleanupNicDhcpDnsEntry(NetworkOrchestrator.java:2933) at com.cloud.vm.UserVmManagerImpl.finalizeStop(UserVmManagerImpl.java:4389) at com.cloud.vm.VirtualMachineManagerImpl.sendStop(VirtualMachineManagerImpl.java:1485) at com.cloud.vm.VirtualMachineManagerImpl.handlePowerOffReportWithNoPendingJobsOnVM(VirtualMachineManagerImpl.java:4186) at com.cloud.vm.VirtualMachineManagerImpl.scanStalledVMInTransitionStateOnUpHost(VirtualMachineManagerImpl.java:4238) at com.cloud.vm.VirtualMachineManagerImpl.processCommands(VirtualMachineManagerImpl.java:3076) at com.cloud.agent.manager.AgentManagerImpl.handleCommands(AgentManagerImpl.java:317) at com.cloud.agent.manager.AgentManagerImpl$AgentHandler.processRequest(AgentManagerImpl.java:1296) at com.cloud.agent.manager.AgentManagerImpl$AgentHandler.doTask(AgentManagerImpl.java:1383) at com.cloud.agent.manager.ClusteredAgentManagerImpl$ClusteredAgentHandler.doTask(ClusteredAgentManagerImpl.java:712) at com.cloud.utils.nio.Task.call(Task.java:83) at com.cloud.utils.nio.Task.call(Task.java:29) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) 2019-07-16 22:51:00,004 ERROR [o.a.c.f.m.MessageDispatcher] (AgentManager-Handler-5:null) (logid:) Unexpected exception when calling com.cloud.vm.ClusteredVirtualMachineManagerImpl.HandlePowerStateReport java.lang.reflect.InvocationTargetException at sun.reflect.GeneratedMethodAccessor153.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.apache.cloudstack.framework.messagebus.MessageDispatcher.dispatch(MessageDispatcher.java:75) at org.apache.cloudstack.framework.messagebus.MessageDispatcher.onPublishMessage(MessageDispatcher.java:45) at org.apache.cloudstack.framework.messagebus.MessageBusBase$SubscriptionNode.notifySubscribers(MessageBusBase.java:441) at org.apache.cloudstack.framework.messagebus.MessageBusBase.publish(MessageBusBase.java:178) at com.cloud.vm.VirtualMachinePowerStateSyncImpl.processReport(VirtualMachinePowerStateSyncImpl.java:147) at com.cloud.vm.VirtualMachinePowerStateSyncImpl.processHostVmStatePingReport(VirtualMachinePowerStateSyncImpl.java:68) at com.cloud.vm.VirtualMachineManagerImpl.processCommands(VirtualMachineManagerImpl.java:3071) at com.cloud.agent.manager.AgentManagerImpl.handleCommands(AgentManagerImpl.java:317) at com.cloud.agent.manager.AgentManagerImpl$AgentHandler.processRequest(AgentManagerImpl.java:1296) at com.cloud.agent.manager.AgentManagerImpl$AgentHandler.doTask(AgentManagerImpl.java:1383) at com.cloud.agent.manager.ClusteredAgentManagerImpl$ClusteredAgentHandler.doTask(ClusteredAgentManagerImpl.java:712) at com.cloud.utils.nio.Task.call(Task.java:83) at com.cloud.utils.nio.Task.call(Task.java:29) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) Caused by: java.lang.NullPointerException at org.apache.cloudstack.network.topology.BasicNetworkVisitor.visit(BasicNetworkVisitor.java:201) at
Re: Virtual routers randomly rebooting
Have you added os/hypervisor mappings inside the DB? I vaguely remember 7.5 not having needed mapping and was considered to be 6.5, thus a manual fix was needed. Perhaps Rohit can sched some light? Anyways, a full log would be great (pastebin or other online service please). Regards On Tue, 16 Jul 2019, 00:59 Nick Thompson, wrote: > Hey, > > Since we upgraded to the 4.11 branch (currently 4.11.3) and virtual > routers have become HVM on XenServer/XCP-ng we have had problems with the > virtual routers randomly rebooting themselves. We still have some running > in the older paravirtualized mode and they seem to be fine (it may be that > the Management server can't communicate to these virtual routers since they > are an older template?). Other running Windows/Linux VMs are fine. > > CloudStack Cluster: XCP-ng 7.5 (previously XenServer 6.5, same issue was > happening) > CloudStack: 4.11.3 (same issue in 4.11.2, was working fine in V4.9.3 > > When digging through the management-server.log, I have found the following; > > >grep -n "Error while collecting network stats from router" > /var/log/cloudstack/management/management-server.log > 919060:2019-07-16 10:28:43,756 WARN > [c.c.n.r.VirtualNetworkApplianceManagerImpl] (RouterMonitor-1:ctx-1931d792) > (logid:6e236728) Error while collecting network stats from router: > r-2280-VM from host: 71; details: Exception: java.lang.Exception > 919328:2019-07-16 10:28:50,940 WARN > [c.c.n.r.VirtualNetworkApplianceManagerImpl] (RouterMonitor-1:ctx-1931d792) > (logid:6e236728) Error while collecting network stats from router: > r-2280-VM from host: 71; details: Exception: java.lang.Exception > 920533:2019-07-16 10:29:54,768 WARN > [c.c.n.r.VirtualNetworkApplianceManagerImpl] > (Work-Job-Executor-63:ctx-6d1f0235 job-24930/job-24944 ctx-a15a2697) > (logid:2b94fd5d) Error while collecting network stats from router: > r-2280-VM from host: 71; details: Exception: java.lang.Exception > 920621:2019-07-16 10:30:01,952 WARN > [c.c.n.r.VirtualNetworkApplianceManagerImpl] > (Work-Job-Executor-63:ctx-6d1f0235 job-24930/job-24944 ctx-a15a2697) > (logid:2b94fd5d) Error while collecting network stats from router: > r-2280-VM from host: 71; details: Exception: java.lang.Exception > > >less +920621 /var/log/cloudstack/management/management-server.log > 2019-07-16 10:30:01,952 DEBUG [c.c.a.t.Request] > (Work-Job-Executor-63:ctx-6d1f0235 job-24930/job-24944 ctx-a15a2697) > (logid:2b94fd5d) Seq 71-7505811728966836555: Received: { Ans: , MgmtId: > 226842157555374, via: 71(hostname), Ver: v1, Flags: 10, { > NetworkUsageAnswer } } > 2019-07-16 10:30:01,952 DEBUG [c.c.a.m.AgentManagerImpl] > (Work-Job-Executor-63:ctx-6d1f0235 job-24930/job-24944 ctx-a15a2697) > (logid:2b94fd5d) Details from executing class > com.cloud.agent.api.NetworkUsageCommand: Exception: java.lang.Exception > Message: vpc network usage plugin call failed > Stack: java.lang.Exception: vpc network usage plugin call failed > at > com.cloud.hypervisor.xenserver.resource.wrapper.xen56.XenServer56NetworkUsageCommandWrapper.executeNetworkUsage(XenServer56NetworkUsageCommandWrapper.java:84) > at > com.cloud.hypervisor.xenserver.resource.wrapper.xen56.XenServer56NetworkUsageCommandWrapper.execute(XenServer56NetworkUsageCommandWrapper.java:41) > at > com.cloud.hypervisor.xenserver.resource.wrapper.xen56.XenServer56NetworkUsageCommandWrapper.execute(XenServer56NetworkUsageCommandWrapper.java:33) > at > com.cloud.hypervisor.xenserver.resource.wrapper.xenbase.CitrixRequestWrapper.execute(CitrixRequestWrapper.java:122) > at > com.cloud.hypervisor.xenserver.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:1737) > at > com.cloud.agent.manager.DirectAgentAttache$Task.runInContext(DirectAgentAttache.java:315) > 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:511) > at java.util.concurrent.FutureTask.run(FutureTask.java:266) > at > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) > at > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) > at >
Re: Migrating From Basic to Advanced Zone
Don't run mgmt on same KVM hosts that are used by Cloud Stack, just don't please. Migration of VMs into ACS boils down to creating root volume snapshot, converting to template and downloading that template into other ACS env. For data disks, you can also create snap, convert to volume and download it, or simply download original data volume while VM is stopped. There are currently no better ways to migrate/import a foreign VM into CloudStack. Best, On Mon, 15 Jul 2019, 16:55 Fariborz Navidan, wrote: > Hello, > > I have now 2 clousatack management servers one configured with Basic zone > and running several VMs and other a fresh cloudstack installation > configured with advanced zone. Management servers are running on the same > machine as KVM hosts. How can I connect this two cloudstack installations > together and migrate vMs from Basic zone to Advanced zone? > > Pllease advise. > > Thanks in advance >
Unable to add host
Hello, I am trying to setup a new advanced zone on a fresh cloudstack management installation with a fresh KVM host. I get above error during zone setup. I have configured everything exactly as mentioned in documentation. This is my second cloudstack deployment. I have configured firewall, nfs (for secondary storage) and firewall as well. Following is relevant log entries: Please advise Thank LOG 2019-07-16 17:49:28,545 DEBUG [c.c.a.ApiServlet] (qtp2114650936-15:ctx-4a6253b3) (logid:9602d64a) ===START=== 137.74.35.102 -- GET command=updateConfiguration=system.vm.use.local.storage=true=d550c869-b032-453a-9aa2-b9392e88c7e8=json&_=1563289836973 2019-07-16 17:49:28,555 DEBUG [c.c.a.ApiServer] (qtp2114650936-15:ctx-4a6253b3 ctx-4d70c46a) (logid:9602d64a) CIDRs from which account 'Acct[e5d9b8e5-a728-11e9-a6d1-d05099d22dfa-admin]' is allowed to perform API calls: 0.0.0.0/0,::/0 2019-07-16 17:49:28,565 WARN [c.c.c.ConfigurationManagerImpl] (qtp2114650936-15:ctx-4a6253b3 ctx-4d70c46a) (logid:9602d64a) Did not find configuration system.vm.use.local.storage in Config.java. Perhaps moved to ConfigDepot 2019-07-16 17:49:28,585 DEBUG [c.c.a.ApiServlet] (qtp2114650936-15:ctx-4a6253b3 ctx-4d70c46a) (logid:9602d64a) ===END=== 137.74.35.102 -- GET command=updateConfiguration=system.vm.use.local.storage=true=d550c869-b032-453a-9aa2-b9392e88c7e8=json&_=1563289836973 2019-07-16 17:49:28,725 DEBUG [c.c.a.ApiServlet] (qtp2114650936-22:ctx-737ecab0) (logid:2a3b979e) ===START=== 137.74.35.102 -- POST command=addHost=json 2019-07-16 17:49:28,733 DEBUG [c.c.a.ApiServer] (qtp2114650936-22:ctx-737ecab0 ctx-5f99d489) (logid:2a3b979e) CIDRs from which account 'Acct[e5d9b8e5-a728-11e9-a6d1-d05099d22dfa-admin]' is allowed to perform API calls: 0.0.0.0/0,::/0 2019-07-16 17:49:28,745 WARN [c.c.a.d.ParamGenericValidationWorker] (qtp2114650936-22:ctx-737ecab0 ctx-5f99d489) (logid:2a3b979e) Received unknown parameters for command addHost. Unknown parameters : clustertype 2019-07-16 17:49:28,751 INFO [c.c.r.ResourceManagerImpl] (qtp2114650936-22:ctx-737ecab0 ctx-5f99d489) (logid:2a3b979e) Trying to add a new host at http://51.91.31.227 in data center 1 2019-07-16 17:49:28,754 WARN [c.c.h.k.d.LibvirtServerDiscoverer] (qtp2114650936-22:ctx-737ecab0 ctx-5f99d489) (logid:2a3b979e) can't setup agent, due to java.io.IOException: There was a problem while connecting to 51.91.31.227:22 - There was a problem while connecting to 51.91.31.227:22 2019-07-16 17:49:28,755 WARN [c.c.r.ResourceManagerImpl] (qtp2114650936-22:ctx-737ecab0 ctx-5f99d489) (logid:2a3b979e) Unable to find the server resources at http://51.91.31.227 2019-07-16 17:49:28,755 INFO [c.c.u.e.CSExceptionErrorCode] (qtp2114650936-22:ctx-737ecab0 ctx-5f99d489) (logid:2a3b979e) Could not find exception: com.cloud.exception.DiscoveryException in error code list for exceptions 2019-07-16 17:49:28,755 WARN [o.a.c.a.c.a.h.AddHostCmd] (qtp2114650936-22:ctx-737ecab0 ctx-5f99d489) (logid:2a3b979e) Exception: com.cloud.exception.DiscoveryException: Unable to add the host at com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceManagerImpl.java:824) at com.cloud.resource.ResourceManagerImpl.discoverHosts(ResourceManagerImpl.java:610) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:338) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:197) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:185) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212) at com.sun.proxy.$Proxy174.discoverHosts(Unknown Source) at org.apache.cloudstack.api.command.admin.host.AddHostCmd.execute(AddHostCmd.java:142) at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:156) at com.cloud.api.ApiServer.queueCommand(ApiServer.java:758) at com.cloud.api.ApiServer.handleRequest(ApiServer.java:582) at com.cloud.api.ApiServlet.processRequestInContext(ApiServlet.java:310) at com.cloud.api.ApiServlet$1.run(ApiServlet.java:130) at org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56) at
Re: [ANNOUNCE] Bobby (Boris Stoyanov) has joined the PMC
Congrats Bobby ! On Tue, 16 Jul 2019 at 13:40, Riepl, Gregor (SWISS TXT) < gregor.ri...@swisstxt.ch> wrote: > Congratulations, Boris! > -- Andrija Panić
Re: [ANNOUNCE] Bobby (Boris Stoyanov) has joined the PMC
Thanks everyone, it's a great pleasure and honor for me! Bobby. On 16.07.19, 16:20, "Gabriel Beims Bräscher" wrote: Congrats Bobby! Em ter, 16 de jul de 2019 às 08:40, Riepl, Gregor (SWISS TXT) < gregor.ri...@swisstxt.ch> escreveu: > Congratulations, Boris! > boris.stoya...@shapeblue.com www.shapeblue.com Amadeus House, Floral Street, London WC2E 9DPUK @shapeblue
Re: [ANNOUNCE] Bobby (Boris Stoyanov) has joined the PMC
Congrats Bobby! Em ter, 16 de jul de 2019 às 08:40, Riepl, Gregor (SWISS TXT) < gregor.ri...@swisstxt.ch> escreveu: > Congratulations, Boris! >
Re: Unable to log in to the cloudstack management page (Web UI)
Hi Eiji, If I read the source code right, account roles were hard-coded in 4.2. Can you post the result of the following query? select * from cloud.account where id = 2; "type" is an enum that can take the following values: https://github.com/apache/cloudstack/blob/4.2/api/src/com/cloud/user/Account.java#L42-L47 "state" should be "enabled" "removed" should be NULL Hope this helps! Regards, Gregor On Tue, 2019-07-16 at 08:33 +, sagawa_e...@fujitsu.com wrote: > Hi Liridon, > > Thank you for your reply. > > > select * from cloud.account where id = 2; and select * from roles > > where > > id in (select role_id from account where id = 2); > > I did not find the role table and account.role_id column. > The cloudstack version of my system is 4.2.1. > Is there no table/column in this version? > > > As it seems that your user Admin can log in but maybe your account > > or > > role is inactive or not properly configured. Can you check if you > > are > > able to log in with another account / user which is not under the > > admin > > account? > > I confirmed login with another account. > I tried with multiple accounts, but I couldn't log in all. > > Best regards, > Eiji Sagawa > > > > > -Original Message- > > From: Ismaili, Liridon (SWISS TXT) [mailto: > > liridon.isma...@swisstxt.ch] > > Sent: Friday, July 5, 2019 6:00 PM > > To: users@cloudstack.apache.org > > Cc: Shigemoto, Yasumasa/重元 康昌 ; > > Hoshikawa, Toyohiko/星川 豊彦 > > Subject: AW: Unable to log in to the cloudstack management page > > (Web UI) > > > > Hi Eiji > > > > the JSON inside the body tells the same as the error you posted > > already. > > May you check the DB if there is something misconfigured with the > > accounts > > or roles? > > Please run this query and post the results: > > select * from cloud.account where id = 2; and select * from roles > > where > > id in (select role_id from account where id = 2); > > > > As it seems that your user Admin can log in but maybe your account > > or > > role is inactive or not properly configured. Can you check if you > > are > > able to log in with another account / user which is not under the > > admin > > account? > > > > Regards > > Liridon > > > > Von: sagawa_e...@fujitsu.com > > Gesendet: Freitag, 5. Juli 2019 10:31 > > An: users@cloudstack.apache.org > > Cc: shigemoto.ya...@fujitsu.com; t-hoshik...@fujitsu.com > > Betreff: RE: Unable to log in to the cloudstack management page > > (Web UI) > > > > Hi Gregor, > > > > Thank you very much for answering my questions. > > > > > > > > 192.168.122.1 - - [01/Jul/2019:06:13:10 +0900] "GET > > > > > > /client/api?command=listCapabilities=json=h1Lws > > k > > > 9 > > > > dqVwZxGAwk0owzFDtmi4%3D&_=1561961591972 HTTP/1.1" 432 151 > > > > > > This happens just after login and indicates something is wrong. > > > It might not help much, but can you post the JSON body of the > > > response? > > > > This JSON body was returned. > > --- > > { "errorresponse" : > > {"uuidList":[],"errorcode":432,"cserrorcode":,"errortext":"The > > given command does not exist or it is not available for user"} } > > --- > > > > Do you know anything from this JSON body? > > > > > > Best regards, > > Eiji Sagawa > > > > > > > -Original Message- > > > From: Riepl, Gregor (SWISS TXT) [mailto:gregor.ri...@swisstxt.ch] > > > Sent: Wednesday, July 3, 2019 10:00 PM > > > To: users@cloudstack.apache.org > > > Cc: Shigemoto, Yasumasa/重元 康昌 ; > > > Hoshikawa, Toyohiko/星川 豊彦 > > > Subject: Re: Unable to log in to the cloudstack management page > > > (Web > > > UI) > > > > > > Hi Eiji, > > > > > > > 192.168.122.1 - - [01/Jul/2019:06:09:22 +0900] "GET > > > > > > /client/api?command=listCapabilities=json=null& > > _ > > > = > > > > 1561961364158 HTTP/1.1" 401 101 > > > > > > This happens before login and is ok. > > > I see that too when I open the login page without an active > > > session. > > > > > > > ==> /var/log/cloudstack/management/access_log.2019-07- > > > > 01.txt > > > <== > > > > 192.168.122.1 - - [01/Jul/2019:06:13:10 +0900] "POST > > > > /client/api > > > > HTTP/1.1" 200 321 > > > > > > This is the actual login call, and returns status 200 (success). > > > > > > > 192.168.122.1 - - [01/Jul/2019:06:13:10 +0900] "GET > > > > > > /client/api?command=listCapabilities=json=h1Lws > > k > > > 9 > > > > dqVwZxGAwk0owzFDtmi4%3D&_=1561961591972 HTTP/1.1" 432 151 > > > > > > This happens just after login and indicates something is wrong. > > > It might not help much, but can you post the JSON body of the > > > response? > > > > > > > 2019-07-01 06:13:10,963 DEBUG [cloud.api.ApiServlet] > > > > (catalina- > > > > exec-22:null) ===START=== 192.168.122.1 -- GET > > > > command=listCapabilities=json=h1Lwsk9dqVwZx > > > > G > > > > Awk0owzFDtmi4%3D&_=1561961591972 > > > > 2019-07-01 06:13:10,976 DEBUG
Re: [ANNOUNCE] Bobby (Boris Stoyanov) has joined the PMC
Congratulations, Boris!
CloudStack & Ceph day, London, October 24
Hi all, I'm delighted to announce another Apache CloudStack & Ceph day bringing together the Apache CloudStack and Ceph communities. The morning will be a mixture of Ceph and CloudStack talks, and the afternoon will split into two tracks - one devoted to Ceph and the other to CloudStack. The call for talks is now open - if you would like to speak at the event, about CloudStack, Ceph, or both, then please let me know ASAP. For further information and to register, please see here: https://www.eventbrite.co.uk/e/cloudstack-european-user-group-ceph-day-tickets-61632261754 Hope to see you there! steve.ro...@shapeblue.com www.shapeblue.com Amadeus House, Floral Street, London WC2E 9DPUK @shapeblue
Re: [ANNOUNCE] Bobby (Boris Stoyanov) has joined the PMC
Congratulations Bobby! Regards, Anurag From: Paul Angus Sent: Tuesday, July 16, 2019 2:42 PM To: priv...@cloudstack.apache.org ; d...@cloudstack.apache.org ; users@cloudstack.apache.org Subject: [ANNOUNCE] Bobby (Boris Stoyanov) has joined the PMC Fellow CloudStackers, It gives me great pleasure to say that Bobby has been invited to join the PMC and has gracefully accepted. Please join me in congratulating Bobby! Kind regards, Paul Angus CloudStack PMC anurag.awas...@shapeblue.com www.shapeblue.com Amadeus House, Floral Street, London WC2E 9DPUK @shapeblue
[ANNOUNCE] Bobby (Boris Stoyanov) has joined the PMC
Fellow CloudStackers, It gives me great pleasure to say that Bobby has been invited to join the PMC and has gracefully accepted. Please join me in congratulating Bobby! Kind regards, Paul Angus CloudStack PMC
RE: Unable to log in to the cloudstack management page (Web UI)
Hi Andrija, Thank you for your reply. > 1) clear browser cache > 2) restart mgmt server The browser used chrome and firefox. I tried in both browsers. But the results did not change. Best regards, Eiji Sagawa > -Original Message- > From: Andrija Panic [mailto:andrija.pa...@gmail.com] > Sent: Friday, July 5, 2019 7:32 PM > To: users > Cc: Shigemoto, Yasumasa/重元 康昌 ; > Hoshikawa, Toyohiko/星川 豊彦 > Subject: Re: Unable to log in to the cloudstack management page (Web UI) > > Worth trying to clear browser cache - I had (a possibly) similar issue > - login data saved in Chrome (for some demo env) and when Chrome > auto-populate username/password fileds, then when I click on login button > - nothing happens at all. > > 1) clear browser cache > 2) restart mgmt server > > On Fri, 5 Jul 2019 at 14:00, Ismaili, Liridon (SWISS TXT) < > liridon.isma...@swisstxt.ch> wrote: > > > Hi Eiji > > > > the JSON inside the body tells the same as the error you posted already. > > May you check the DB if there is something misconfigured with the > > accounts or roles? > > Please run this query and post the results: > > select * from cloud.account where id = 2; and select * from roles > > where id in (select role_id from account where id = 2); > > > > As it seems that your user Admin can log in but maybe your account or > > role is inactive or not properly configured. Can you check if you are > > able to log in with another account / user which is not under the admin > account? > > > > Regards > > Liridon > > > > Von: sagawa_e...@fujitsu.com > > Gesendet: Freitag, 5. Juli 2019 10:31 > > An: users@cloudstack.apache.org > > Cc: shigemoto.ya...@fujitsu.com; t-hoshik...@fujitsu.com > > Betreff: RE: Unable to log in to the cloudstack management page (Web > > UI) > > > > Hi Gregor, > > > > Thank you very much for answering my questions. > > > > > > > > 192.168.122.1 - - [01/Jul/2019:06:13:10 +0900] "GET > > > > > > > > /client/api?command=listCapabilities=json=h1Lwsk > > > 9 > > > > dqVwZxGAwk0owzFDtmi4%3D&_=1561961591972 HTTP/1.1" 432 151 > > > > > > This happens just after login and indicates something is wrong. > > > It might not help much, but can you post the JSON body of the response? > > > > This JSON body was returned. > > --- > > { "errorresponse" : > > {"uuidList":[],"errorcode":432,"cserrorcode":,"errortext":"The > > given command does not exist or it is not available for user"} } > > --- > > > > Do you know anything from this JSON body? > > > > > > Best regards, > > Eiji Sagawa > > > > > > > -Original Message- > > > From: Riepl, Gregor (SWISS TXT) [mailto:gregor.ri...@swisstxt.ch] > > > Sent: Wednesday, July 3, 2019 10:00 PM > > > To: users@cloudstack.apache.org > > > Cc: Shigemoto, Yasumasa/重元 康昌 ; > > > Hoshikawa, Toyohiko/星川 豊彦 > > > Subject: Re: Unable to log in to the cloudstack management page (Web > > > UI) > > > > > > Hi Eiji, > > > > > > > 192.168.122.1 - - [01/Jul/2019:06:09:22 +0900] "GET > > > > > > > > /client/api?command=listCapabilities=json=null&_ > > > = > > > > 1561961364158 HTTP/1.1" 401 101 > > > > > > This happens before login and is ok. > > > I see that too when I open the login page without an active session. > > > > > > > ==> /var/log/cloudstack/management/access_log.2019-07-01.txt > > > <== > > > > 192.168.122.1 - - [01/Jul/2019:06:13:10 +0900] "POST > > > > /client/api HTTP/1.1" 200 321 > > > > > > This is the actual login call, and returns status 200 (success). > > > > > > > 192.168.122.1 - - [01/Jul/2019:06:13:10 +0900] "GET > > > > > > > > /client/api?command=listCapabilities=json=h1Lwsk > > > 9 > > > > dqVwZxGAwk0owzFDtmi4%3D&_=1561961591972 HTTP/1.1" 432 151 > > > > > > This happens just after login and indicates something is wrong. > > > It might not help much, but can you post the JSON body of the response? > > > > > > > 2019-07-01 06:13:10,963 DEBUG [cloud.api.ApiServlet] > > > > (catalina- > > > > exec-22:null) ===START=== 192.168.122.1 -- GET > > > > command=listCapabilities=json=h1Lwsk9dqVwZxG > > > > Awk0owzFDtmi4%3D&_=1561961591972 > > > > 2019-07-01 06:13:10,976 DEBUG [cloud.api.ApiServer] > (catalina- > > > > exec-22:null) The given command:listCapabilities does not exist > or > > > > it is not available for user with id:2 > > > > > > > > ==> /var/log/cloudstack/management/apilog.log <== > > > > 2019-07-01 06:13:10,979 INFO [cloud.api.ApiServer] > (catalina- > > > > exec-22:null) 192.168.122.1 -- GET > > > > > > > > command=listCapabilities=json=h1Lwsk9dqVwZxGAwk0 > > > o > > > > wzFDtmi4%3D&_=1561961591972 432 The given command does not exist > > > > or > > > it > > > > is not available for user > > > > > > These log messages relate to the failing listCapabilities call after > > login. > > > I think you should focus on these. > > > > > > Regards, > > > Gregor > > > > > -- > > Andrija Panić
RE: Unable to log in to the cloudstack management page (Web UI)
Hi Liridon, Thank you for your reply. > select * from cloud.account where id = 2; and select * from roles where > id in (select role_id from account where id = 2); I did not find the role table and account.role_id column. The cloudstack version of my system is 4.2.1. Is there no table/column in this version? > As it seems that your user Admin can log in but maybe your account or > role is inactive or not properly configured. Can you check if you are > able to log in with another account / user which is not under the admin > account? I confirmed login with another account. I tried with multiple accounts, but I couldn't log in all. Best regards, Eiji Sagawa > -Original Message- > From: Ismaili, Liridon (SWISS TXT) [mailto:liridon.isma...@swisstxt.ch] > Sent: Friday, July 5, 2019 6:00 PM > To: users@cloudstack.apache.org > Cc: Shigemoto, Yasumasa/重元 康昌 ; > Hoshikawa, Toyohiko/星川 豊彦 > Subject: AW: Unable to log in to the cloudstack management page (Web UI) > > Hi Eiji > > the JSON inside the body tells the same as the error you posted already. > May you check the DB if there is something misconfigured with the accounts > or roles? > Please run this query and post the results: > select * from cloud.account where id = 2; and select * from roles where > id in (select role_id from account where id = 2); > > As it seems that your user Admin can log in but maybe your account or > role is inactive or not properly configured. Can you check if you are > able to log in with another account / user which is not under the admin > account? > > Regards > Liridon > > Von: sagawa_e...@fujitsu.com > Gesendet: Freitag, 5. Juli 2019 10:31 > An: users@cloudstack.apache.org > Cc: shigemoto.ya...@fujitsu.com; t-hoshik...@fujitsu.com > Betreff: RE: Unable to log in to the cloudstack management page (Web UI) > > Hi Gregor, > > Thank you very much for answering my questions. > > > > > 192.168.122.1 - - [01/Jul/2019:06:13:10 +0900] "GET > > > > > > /client/api?command=listCapabilities=json=h1Lwsk > > 9 > > > dqVwZxGAwk0owzFDtmi4%3D&_=1561961591972 HTTP/1.1" 432 151 > > > > This happens just after login and indicates something is wrong. > > It might not help much, but can you post the JSON body of the response? > > This JSON body was returned. > --- > { "errorresponse" : > {"uuidList":[],"errorcode":432,"cserrorcode":,"errortext":"The > given command does not exist or it is not available for user"} } > --- > > Do you know anything from this JSON body? > > > Best regards, > Eiji Sagawa > > > > -Original Message- > > From: Riepl, Gregor (SWISS TXT) [mailto:gregor.ri...@swisstxt.ch] > > Sent: Wednesday, July 3, 2019 10:00 PM > > To: users@cloudstack.apache.org > > Cc: Shigemoto, Yasumasa/重元 康昌 ; > > Hoshikawa, Toyohiko/星川 豊彦 > > Subject: Re: Unable to log in to the cloudstack management page (Web > > UI) > > > > Hi Eiji, > > > > > 192.168.122.1 - - [01/Jul/2019:06:09:22 +0900] "GET > > > > > > /client/api?command=listCapabilities=json=null&_ > > = > > > 1561961364158 HTTP/1.1" 401 101 > > > > This happens before login and is ok. > > I see that too when I open the login page without an active session. > > > > > ==> /var/log/cloudstack/management/access_log.2019-07-01.txt > > <== > > > 192.168.122.1 - - [01/Jul/2019:06:13:10 +0900] "POST /client/api > > > HTTP/1.1" 200 321 > > > > This is the actual login call, and returns status 200 (success). > > > > > 192.168.122.1 - - [01/Jul/2019:06:13:10 +0900] "GET > > > > > > /client/api?command=listCapabilities=json=h1Lwsk > > 9 > > > dqVwZxGAwk0owzFDtmi4%3D&_=1561961591972 HTTP/1.1" 432 151 > > > > This happens just after login and indicates something is wrong. > > It might not help much, but can you post the JSON body of the response? > > > > > 2019-07-01 06:13:10,963 DEBUG [cloud.api.ApiServlet] (catalina- > > > exec-22:null) ===START=== 192.168.122.1 -- GET > > > command=listCapabilities=json=h1Lwsk9dqVwZxG > > > Awk0owzFDtmi4%3D&_=1561961591972 > > > 2019-07-01 06:13:10,976 DEBUG [cloud.api.ApiServer] (catalina- > > > exec-22:null) The given command:listCapabilities does not exist or > > > it is not available for user with id:2 > > > > > > ==> /var/log/cloudstack/management/apilog.log <== > > > 2019-07-01 06:13:10,979 INFO [cloud.api.ApiServer] (catalina- > > > exec-22:null) 192.168.122.1 -- GET > > > > > > command=listCapabilities=json=h1Lwsk9dqVwZxGAwk0 > > o > > > wzFDtmi4%3D&_=1561961591972 432 The given command does not exist or > > it > > > is not available for user > > > > These log messages relate to the failing listCapabilities call after > login. > > I think you should focus on these. > > > > Regards, > > Gregor
Re: [ANNOUNCE] Gabriel Beims Bräscher has joined the PMC
Congrats Gabriel! On 13.07.19, 19:01, "Paul Angus" wrote: Fellow CloudStackers, Its non-stop today! It gives me great pleasure to say that Gabriel has been invited to join the PMC and has gracefully accepted. Please joining me in congratulating Sven! Kind regards, Paul Angus CloudStack PMC boris.stoya...@shapeblue.com www.shapeblue.com Amadeus House, Floral Street, London WC2E 9DPUK @shapeblue
Re: [ANNOUNCE] Sven Vogel has joined the PMC
Congrats Sven! On 13.07.19, 18:45, "Paul Angus" wrote: Fellow CloudStackers, It gives me great pleasure to say that Sven has been invited to join the PMC and has gracefully accepted. Please joining me in congratulating Sven! Kind regards, Paul Angus CloudStack PMC boris.stoya...@shapeblue.com www.shapeblue.com Amadeus House, Floral Street, London WC2E 9DPUK @shapeblue
Re: [ANNOUNCE] Andrija Panic has joined the PMC
Congrats Andrija! On 13.07.19, 18:03, "Paul Angus" wrote: Fellow CloudStackers, It gives me great pleasure to say that Adrija has been invited to join the PMC and has gracefully accepted. Please joining me in congratulating Andrija! Kind regards, Paul Angus CloudStack PMC boris.stoya...@shapeblue.com www.shapeblue.com Amadeus House, Floral Street, London WC2E 9DPUK @shapeblue
Re: [ANNOUNCE] Sven Vogel has joined the PMC
Congratulations Sven! Regards, Abhishek Kumar From: Paul Angus Sent: 13 July 2019 21:14 To: priv...@cloudstack.apache.org ; d...@cloudstack.apache.org ; users@cloudstack.apache.org Subject: [ANNOUNCE] Sven Vogel has joined the PMC Fellow CloudStackers, It gives me great pleasure to say that Sven has been invited to join the PMC and has gracefully accepted. Please joining me in congratulating Sven! Kind regards, Paul Angus CloudStack PMC abhishek.ku...@shapeblue.com www.shapeblue.com Amadeus House, Floral Street, London WC2E 9DPUK @shapeblue
Re: [ANNOUNCE] Andrija Panic has joined the PMC
Congrats Andrija! Regards, Abhishek Kumar From: Paul Angus Sent: 13 July 2019 20:32 To: users@cloudstack.apache.org ; d...@cloudstack.apache.org ; priv...@cloudstack.apache.org Subject: [ANNOUNCE] Andrija Panic has joined the PMC Fellow CloudStackers, It gives me great pleasure to say that Adrija has been invited to join the PMC and has gracefully accepted. Please joining me in congratulating Andrija! Kind regards, Paul Angus CloudStack PMC abhishek.ku...@shapeblue.com www.shapeblue.com Amadeus House, Floral Street, London WC2E 9DPUK @shapeblue
Re: [ANNOUNCE] Gabriel Beims Bräscher has joined the PMC
Congratulations Gabriel! Regards, Abhishek Kumar From: Paul Angus Sent: 13 July 2019 21:30 To: users@cloudstack.apache.org ; d...@cloudstack.apache.org ; priv...@cloudstack.apache.org Subject: [ANNOUNCE] Gabriel Beims Bräscher has joined the PMC Fellow CloudStackers, Its non-stop today! It gives me great pleasure to say that Gabriel has been invited to join the PMC and has gracefully accepted. Please joining me in congratulating Sven! Kind regards, Paul Angus CloudStack PMC abhishek.ku...@shapeblue.com www.shapeblue.com Amadeus House, Floral Street, London WC2E 9DPUK @shapeblue