Re: [DISCUSS] Major business logic refactoring: Move from Account to UserAccount

2014-11-14 Thread Rohit Yadav
Good discussion everyone. Nitin, I thought of using that as well but there are some issues using events; - events can be deleted - if some sysadmin is working with the db/tables, he would appreciate if all the information are with the resource (for VMs, the vm_instance table) Prachi, thanks I t

Re: Server 2012 R2 Bug on CS 4.4.0 with vmware hypervisor

2014-11-14 Thread Erik Weber
There's an issue in jira to allow controller selection, but it has been stale for some time. This is one of the reasons we switched to xenserver. I believe there's a quick talk on ccceu about the issue. Erik Den lørdag 15. november 2014 skrev Michael Phillips følgende: > So I was unable to ad

Re: [QUESTION]open ports or other sockets

2014-11-14 Thread Rajani Karuturi
ahh.. thanks for sharing it. I faced this during mavericks upgrade as well. I have this in my .bashrc export MAVEN_OPTS="-Xmx1024m -XX:MaxPermSize=500m -Djava.net.preferIPv4Stack=true " ~Rajani On Fri, Nov 14, 2014 at 9:52 PM, Daan Hoogland wrote: > fy, > > probably hundreds of you know this a

[GitHub] cloudstack-docs pull request: Fixed some typos.

2014-11-14 Thread asfgit
Github user asfgit closed the pull request at: https://github.com/apache/cloudstack-docs/pull/7 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature

Re: Review Request 28043: CLOUDSTACK 7915: Remove hard-coded values for Load Balancer algorithms in UI

2014-11-14 Thread Rajani Karuturi
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/28043/#review61632 --- The changes look good to me except the repeated code in networks.js.

Re: Review Request 28049: CLOUDSTACK-7917: Load Balancer Rule is not validated when updating LB

2014-11-14 Thread Rajani Karuturi
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/28049/#review61631 --- Can you please update the testing section? probably a new test case

Re: Templates created from snapshots get purged from cloud.template_store_ref

2014-11-14 Thread Mike Tutkowski
No problem...it will be good to have that in 4.5, too. On Friday, November 14, 2014, Rajani Karuturi wrote: > Thanks mike. > > ~Rajani > > On Thu, Nov 13, 2014 at 10:35 AM, Mike Tutkowski < > mike.tutkow...@solidfire.com > wrote: > > > Also, here's the JIRA ticket I opened, resolved, and closed

Re: Templates created from snapshots get purged from cloud.template_store_ref

2014-11-14 Thread Rajani Karuturi
Thanks mike. ~Rajani On Thu, Nov 13, 2014 at 10:35 AM, Mike Tutkowski < mike.tutkow...@solidfire.com> wrote: > Also, here's the JIRA ticket I opened, resolved, and closed for it: > > https://issues.apache.org/jira/browse/CLOUDSTACK-7898 > > On Wed, Nov 12, 2014 at 10:03 PM, Mike Tutkowski < > mi

Review Request 28085: Fixed some coverity issues.

2014-11-14 Thread bharat kumar
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/28085/ --- Review request for cloudstack and Kishan Kavala. Repository: cloudstack-git D

Jenkins build is back to stable : simulator-singlerun #637

2014-11-14 Thread jenkins
See

RE: Refreshing Templates

2014-11-14 Thread Michael Phillips
So I created the JIRA improvement ticket. https://issues.apache.org/jira/browse/CLOUDSTACK-7921 So how do the dev guys go about choosing which improvement tickets to work? > Date: Fri, 14 Nov 2014 17:50:25 -0700 > Subject: Re: Refreshing Templates > From: mike.tutkow...@solidfire.com > To: dev@cl

RE: Server 2012 R2 Bug on CS 4.4.0 with vmware hypervisor

2014-11-14 Thread Michael Phillips
further clarification; CS adds the data disk to the VM but since it's listed as SCSI device 0:0, the vm is unable to find it when you do a disk rescan. I hope this makes sense... > From: mphilli7...@hotmail.com > To: dev@cloudstack.apache.org > Subject: Server 2012 R2 Bug on CS 4.4.0 with vmware

RE: Refreshing Templates

