Thanks Prasanna, Likitha. I have fixed the VM create call in tests. Now test for VM without PF rule are working for assignVirtualMachine.
./Ashu On 22-May-2013, at 7:47 PM, Prasanna Santhanam <t...@apache.org> wrote: > If you used VirtualMachine.create from base.py then the PF rule would > be implicitly created for you. Is that the case? > > On Wed, May 22, 2013 at 06:44:13PM +0530, Girish Shilamkar wrote: >> +Ashutosh. >> >> >> On Wed, May 22, 2013 at 6:42 PM, Likitha Shetty >> <likitha.she...@citrix.com>wrote: >> >>> Girish,**** >>> >>> ** ** >>> >>> I am not able to reproduce this on master. Can you double check if port >>> forwarding has not been set on the VM?**** >>> >>> And if a PF rule has been configured then it is the expected behavior.**** >>> >>> ** ** >>> >>> Thanks,**** >>> >>> Likitha **** >>> >>> ** ** >>> >>> *From:* Girish Shilamkar [mailto:gir...@clogeny.com] >>> *Sent:* Wednesday, May 22, 2013 12:40 PM >>> *To:* dev@cloudstack.apache.org >>> *Cc:* Likitha Shetty; Parth Jagirdar >>> *Subject:* assignVirtualMachine API fails**** >>> >>> ** ** >>> >>> Hello,**** >>> >>> ** ** >>> >>> While writing automation tests Changing account membership for VMs, >>> assignVirtualMachine API fails with **** >>> >>> ** ** >>> >>> errorCode: 530, errorText:Failed to move vm Remove the Port forwarding >>> rules for this VM before assigning to another user.**** >>> >>> ** ** >>> >>> This happens even though vm wasn't set any PF rule. We saw this >>> on CloudStack-non-OSS-MASTER-373-rhel6.3**** >>> >>> ** ** >>> >>> Has anyone seen this problem before ?**** >>> >>> ** ** >>> >>> PFA, management server log.**** >>> >>> ** ** >>> >>> ** ** >>> >>> Regards,**** >>> >>> Girish**** >>> >>> ** ** >>> >>> ** ** >>> > > -- > Prasanna., > > ------------------------ > Powered by BigRock.com >