Re: CloudStack LTS EOL date?

2017-11-22 Thread Ron Wheeler
I am not sure that the world would end if the EOL was extended for a particularly popular LTS release if the subsequent releases were not as stable as some people liked or did not include sufficient new features to motivate a lot of happy users to upgrade. If the pace of enhancements is slow

Re: CloudStack LTS EOL date?

2017-11-22 Thread Ivan Kudryavtsev
Hi, all. Previous reply to wrong thread. Copy here. According to Paul, everything looks ok, but I still feel the website content is lacking of the information. My belief that index should clearly state: Current LTS 4.9 | updated 2017.11.12 (4.9.3) | EOL=2018.X.Y Previous LTS 4.X | updated

Re: CloudStack LTS EOL date?

2017-11-22 Thread Will Stevens
Paul, I thought a 'big mouth' was a prerequisite for the RM position. Isn't that the only reason I was the 4.9 RM? :P *Will Stevens* CTO On Wed, Nov 22, 2017 at 11:39 AM, Paul Angus wrote: > HI All, > > The current LTS cycle is based on

Re: Fail with vpn customer gateway creation through terraform

2017-11-22 Thread Nux!
Ok, looking at the logs it looks like an encoding problem of sorts, when terraform is making the calls, the policy appears as: sha1-aes256%3Bmodp2048 When cloudmonkey makes the calls (successfully) the policy looks like it should: aes128-sha256;modp2048 Ideas?

Re: Tag removal problem found. Need assistance how to fix