2014-11-14 Thread Michael Phillips
I will definitely create an enhancement ticket for that. > Date: Fri, 14 Nov 2014 17:50:25 -0700 > Subject: Re: Refreshing Templates > From: mike.tutkow...@solidfire.com > To: dev@cloudstack.apache.org > > Hi Michael, > > I would encourage you to create a JIRA enhancement ticket for the use case

Server 2012 R2 Bug on CS 4.4.0 with vmware hypervisor

2014-11-14 Thread Michael Phillips
So I was unable to add a data disk to my vm running server 2012 R2 standard, so I started tracking down the issue and I think I found it. So when provisioning a vm running server 2012 R2, CS creates the VM with the "LSI Logic Parallel" adapter. It looks like the only reason the machine is even a

Re: Refreshing Templates

2014-11-14 Thread Mike Tutkowski
Hi Michael, I would encourage you to create a JIRA enhancement ticket for the use case of modifying a template (unless anyone knows why that would not be a viable solution). https://issues.apache.org/jira/browse/CLOUDSTACK/?selectedTab=com.atlassian.jira.jira-projects-plugin:summary-panel The on

[GitHub] cloudstack-docs pull request: Fixed some typos.

2014-11-14 Thread mbren
GitHub user mbren opened a pull request: https://github.com/apache/cloudstack-docs/pull/7 Fixed some typos. You can merge this pull request into a Git repository by running: $ git pull https://github.com/mbren/cloudstack-docs dev Alternatively you can review and apply these c

RE: Refreshing Templates

2014-11-14 Thread Michael Phillips
That seems like the only method I have found as well. Only problem with that is I have a 3rd party software that integrates with CS and it uses CS to provision vm's etc. Deleting and re-uploading the template seems to break my 3rd party app because although the new template is named the same, it

Re: Refreshing Templates

2014-11-14 Thread Mike Tutkowski
I'm thinking you have to delete the old one and replace it with a new one. On Fri, Nov 14, 2014 at 5:01 PM, Michael Phillips wrote: > What is the best way to refresh a template in cloudstack? > Reasons one may want to refresh a template is to deploy the template with > the latest patches, softwa

Jenkins build became unstable: simulator-singlerun #636

2014-11-14 Thread jenkins
See

Refreshing Templates

2014-11-14 Thread Michael Phillips
What is the best way to refresh a template in cloudstack? Reasons one may want to refresh a template is to deploy the template with the latest patches, software etc.

Jenkins build is back to normal : build-4.5 #137

2014-11-14 Thread jenkins
See

Re: [DISCUSS] Major business logic refactoring: Move from Account to UserAccount

2014-11-14 Thread Mike Tutkowski
Do you think this info is sufficient, Rohit? On Friday, November 14, 2014, Nitin Mehta wrote: > Mike - we already do that in the action events (event table) ? We log the > user_id as well and so we always would know the user responsible for an > action > One thing better we can do there is have

Jenkins build is back to normal : build-master #1893

2014-11-14 Thread jenkins
See

Re: [DISCUSS] Major business logic refactoring: Move from Account to UserAccount

2014-11-14 Thread Nitin Mehta
Mike - we already do that in the action events (event table) ? We log the user_id as well and so we always would know the user responsible for an action One thing better we can do there is have a resource_id column in the table since the resource_id is currently embedded in the description at the

Build failed in Jenkins: build-4.5 #136

2014-11-14 Thread jenkins
See Changes: [sheng.yang] Revert "CLOUDSTACK-7821: Fix OSX cannot connect to VPN due to wrongly declaim ENCAPSULATION_MODE_UDP_TRANSPORT_RFC" -- [...truncated 1708 lines...] [INFO] --- maven-resou

Build failed in Jenkins: build-master #1892

2014-11-14 Thread jenkins
See Changes: [sheng.yang] Revert "CLOUDSTACK-7821: Fix OSX cannot connect to VPN due to wrongly declaim ENCAPSULATION_MODE_UDP_TRANSPORT_RFC" [brian.federle] CLOUDSTACK-7645: Use the localization function _l() instead of dictionary

Re: Review Request 27991: CLOUDSTACK-7645: Use the localization function _l() instead of dictionary directly

2014-11-14 Thread Brian Federle
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/27991/#review61491 --- Ship it! Ship It! - Brian Federle On Nov. 13, 2014, 2:55 p.m., M

