LVM support for KVM

2018-01-16 Thread Rodrigo Baldasso
Hi everyone,

Is there any roadmap for supporting LVM/raw disks on kvm? The mainly reason
here for us to keep our legacy virtualization system is that.

Even if snapshot wasn't possible using lvm, it would be great.

Thanks!


Re: Migrating VMs from AWS to CloudStack

2017-09-07 Thread Rodrigo Baldasso
Hello

Use r1soft to take an imagem from that vm's and deploy a new VM in CS with
the same partitioning, then use r1soft bare metal restore and you're set.
Exactly the same VM on your new platform.

Enviado de GMail Mobile

Em 7 de set de 2017 10:20, "Dag Sonstebo" 
escreveu:

> Taking into account Ivan and Makrands suggestions – if you did manage to
> dd the image off the EC2 instance you could use qemu-img to convert it from
> raw to qcow2. Your challenge is going to be how to get the raw image out of
> EC2 and onto on premise storage or an S3 bucket.
>
> Overall though – I agree with Erik – the effort this is going to take you
> is possibly better spent rebuilding and automating a fresh rollout on
> premise. Even if you did succeed I could see you having a lot of niggles
> with the exported VMs.
>
> Regards,
> Dag Sonstebo
> Cloud Architect
> ShapeBlue
>
> On 07/09/2017, 13:54, "Makrand"  wrote:
>
> Take a note that AWS used XEN (Open source) hyeprvisor for EC2. Even
> if you
> get your VM exported somehow, importing it into ACS on KVM will be an
> issue.
>
>
>
> --
> Makrand
>
>
>
> dag.sonst...@shapeblue.com
> www.shapeblue.com
> 53 Chandos Place, Covent Garden, London  WC2N 4HSUK
> @shapeblue
>
>
>
> On Thu, Sep 7, 2017 at 6:17 PM, Erik Weber  wrote:
>
> > On Thu, Sep 7, 2017 at 2:08 PM, Imran Ahmed 
> wrote:
> > > Hi All,
> > > I have got a task to migrate VMs from AWS to CloudStack  (private
> cloud)
> > .
> > > Any ideas to get this done efficiently?
> >
> > Your most efficient long term bet is probably to re-deploy everything
> > using some sort of automation (ansible, puppet, chef, cfengine, salt,
> > ++).
> > That way it'll be even easier next time or if you need more of the
> same.
> >
> > --
> > erik
> >
>
>
>


Re: Failed to find db.properties

2017-08-24 Thread Rodrigo Baldasso
I think that by 'we', he meant 'cloudstack'.

http://docs.cloudstack.apache.org/projects/cloudstack-installation/en/4.9/overview/index.html#minimum-system-requirements


[]'s.

- - - - - - - - - - - - - - - - - - -

Rodrigo Baldasso - LHOST

(51) 9 8419-9861
- - - - - - - - - - - - - - - - - - -
On 24/08/2017 14:21:44, Jevgeni Zolotarjov  wrote:
end of story? no one can help me?

On Thu, Aug 24, 2017 at 8:15 PM, Paul Angus
wrote:

> Ah.
>
> We don't support a Debian based management server - the Debian repo works
> for Ubuntu 14.04 definitely (not sure if we have 16.04 sorted yet).
> For CentOS the current latest is 7.3
>
>
>
> Kind regards,
>
> Paul Angus
>
> paul.an...@shapeblue.com
> www.shapeblue.com
> 53 Chandos Place, Covent Garden, London WC2N 4HSUK
> @shapeblue
>
>
>
>
> -Original Message-
> From: Jevgeni Zolotarjov [mailto:j.zolotar...@gmail.com]
> Sent: 24 August 2017 18:13
> To: users@cloudstack.apache.org
> Subject: Re: Failed to find db.properties
>
> Debian 8.9
> the service is called tomcat7 in debian - not tomcat
>
> On Thu, Aug 24, 2017 at 8:10 PM, Paul Angus
> wrote:
>
> > Hi Jevgeni,
> >
> > What OS are you running your management server on? (sorry if it's buried
> > in your post somewhere).
> > The log suggest that tomcat7 isn't installed, or isn't where CloudStack
> is
> > expecting it to be.
> >
> >
> > Kind regards,
> >
> > Paul Angus
> >
> > paul.an...@shapeblue.com
> > www.shapeblue.com
> > 53 Chandos Place, Covent Garden, London WC2N 4HSUK
> > @shapeblue
> >
> >
> >
> >
> > -Original Message-
> > From: Rafael Weingärtner [mailto:rafaelweingart...@gmail.com]
> > Sent: 24 August 2017 18:06
> > To: users@cloudstack.apache.org
> > Subject: Re: Failed to find db.properties
> >
> > It seems that there is something wrong with your installation. Maybe a
> > corrupted file?
> >
> > On Thu, Aug 24, 2017 at 1:04 PM, Jevgeni Zolotarjov
> > j.zolotar...@gmail.com>
> > wrote:
> >
> > > sorry. this log file is correct
> > >
> > > DEBUG:root:execute:/usr/bin/lsb_release -i
> > > DEBUG:root:execute:hostname -f
> > > DEBUG:root:execute:iptables-save|grep INPUT|grep -w 8080
> > > DEBUG:root:Failed to execute:
> > > DEBUG:root:execute:ufw allow 8080/tcp
> > > DEBUG:root:execute:iptables-save|grep INPUT|grep -w 8250
> > > DEBUG:root:Failed to execute:
> > > DEBUG:root:execute:ufw allow 8250/tcp
> > > DEBUG:root:execute:iptables-save|grep INPUT|grep -w 9090
> > > DEBUG:root:Failed to execute:
> > > DEBUG:root:execute:ufw allow 9090/tcp
> > > DEBUG:root:execute:rm -f /etc/cloudstack/management/server.xml
> > > DEBUG:root:execute:ln -s /etc/cloudstack/management/server7-nonssl.xml
> > > /etc/cloudstack/management/server.xml
> > > DEBUG:root:execute:rm -f /usr/share/cloudstack-management/bin
> > > DEBUG:root:execute:ln -s /usr/share/tomcat7/bin
> > > /usr/share/cloudstack-management/bin
> > > DEBUG:root:execute:rm -f /usr/share/cloudstack-management/lib
> > > DEBUG:root:execute:ln -s /usr/share/tomcat7/lib
> > > /usr/share/cloudstack-management/lib
> > > DEBUG:root:execute:touch /var/run/cloudstack-management.pid
> > > DEBUG:root:execute:chown cloud.cloud /var/run/cloudstack-
> management.pid
> > > DEBUG:root:execute:hostname --fqdn
> > > DEBUG:root:execute:chown cloud:cloud -R /var/lib/cloudstack/
> > > DEBUG:root:execute:chmod +x -R
> > > /usr/share/cloudstack-management/webapps/client/WEB-
> INF/classes/scripts/
> > > DEBUG:root:execute:sudo /usr/sbin/service tomcat status
> > > DEBUG:root:Failed to execute:● tomcat.service
> > > Loaded: not-found (Reason: No such file or directory)
> > > Active: inactive (dead)
> > > DEBUG:root:execute:sudo /usr/sbin/service tomcat stop
> > > DEBUG:root:Failed to execute:Failed to stop tomcat.service: Unit
> > > tomcat.service not loaded.
> > > DEBUG:root:execute:sudo update-rc.d -f tomcat remove
> > > DEBUG:root:execute:sudo /usr/sbin/service cloudstack-management status
> > > DEBUG:root:Failed to execute:● cloudstack-management.service -
> CloudStack
> > > Management Server
> > > Loaded: loaded (/lib/systemd/system/cloudstack-management.service;
> > > enabled)
> > > Active: failed (Result: exit-code) since Thu 2017-08-24 18:15:22
> CEST;
> > > 15min ago
> > > Main PID: 19262 (code=exited, status=1/FAILURE)
>

Re: Secondary storage is not secondary properly

2017-08-15 Thread Rodrigo Baldasso
Put the zone in maitenance mode, that will not auto create the ssvm's.

- - - - - - - - - - - - - - - - - - -

Rodrigo Baldasso - LHOST

(51) 9 8419-9861
- - - - - - - - - - - - - - - - - - -
On 15/08/2017 14:00:45, Asanka Gunasekara  wrote:
Hi Dag, restart did not work but updating the tables initiate the
recreation of the system VMs. But it does not give me the chance to restart
cloudstack server, as soon as destroy the VMs it starts the VM recreation.
Is there a way to stop this behaviour

Thanks and Regards

Asanka

On 15 August 2017 at 14:19, Asanka Gunasekara wrote:

> Thank you Dag
>
> Best Regards
>
> Asanka
>
> On 15 August 2017 at 13:18, Dag Sonstebo
> wrote:
>
>> Hi Asanka,
>>
>> Maybe give you management server a reboot first of all.
>>
>> If this fails then yes we sometimes set status to stopped or destroyed in
>> the DB – you also need to set the removed date and last update date.
>>
>> Regards,
>> Dag Sonstebo
>> Cloud Architect
>> ShapeBlue
>>
>> On 15/08/2017, 07:07, "Asanka Gunasekara" wrote:
>>
>> Hi Guys, what would happen if i change the column in the table
>> VM_instance,
>> to Destroyed or running
>>
>> :(
>>
>> On 15 Aug 2017 8:28 am, "Asanka Gunasekara" wrote:
>>
>> > Hi Guys, when a system VM is in start state in ui, it does not give
>> any
>> > option to delete stop start etc. What if it to change db entry of
>> the
>> > system VMS to running state. Will it give me the option to destroy?
>> If so
>> > what would be the database relation?
>> >
>> > Thanks and regards
>> >
>> > Asanka
>> >
>> > On 15 Aug 2017 6:42 am, "Asanka Gunasekara"
>> wrote:
>> >
>> >> Hi Dag, I deleted both the system VMs and from the cloudstack it
>> says
>> >> starting but I dont see the the VM been generated, now its since
>> more than
>> >> 12 houres
>> >>
>> >> Thanks and Regards
>> >>
>> >> Asanka
>> >>
>> >
>> dag.sonst...@shapeblue.com
>> www.shapeblue.com
>> 53 Chandos Place, Covent Garden, London WC2N 4HSUK
>> @shapeblue
>>
>>
>>
>> > On 10 August 2017 at 21:47, Asanka Gunasekara wrote:
>> >>
>> >>> Thank you Dag,
>> >>>
>> >>>
>> >>> On 10 Aug 2017 3:09 am, "Dag Sonstebo"
>> dag.sonst...@shapeblue.com>
>> >>> wrote:
>> >>>
>> >>> Sure, let us know how you get on. The fact that the previous ssvm
>> check
>> >>> showed up with 172.17.101.1 was probably down to the wrong “host”
>> global
>> >>> setting – since the SSVM didn’t know where to contact management
>> I would
>> >>> guess it used a default override.
>> >>>
>> >>> Regards,
>> >>> Dag Sonstebo
>> >>> Cloud Architect
>> >>> ShapeBlue
>> >>> S: +44 20 3603 0540 | dag.sonst...@shapeblue.com |
>> >>> http://www.shapeblue.com |
>> >>> Twitter:@ShapeBlue
>> >>>
>> >>>
>> >>> On 09/08/2017, 17:54, "Asanka Gunasekara"
>> wrote:
>> >>>
>> >>> Hi Dag, pleas give me few days as I am on an implementation
>> visit to
>> >>> a
>> >>> remote site. But below are some of the test I performed
>> before.
>> >>>
>> >>> 1. Ping from ssvm to NFS is possible
>> >>> 2. Manually mounting NFS to /tmp/secondary is possible
>> without any
>> >>> Issy
>> >>>
>> >>> From the previous run of the ssvm check it is looking for a
>> serve IP
>> >>> 172.17.101.1. Where registered NFS share is 172.17.101.253
>> >>>
>> >>> I will run the check again on the first chance I get
>> >>>
>> >>> Thank you and best regards
>> >>>
>> >>> Asanka
>> >>>
>> >>>
>> >>> On 9 Aug 2017 12:55 pm, "Dag Sonstebo"
>> dag.sonst...@shapeblue.com>
>> >>> wrote:
>> >>>
>> >>> OK , can you post up the results of the ssvm check again?
>> >>>
>> >>> As suggested previously on this thread – can you try to
>> >>> 1) Ping the NFS server from the SSVM (SSVM check does this as
>> well)
>> >>> – if
>> >

Re: KVM qcow2 perfomance

2017-08-05 Thread Rodrigo Baldasso
Yes.. mounting an lvm volume inside the host works great, ~500Mb/s write 
speed.. inside the guest i'm using ext4 but the speed is aroung 30mb/s.

- - - - - - - - - - - - - - - - - - -

Rodrigo Baldasso - LHOST

(51) 9 8419-9861
- - - - - - - - - - - - - - - - - - -
On 05/08/2017 13:26:00, Ivan Kudryavtsev  wrote:
Rodrigo, is your fio testing shows great results? What filesystem you are
using? KVM is known to work very bad over BTRFS.

5 авг. 2017 г. 23:16 пользователь "Rodrigo Baldasso"
rodr...@loophost.com.br> написал:

Hi Ivan,

In fact i'm testing using local storage.. but on NFS I was getting similar
results also.

Thanks!

- - - - - - - - - - - - - - - - - - -

Rodrigo Baldasso - LHOST

(51) 9 8419-9861
- - - - - - - - - - - - - - - - - - -
On 05/08/2017 13:03:24, Ivan Kudryavtsev wrote:
Hi, Rodrigo. It looks strange. Check your NFSconfiguration and network
errors, loss. It should work great.

5 авг. 2017 г. 22:22 пользователь "Rodrigo Baldasso"
rodr...@loophost.com.br> написал:

Hi everyone,

I'm having trouble to archive a good I/O rate using cloudstack qcow2 with
any type of caching (or even disabled).

We have some RAID-5e SSD arrays which give us a very good rates directly on
the node/host, but on the guest the speed is terrible.

Does anyone knows a solution/workaround for this? I never used qcow (only
raw+lvm) so I don't know much to do to solve this.

Thanks!


Re: KVM qcow2 perfomance

2017-08-05 Thread Rodrigo Baldasso
Hi Ivan,

In fact i'm testing using local storage.. but on NFS I was getting similar 
results also.

Thanks!

- - - - - - - - - - - - - - - - - - -

Rodrigo Baldasso - LHOST

(51) 9 8419-9861
- - - - - - - - - - - - - - - - - - -
On 05/08/2017 13:03:24, Ivan Kudryavtsev  wrote:
Hi, Rodrigo. It looks strange. Check your NFSconfiguration and network
errors, loss. It should work great.

5 авг. 2017 г. 22:22 пользователь "Rodrigo Baldasso"
rodr...@loophost.com.br> написал:

Hi everyone,

I'm having trouble to archive a good I/O rate using cloudstack qcow2 with
any type of caching (or even disabled).

We have some RAID-5e SSD arrays which give us a very good rates directly on
the node/host, but on the guest the speed is terrible.

Does anyone knows a solution/workaround for this? I never used qcow (only
raw+lvm) so I don't know much to do to solve this.

Thanks!


KVM qcow2 perfomance

2017-08-05 Thread Rodrigo Baldasso
Hi everyone,

I'm having trouble to archive a good I/O rate using cloudstack qcow2 with any 
type of caching (or even disabled).

We have some RAID-5e SSD arrays which give us a very good rates directly on the 
node/host, but on the guest the speed is terrible.

Does anyone knows a solution/workaround for this? I never used qcow (only 
raw+lvm) so I don't know much to do to solve this.

Thanks!

Re: Creating a Cloud-Init Ready Template for CentOS7

2017-08-03 Thread Rodrigo Baldasso
http://docs.cloudstack.apache.org/projects/cloudstack-administration/en/4.8/templates.html#creating-a-linux-template

You can install qemu-guest-agent if you use KVM. 



- - - - - - - - - - - - - - - - - - -

Rodrigo Baldasso - LHOST

(51) 9 8419-9861
- - - - - - - - - - - - - - - - - - -
On 03/08/2017 13:13:22, Imran Ahmed  wrote:
Hi all,

Can someone suggest what packages are recommended to create a new cloud-init
enabled template for CentOS 7?
For an OpenStack environment we need below packages:
acpid
Cloud-init
cloud-utils-growpart

Also on the host machine we use virt-sysprep to remove mac addresses etc.

Regards,

Imran



RE: Instance with a larger disk size then Template

2017-08-03 Thread Rodrigo Baldasso
We don't use lvm inside containers here because we find out that is easier to 
resize without it. 

You can even boot up with an GParted ISO that's makes very simple resizing the 
VM (even the client can do it) with very small risk comparing to use manual 
tools.

- - - - - - - - - - - - - - - - - - -

Rodrigo Baldasso - LHOST

(51) 9 8419-9861
- - - - - - - - - - - - - - - - - - -
On 03/08/2017 10:41:00, Imran Ahmed  wrote:
Hi Erik,

Thanks for suggestion, I tried this too and was successful till lvextending the 
logical volume. However at the stage of running resize2fs it produced errors 
like : Bad super block..." so I ended up installing from an ISO and 
partitioning without LVM this time so that I could use this template to resize 
in future.

Cheers,

Imran

-Original Message-
From: Erik Weber [mailto:terbol...@gmail.com]
Sent: Thursday, August 03, 2017 3:56 PM
To: users@cloudstack.apache.org
Subject: Re: Instance with a larger disk size then Template

A faster approach than those mentioned is to create a new partition on
the unused disk space, and add it to the volume group, then use
lvextend and resizing the fs.

On Thu, Aug 3, 2017 at 12:00 PM, Imran Ahmed wrote:
> Hi All,
>
> I am creating an instance with a 300GB disk from a CentOS 7 template that
> has 5GB disk (LVM Based).
> The issue is that the root LVM partition inside the new VM instance still
> shows 5GB .
>
> The device size (/dev/vda) however shows 300GB. The question is what is
> the best strategy to resize the root LVM partition so that I could use all
> 300G.
>
> Kind regards,
>
> Imran
>



Re: Unable to start SSVM

2017-08-02 Thread Rodrigo Baldasso
Yes, it is. I'll try to find out the main reason for that happen and if find a 
way to fix the code, share here.

Thanks.

- - - - - - - - - - - - - - - - - - -

Rodrigo Baldasso - LHOST

(51) 9 8419-9861
- - - - - - - - - - - - - - - - - - -
On 02/08/2017 11:16:47, Rafael Weingärtner  wrote:
Ah, that is what I wanted to check now ...
I was going to ask you to execute the following SQL:
select v.* from pod_vlan_map vlanMap
join vlan v on v.id = vlanMap.vlan_db_id
where v.removed is null and vlanMap.pod_id = 1

So, now everything is ok for you?

On Wed, Aug 2, 2017 at 11:13 AM, Rodrigo Baldasso
wrote:

> Confirmed: when the pod has more than one vlan on the vlan table, it
> throws this exception error. I've deleted all vlans leaving only the one
> with ID 14 (that i created for this test) and was able to sucessfully
> delete the pod.
>
> Maybe the code doesn't handle more than one match of pod vlans, and
> then show the nullpointer error.
>
> - - - - - - - - - - - - - - - - - - -
>
> Rodrigo Baldasso - LHOST
>
> (51) 9 8419-9861
> - - - - - - - - - - - - - - - - - - -
> On 02/08/2017 11:09:53, Rodrigo Baldasso wrote:
> ID of problematic pod: 1
>
> 4 is the ID of the working pod. However all settings between them are
> identical. The problem seems to be when one pod has *more* than one vlan
> (deleted or not).
>
> - - - - - - - - - - - - - - - - - - -
>
> Rodrigo Baldasso - LHOST
>
> (51) 9 8419-9861
> - - - - - - - - - - - - - - - - - - -
> On 02/08/2017 11:08:32, Rafael Weingärtner
> wrote:
> What is the ID of the pod you want to remove? 1 or 4?
>
> On Wed, Aug 2, 2017 at 11:03 AM, Rodrigo Baldasso
> wrote:
>
> > Yep: http://prntscr.com/g3gab3
> >
> > - - - - - - - - - - - - - - - - - - -
> >
> > Rodrigo Baldasso - LHOST
> >
> > (51) 9 8419-9861
> > - - - - - - - - - - - - - - - - - - -
> > On 02/08/2017 11:02:40, Rafael Weingärtner
> > wrote:
> > I mean, I said 14 because this was the one select by you. Can you check
> the
> > VLAN table searching by ID (vlan_db_id) from VLAN map table of the pod
> that
> > you are having problems to remove.
> >
> > On Wed, Aug 2, 2017 at 11:00 AM, Rafael Weingärtner
> > rafaelweingart...@gmail.com> wrote:
> >
> > > Interesting; now, can you try to find a vlan with ID=14 in "vlan"
> table?
> > >
> > > On Wed, Aug 2, 2017 at 10:58 AM, Rodrigo Baldasso
> > > > wrote:
> > >
> > >> Sure: http://prntscr.com/g3g7iu
> > >>
> > >> The last vlan map is the one that I created for testing on the
> > >> problematic pod.
> > >>
> > >> - - - - - - - - - - - - - - - - - - -
> > >>
> > >> Rodrigo Baldasso - LHOST
> > >>
> > >> (51) 9 8419-9861
> > >> - - - - - - - - - - - - - - - - - - -
> > >> On 02/08/2017 10:56:01, Rafael Weingärtner
> > >> wrote:
> > >> Can you also list the table "pod_vlan_map" for all of the "maps" of
> > vlans
> > >> for the given POD?
> > >>
> > >> On Wed, Aug 2, 2017 at 10:40 AM, Rodrigo Baldasso
> > >> wrote:
> > >>
> > >> > I've created a new vlan/ip pool just for this test (had already
> > removed
> > >> > all ip pool before), the problem persisted.
> > >> >
> > >> > here is how the new vlan looks like in my db:
> > >> >
> > >> > http://prntscr.com/g3fxt1
> > >> >
> > >> > It's pretty equals to the one of the working pod.
> > >> >
> > >> >
> > >> >
> > >> > - - - - - - - - - - - - - - - - - - -
> > >> >
> > >> > Rodrigo Baldasso - LHOST
> > >> >
> > >> > (51) 9 8419-9861
> > >> > - - - - - - - - - - - - - - - - - - -
> > >> > On 02/08/2017 10:21:47, Rafael Weingärtner
> > >> > wrote:
> > >> > Ok,
> > >> >
> > >> > Following the code where the null pointer happens at line 163:
> > >> > https://github.com/apache/cloudstack/blob/0e057ad69edab9f166
> > >> 4924ac1fb250
> > >> > 0ca799cfb6/engine/schema/src/com/cloud/dc/dao/VlanDaoImpl.java
> > >> >
> > >> > can you list all VLANs in "vlan" table that have the PODid equals
> one
> > of
> > >> > the Pods you want to remove?Also, please filter the already removed
> > >> VLANs.
> > >> >
> > >>

Re: Unable to start SSVM

2017-08-02 Thread Rodrigo Baldasso
Confirmed: when the pod has more than one vlan on the vlan table, it throws 
this exception error. I've deleted all vlans leaving only the one with ID 14 
(that i created for this test) and was able to sucessfully delete the pod.

Maybe the code doesn't handle more than one match of pod <> vlans, and then 
show the nullpointer error.

- - - - - - - - - - - - - - - - - - -

Rodrigo Baldasso - LHOST

(51) 9 8419-9861
- - - - - - - - - - - - - - - - - - -
On 02/08/2017 11:09:53, Rodrigo Baldasso  wrote:
ID of problematic pod: 1

4 is the ID of the working pod. However all settings between them are 
identical. The problem seems to be when one pod has *more* than one vlan 
(deleted or not).

- - - - - - - - - - - - - - - - - - -

Rodrigo Baldasso - LHOST

(51) 9 8419-9861
- - - - - - - - - - - - - - - - - - -
On 02/08/2017 11:08:32, Rafael Weingärtner  wrote:
What is the ID of the pod you want to remove? 1 or 4?

On Wed, Aug 2, 2017 at 11:03 AM, Rodrigo Baldasso
wrote:

> Yep: http://prntscr.com/g3gab3
>
> - - - - - - - - - - - - - - - - - - -
>
> Rodrigo Baldasso - LHOST
>
> (51) 9 8419-9861
> - - - - - - - - - - - - - - - - - - -
> On 02/08/2017 11:02:40, Rafael Weingärtner
> wrote:
> I mean, I said 14 because this was the one select by you. Can you check the
> VLAN table searching by ID (vlan_db_id) from VLAN map table of the pod that
> you are having problems to remove.
>
> On Wed, Aug 2, 2017 at 11:00 AM, Rafael Weingärtner
> rafaelweingart...@gmail.com> wrote:
>
> > Interesting; now, can you try to find a vlan with ID=14 in "vlan" table?
> >
> > On Wed, Aug 2, 2017 at 10:58 AM, Rodrigo Baldasso
> > > wrote:
> >
> >> Sure: http://prntscr.com/g3g7iu
> >>
> >> The last vlan map is the one that I created for testing on the
> >> problematic pod.
> >>
> >> - - - - - - - - - - - - - - - - - - -
> >>
> >> Rodrigo Baldasso - LHOST
> >>
> >> (51) 9 8419-9861
> >> - - - - - - - - - - - - - - - - - - -
> >> On 02/08/2017 10:56:01, Rafael Weingärtner
> >> wrote:
> >> Can you also list the table "pod_vlan_map" for all of the "maps" of
> vlans
> >> for the given POD?
> >>
> >> On Wed, Aug 2, 2017 at 10:40 AM, Rodrigo Baldasso
> >> wrote:
> >>
> >> > I've created a new vlan/ip pool just for this test (had already
> removed
> >> > all ip pool before), the problem persisted.
> >> >
> >> > here is how the new vlan looks like in my db:
> >> >
> >> > http://prntscr.com/g3fxt1
> >> >
> >> > It's pretty equals to the one of the working pod.
> >> >
> >> >
> >> >
> >> > - - - - - - - - - - - - - - - - - - -
> >> >
> >> > Rodrigo Baldasso - LHOST
> >> >
> >> > (51) 9 8419-9861
> >> > - - - - - - - - - - - - - - - - - - -
> >> > On 02/08/2017 10:21:47, Rafael Weingärtner
> >> > wrote:
> >> > Ok,
> >> >
> >> > Following the code where the null pointer happens at line 163:
> >> > https://github.com/apache/cloudstack/blob/0e057ad69edab9f166
> >> 4924ac1fb250
> >> > 0ca799cfb6/engine/schema/src/com/cloud/dc/dao/VlanDaoImpl.java
> >> >
> >> > can you list all VLANs in "vlan" table that have the PODid equals one
> of
> >> > the Pods you want to remove?Also, please filter the already removed
> >> VLANs.
> >> >
> >> > On Wed, Aug 2, 2017 at 9:26 AM, Rodrigo Baldasso
> >> > wrote:
> >> >
> >> > > This pod got somewhat corrupted when I change it's IP pool
> allocation
> >> > > cidr. After changing, it didn't started the SSVM's with the
> >> nullpointer
> >> > > error that i've send before and now the pod can't be deleted, also
> >> > throwing
> >> > > the nullpointer error.
> >> > >
> >> > > Thanks.
> >> > >
> >> > > - - - - - - - - - - - - - - - - - - -
> >> > >
> >> > > Rodrigo Baldasso - LHOST
> >> > >
> >> > > (51) 9 8419-9861
> >> > > - - - - - - - - - - - - - - - - - - -
> >> > > On 02/08/2017 09:24:36, Rafael Weingärtner
> >> > > wrote:
> >> > > Well, looking at the data you posted, the problem should not happen.
> >> > Let´s
> >> > > take step back. Can you describe briefly what you are trying to do,
&g

Re: Unable to start SSVM

2017-08-02 Thread Rodrigo Baldasso
ID of problematic pod: 1

4 is the ID of the working pod. However all settings between them are 
identical. The problem seems to be when one pod has *more* than one vlan 
(deleted or not).

- - - - - - - - - - - - - - - - - - -

Rodrigo Baldasso - LHOST

(51) 9 8419-9861
- - - - - - - - - - - - - - - - - - -
On 02/08/2017 11:08:32, Rafael Weingärtner  wrote:
What is the ID of the pod you want to remove? 1 or 4?

On Wed, Aug 2, 2017 at 11:03 AM, Rodrigo Baldasso
wrote:

> Yep: http://prntscr.com/g3gab3
>
> - - - - - - - - - - - - - - - - - - -
>
> Rodrigo Baldasso - LHOST
>
> (51) 9 8419-9861
> - - - - - - - - - - - - - - - - - - -
> On 02/08/2017 11:02:40, Rafael Weingärtner
> wrote:
> I mean, I said 14 because this was the one select by you. Can you check the
> VLAN table searching by ID (vlan_db_id) from VLAN map table of the pod that
> you are having problems to remove.
>
> On Wed, Aug 2, 2017 at 11:00 AM, Rafael Weingärtner
> rafaelweingart...@gmail.com> wrote:
>
> > Interesting; now, can you try to find a vlan with ID=14 in "vlan" table?
> >
> > On Wed, Aug 2, 2017 at 10:58 AM, Rodrigo Baldasso
> > > wrote:
> >
> >> Sure: http://prntscr.com/g3g7iu
> >>
> >> The last vlan map is the one that I created for testing on the
> >> problematic pod.
> >>
> >> - - - - - - - - - - - - - - - - - - -
> >>
> >> Rodrigo Baldasso - LHOST
> >>
> >> (51) 9 8419-9861
> >> - - - - - - - - - - - - - - - - - - -
> >> On 02/08/2017 10:56:01, Rafael Weingärtner
> >> wrote:
> >> Can you also list the table "pod_vlan_map" for all of the "maps" of
> vlans
> >> for the given POD?
> >>
> >> On Wed, Aug 2, 2017 at 10:40 AM, Rodrigo Baldasso
> >> wrote:
> >>
> >> > I've created a new vlan/ip pool just for this test (had already
> removed
> >> > all ip pool before), the problem persisted.
> >> >
> >> > here is how the new vlan looks like in my db:
> >> >
> >> > http://prntscr.com/g3fxt1
> >> >
> >> > It's pretty equals to the one of the working pod.
> >> >
> >> >
> >> >
> >> > - - - - - - - - - - - - - - - - - - -
> >> >
> >> > Rodrigo Baldasso - LHOST
> >> >
> >> > (51) 9 8419-9861
> >> > - - - - - - - - - - - - - - - - - - -
> >> > On 02/08/2017 10:21:47, Rafael Weingärtner
> >> > wrote:
> >> > Ok,
> >> >
> >> > Following the code where the null pointer happens at line 163:
> >> > https://github.com/apache/cloudstack/blob/0e057ad69edab9f166
> >> 4924ac1fb250
> >> > 0ca799cfb6/engine/schema/src/com/cloud/dc/dao/VlanDaoImpl.java
> >> >
> >> > can you list all VLANs in "vlan" table that have the PODid equals one
> of
> >> > the Pods you want to remove?Also, please filter the already removed
> >> VLANs.
> >> >
> >> > On Wed, Aug 2, 2017 at 9:26 AM, Rodrigo Baldasso
> >> > wrote:
> >> >
> >> > > This pod got somewhat corrupted when I change it's IP pool
> allocation
> >> > > cidr. After changing, it didn't started the SSVM's with the
> >> nullpointer
> >> > > error that i've send before and now the pod can't be deleted, also
> >> > throwing
> >> > > the nullpointer error.
> >> > >
> >> > > Thanks.
> >> > >
> >> > > - - - - - - - - - - - - - - - - - - -
> >> > >
> >> > > Rodrigo Baldasso - LHOST
> >> > >
> >> > > (51) 9 8419-9861
> >> > > - - - - - - - - - - - - - - - - - - -
> >> > > On 02/08/2017 09:24:36, Rafael Weingärtner
> >> > > wrote:
> >> > > Well, looking at the data you posted, the problem should not happen.
> >> > Let´s
> >> > > take step back. Can you describe briefly what you are trying to do,
> >> and
> >> > > what problem you are having now?
> >> > >
> >> > > On Wed, Aug 2, 2017 at 9:17 AM, Rodrigo Baldasso
> >> > > wrote:
> >> > >
> >> > > > Hi Rafael,
> >> > > >
> >> > > > I checked this table yesterday and couldn't find nothing wrong.. i
> >> > made a
> >> > > > line around the vLan of the new pod (that is working). The other
> >> v

Re: Unable to start SSVM

2017-08-02 Thread Rodrigo Baldasso
Yep: http://prntscr.com/g3gab3

- - - - - - - - - - - - - - - - - - -

Rodrigo Baldasso - LHOST

(51) 9 8419-9861
- - - - - - - - - - - - - - - - - - -
On 02/08/2017 11:02:40, Rafael Weingärtner  wrote:
I mean, I said 14 because this was the one select by you. Can you check the
VLAN table searching by ID (vlan_db_id) from VLAN map table of the pod that
you are having problems to remove.

On Wed, Aug 2, 2017 at 11:00 AM, Rafael Weingärtner
rafaelweingart...@gmail.com> wrote:

> Interesting; now, can you try to find a vlan with ID=14 in "vlan" table?
>
> On Wed, Aug 2, 2017 at 10:58 AM, Rodrigo Baldasso
> > wrote:
>
>> Sure: http://prntscr.com/g3g7iu
>>
>> The last vlan map is the one that I created for testing on the
>> problematic pod.
>>
>> - - - - - - - - - - - - - - - - - - -
>>
>> Rodrigo Baldasso - LHOST
>>
>> (51) 9 8419-9861
>> - - - - - - - - - - - - - - - - - - -
>> On 02/08/2017 10:56:01, Rafael Weingärtner
>> wrote:
>> Can you also list the table "pod_vlan_map" for all of the "maps" of vlans
>> for the given POD?
>>
>> On Wed, Aug 2, 2017 at 10:40 AM, Rodrigo Baldasso
>> wrote:
>>
>> > I've created a new vlan/ip pool just for this test (had already removed
>> > all ip pool before), the problem persisted.
>> >
>> > here is how the new vlan looks like in my db:
>> >
>> > http://prntscr.com/g3fxt1
>> >
>> > It's pretty equals to the one of the working pod.
>> >
>> >
>> >
>> > - - - - - - - - - - - - - - - - - - -
>> >
>> > Rodrigo Baldasso - LHOST
>> >
>> > (51) 9 8419-9861
>> > - - - - - - - - - - - - - - - - - - -
>> > On 02/08/2017 10:21:47, Rafael Weingärtner
>> > wrote:
>> > Ok,
>> >
>> > Following the code where the null pointer happens at line 163:
>> > https://github.com/apache/cloudstack/blob/0e057ad69edab9f166
>> 4924ac1fb250
>> > 0ca799cfb6/engine/schema/src/com/cloud/dc/dao/VlanDaoImpl.java
>> >
>> > can you list all VLANs in "vlan" table that have the PODid equals one of
>> > the Pods you want to remove?Also, please filter the already removed
>> VLANs.
>> >
>> > On Wed, Aug 2, 2017 at 9:26 AM, Rodrigo Baldasso
>> > wrote:
>> >
>> > > This pod got somewhat corrupted when I change it's IP pool allocation
>> > > cidr. After changing, it didn't started the SSVM's with the
>> nullpointer
>> > > error that i've send before and now the pod can't be deleted, also
>> > throwing
>> > > the nullpointer error.
>> > >
>> > > Thanks.
>> > >
>> > > - - - - - - - - - - - - - - - - - - -
>> > >
>> > > Rodrigo Baldasso - LHOST
>> > >
>> > > (51) 9 8419-9861
>> > > - - - - - - - - - - - - - - - - - - -
>> > > On 02/08/2017 09:24:36, Rafael Weingärtner
>> > > wrote:
>> > > Well, looking at the data you posted, the problem should not happen.
>> > Let´s
>> > > take step back. Can you describe briefly what you are trying to do,
>> and
>> > > what problem you are having now?
>> > >
>> > > On Wed, Aug 2, 2017 at 9:17 AM, Rodrigo Baldasso
>> > > wrote:
>> > >
>> > > > Hi Rafael,
>> > > >
>> > > > I checked this table yesterday and couldn't find nothing wrong.. i
>> > made a
>> > > > line around the vLan of the new pod (that is working). The other
>> vLans
>> > > are
>> > > > from the pod that i'm unable to delete and didn't booted the SSVM's.
>> > They
>> > > > have the column 'removed' with the date that i deleted them.
>> > > >
>> > > > http://prntscr.com/g3eqpr
>> > > >
>> > > > - - - - - - - - - - - - - - - - - - -
>> > > >
>> > > > Rodrigo Baldasso - LHOST
>> > > >
>> > > > (51) 9 8419-9861
>> > > > - - - - - - - - - - - - - - - - - - -
>> > > > On 02/08/2017 09:12:36, Rafael Weingärtner
>> > > > wrote:
>> > > > Rodrigo,
>> > > >
>> > > > There is an inconsistency in your database.
>> > > >
>> > > > To get this null pointer, the column "vlan_type" of table "vlan"
>> must
>> > be
>>

Re: Unable to start SSVM

2017-08-02 Thread Rodrigo Baldasso
Sure: http://prntscr.com/g3g7iu

The last vlan map is the one that I created for testing on the problematic pod.

- - - - - - - - - - - - - - - - - - -

Rodrigo Baldasso - LHOST

(51) 9 8419-9861
- - - - - - - - - - - - - - - - - - -
On 02/08/2017 10:56:01, Rafael Weingärtner  wrote:
Can you also list the table "pod_vlan_map" for all of the "maps" of vlans
for the given POD?

On Wed, Aug 2, 2017 at 10:40 AM, Rodrigo Baldasso
wrote:

> I've created a new vlan/ip pool just for this test (had already removed
> all ip pool before), the problem persisted.
>
> here is how the new vlan looks like in my db:
>
> http://prntscr.com/g3fxt1
>
> It's pretty equals to the one of the working pod.
>
>
>
> - - - - - - - - - - - - - - - - - - -
>
> Rodrigo Baldasso - LHOST
>
> (51) 9 8419-9861
> - - - - - - - - - - - - - - - - - - -
> On 02/08/2017 10:21:47, Rafael Weingärtner
> wrote:
> Ok,
>
> Following the code where the null pointer happens at line 163:
> https://github.com/apache/cloudstack/blob/0e057ad69edab9f1664924ac1fb250
> 0ca799cfb6/engine/schema/src/com/cloud/dc/dao/VlanDaoImpl.java
>
> can you list all VLANs in "vlan" table that have the PODid equals one of
> the Pods you want to remove?Also, please filter the already removed VLANs.
>
> On Wed, Aug 2, 2017 at 9:26 AM, Rodrigo Baldasso
> wrote:
>
> > This pod got somewhat corrupted when I change it's IP pool allocation
> > cidr. After changing, it didn't started the SSVM's with the nullpointer
> > error that i've send before and now the pod can't be deleted, also
> throwing
> > the nullpointer error.
> >
> > Thanks.
> >
> > - - - - - - - - - - - - - - - - - - -
> >
> > Rodrigo Baldasso - LHOST
> >
> > (51) 9 8419-9861
> > - - - - - - - - - - - - - - - - - - -
> > On 02/08/2017 09:24:36, Rafael Weingärtner
> > wrote:
> > Well, looking at the data you posted, the problem should not happen.
> Let´s
> > take step back. Can you describe briefly what you are trying to do, and
> > what problem you are having now?
> >
> > On Wed, Aug 2, 2017 at 9:17 AM, Rodrigo Baldasso
> > wrote:
> >
> > > Hi Rafael,
> > >
> > > I checked this table yesterday and couldn't find nothing wrong.. i
> made a
> > > line around the vLan of the new pod (that is working). The other vLans
> > are
> > > from the pod that i'm unable to delete and didn't booted the SSVM's.
> They
> > > have the column 'removed' with the date that i deleted them.
> > >
> > > http://prntscr.com/g3eqpr
> > >
> > > - - - - - - - - - - - - - - - - - - -
> > >
> > > Rodrigo Baldasso - LHOST
> > >
> > > (51) 9 8419-9861
> > > - - - - - - - - - - - - - - - - - - -
> > > On 02/08/2017 09:12:36, Rafael Weingärtner
> > > wrote:
> > > Rodrigo,
> > >
> > > There is an inconsistency in your database.
> > >
> > > To get this null pointer, the column "vlan_type" of table "vlan" must
> be
> > > null or something unrecognized in the database. Can you check this
> table?
> > >
> > > On Tue, Aug 1, 2017 at 1:03 PM, Rodrigo Baldasso
> > > wrote:
> > >
> > > > Thank you.
> > > >
> > > > This is the log when I try to delete this pod, if it helps.
> > > >
> > > > 2017-08-01 13:03:01,361 DEBUG [c.c.a.ApiServlet]
> > > > (catalina-exec-9:ctx-262022ac) (logid:91c02e8f) ===START===
> > 186.250.14.20
> > > > -- GET command=deletePod&id=39e23530-0553-4b54-948d-
> > > > 5da00c4952c2&response=json&_=1501603382823
> > > > 2017-08-01 13:03:01,556 DEBUG [c.c.u.d.T.Transaction]
> > > > (catalina-exec-9:ctx-262022ac ctx-77de8cad) (logid:91c02e8f) Rolling
> > back
> > > > the transaction: Time = 179 Name = catalina-exec-9; called by
> > > > -TransactionLegacy.rollback:889-TransactionLegacy.removeUpTo:832-
> > > > TransactionLegacy.close:656-Transaction.execute:43-
> > > Transaction.execute:47-
> > > > ConfigurationManagerImpl.deletePod:1009-NativeMethodAccessorImpl.
> > > > invoke0:-2-NativeMethodAccessorImpl.invoke:57-
> > > > DelegatingMethodAccessorImpl.invoke:43-Method.invoke:606-AopUtils.
> > > > invokeJoinpointUsingReflection:317-ReflectiveMethodInvocation.
> > > > invokeJoinpoint:183
> > > > 2017-08-01 13:03:01,667 ERROR [c.c.a.ApiServer]
> 