2017-11-22 Thread Rafael Weingärtner
That is what it seems On Wed, Nov 22, 2017 at 10:14 AM, Ivan Kudryavtsev wrote: > So, basically I changed it to > > sb.and("resourceUuid", sb.entity().getResourceUuid(), SearchCriteria.Op.IN > ); > sb.and("resourceType", sb.entity().getResourceType(), >

Re: Tag removal problem found. Need assistance how to fix

2017-11-22 Thread Ivan Kudryavtsev
So, basically I changed it to sb.and("resourceUuid", sb.entity().getResourceUuid(), SearchCriteria.Op.IN); sb.and("resourceType", sb.entity().getResourceType(), SearchCriteria.Op.EQ); And launched marvin tests. I suppose resourceId filtering is completely wrong here. 22 нояб. 2017 г. 7:12 ПП

Re: Tag removal problem found. Need assistance how to fix

2017-11-22 Thread Rafael Weingärtner
Then, I believe we can remove that filter in the search criteria as you suggested and also remove the line 308. On Wed, Nov 22, 2017 at 10:12 AM, Ivan Kudryavtsev wrote: > Yes, you are right, but there are no other ids in the query, and rarely > (like in my case) it

Re: Tag removal problem found. Need assistance how to fix

2017-11-22 Thread Ivan Kudryavtsev
Yes, you are right, but there are no other ids in the query, and rarely (like in my case) it leads to wrong results. 22 нояб. 2017 г. 7:07 ПП пользователь "Rafael Weingärtner" < rafaelweingart...@gmail.com> написал: > The problem seems to be related to line 308 at >

Re: Tag removal problem found. Need assistance how to fix

2017-11-22 Thread Rafael Weingärtner
I did not understand what you said. Are you talking about the data used in the SQL filters? On Wed, Nov 22, 2017 at 10:10 AM, Ivan Kudryavtsev wrote: > So, I don't understand. As you can see there is no longs in sql dump. Just > uuids. I run actual delete tags query

Re: Tag removal problem found. Need assistance how to fix

2017-11-22 Thread Ivan Kudryavtsev
So, I don't understand. As you can see there is no longs in sql dump. Just uuids. I run actual delete tags query against simulator and it leads to this sql search which filters wrong data. As I see, query is incorrect. 22 нояб. 2017 г. 7:03 ПП пользователь "Rafael Weingärtner" <

Re: Tag removal problem found. Need assistance how to fix

2017-11-22 Thread Rafael Weingärtner
The problem seems to be related to line 308 at com.cloud.tags.TaggedResourceManagerImpl.deleteTags(List, ResourceObjectType, Map). It is being sent a list of resourceUUID as the filter for resourceId On Wed, Nov 22, 2017 at 10:03 AM, Rafael Weingärtner <

Re: Tag removal problem found. Need assistance how to fix

2017-11-22 Thread Rafael Weingärtner
The resourceId is not a real DB ID. It is the UUID converted to Long :( This table has four "ID" like fields, ID, UUID, resourceID, and resourceUUID. On Wed, Nov 22, 2017 at 10:00 AM, Ivan Kudryavtsev wrote: > Hi, I just enabled log all queries and copied actual

Re: Tag removal problem found. Need assistance how to fix

2017-11-22 Thread Ivan Kudryavtsev
Hi, I just enabled log all queries and copied actual query which I have shown in the first mail. Also, I don't understand why the search should look over inner ids... Is it a case when user can pass real db ids to an api call? 22 нояб. 2017 г. 6:55 ПП пользователь "Rafael Weingärtner" <

Re: Tag removal problem found. Need assistance how to fix

2017-11-22 Thread Rafael Weingärtner
Yes, this I understood ;) However, I do not understand how the SQL that is being generated has this clause: " resource_tags.resource_id='2a4264fb-9f63-4d4f-9465-c1bc5440ea60'". The resourceId field in the entity is a long. So, even though that long represents a String, in the final SQL that is

RE: cloudstack deployDataCentre with MariaDB

2017-11-22 Thread Paul Angus
Hi Henko, As you have the error 'Execute cmd: addhost failed'. I would look in the mgmt. server log first, to see it gives a reason why the CloudStack manager could not add the host. Kind regards, Paul Angus paul.an...@shapeblue.com  www.shapeblue.com 53 Chandos Place, Covent Garden,

Re: Tag removal problem found. Need assistance how to fix

2017-11-22 Thread Ivan Kudryavtsev
Take a look here: SELECT resource_tags.id, resource_tags.uuid, resource_tags.key, resource_tags.value, resource_tags.domain_id, resource_tags.account_id, resource_tags.resource_id, resource_tags.resource_uuid, resource_tags.resource_type, resource_tags.customer FROM resource_tags WHERE (

Re: Tag removal problem found. Need assistance how to fix

2017-11-22 Thread Rafael Weingärtner
Ah, ok now it makes sense the "IN", I thought you were only talking about single values. I do not think that the UUID (resource UUID) is the representation of ID value in Hexadecimal, if it is we could simply get rid of one of them. I really dislike these search criteria...I am not seeing what

Re: Tag removal problem found. Need assistance how to fix

2017-11-22 Thread Ivan Kudryavtsev
I mean that it's like SQL injection. API call expects UUID for resourceID, but in code that API value is checked against resourceID which is integer and internal to DB and against resourceUuid which is known for API... This looks weird even without keeping in mind it grabs extra irrelevant results

Re: Tag removal problem found. Need assistance how to fix

2017-11-22 Thread Ivan Kudryavtsev
Hi, Rafael, 'IN" because API call assumes that several resourceIds can be provided, so IN solves it, EQ doesn't. But despite semantics ID/UUID you see that ID is integer and UUID is string and that comparison does fault positive results, next when object access for caller is checked exception

Re: Tag removal problem found. Need assistance how to fix

2017-11-22 Thread Rafael Weingärtner
Are ID and UUID set with the same values in that entity? If not, the criteria seem correct. I mean, it is trying to filter for an ID if it exists or by UUID if it exists in the entity that is passed as an example. What I do not understand is that they are using “SearchCriteria.Op.IN”, but in my

cloudstack deployDataCentre with MariaDB

2017-11-22 Thread Henko Holtzhausen
Hi Everybody My name is Henko, I am new to using cloudstack. I have an issue deploying a datacentre in a simulated environment. My command and response: $ /usr/bin/python tools/marvin/marvin/deployDataCenter.py -i setup/dev/advanced.cfg Log Folder Path:

Tag removal problem found. Need assistance how to fix

2017-11-22 Thread Ivan Kudryavtsev
Hi, I found interesting behaviour with tags: mysql> SELECT resource_tags.id, resource_tags.uuid, resource_tags.key, resource_tags.value, resource_tags.domain_id, resource_tags.account_id, resource_tags.resource_id, resource_tags.resource_uuid, resource_tags.resource_type, resource_tags.customer

Re:Re: CloudStack LTS EOL date?

2017-11-22 Thread Haijiao
Agree. And I suppose 4.11 will be the next LTS ? I think community has lots of good initiatives in past years, but most important is to 'insist' and make it happen. LTS concept is one of good references. Regards, 在2017年11月22 14时13分, "Milamber"写道: Sound good for

Re: [DISCUSS] Move to Debian9 systemvmtemplate

2017-11-22 Thread Rohit Yadav
Hi René, Thanks for your comments, this will be a strictly maintenance project at the moment I think we should consider expanding its scope to include any new feature/integration. The current aim and scope of this work are to migrate the base image to Debian9 and ensure no regressions.

Re: Fail with vpn customer gateway creation through terraform

2017-11-22 Thread Nux!
Hi guys, sha1-aes256;modp3072 works if I use the UI or cloudmonkey, that's why I am thinking it must be terraform or some weird encoding issues. I tried replacing ; with - and also using modp2048, to no avail. "* cloudstack_vpn_customer_gateway.default: Error creating VPN Customer Gateway