Re: Review Request 28049: CLOUDSTACK-7917: Load Balancer Rule is not validated when updating LB

2014-11-14 Thread Daniel Vega Simoes
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/28049/ --- (Updated Nov. 14, 2014, 7:42 p.m.) Review request for cloudstack. Repository:

Review Request 28049: CLOUDSTACK-7917: Load Balancer Rule is not validated when updating LB

2014-11-14 Thread Daniel Vega Simoes
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/28049/ --- Review request for cloudstack. Repository: cloudstack-git Description ---

Re: [DISCUSS] Major business logic refactoring: Move from Account to UserAccount

2014-11-14 Thread Mike Tutkowski
Yeah, I think the idea is not to change ownership of the resource but to be better able to 'assign blame' for action x or y. On Fri, Nov 14, 2014 at 12:17 PM, Prachi Damle wrote: > Rohit, > > Just on note on: > >>>Min, you’re right I don’t propose to change the IAM model just some > additional d

RE: [DISCUSS] Major business logic refactoring: Move from Account to UserAccount

2014-11-14 Thread Prachi Damle
Rohit, Just on note on: >>>Min, you’re right I don’t propose to change the IAM model just some >>>additional data that notes who *actually* owns the resource (VM, volume, >>>etc.) in an account which can be useful for sysadmins to list resource by >>>userid etc. Adding 'user_id' column but not

Re: [DISCUSS] Major business logic refactoring: Move from Account to UserAccount

2014-11-14 Thread Mike Tutkowski
Also, yeah, it's a bit odd having domain_id, account_id, and user_id since having user_id would allow you to retrieve the other information, but that might be the easiest way to implement this (and we were already semi-denormalized having both domain_id and account_id in these tables). On Fri, Nov

Re: [DISCUSS] Major business logic refactoring: Move from Account to UserAccount

2014-11-14 Thread Mike Tutkowski
Yeah, I assume you would use the column ID of the user table (as opposed to the UUID of the given user), right? On Fri, Nov 14, 2014 at 12:04 PM, Rohit Yadav wrote: > Min, you’re right I don’t propose to change the IAM model just some > additional data that notes who *actually* owns the resource

Re: [DISCUSS] Major business logic refactoring: Move from Account to UserAccount

2014-11-14 Thread Rohit Yadav
Min, you’re right I don’t propose to change the IAM model just some additional data that notes who *actually* owns the resource (VM, volume, etc.) in an account which can be useful for sysadmins to list resource by userid etc. I can understand the hesitation and the side effects such a refactori

Re: [DISCUSS] Major business logic refactoring: Move from Account to UserAccount

2014-11-14 Thread Min Chen
Yes, we support going both directions, account <-> user. Thanks -min On 11/14/14 10:59 AM, "Mike Tutkowski" wrote: >I didn't have access to the VM with my CS DB on it for a while, but I do >now and checked the DB structure. I see the user table has a reference to >the account table, so that's w

Re: [DISCUSS] Major business logic refactoring: Move from Account to UserAccount

2014-11-14 Thread Mike Tutkowski
As for Min's question, I think Rohit is talking about keeping the "account-ownership model" the same in CloudStack, but just providing greater insight into what user specifically created or did whatever to a given resource. On Fri, Nov 14, 2014 at 11:59 AM, Mike Tutkowski < mike.tutkow...@solidfir

Re: [DISCUSS] Major business logic refactoring: Move from Account to UserAccount

2014-11-14 Thread Mike Tutkowski
I didn't have access to the VM with my CS DB on it for a while, but I do now and checked the DB structure. I see the user table has a reference to the account table, so that's what I was expecting and hoped to see. On Fri, Nov 14, 2014 at 11:48 AM, Mike Tutkowski < mike.tutkow...@solidfire.com> wr

Re: [DISCUSS] Major business logic refactoring: Move from Account to UserAccount

2014-11-14 Thread Mike Tutkowski
I haven't looked at the DB tables for this, but presumably there is a user table like we have an account table and you can figure out what account a given user is in? That would be OK then. I just wasn't sure if we only allowed you to go from account to user, but not user to account in the DB. On

Re: [DISCUSS] Major business logic refactoring: Move from Account to UserAccount