Re: Unable to start SSVM

2017-08-02 Thread Rodrigo Baldasso
I've created a new vlan/ip pool just for this test (had already removed all ip 
pool before), the problem persisted.

here is how the new vlan looks like in my db:

http://prntscr.com/g3fxt1

It's pretty equals to the one of the working pod.



- - - - - - - - - - - - - - - - - - -

Rodrigo Baldasso - LHOST

(51) 9 8419-9861
- - - - - - - - - - - - - - - - - - -
On 02/08/2017 10:21:47, Rafael Weingärtner  wrote:
Ok,

Following the code where the null pointer happens at line 163:
https://github.com/apache/cloudstack/blob/0e057ad69edab9f1664924ac1fb2500ca799cfb6/engine/schema/src/com/cloud/dc/dao/VlanDaoImpl.java

can you list all VLANs in "vlan" table that have the PODid equals one of
the Pods you want to remove?Also, please filter the already removed VLANs.

On Wed, Aug 2, 2017 at 9:26 AM, Rodrigo Baldasso
wrote:

> This pod got somewhat corrupted when I change it's IP pool allocation
> cidr. After changing, it didn't started the SSVM's with the nullpointer
> error that i've send before and now the pod can't be deleted, also throwing
> the nullpointer error.
>
> Thanks.
>
> - - - - - - - - - - - - - - - - - - -
>
> Rodrigo Baldasso - LHOST
>
> (51) 9 8419-9861
> - - - - - - - - - - - - - - - - - - -
> On 02/08/2017 09:24:36, Rafael Weingärtner
> wrote:
> Well, looking at the data you posted, the problem should not happen. Let´s
> take step back. Can you describe briefly what you are trying to do, and
> what problem you are having now?
>
> On Wed, Aug 2, 2017 at 9:17 AM, Rodrigo Baldasso
> wrote:
>
> > Hi Rafael,
> >
> > I checked this table yesterday and couldn't find nothing wrong.. i made a
> > line around the vLan of the new pod (that is working). The other vLans
> are
> > from the pod that i'm unable to delete and didn't booted the SSVM's. They
> > have the column 'removed' with the date that i deleted them.
> >
> > http://prntscr.com/g3eqpr
> >
> > - - - - - - - - - - - - - - - - - - -
> >
> > Rodrigo Baldasso - LHOST
> >
> > (51) 9 8419-9861
> > - - - - - - - - - - - - - - - - - - -
> > On 02/08/2017 09:12:36, Rafael Weingärtner
> > wrote:
> > Rodrigo,
> >
> > There is an inconsistency in your database.
> >
> > To get this null pointer, the column "vlan_type" of table "vlan" must be
> > null or something unrecognized in the database. Can you check this table?
> >
> > On Tue, Aug 1, 2017 at 1:03 PM, Rodrigo Baldasso
> > wrote:
> >
> > > Thank you.
> > >
> > > This is the log when I try to delete this pod, if it helps.
> > >
> > > 2017-08-01 13:03:01,361 DEBUG [c.c.a.ApiServlet]
> > > (catalina-exec-9:ctx-262022ac) (logid:91c02e8f) ===START===
> 186.250.14.20
> > > -- GET command=deletePod&id=39e23530-0553-4b54-948d-
> > > 5da00c4952c2&response=json&_=1501603382823
> > > 2017-08-01 13:03:01,556 DEBUG [c.c.u.d.T.Transaction]
> > > (catalina-exec-9:ctx-262022ac ctx-77de8cad) (logid:91c02e8f) Rolling
> back
> > > the transaction: Time = 179 Name = catalina-exec-9; called by
> > > -TransactionLegacy.rollback:889-TransactionLegacy.removeUpTo:832-
> > > TransactionLegacy.close:656-Transaction.execute:43-
> > Transaction.execute:47-
> > > ConfigurationManagerImpl.deletePod:1009-NativeMethodAccessorImpl.
> > > invoke0:-2-NativeMethodAccessorImpl.invoke:57-
> > > DelegatingMethodAccessorImpl.invoke:43-Method.invoke:606-AopUtils.
> > > invokeJoinpointUsingReflection:317-ReflectiveMethodInvocation.
> > > invokeJoinpoint:183
> > > 2017-08-01 13:03:01,667 ERROR [c.c.a.ApiServer]
> > > (catalina-exec-9:ctx-262022ac ctx-77de8cad) (logid:91c02e8f) unhandled
> > > exception executing api command: [Ljava.lang.String;@1979ff2d
> > > java.lang.NullPointerException
> > > at com.cloud.dc.dao.VlanDaoImpl.listVlansForPodByType(
> > > VlanDaoImpl.java:163)
> > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > at sun.reflect.NativeMethodAccessorImpl.invoke(
> > > NativeMethodAccessorImpl.java:57)
> > > at sun.reflect.DelegatingMethodAccessorImpl.invoke(
> > > DelegatingMethodAccessorImpl.java:43)
> > > at java.lang.reflect.Method.invoke(Method.java:606)
> > > at org.springframework.aop.support.AopUtils.
> > > invokeJoinpointUsingReflection(AopUtils.java:317)
> > > at org.springframework.aop.framework.ReflectiveMethodInvocation.
> > > invokeJoinpoint(ReflectiveMethodInvocation.java:183)
> > > at org.springframework.aop.framework.ReflectiveMethodInvocat

Re: Unable to start SSVM

2017-08-02 Thread Rodrigo Baldasso
This pod got somewhat corrupted when I change it's IP pool allocation cidr. 
After changing, it didn't started the SSVM's with the nullpointer error that 
i've send before and now the pod can't be deleted, also throwing the 
nullpointer error.

Thanks.

- - - - - - - - - - - - - - - - - - -

Rodrigo Baldasso - LHOST

(51) 9 8419-9861
- - - - - - - - - - - - - - - - - - -
On 02/08/2017 09:24:36, Rafael Weingärtner  wrote:
Well, looking at the data you posted, the problem should not happen. Let´s
take step back. Can you describe briefly what you are trying to do, and
what problem you are having now?

On Wed, Aug 2, 2017 at 9:17 AM, Rodrigo Baldasso
wrote:

> Hi Rafael,
>
> I checked this table yesterday and couldn't find nothing wrong.. i made a
> line around the vLan of the new pod (that is working). The other vLans are
> from the pod that i'm unable to delete and didn't booted the SSVM's. They
> have the column 'removed' with the date that i deleted them.
>
> http://prntscr.com/g3eqpr
>
> - - - - - - - - - - - - - - - - - - -
>
> Rodrigo Baldasso - LHOST
>
> (51) 9 8419-9861
> - - - - - - - - - - - - - - - - - - -
> On 02/08/2017 09:12:36, Rafael Weingärtner
> wrote:
> Rodrigo,
>
> There is an inconsistency in your database.
>
> To get this null pointer, the column "vlan_type" of table "vlan" must be
> null or something unrecognized in the database. Can you check this table?
>
> On Tue, Aug 1, 2017 at 1:03 PM, Rodrigo Baldasso
> wrote:
>
> > Thank you.
> >
> > This is the log when I try to delete this pod, if it helps.
> >
> > 2017-08-01 13:03:01,361 DEBUG [c.c.a.ApiServlet]
> > (catalina-exec-9:ctx-262022ac) (logid:91c02e8f) ===START=== 186.250.14.20
> > -- GET command=deletePod&id=39e23530-0553-4b54-948d-
> > 5da00c4952c2&response=json&_=1501603382823
> > 2017-08-01 13:03:01,556 DEBUG [c.c.u.d.T.Transaction]
> > (catalina-exec-9:ctx-262022ac ctx-77de8cad) (logid:91c02e8f) Rolling back
> > the transaction: Time = 179 Name = catalina-exec-9; called by
> > -TransactionLegacy.rollback:889-TransactionLegacy.removeUpTo:832-
> > TransactionLegacy.close:656-Transaction.execute:43-
> Transaction.execute:47-
> > ConfigurationManagerImpl.deletePod:1009-NativeMethodAccessorImpl.
> > invoke0:-2-NativeMethodAccessorImpl.invoke:57-
> > DelegatingMethodAccessorImpl.invoke:43-Method.invoke:606-AopUtils.
> > invokeJoinpointUsingReflection:317-ReflectiveMethodInvocation.
> > invokeJoinpoint:183
> > 2017-08-01 13:03:01,667 ERROR [c.c.a.ApiServer]
> > (catalina-exec-9:ctx-262022ac ctx-77de8cad) (logid:91c02e8f) unhandled
> > exception executing api command: [Ljava.lang.String;@1979ff2d
> > java.lang.NullPointerException
> > at com.cloud.dc.dao.VlanDaoImpl.listVlansForPodByType(
> > VlanDaoImpl.java:163)
> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > at sun.reflect.NativeMethodAccessorImpl.invoke(
> > NativeMethodAccessorImpl.java:57)
> > at sun.reflect.DelegatingMethodAccessorImpl.invoke(
> > DelegatingMethodAccessorImpl.java:43)
> > at java.lang.reflect.Method.invoke(Method.java:606)
> > at org.springframework.aop.support.AopUtils.
> > invokeJoinpointUsingReflection(AopUtils.java:317)
> > at org.springframework.aop.framework.ReflectiveMethodInvocation.
> > invokeJoinpoint(ReflectiveMethodInvocation.java:183)
> > at org.springframework.aop.framework.ReflectiveMethodInvocation.
> > proceed(ReflectiveMethodInvocation.java:150)
> > at com.cloud.utils.db.TransactionContextInterceptor.invoke(
> > TransactionContextInterceptor.java:34)
> > at org.springframework.aop.framework.ReflectiveMethodInvocation.
> > proceed(ReflectiveMethodInvocation.java:161)
> > at org.springframework.aop.interceptor.
> > ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91)
> > at org.springframework.aop.framework.ReflectiveMethodInvocation.
> > proceed(ReflectiveMethodInvocation.java:172)
> > at org.springframework.aop.framework.JdkDynamicAopProxy.
> > invoke(JdkDynamicAopProxy.java:204)
> > at com.sun.proxy.$Proxy113.listVlansForPodByType(Unknown Source)
> > at com.cloud.network.NetworkModelImpl.listPodVlans(
> > NetworkModelImpl.java:797)
> > at com.cloud.configuration.ConfigurationManagerImpl$1.
> > doInTransactionWithoutResult(ConfigurationManagerImpl.java:1029)
> > at com.cloud.utils.db.TransactionCallbackNoReturn.doInTransaction(
> > TransactionCallbackNoReturn.java:25)
> > at com.cloud.utils.db.Transaction$2.doInTransaction(
> > Transaction.java:50)
> > at com.cloud.utils.db.Transaction.execute(Trans

Re: Unable to start SSVM

2017-08-02 Thread Rodrigo Baldasso
Hi Rafael,

I checked this table yesterday and couldn't find nothing wrong.. i made a line 
around the vLan of the new pod (that is working). The other vLans are from the 
pod that i'm unable to delete and didn't booted the SSVM's. They have the 
column 'removed' with the date that i deleted them.

http://prntscr.com/g3eqpr

- - - - - - - - - - - - - - - - - - -

Rodrigo Baldasso - LHOST

(51) 9 8419-9861
- - - - - - - - - - - - - - - - - - -
On 02/08/2017 09:12:36, Rafael Weingärtner  wrote:
Rodrigo,

There is an inconsistency in your database.

To get this null pointer, the column "vlan_type" of table "vlan" must be
null or something unrecognized in the database. Can you check this table?

On Tue, Aug 1, 2017 at 1:03 PM, Rodrigo Baldasso
wrote:

> Thank you.
>
> This is the log when I try to delete this pod, if it helps.
>
> 2017-08-01 13:03:01,361 DEBUG [c.c.a.ApiServlet]
> (catalina-exec-9:ctx-262022ac) (logid:91c02e8f) ===START=== 186.250.14.20
> -- GET command=deletePod&id=39e23530-0553-4b54-948d-
> 5da00c4952c2&response=json&_=1501603382823
> 2017-08-01 13:03:01,556 DEBUG [c.c.u.d.T.Transaction]
> (catalina-exec-9:ctx-262022ac ctx-77de8cad) (logid:91c02e8f) Rolling back
> the transaction: Time = 179 Name = catalina-exec-9; called by
> -TransactionLegacy.rollback:889-TransactionLegacy.removeUpTo:832-
> TransactionLegacy.close:656-Transaction.execute:43-Transaction.execute:47-
> ConfigurationManagerImpl.deletePod:1009-NativeMethodAccessorImpl.
> invoke0:-2-NativeMethodAccessorImpl.invoke:57-
> DelegatingMethodAccessorImpl.invoke:43-Method.invoke:606-AopUtils.
> invokeJoinpointUsingReflection:317-ReflectiveMethodInvocation.
> invokeJoinpoint:183
> 2017-08-01 13:03:01,667 ERROR [c.c.a.ApiServer]
> (catalina-exec-9:ctx-262022ac ctx-77de8cad) (logid:91c02e8f) unhandled
> exception executing api command: [Ljava.lang.String;@1979ff2d
> java.lang.NullPointerException
> at com.cloud.dc.dao.VlanDaoImpl.listVlansForPodByType(
> VlanDaoImpl.java:163)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(
> NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(
> DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:606)
> at org.springframework.aop.support.AopUtils.
> invokeJoinpointUsingReflection(AopUtils.java:317)
> at org.springframework.aop.framework.ReflectiveMethodInvocation.
> invokeJoinpoint(ReflectiveMethodInvocation.java:183)
> at org.springframework.aop.framework.ReflectiveMethodInvocation.
> proceed(ReflectiveMethodInvocation.java:150)
> at com.cloud.utils.db.TransactionContextInterceptor.invoke(
> TransactionContextInterceptor.java:34)
> at org.springframework.aop.framework.ReflectiveMethodInvocation.
> proceed(ReflectiveMethodInvocation.java:161)
> at org.springframework.aop.interceptor.
> ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91)
> at org.springframework.aop.framework.ReflectiveMethodInvocation.
> proceed(ReflectiveMethodInvocation.java:172)
> at org.springframework.aop.framework.JdkDynamicAopProxy.
> invoke(JdkDynamicAopProxy.java:204)
> at com.sun.proxy.$Proxy113.listVlansForPodByType(Unknown Source)
> at com.cloud.network.NetworkModelImpl.listPodVlans(
> NetworkModelImpl.java:797)
> at com.cloud.configuration.ConfigurationManagerImpl$1.
> doInTransactionWithoutResult(ConfigurationManagerImpl.java:1029)
> at com.cloud.utils.db.TransactionCallbackNoReturn.doInTransaction(
> TransactionCallbackNoReturn.java:25)
> at com.cloud.utils.db.Transaction$2.doInTransaction(
> Transaction.java:50)
> at com.cloud.utils.db.Transaction.execute(Transaction.java:40)
> at com.cloud.utils.db.Transaction.execute(Transaction.java:47)
> at com.cloud.configuration.ConfigurationManagerImpl.deletePod(
> ConfigurationManagerImpl.java:1009)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(
> NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(
> DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:606)
> at org.springframework.aop.support.AopUtils.
> invokeJoinpointUsingReflection(AopUtils.java:317)
> at org.springframework.aop.framework.ReflectiveMethodInvocation.
> invokeJoinpoint(ReflectiveMethodInvocation.java:183)
> at org.springframework.aop.framework.ReflectiveMethodInvocation.
> proceed(ReflectiveMethodInvocation.java:150)
> at org.springframework.aop.interceptor.
> ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91)
> at org.springframework.aop.framework.ReflectiveMethodInvocation.
> proceed(R

Re: Unable to start SSVM

2017-08-01 Thread Rodrigo Baldasso
nWithContext(DefaultManagedContext.java:53)
        at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:126)
        at com.cloud.api.ApiServlet.doGet(ApiServlet.java:88)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
        at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
        at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
        at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
        at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
        at 
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:555)
        at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:299)
        at 
org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:896)
        at 