2014-11-14 Thread Min Chen
Rohit, If I understood you correctly, the user_id column is only used for listing resources to indicate which user is the real owner/creator of the resource, but you don't want to change CloudStack account-level permission model to user-level permission model, right? If so, the change will be small

Re: [DISCUSS] Major business logic refactoring: Move from Account to UserAccount

2014-11-14 Thread Mike Tutkowski
Can a username like "mike" be re-used in multiple accounts? For example: Acct1\mike Acct2\mike If so, the name "mike" would be insufficient to determine ownership of the resource in some situations (unless it was fully qualified with its account). On Fri, Nov 14, 2014 at 11:35 AM, Rohit Yadav

Re: [DISCUSS] Major business logic refactoring: Move from Account to UserAccount

2014-11-14 Thread Rohit Yadav
Hi Min, Good to know. What do you propose we do moving forward. Do a refactoring run to fix it or leave it as it is and perhaps add user_id columns to few resources that are more useful for sysadmins such as vm_instance table. > On 14-Nov-2014, at 11:49 pm, Min Chen wrote: > > Rohit, > > I thi

Re: [DISCUSS] Major business logic refactoring: Move from Account to UserAccount

2014-11-14 Thread Min Chen
Rohit, I think that the historic reason for this is that CloudStack is only doing IAM access permission check on account level, user is only login authentication purpose. That is why we will see that all our CloudStack resource owner field is an account, since that is the only information

Review Request 28043: CLOUDSTACK 7915: Remove hard-coded values for Load Balancer algorithms in UI

2014-11-14 Thread Daniel Vega Simoes
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/28043/ --- Review request for cloudstack. Repository: cloudstack-git Description ---

Re: Automatic KVM host reboot on Primary Storage failure

2014-11-14 Thread Andrija Panic
Hi Marcus, thanks for explaining. maybe a side question: " like storage/host tags to guarantee each host only uses one NFS" - what do you mean by this ? that is, how would you implent this? I know of tags, but I only know how to make sure certain Compute/Disk offerings use certain Compute/Storage

Re: Automatic KVM host reboot on Primary Storage failure

2014-11-14 Thread Marcus
It is there (I believe) because cloudstack is acting as a cluster manager for KVM. It is using NFS to determine if it is 'alive' on the network, and if it is not, it reboots itself to avoid having a split brain scenario where VMs start coming up on other hosts when they are already running on this

Re: [QUESTION]open ports or other sockets

2014-11-14 Thread Daan Hoogland
fy, probably hundreds of you know this already but I thought I'd give the feedback anyhow. In the end I found [1] that showed me how to solve. The problem I had started due to upgrading to mocosx yosimite:( [1] http://stackoverflow.com/questions/18747134/getting-cant-assign-requested-address-ja

Automatic KVM host reboot on Primary Storage failure

2014-11-14 Thread Andrija Panic
Hi guys, I'm wondering why us there a check inside /usr/share/cloudstack-common/scripts/vm/hypervisor/kvm/kvmheartbeat.sh ? I understand that the KVM host checks availability of Primary Storage, and reboots itself if it can't write to storage. But, if we have say, 3 NFS in a cluster, then lot of

Review Request 28032: CLOUDSTACK-7913 - Added reconnect functionality to Host class in base.py

2014-11-14 Thread Chandan Purushothama
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/28032/ --- Review request for cloudstack, sangeetha hariharan and SrikanteswaraRao Talluri.

Re: Review Request 28039: CLOUDSTACK-7912: Remove hardcoded netscaler info and read it from config file

2014-11-14 Thread Gaurav Aradhye
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/28039/ --- (Updated Nov. 14, 2014, 8:04 p.m.) Review request for cloudstack and Srikantesw

Review Request 28039: CLOUDSTACK-7912: Remove hardcoded netscaler info and read it from config file

2014-11-14 Thread Gaurav Aradhye
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/28039/ --- Review request for cloudstack and SrikanteswaraRao Talluri. Bugs: CLOUDSTACK-79

did anyone try 4.4.2?

2014-11-14 Thread Daan Hoogland
I run into a strange exception during the spring load phase. Did anybody run 442 yet? -- Daan

Build failed in Jenkins: cloudstack-4.3-maven-build #630