org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:732)
        at 
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:2277)
        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:748)


- - - - - - - - - - - - - - - - - - -

Rodrigo Baldasso - LHOST

(51) 9 8419-9861
- - - - - - - - - - - - - - - - - - -
On 01/08/2017 12:08:03, Gabriel Beims Bräscher  wrote:
It might be a bug then.

I will try to connect the dots. The problem seems to be with the pod then.

2017-08-01 12:01 GMT-03:00 Rodrigo Baldasso :

> Hi, thanks for your reply
>
> I didnt made any changes manually on the database, however, it's like the
> pod got corrupted after the change. I can't even delete the pod from the
> zone that throws the exception (nullpointer) also.
>
> I was able to reproduce that in a fresh, clean install. So maybe it's a bug
> or something related to my environment.
>
> Recreating the pod with the same parameters and settings works fine.
>
> Enviado de GMail Mobile
>
>
> Em 1 de ago de 2017 11:56, "Gabriel Beims Bräscher"
> escreveu:
>
> You said that it worked before changing the IP range; it might be caused by
> a database inconsistency related to the IP allocation. Did you make any
> manual changes in the database?
>
> The null pointer exception came after the following methods exectution:
> 1 - it begins the exectution flow to start the VM
> (com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart);
> 2 - then it starts the network flow for that VM
> (org.apache.cloudstack.engine.orchestration.NetworkOrchestrator.prepare);
> 3 - it prepares the NIC
> (org.apache.cloudstack.engine.orchestration.NetworkOrchestrator.
> prepareNic);
> 4 - reserve the IP address
> (com.cloud.network.guru.DirectPodBasedNetworkGuru.reserve);
> 5 - finally it tries to get an IP address, triggering the null pointer
> exception (com.cloud.network.guru.DirectPodBasedNetworkGuru.getIp).
>
> 2017-07-31 13:27 GMT-03:00 Rodrigo Baldasso :
>
> > Thanks for your reply.
> >
> > I'm using 4.9.2.0. I'm posting the full log below!
> >
> > The secondary storage is mounted as NFS.
> >
> > PS: i was able to start SSVM after creating a new zone, however, when I
> > changed the IP range, the error came back again.
> >
> > 2017-07-31 13:23:15,950 DEBUG [c.c.a.t.Request]
> > (Work-Job-Executor-6:ctx-e8c72967 job-131/job-272 ctx-06907041)
> > (logid:7a78f881) Seq 1-6685312171854790673: Sending { Cmd , MgmtId:
> > 119779289367307, via: 1(kvm-tqr-01.lhost.net.br), Ver: v1, Flags:
> 100011,
> > [{"com.cloud.agent.api.StopCommand":{"isProxy":false,
> > "checkBeforeCleanup":false,"vmName":"v-66-VM","
> executeInSequence":false,"
> > wait":0}}]
> > }
> > 2017-07-31 13:23:16,153 DEBUG [c.c.a.t.Request]
> > (AgentManager-Handler-7:null) (logid:) Seq 1-6685312171854790673:
> > Processing: { Ans: , MgmtId: 119779289367307, via: 1, Ver: v1, Flags:
> 10,
> > [{"com.cloud.agent.api.StopAnswer":{"result":true,"wait":0}}] }
> > 2017-07-31 13:23:16,153 DEBUG [c.c.a.t.Request]
> > (Work-Job-Executor-6:ctx-e8c72967 job-131/job-272 ctx-06907041)
> > (logid:7a78f881) Seq 1-6685312171854790673: Receiv

Re: Unable to start SSVM

2017-08-01 Thread Rodrigo Baldasso
Hi, thanks for your reply

I didnt made any changes manually on the database, however, it's like the
pod got corrupted after the change. I can't even delete the pod from the
zone that throws the exception (nullpointer) also.

I was able to reproduce that in a fresh, clean install. So maybe it's a bug
or something related to my environment.

Recreating the pod with the same parameters and settings works fine.

Enviado de GMail Mobile


Em 1 de ago de 2017 11:56, "Gabriel Beims Bräscher" 
escreveu:

You said that it worked before changing the IP range; it might be caused by
a database inconsistency related to the IP allocation. Did you make any
manual changes in the database?

The null pointer exception came after the following methods exectution:
1 - it begins the exectution flow to start the VM
(com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart);
2 - then it starts the network flow for that VM
(org.apache.cloudstack.engine.orchestration.NetworkOrchestrator.prepare);
3 - it prepares the NIC
(org.apache.cloudstack.engine.orchestration.NetworkOrchestrator.prepareNic);
4 - reserve the IP address
(com.cloud.network.guru.DirectPodBasedNetworkGuru.reserve);
5 - finally it tries to get an IP address, triggering the null pointer
exception (com.cloud.network.guru.DirectPodBasedNetworkGuru.getIp).

2017-07-31 13:27 GMT-03:00 Rodrigo Baldasso :

> Thanks for your reply.
>
> I'm using 4.9.2.0. I'm posting the full log below!
>
> The secondary storage is mounted as NFS.
>
> PS: i was able to start SSVM after creating a new zone, however, when I
> changed the IP range, the error came back again.
>
> 2017-07-31 13:23:15,950 DEBUG [c.c.a.t.Request]
> (Work-Job-Executor-6:ctx-e8c72967 job-131/job-272 ctx-06907041)
> (logid:7a78f881) Seq 1-6685312171854790673: Sending  { Cmd , MgmtId:
> 119779289367307, via: 1(kvm-tqr-01.lhost.net.br), Ver: v1, Flags: 100011,
> [{"com.cloud.agent.api.StopCommand":{"isProxy":false,
> "checkBeforeCleanup":false,"vmName":"v-66-VM","executeInSequence":false,"
> wait":0}}]
> }
> 2017-07-31 13:23:16,153 DEBUG [c.c.a.t.Request]
> (AgentManager-Handler-7:null) (logid:) Seq 1-6685312171854790673:
> Processing:  { Ans: , MgmtId: 119779289367307, via: 1, Ver: v1, Flags: 10,
> [{"com.cloud.agent.api.StopAnswer":{"result":true,"wait":0}}] }
> 2017-07-31 13:23:16,153 DEBUG [c.c.a.t.Request]
> (Work-Job-Executor-6:ctx-e8c72967 job-131/job-272 ctx-06907041)
> (logid:7a78f881) Seq 1-6685312171854790673: Received:  { Ans: , MgmtId:
> 119779289367307, via: 1(kvm-tqr-01.lhost.net.br), Ver: v1, Flags: 10, {
> StopAnswer } }
> 2017-07-31 13:23:16,166 DEBUG [c.c.n.NetworkModelImpl]
> (Work-Job-Executor-6:ctx-e8c72967 job-131/job-272 ctx-06907041)
> (logid:7a78f881) Service SecurityGroup is not supported in the network
> id=204
> 2017-07-31 13:23:16,201 DEBUG [o.a.c.e.o.NetworkOrchestrator]
> (Work-Job-Executor-6:ctx-e8c72967 job-131/job-272 ctx-06907041)
> (logid:7a78f881) Asking VirtualRouter to release
> NicProfile[196-66-cee1cba9-7a24-44cf-a5c2-24f2e5dff1ae-null-null
> 2017-07-31 13:23:16,211 DEBUG [c.c.v.VirtualMachineManagerImpl]
> (Work-Job-Executor-6:ctx-e8c72967 job-131/job-272 ctx-06907041)
> (logid:7a78f881) Successfully released network resources for the vm
> VM[ConsoleProxy|v-66-VM]
> 2017-07-31 13:23:16,211 DEBUG [c.c.v.VirtualMachineManagerImpl]
> (Work-Job-Executor-6:ctx-e8c72967 job-131/job-272 ctx-06907041)
> (logid:7a78f881) Successfully cleanued up resources for the vm
> VM[ConsoleProxy|v-66-VM] in Starting state
> 2017-07-31 13:23:16,314 DEBUG [c.c.c.CapacityManagerImpl]
> (Work-Job-Executor-6:ctx-e8c72967 job-131/job-272 ctx-06907041)
> (logid:7a78f881) 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
> 2017-07-31 13:23:16,324 DEBUG [c.c.c.CapacityManagerImpl]
> (Work-Job-Executor-6:ctx-e8c72967 job-131/job-272 ctx-06907041)
> (logid:7a78f881) Hosts's actual total CPU: 54432 and CPU after applying
> overprovisioning: 54432
> 2017-07-31 13:23:16,324 DEBUG [c.c.c.CapacityManagerImpl]
> (Work-Job-Executor-6:ctx-e8c72967 job-131/job-272 ctx-06907041)
> (logid:7a78f881) Hosts's actual total RAM: 7169134592 and RAM after
> applying overprovisioning: 7169134592
> 2017-07-31 13:23:16,325 DEBUG [c.c.c.CapacityManagerImpl]
> (Work-Job-Executor-6:ctx-e8c72967 job-131/job-272 ctx-06907041)
> (logid:7a78f881) release cpu from host: 1, old used: 500,reserved: 0,
> actual total: 54432, total with overprovisioning: 54432; new used:
> 0,reserved:0; movedfromreserved: false,moveToReserveredfalse
> 2017-07-31 13:23:16,325 DEBUG [c.c.c.CapacityManagerImpl]
> (Work-Job-

Re: IPMI out of management

2017-08-01 Thread Rodrigo Baldasso
I'm using here and works fine with my Supermicro servers.

- - - - - - - - - - - - - - - - - - -

Rodrigo Baldasso - LHOST

(51) 9 8419-9861
- - - - - - - - - - - - - - - - - - -
On 01/08/2017 09:01:20, victor  wrote:
Hello Guys,

Have anybody able to configure and test ipmi "out of management" with
cloudstack successfully.

Regards

Victor




Re: Unable to start SSVM

2017-07-31 Thread Rodrigo Baldasso
FnZXJJbXBsdAAeVmlydHVhbE1hY2hpbmVNYW5hZ2VySW1wbC5qYXZhdAAQb3JjaGVzdHJhdGVTdGFydHNxAH4ACwAAEf1xAH4AJXEAfgAmcQB-ACdzcQB-AAv-dAAkc3VuLnJlZmxlY3QuTmF0aXZlTWV0aG9kQWNjZXNzb3JJbXBsdAAdTmF0aXZlTWV0aG9kQWNjZXNzb3JJbXBsLmphdmF0AAdpbnZva2Uwc3EAfgALOXEAfgAqcQB-ACt0AAZpbnZva2VzcQB-AAsrdAAoc3VuLnJlZmxlY3QuRGVsZWdhdGluZ01ldGhvZEFjY2Vzc29ySW1wbHQAIURlbGVnYXRpbmdNZXRob2RBY2Nlc3NvckltcGwuamF2YXEAfgAuc3EAfgALAAACXnQAGGphdmEubGFuZy5yZWZsZWN0Lk1ldGhvZHQAC01ldGhvZC5qYXZhcQB-AC5zcQB-AAsAAABrdAAiY29tLmNsb3VkLnZtLlZtV29ya0pvYkhhbmRsZXJQcm94eXQAGlZtV29ya0pvYkhhbmRsZXJQcm94eS5qYXZhdAAPaGFuZGxlVm1Xb3JrSm9ic3EAfgALAAASnnEAfgAlcQB-ACZxAH4AOHNxAH4ACwAAAGZ0ACBjb20uY2xvdWQudm0uVm1Xb3JrSm9iRGlzcGF0Y2hlcnQAGFZtV29ya0pvYkRpc3BhdGNoZXIuamF2YXQABnJ1bkpvYnNxAH4ACwAAAip0AD9vcmcuYXBhY2hlLmNsb3Vkc3RhY2suZnJhbWV3b3JrLmpvYnMuaW1wbC5Bc3luY0pvYk1hbmFnZXJJbXBsJDV0ABhBc3luY0pvYk1hbmFnZXJJbXBsLmphdmF0AAxydW5JbkNvbnRleHRzcQB-AAsxdAA-b3JnLmFwYWNoZS5jbG91ZHN0YWNrLm1hbmFnZWQuY29udGV4dC5NYW5hZ2VkQ29udGV4dFJ1bm5hYmxlJDF0ABtNYW5hZ2VkQ29udGV4dFJ1bm5hYmxlLmphdmF0AANydW5zcQB-AAs4dABCb3JnLmFwYWNoZS5jbG91ZHN0YWNrLm1hbmFnZWQuY29udGV4dC5pbXBsLkRlZmF1bHRNYW5hZ2VkQ29udGV4dCQxdAAaRGVmYXVsdE1hbmFnZWRDb250ZXh0LmphdmF0AARjYWxsc3EAfgALZ3QAQG9yZy5hcGFjaGUuY2xvdWRzdGFjay5tYW5hZ2VkLmNvbnRleHQuaW1wbC5EZWZhdWx0TWFuYWdlZENvbnRleHRxAH4ASHQAD2NhbGxXaXRoQ29udGV4dHNxAH4ACwAAADVxAH4AS3EAfgBIdAAOcnVuV2l0aENvbnRleHRzcQB-AAsudAA8b3JnLmFwYWNoZS5jbG91ZHN0YWNrLm1hbmFnZWQuY29udGV4dC5NYW5hZ2VkQ29udGV4dFJ1bm5hYmxlcQB-AERxAH4ARXNxAH4ACwAAAfZxAH4AP3EAfgBAcQB-AEVzcQB-AAsAAAHZdAAuamF2YS51dGlsLmNvbmN1cnJlbnQuRXhlY3V0b3JzJFJ1bm5hYmxlQWRhcHRlcnQADkV4ZWN1dG9ycy5qYXZhcQB-AElzcQB-AAsAAAEGdAAfamF2YS51dGlsLmNvbmN1cnJlbnQuRnV0dXJlVGFza3QAD0Z1dHVyZVRhc2suamF2YXEAfgBFc3EAfgALAAAEeXQAJ2phdmEudXRpbC5jb25jdXJyZW50LlRocmVhZFBvb2xFeGVjdXRvcnQAF1RocmVhZFBvb2xFeGVjdXRvci5qYXZhdAAJcnVuV29ya2Vyc3EAfgALAAACZ3QALmphdmEudXRpbC5jb25jdXJyZW50LlRocmVhZFBvb2xFeGVjdXRvciRXb3JrZXJxAH4AWnEAfgBFc3EAfgALAAAC7HQAEGphdmEubGFuZy5UaHJlYWR0AAtUaHJlYWQuamF2YXEAfgBFc3IAJmphdmEudXRpbC5Db2xsZWN0aW9ucyRVbm1vZGlmaWFibGVMaXN0_A8lMbXsjhACAAFMAARsaXN0cQB-AAd4cgAsamF2YS51dGlsLkNvbGxlY3Rpb25zJFVubW9kaWZpYWJsZUNvbGxlY3Rpb24ZQgCAy173HgIAAUwAAWN0ABZMamF2YS91dGlsL0NvbGxlY3Rpb247eHBzcgATamF2YS51dGlsLkFycmF5TGlzdHiB0h2Zx2GdAwABSQAEc2l6ZXhwAHcEAHhxAH4AZng


2017-07-28 0:15 GMT-03:00 Gabriel Beims Bräscher :

> Hi Rodrigo,
>
> Which version of CloudStack are you using? Is there any exception stack in
> the log? Are you using advanced or basic network? Is there any connection
> problem?
>
> Are you using Swift as Secondary Storage? If yes, there is an open issue
> "CLOUDSTACK-7443: Cannot launch SSVMs when using Swift as Secondary
> Storage" (https://issues.apache.org/jira/browse/CLOUDSTACK-7443)
>
> Can you please review the log? Seems that there are missing parts from the
> presented log. One example is the line "2017-07-27 22:30:00,253 DEBUG
> [c.c.c.CapacityManagerImpl]". The full log should contain "VM state
> transitted from :" + oldState + " to " + newState + " with event: " + event
> + "vm's original host id: " + vm.getLastHostId() + " new host id: " +
> vm.getHostId() + " host id before state transition: " + oldHostId".
>
> Cheers,
> Gabriel.
>
> 2017-07-27 22:37 GMT-03:00 Rodrigo Baldasso :
>
> > Hi everyone,
> >
> > I'm trying to set up my cloudstack environment but despite my best
> efforts,
> > the system isn't starting the ssvm's.. on my agent log all i can see is:
> >
> > [kvm.resource.LibvirtConnection] (agentRequest-Handler-5:null)
> > (logid:4acd7d3e) Can not find a connection for Instance v-52-VM. Assuming
> > the default connection.
> >
> > On the manager console, this is the error:
> >
> > 2017-07-27 22:29:59,853 DEBUG [c.c.a.t.Request]
> > (Work-Job-Executor-54:ctx-a9fdb60b job-169/job-546 ctx-23fba537)
> > (logid:4acd7d3e) Seq 1-2810527642455900231: vm-tqr-01.lhost.net.br),
> Ver:
> > v1, Flags: 100011,
> > [{"com.cloud.agent.api.StopCommand":{"isProxy":false,
> > "checkBeforeCleanup":false,"vmName":"v-52-VM","executeI
> > 2017-07-27 22:29:59,952 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl]
> > (secstorage-1:ctx-48b34715) (logid:526bc485) Sync job-547 execution on
> > object VmWorkJobQueue.
> > 2017-07-27 22:30:00,042 DEBUG [c.c.a.t.Request]
> > (AgentManager-Handler-7:null) (logid:) Seq 1-2810527642455900231:
> > Processing:  { Ans: , MgmtId:
> > 1197792893673.api.StopAnswer":{"result":true,"wait":0}}] }
> > 2017-07-27 22:30:00,043 DEBUG [c.c.a.t.Request]
> > (Work-Job-Executor-54:ctx-a9fdb60b job-169/job-546 ctx-23fba537)
> > (logid:4acd7d3e) Seq 1-2810527642455900231: 1(kvm-tqr-01.lhost.net.br),
> > Ver: v1, Flags: 10, { StopAnswer } }
> > 2017-07-27 22:30:00,185 DEBUG [o.a.c.e.o.NetworkOrchestrat

Unable to start SSVM

2017-07-27 Thread Rodrigo Baldasso
Hi everyone,

I'm trying to set up my cloudstack environment but despite my best efforts,
the system isn't starting the ssvm's.. on my agent log all i can see is:

[kvm.resource.LibvirtConnection] (agentRequest-Handler-5:null)
(logid:4acd7d3e) Can not find a connection for Instance v-52-VM. Assuming
the default connection.

On the manager console, this is the error:

2017-07-27 22:29:59,853 DEBUG [c.c.a.t.Request]
(Work-Job-Executor-54:ctx-a9fdb60b job-169/job-546 ctx-23fba537)
(logid:4acd7d3e) Seq 1-2810527642455900231: vm-tqr-01.lhost.net.br), Ver:
v1, Flags: 100011,
[{"com.cloud.agent.api.StopCommand":{"isProxy":false,"checkBeforeCleanup":false,"vmName":"v-52-VM","executeI
2017-07-27 22:29:59,952 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl]
(secstorage-1:ctx-48b34715) (logid:526bc485) Sync job-547 execution on
object VmWorkJobQueue.
2017-07-27 22:30:00,042 DEBUG [c.c.a.t.Request]
(AgentManager-Handler-7:null) (logid:) Seq 1-2810527642455900231:
Processing:  { Ans: , MgmtId:
1197792893673.api.StopAnswer":{"result":true,"wait":0}}] }
2017-07-27 22:30:00,043 DEBUG [c.c.a.t.Request]
(Work-Job-Executor-54:ctx-a9fdb60b job-169/job-546 ctx-23fba537)
(logid:4acd7d3e) Seq 1-2810527642455900231: 1(kvm-tqr-01.lhost.net.br),
Ver: v1, Flags: 10, { StopAnswer } }
2017-07-27 22:30:00,185 DEBUG [o.a.c.e.o.NetworkOrchestrator]
(Work-Job-Executor-54:ctx-a9fdb60b job-169/job-546 ctx-23fba537)
(logid:4acd7d3e) Asking Virtua-42a5-a288-2582921a1946-null-null
2017-07-27 22:30:00,185 DEBUG [o.a.c.e.o.NetworkOrchestrator]
(Work-Job-Executor-54:ctx-a9fdb60b job-169/job-546 ctx-23fba537)
(logid:4acd7d3e) Asking Securi129-658b-42a5-a288-2582921a1946-null-null
2017-07-27 22:30:00,189 DEBUG [c.c.v.VirtualMachineManagerImpl]
(Work-Job-Executor-54:ctx-a9fdb60b job-169/job-546 ctx-23fba537)
(logid:4acd7d3e) SuccessfullProxy|v-52-VM]
2017-07-27 22:30:00,190 DEBUG [c.c.v.VirtualMachineManagerImpl]
(Work-Job-Executor-54:ctx-a9fdb60b job-169/job-546 ctx-23fba537)
(logid:4acd7d3e) Successfull|v-52-VM] in Starting state
2017-07-27 22:30:00,253 DEBUG [c.c.c.CapacityManagerImpl]
(Work-Job-Executor-54:ctx-a9fdb60b job-169/job-546 ctx-23fba537)
(logid:4acd7d3e) VM state transittFailedvm's original host id: null new
host id: null host id before state transition: 1
2017-07-27 22:30:00,259 DEBUG [c.c.c.CapacityManagerImpl]
(Work-Job-Executor-54:ctx-a9fdb60b job-169/job-546 ctx-23fba537)
(logid:4acd7d3e) Hosts's actual toning: 54432


Re: SSVM not starting

2014-09-08 Thread Rodrigo Baldasso
> Hey everyone,
> 
> We're a few days trying to get our CloudStack deployment up and running, 
> however now we can't solve the SSVM not starting problem.
> 
> In my log's, it seems to be related to my storage, but I'm using NFS 
> (installed on the management server) and I'm able to mount the filesystem 
> manually without any errors, however in the logs shows up this:
> 
> LocalStoragePoolAllocator returning 0 suitable storage pools
> No suitable pools found
> Could not find suitable Deployment Destination for this VM under any clusters,
> 
> But, my host is a XenServer and I've enabled 'localstorage' in the settings 
> (changed from false to true), since I want the the VM be stored in the same 
> server..
> 
> Any help is appreciated.
> 
> -- 
> Rodrigo N. Baldasso -- 
> rodr...@loophost.com.br
> 
> (51) 2626-1217  /  (11) 2626-5458
> Taquara / RS
> CNPJ: 13.261.652/0001-21