2014-11-14 Thread jenkins
See Changes: [Rohit Yadav] CLOUDSTACK-7250 [vCenter 5.5] SourceNAT,StaticNAT and Portfowrding is not working with Vmware DVS in vCenter 5.5 [Rohit Yadav] CLOUDSTACK-6652 CLONE - [Automation] Vmware- System's StartComm

Jenkins build is back to normal : build-4.5 #135

2014-11-14 Thread jenkins
See

Build failed in Jenkins: build-4.5 #134

2014-11-14 Thread jenkins
See Changes: [talluri] CLOUDSTACK-7885 : Fixed the script '/maint/test_vpc_host_maintenance.py' -- [...truncated 2102 lines...] [INFO]

Build failed in Jenkins: build-4.5 #133

2014-11-14 Thread jenkins
See Changes: [talluri] CLOUDSTACK-7860: test_eip_elb.py - Move Netscler info out of the test case. Read it from config. Fix attribute error. Fix pep8 issues. Fix imports. -- [...truncated 3021 lin

Re: Review Request 27985: CLOUDSTACK-7860: test_eip_elb.py - Move Netscler info out of the test case. Read it from config. Fix attribute error. Fix pep8 issues. Fix imports.

2014-11-14 Thread SrikanteswaraRao Talluri
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/27985/#review61426 --- Ship it! 2bfddc55b8e886323173fe56d6735472a9da5f69 master 2bfddc55b8

Re: Review Request 27883: CLOUDSTACK-7885 - Fixed the script "/maint/test_vpc_host_maintenance.py" - Router will not get automatically Started due to Host maintenance operations

2014-11-14 Thread SrikanteswaraRao Talluri
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/27883/#review61425 --- Ship it! f92fa4257a0261a72e36571c65d0c20fa17c0b9f master f92fa4257a

Re: Review Request 27883: CLOUDSTACK-7885 - Fixed the script "/maint/test_vpc_host_maintenance.py" - Router will not get automatically Started due to Host maintenance operations

2014-11-14 Thread SrikanteswaraRao Talluri
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/27883/#review61423 --- Looks good. - SrikanteswaraRao Talluri On Nov. 14, 2014, 6:37 a.m

Build failed in Jenkins: cloudstack-4.3-maven-build #629

2014-11-14 Thread jenkins
See Changes: [Rohit Yadav] CLOUDSTACK-6761: Fixed removing proxy arp rule on deleting static nat or PF rule on ip -- Started by an SCM change [EnvInject] - Loading node environmen

Re: [DISCUSS] Major business logic refactoring: Move from Account to UserAccount

2014-11-14 Thread Yitao Jiang
Agreed. Using userid could make isolation of resources more strictly. Which is more suitable for public cloud,but more work have to be done I think. On Nov 14, 2014 4:54 PM, "Rohit Yadav" wrote: > Hi, > > All CloudStack DB entities (VM, storage, network etc.) have an owner field > which is mostly

[DISCUSS] Major business logic refactoring: Move from Account to UserAccount

2014-11-14 Thread Rohit Yadav
Hi, All CloudStack DB entities (VM, storage, network etc.) have an owner field which is mostly the account. An account can have multiple users so just by looking at the resource (say VM) it’s not possible to make out which user in the account (owner or account_id field in the db row of the enti

Re: Review Request 27856: The NET.IPRELEASE events are not added to usage_event on IP range deletion from Physical Networks

2014-11-14 Thread Jayapal Reddy
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/27856/#review61416 --- Ship it! Ship It! - Jayapal Reddy On Nov. 11, 2014, 6:15 a.m., D

Re: about ccp-qemu-img in cs 4.5

2014-11-14 Thread Andrija Panic
Here is part of explanation - from NUX: http://www.nux.ro/archive/2014/01/Taking_KVM_volume_snapshots_with_Cloudstack_4_2_on_CentOS_6_5.html best On 14 November 2014 07:16, Star Guo wrote: > Hi CS developers, > > > > I find brand of 4.5 scripts/storage/qcow2/managesnapshot.sh as bellow: > > > >

Re: Serious (ajax) GUI issues sometimes

2014-11-14 Thread Andrija Panic
Yes, but I would not call it annoying - I would say - my clients gets confused and pissed off :) Not so funny, when you are in the middle of the demo with potenital client - and it doesn't work. Because we are using ACS for public cloud - for our own use, it's annoying but not critical. I just fe