Re: Review Request 22727: CLOUDSTACK-6847 . Link.java and ConsoleProxySecureServerFactoryImpl.java have hardcoded value

2014-06-20 Thread upendra moturi

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/22727/
---

(Updated June 20, 2014, 10:02 a.m.)


Review request for cloudstack and daan Hoogland.


Bugs: CLOUDSTACK-6847
https://issues.apache.org/jira/browse/CLOUDSTACK-6847


Repository: cloudstack-git


Description
---

CLOUDSTACK-6847.Link.java and ConsoleProxySecureServerFactoryImpl.java have 
hardcoded value vmops.com which is used as a passphrase for keystore 
(cloud.keystore).
It mean when generating jks file from certs we need to use this as passphrase.
Changed the code to get those values form properties file.

Changed all files to my knowledge .


Diffs
-

  client/tomcatconf/db.properties.in b224cec 
  
services/console-proxy/server/src/com/cloud/consoleproxy/ConsoleProxySecureServerFactoryImpl.java
 81d623a 
  setup/bindir/cloud-setup-encryption.in cf27b37 
  utils/src/com/cloud/utils/nio/Link.java 0767815 

Diff: https://reviews.apache.org/r/22727/diff/


Testing
---

Did basic testing.


Thanks,

upendra moturi



[jira] [Resolved] (CLOUDSTACK-6223) removeNicFromVirtualMachine fails if another instance in another domain has a nic with the same ip and a forwarding rule configured on it

2014-05-29 Thread upendra moturi (JIRA)

 [ 
https://issues.apache.org/jira/browse/CLOUDSTACK-6223?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

upendra moturi resolved CLOUDSTACK-6223.


   Resolution: Fixed
Fix Version/s: 4.4.0

https://reviews.apache.org/r/19902/

 removeNicFromVirtualMachine fails if another instance in another domain has a 
 nic with the same ip and a forwarding rule configured on it
 -

 Key: CLOUDSTACK-6223
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6223
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
Affects Versions: 4.2.1
Reporter: Joris van Lieshout
Assignee: upendra moturi
Priority: Blocker
 Fix For: 4.4.0


 When removeNicFromVirtualMachine is called for a nic on an instance the code 
 below is evaluated. This piece of code searches for portforwarding rules 
 across all domains. If another instance exists that has a nic with the same 
 ip and a forwarding rule the search returns 1 and the 
 removeNicFromVirtualMachine call failed. 
 server/src/com/cloud/network/rules/RulesManagerImpl.java
 @Override
 public ListFirewallRuleVO listAssociatedRulesForGuestNic(Nic nic){
 ListFirewallRuleVO result = new ArrayListFirewallRuleVO();
 // add PF rules
 
 result.addAll(_portForwardingDao.listByDestIpAddr(nic.getIp4Address()));
 // add static NAT rules
 Stack trace:
 2014-03-11 15:24:04,944 ERROR [cloud.async.AsyncJobManagerImpl] 
 (Job-Executor-102:job-193607 = [ 30e81de3-2a00-49f2-8d80-545a765e4c1e ]) 
 Unexpected exception while executing 
 org.apache.cloudstack.api.command.user.vm.RemoveNicFromVMCmd
 com.cloud.utils.exception.CloudRuntimeException: Failed to remove nic from 
 VM[User|zzz1] in Ntwk[994|Guest|14], nic has associated Port forwarding or 
 Load balancer or Static NAT rules.
 at 
 com.cloud.vm.VirtualMachineManagerImpl.removeNicFromVm(VirtualMachineManagerImpl.java:3058)
 at 
 com.cloud.vm.UserVmManagerImpl.removeNicFromVirtualMachine(UserVmManagerImpl.java:1031)
 at 
 org.apache.cloudstack.api.command.user.vm.RemoveNicFromVMCmd.execute(RemoveNicFromVMCmd.java:103)
 at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:158)
 at 
 com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:531)
 at 
 java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
 at java.util.concurrent.FutureTask.run(FutureTask.java:166)
 at 
 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
 at 
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
 at java.lang.Thread.run(Thread.java:679)



--
This message was sent by Atlassian JIRA
(v6.2#6252)


sendCommandsToRouter to Add portforward rules flow

2014-05-13 Thread Upendra Moturi
Hi,
I am trying to understand flow for creating portforward rules for virtual
router.

As part of that VirtualNetworkApplianceManagerImpl has method
*sendPortForwardingRules
*which calls *sendCommandsToRouter  *which calls *send *method of
DirectAgentManagerSimpleImpl.

I am not able to figure out which ServerResource implementation is used to
send those commands. I could see for juniper,nicra,paloalto,netscaler but
not for virtual router vm.
Please help me and point to reference document

Thanks and regards,
Upendra


Re: Review Request 19902: CLOUDSTACK-6223. removeNicFromVirtualMachine fails if another instance in another domain has a nic with the same ip and a forwarding rule configured on it

2014-04-23 Thread upendra moturi


 On April 21, 2014, 6:17 p.m., daan Hoogland wrote:
  did you verify that this works for your use case? Can you add unit tests 
  and test scenario?

Test Scenario :
Add two vms with two nics each having different networks .Two networks to each 
vm.
One network of each vm have same network configurations (i.e 10.20.30.0/24).
One nic of each vm have same ipaddress and one of the nic has portforward rule 
and try deleting other vm nic throws error saying there is portforward rule 
assigned.

VM1 (nic1,nic2) - network1,network2.
VM2 (nic3,nic4) - network3,network4.

network2 - 10.20.30.0/24
network4 - 10.20.30.0/24

nic2(VM1) ipaddress - 10.20.30.5
nic4(VM2) ipaddress - 10.20.30.5

nic2 has portforward rule defined and trying to to delete nic4 throws message 
saying there is portforward rule assigned.


- upendra


---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/19902/#review40905
---


On April 2, 2014, 5:09 a.m., upendra moturi wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://reviews.apache.org/r/19902/
 ---
 
 (Updated April 2, 2014, 5:09 a.m.)
 
 
 Review request for cloudstack and Alena Prokharchyk.
 
 
 Repository: cloudstack-git
 
 
 Description
 ---
 
 CLOUDSTACK-6223. removeNicFromVirtualMachine fails if another instance in 
 another domain has a nic with the same ip and a forwarding rule configured on 
 it
 
 
 Diffs
 -
 
   engine/schema/src/com/cloud/network/rules/dao/PortForwardingRulesDao.java 
 4694cb9 
   
 engine/schema/src/com/cloud/network/rules/dao/PortForwardingRulesDaoImpl.java 
 45c0aeb 
   server/src/com/cloud/network/rules/RulesManagerImpl.java 13f6306 
 
 Diff: https://reviews.apache.org/r/19902/diff/
 
 
 Testing
 ---
 
 
 Thanks,
 
 upendra moturi
 




Re: Review Request 19902: CLOUDSTACK-6223. removeNicFromVirtualMachine fails if another instance in another domain has a nic with the same ip and a forwarding rule configured on it

2014-04-21 Thread Upendra Moturi
Hello,

Can someone please review it.


On Wed, Apr 2, 2014 at 10:39 AM, upendra moturi
upendra.mot...@sungard.comwrote:

This is an automatically generated e-mail. To reply, visit:
 https://reviews.apache.org/r/19902/
   Review request for cloudstack and Alena Prokharchyk.
 By upendra moturi.
  *Repository: * cloudstack-git
 Description

 CLOUDSTACK-6223. removeNicFromVirtualMachine fails if another instance in 
 another domain has a nic with the same ip and a forwarding rule configured on 
 it

   Diffs

- engine/schema/src/com/cloud/network/rules/dao/PortForwardingRulesDao.java
(4694cb9)
- 
 engine/schema/src/com/cloud/network/rules/dao/PortForwardingRulesDaoImpl.java
(45c0aeb)
- server/src/com/cloud/network/rules/RulesManagerImpl.java (13f6306)

 View Diff https://reviews.apache.org/r/19902/diff/



Cloudstack with PCI compliance

2014-04-21 Thread Upendra Moturi
Hello Team,

Has anyone worked on making cloudstack PCI compliant.
Can you please point me some documentation.


Cloudstack with PCI compliance

2014-04-21 Thread Upendra Moturi
Hello Team,

Has anyone worked on making cloudstack PCI compliant.
Can you please point me some documentation.


CLOUDSTACK-6223.

2014-04-01 Thread Upendra Moturi
Hi,

Bug ID : CLOUDSTACK-6223.(removeNicFromVirtualMachine fails if another
instance in another domain has a nic with the same ip and a forwarding rule
configured on it)

Here is my proposed fix .

Add new method to get rules by destip and instanceid so that we get rules
only for that vm instead of all other vms matching the destination ip
which was existing behavior.

@Override
public ListPortForwardingRuleVO listByVmidAndDestIpAddr(String
ip4Address,long vmid) {
SearchCriteriaPortForwardingRuleVO sc = AllFieldsSearch.create();
sc.setParameters(dstIp, ip4Address);
sc.setParameters(vmId, vmid);
return listBy(sc);
}


Review Request 19902: CLOUDSTACK-6223. removeNicFromVirtualMachine fails if another instance in another domain has a nic with the same ip and a forwarding rule configured on it

2014-04-01 Thread upendra moturi

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/19902/
---

Review request for cloudstack and Alena Prokharchyk.


Repository: cloudstack-git


Description
---

CLOUDSTACK-6223. removeNicFromVirtualMachine fails if another instance in 
another domain has a nic with the same ip and a forwarding rule configured on it


Diffs
-

  engine/schema/src/com/cloud/network/rules/dao/PortForwardingRulesDao.java 
4694cb9 
  engine/schema/src/com/cloud/network/rules/dao/PortForwardingRulesDaoImpl.java 
45c0aeb 
  server/src/com/cloud/network/rules/RulesManagerImpl.java 13f6306 

Diff: https://reviews.apache.org/r/19902/diff/


Testing
---


Thanks,

upendra moturi



Re: Need privileges to assign jira

2014-03-28 Thread Upendra Moturi
Can someone please give me privileges.
I am able to reproduce it and found solution .

Thanks and Regards,
Upendra Moturi


On Thu, Mar 27, 2014 at 3:24 PM, Upendra Moturi
upendra.mot...@sungard.comwrote:

 Hi,
 I am looking at CLOUDSTACK-6223 jira and would like to have privileges to
 assign that jira to me.


 Thanks and Regards,
 Upendra Moturi



Re: Need privileges to assign jira

2014-03-28 Thread Upendra Moturi
My username is Upendra

Thanks and Regards,
Upendra Moturi


On Fri, Mar 28, 2014 at 5:48 PM, Upendra Moturi
upendra.mot...@sungard.comwrote:

 Can someone please give me privileges.
 I am able to reproduce it and found solution .

 Thanks and Regards,
 Upendra Moturi


 On Thu, Mar 27, 2014 at 3:24 PM, Upendra Moturi 
 upendra.mot...@sungard.com wrote:

 Hi,
 I am looking at CLOUDSTACK-6223 jira and would like to have privileges to
 assign that jira to me.


 Thanks and Regards,
 Upendra Moturi





Re: Need privileges to assign jira

2014-03-28 Thread Upendra Moturi
thanks Daan

Thanks and Regards,
Upendra Moturi


On Fri, Mar 28, 2014 at 5:51 PM, Daan Hoogland daan.hoogl...@gmail.comwrote:

 On Fri, Mar 28, 2014 at 1:18 PM, Upendra Moturi
 upendra.mot...@sungard.com wrote:
  Upendra


 added

 --
 Daan




[jira] [Assigned] (CLOUDSTACK-6223) removeNicFromVirtualMachine fails if another instance in another domain has a nic with the same ip and a forwarding rule configured on it

2014-03-28 Thread upendra moturi (JIRA)

 [ 
https://issues.apache.org/jira/browse/CLOUDSTACK-6223?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

upendra moturi reassigned CLOUDSTACK-6223:
--

Assignee: upendra moturi

 removeNicFromVirtualMachine fails if another instance in another domain has a 
 nic with the same ip and a forwarding rule configured on it
 -

 Key: CLOUDSTACK-6223
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6223
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
Affects Versions: 4.2.1
Reporter: Joris van Lieshout
Assignee: upendra moturi
Priority: Blocker

 When removeNicFromVirtualMachine is called for a nic on an instance the code 
 below is evaluated. This piece of code searches for portforwarding rules 
 across all domains. If another instance exists that has a nic with the same 
 ip and a forwarding rule the search returns 1 and the 
 removeNicFromVirtualMachine call failed. 
 server/src/com/cloud/network/rules/RulesManagerImpl.java
 @Override
 public ListFirewallRuleVO listAssociatedRulesForGuestNic(Nic nic){
 ListFirewallRuleVO result = new ArrayListFirewallRuleVO();
 // add PF rules
 
 result.addAll(_portForwardingDao.listByDestIpAddr(nic.getIp4Address()));
 // add static NAT rules
 Stack trace:
 2014-03-11 15:24:04,944 ERROR [cloud.async.AsyncJobManagerImpl] 
 (Job-Executor-102:job-193607 = [ 30e81de3-2a00-49f2-8d80-545a765e4c1e ]) 
 Unexpected exception while executing 
 org.apache.cloudstack.api.command.user.vm.RemoveNicFromVMCmd
 com.cloud.utils.exception.CloudRuntimeException: Failed to remove nic from 
 VM[User|zzz1] in Ntwk[994|Guest|14], nic has associated Port forwarding or 
 Load balancer or Static NAT rules.
 at 
 com.cloud.vm.VirtualMachineManagerImpl.removeNicFromVm(VirtualMachineManagerImpl.java:3058)
 at 
 com.cloud.vm.UserVmManagerImpl.removeNicFromVirtualMachine(UserVmManagerImpl.java:1031)
 at 
 org.apache.cloudstack.api.command.user.vm.RemoveNicFromVMCmd.execute(RemoveNicFromVMCmd.java:103)
 at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:158)
 at 
 com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:531)
 at 
 java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
 at java.util.concurrent.FutureTask.run(FutureTask.java:166)
 at 
 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
 at 
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
 at java.lang.Thread.run(Thread.java:679)



--
This message was sent by Atlassian JIRA
(v6.2#6252)


Need privileges to assign jira

2014-03-27 Thread Upendra Moturi
Hi,
I am looking at CLOUDSTACK-6223 jira and would like to have privileges to
assign that jira to me.


Thanks and Regards,
Upendra Moturi


EPEL need help in installing dom4j on rhel 6.4

2013-08-23 Thread upendra moturi
Hi,
I am trying to install dom4j rpm in rhel 6.4.
As it is not available in rhel,i have added epel repo and tried to install
dom4j ,but no luck.
Here is my epel.repo

[epel]
name=Extra Packages for Enterprise Linux 6 - $basearch
#baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch
mirrorlist=
https://mirrors.fedoraproject.org/metalink?repo=epel-6arch=$basearch
failovermethod=priority
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6

[epel-debuginfo]
name=Extra Packages for Enterprise Linux 6 - $basearch - Debug
#baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch/debug
mirrorlist=
https://mirrors.fedoraproject.org/metalink?repo=epel-debug-6arch=$basearch
failovermethod=priority
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
gpgcheck=1

[epel-source]
name=Extra Packages for Enterprise Linux 6 - $basearch - Source
#baseurl=http://download.fedoraproject.org/pub/epel/6/SRPMS
mirrorlist=
https://mirrors.fedoraproject.org/metalink?repo=epel-source-6arch=$basearch
failovermethod=priority
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
gpgcheck=1


Please help me in installing this package.


Thanks
Upendra
___
epel-devel mailing list
epel-de...@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/epel-devel


Fwd: Need some help in setting up rbd image with kvm

2012-02-14 Thread Upendra Moturi
Also Including ceph team


Hi Dan,

I was following your post of

Setting up a Ceph cluster and exporting a RBD volume to a KVM guest.

I have few questions,
What does mkcepfs do? (A per my understanding from your post ,it is
used to to initialize filesystem/object store)
How is object store initialized ? (If not the above how does it do)
When we trigger mount ,it is like having a file system ?
Is it correct to create a rbd device on top of this filesystem.(I am
confused about this.)Bock device is something which we have instead of
filesystem.

Can we create a rbd device without filesystem mounted and can it be a
shared device.

Please help me.

Thank you


 --
Thanks and Regards,
Upendra.M




--
Thanks and Regards,
Upendra.M

As a leading developer of IT infrastructure software solutions,
Hexagrid developed the first cloud computing platform that directly
aligns with the real-world IT delivery models of both solution
providers and enterprises. Hexagrid provides all the software and
support that IT organizations need to successfully build public,
private, or hybrid clouds that fit their specific business and
end-user requirements. Hexagrid cloud solutions truly simplify and
expedite virtual IT management, empowering successful cloud computing
strategies that quickly increase profits by pooling resources,
delivering control, and building value. Our Software, Your Cloud.  For
more information, visit www.hexagrid.com and follow @Hexagrid on
Twitter
--
To unsubscribe from this list: send the line unsubscribe ceph-devel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[one-users] locking plugin

2012-01-29 Thread Upendra Moturi
Hello
I tried to implement locking plugin for opennebula

Here are the scripts i used to implement locking.This plug-in makes sure
that no two vms use same hard disk.

My assumes
primary hard disks are present under */images/ folder and name of primary
hard disk ends with 0 (zero)
*
locking.sh*:
This is where all logic goes in.
This script is called when vm is created to check for lock.
If it finds lock,vm goes to failed state else creates a lock with  metadata
about the vm.
when a vm is deleted or shutdown ,the lock is deleted.

Used tm_ln.sh for verifying and creating lock
Used hooks to delete the lock.

Here are the changes need to be made for existing code.

Add the following code to *tm_ln.sh*
*
*

DST_DIR=`dirname $DST_PATH`
exec_and_log /usr/lib/one/tm_commands/nfs/locking.sh checkAndCreate
$SRC_PATH $DST_HOST $DST_DIR



Add the following code for *oned.conf * to configure hooks

*VM_HOOK = [
name  = hook_running,
on= running,
command   = /opt/hexaGrid/oneScripts/process_hook.sh,
arguments = $VMID RUNNING $DISK[SOURCE] $NAME,
remote= no ]

VM_HOOK = [
name  = hook_finalized,
on= done,
command   = /opt/hexaGrid/oneScripts/process_hook.sh,
arguments = $VMID DONE $DISK[SOURCE] $NAME,
remote= no ]


VM_HOOK = [
name  = hook_failed,
on= failed,
command   = /opt/hexaGrid/oneScripts/process_hook.sh,
arguments = $VMID FAILED $DISK[SOURCE] $NAME,
remote= no ]*


*process_hook.sh*

*#!/bin/bash
vmId=$1
state=$2
SRC_PATH=$3
vmName=$4
echo $state/tmp/process_hook.log
if [ $state = DONE ]; then
DST_HOST=`onehost list | grep  on | head -1 | awk '{print $2}'`
echo /usr/lib/one/tm_commands/nfs/locking.sh delete $SRC_PATH
$DST_HOST $vmId/tmp/process_hook.log
/usr/lib/one/tm_commands/nfs/locking.sh delete $SRC_PATH $DST_HOST
$vmId
fi


if [ $state = RUNNING ]; then
DST_HOST=`onevm list | grep $vmName | awk '{print $7}'`
echo /usr/lib/one/tm_commands/nfs/locking.sh modify $SRC_PATH
$DST_HOST/tmp/process_hook.log
/usr/lib/one/tm_commands/nfs/locking.sh modify $SRC_PATH $DST_HOST
fi*

Attaching locking.sh.

-- 
Thanks and Regards,
Upendra.M

*As a leading developer of IT infrastructure software solutions, Hexagrid
developed the first cloud
computinghttp://www.hexagrid.com/d/vxdatacenter.htmlplatform that
directly aligns with the real-world IT delivery models of
both solution providers and enterprises. Hexagrid provides all the software
and support that IT organizations need to successfully build public,
private, or hybrid clouds that fit their specific business and end-user
requirements. Hexagrid cloud solutions truly simplify and expedite virtual
IT management, empowering successful cloud computing strategies that
quickly increase profits by pooling resources, delivering control, and
building value. Our Software, Your Cloud.  For more information, visit
www.hexagrid.com and follow @Hexagrid on Twitter*


locking.sh
Description: Bourne shell script
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[libvirt] Need source for sanlock and libvirt-lock-sanlock

2011-12-15 Thread Upendra Moturi
Hello

Can some please point me the location of  sanlock and
libvirt-lock-sanlock source.
And also install them from source.

-- 
Thanks and Regards,
Upendra.M

As a leading developer of IT infrastructure software solutions,
Hexagrid developed the first cloud computing platform that directly
aligns with the real-world IT delivery models of both solution
providers and enterprises. Hexagrid provides all the software and
support that IT organizations need to successfully build public,
private, or hybrid clouds that fit their specific business and
end-user requirements. Hexagrid cloud solutions truly simplify and
expedite virtual IT management, empowering successful cloud computing
strategies that quickly increase profits by pooling resources,
delivering control, and building value. Our Software, Your Cloud.  For
more information, visit www.hexagrid.com and follow @Hexagrid on
Twitter

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list


Re: [one-users] Virtual Machine Lock Manager

2011-12-12 Thread Upendra Moturi
Thanks Fabian.

On Mon, Dec 12, 2011 at 8:42 PM, Fabian Wenk fab...@wenks.ch wrote:

 Hello Upendra


 On 12.12.2011 08:04, Upendra Moturi wrote:

 Is there any locking mechanism to lock vms ,so that there are no two vms
 using same hard disk


 Register the hard disk image in the image repository (with 'oneimage
 register ...') and then in the VM template use the registered image.


 bye
 Fabian
 __**_
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/**listinfo.cgi/users-opennebula.**orghttp://lists.opennebula.org/listinfo.cgi/users-opennebula.org




-- 
Thanks and Regards,
Upendra.M

*As a leading developer of IT infrastructure software solutions, Hexagrid
developed the first cloud
computinghttp://www.hexagrid.com/d/vxdatacenter.htmlplatform that
directly aligns with the real-world IT delivery models of
both solution providers and enterprises. Hexagrid provides all the software
and support that IT organizations need to successfully build public,
private, or hybrid clouds that fit their specific business and end-user
requirements. Hexagrid cloud solutions truly simplify and expedite virtual
IT management, empowering successful cloud computing strategies that
quickly increase profits by pooling resources, delivering control, and
building value. Our Software, Your Cloud.  For more information, visit
www.hexagrid.com and follow @Hexagrid on Twitter*
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] Virtual Machine Lock Manager

2011-12-11 Thread Upendra Moturi
Hi,
Is there any locking mechanism to lock vms ,so that there are no two vms
using same hard disk


-- 
Thanks and Regards,
Upendra.M
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [libvirt] implementing locking with libvirt on ubuntu

2011-12-04 Thread Upendra Moturi
How to install the Sanlock development package on ubuntu?
Or start virtlockd deamon on ubuntu.?

On Fri, Dec 2, 2011 at 12:53 PM, Michal Privoznik mpriv...@redhat.com wrote:
 On 02.12.2011 07:08, Upendra Moturi wrote:
 Hi
 I am trying to implement locking i,e two vms are not started with same
 disk on ubuntu.

 Using libvirt 0.9.7 (Installed it from source)
 qemu-kvm 0.14.1
 kernel 3.0.0-13-server

 Steps followed while installing from source
 cd libvirt-0.9.7
 ./configure

 At the end, configure script prints some information which features are
 to be build, what libraries were detected, or if we are building with or
 without sanlock support; So if you see 'sanlock: no' you are probably
 missing sanlock libraries. Moreover, --with-sanlock takes a path so
 sanlock sources as an argument too.

 Michal



-- 
Thanks and Regards,
Upendra.M

As a leading developer of IT infrastructure software solutions,
Hexagrid developed the first cloud computing platform that directly
aligns with the real-world IT delivery models of both solution
providers and enterprises. Hexagrid provides all the software and
support that IT organizations need to successfully build public,
private, or hybrid clouds that fit their specific business and
end-user requirements. Hexagrid cloud solutions truly simplify and
expedite virtual IT management, empowering successful cloud computing
strategies that quickly increase profits by pooling resources,
delivering control, and building value. Our Software, Your Cloud.  For
more information, visit www.hexagrid.com and follow @Hexagrid on
Twitter

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list


[libvirt] implementing locking with libvirt on ubuntu

2011-12-01 Thread Upendra Moturi
Hi
I am trying to implement locking i,e two vms are not started with same
disk on ubuntu.

Using libvirt 0.9.7 (Installed it from source)
qemu-kvm 0.14.1
kernel 3.0.0-13-server

Steps followed while installing from source
cd libvirt-0.9.7
./configure
make
make install

I found that sanlock or virtlockd (fcntl) daemons can do that,but not
able implement it.
I dont find virtlockd daemon running.

From below link
http://www.redhat.com/archives/libvir-list/2011-July/msg00337.html

it is said to create lockd directory under /var/lib/libvirt
I dont find this directory after installation from source

Am i missing something ?
Please guide me in implementing locking on ubuntu.


-- 
Thanks and Regards,
Upendra.M

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list


[libvirt-users] need help with sanlock plugin

2011-11-30 Thread Upendra Moturi
Hi

I am working with libvirt on ubuntu.
I would like have sanlock feature with ubuntu.

Can you please guide me on how to.

-- 
Thanks and Regards,
Upendra.M

*As a leading developer of IT infrastructure software solutions, Hexagrid
developed the first cloud
computinghttp://www.hexagrid.com/d/vxdatacenter.htmlplatform that
directly aligns with the real-world IT delivery models of
both solution providers and enterprises. Hexagrid provides all the software
and support that IT organizations need to successfully build public,
private, or hybrid clouds that fit their specific business and end-user
requirements. Hexagrid cloud solutions truly simplify and expedite virtual
IT management, empowering successful cloud computing strategies that
quickly increase profits by pooling resources, delivering control, and
building value. Our Software, Your Cloud.  For more information, visit
www.hexagrid.com and follow @Hexagrid on Twitter*
___
libvirt-users mailing list
libvirt-users@redhat.com
https://www.redhat.com/mailman/listinfo/libvirt-users

Re: [libvirt] problem with outbound limiting

2011-08-11 Thread Upendra Moturi
Thanks for your reply.

The patch it appears still has problem.
I have changed only mtu value as 2kb instead of burst value in the
network.c file

With average as 2048 , burst as 2048 and peak 2048
scp copied at 30-40KB/s

With average as 4096 , burst as 4096 and peak 4096
scp copied at same 30-40KB/s

where as earlier it was 1 MB/s.(without patch)

On Wed, Aug 10, 2011 at 9:16 PM, Stefan Berger
stef...@linux.vnet.ibm.com wrote:
 On 08/10/2011 11:20 AM, Eric Blake wrote:

 On 08/10/2011 09:04 AM, Stefan Berger wrote:

 On 08/10/2011 02:55 AM, Upendra Moturi wrote:

 Hi,

 does this patch solve your problem? I am setting the MTU to fixed 2kb.
 Doing tests with scp seems to indicate that this improved the situation
 -- at least for me.

 Stefan

 Signed-off-by: Stefan Berger stef...@linux.vnet.ibm.com

 ---
 src/util/network.c | 16 
 1 file changed, 8 insertions(+), 8 deletions(-)

 Index: libvirt-acl/src/util/network.c
 ===
 --- libvirt-acl.orig/src/util/network.c
 +++ libvirt-acl/src/util/network.c
 @@ -1156,8 +1156,8 @@ virBandwidthEnable(virBandwidthPtr bandw

 virCommandFree(cmd);
 cmd = virCommandNew(TC);
 - virCommandAddArgList(cmd,class, add, dev, iface, parent,
 - 1:, classid, 1:1, htb, NULL);
 + virCommandAddArgList(cmd,class, add, dev, iface, parent,
 + 1:, classid, 1:1, htb, NULL);
 virCommandAddArgList(cmd, rate, average, NULL);

 This hunk was just indentation; you should push the whitespace changes as
 a separate commit (and can push that now, under the trivial rule, without
 needing further review).  [It doesn't help matters that thunderbird botched
 the whitespace in my reply]

 @@ -1202,7 +1202,7 @@ virBandwidthEnable(virBandwidthPtr bandw
 virCommandAddArgList(cmd, filter, add, dev, iface, parent,
 :, protocol, ip, u32, match, ip,
 src, 0.0.0.0/0, police, rate, average,
 - burst, burst, mtu, burst, drop, flowid,
 + burst, burst, mtu, 2kb, drop, flowid,
 :1, NULL);

 Here's the meat of the proposed patch.  Is 2kb always valid, or will we
 run into problems on NICs that insist on traditional limits near the 1518
 mark?  Should it be user-configurable?  I'm reluctant to ACK this without a
 bit more understanding of why 2kb works, as well as feedback on test results
 with the patch in place.

 Yes, I am not an exper on tc. I have seen examples with the mtu being set to
 '1' for dropping icmp traffic for example. So if a VM produces smaller than
 2kb packets, which on traditional networks it probably should, then the
 packets should go through. We could also leave out the mtu parameter above
 and it would go to 2kb by default. Check via

 tc filter show dev ifname root

 The 2kb parameter doesn't explain why 2MB doesn't work, though.
 Even if this wasn't the final fix, it at least 'improves the situation' (for
 me).

    Stefan






-- 
Thanks and Regards,
Upendra.M

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list


Re: [libvirt] problem with outbound limiting

2011-08-11 Thread Upendra Moturi
Thanks for your clarification.
I am using 2.6.38-8-server kernel.
Will test with 3.0.0 kernel


On Thu, Aug 11, 2011 at 7:18 PM, Stefan Berger
stef...@linux.vnet.ibm.com wrote:
 On 08/11/2011 09:39 AM, Stefan Berger wrote:

 On 08/11/2011 08:07 AM, Upendra Moturi wrote:

 Thanks for your reply.

 The patch it appears still has problem.
 I have changed only mtu value as 2kb instead of burst value in the
 network.c file

 With average as 2048 , burst as 2048 and peak 2048
 scp copied at 30-40KB/s

 All test I did were with the patch applied. I saw the throughput
 collapsing yesterday at 2Mb mtu.

 Let me clarify : Yesterday I saw the throughput collapse without the patch
 applied.

   Stefan


 I generated a file using

 dd if=/dev/urandom of=testfile bs=1024 count=409600

 I did the same test you did with 2048 without specifying a specific model
 of ethernet card and reach 1.9MB/s using scp'ing towards remote machine.
 When specifying model type='virtio'/ I also get 1.9MB/s as result.

 With average as 4096 , burst as 4096 and peak 4096
 scp copied at same 30-40KB/s

 With these numbers and using the virtio model I ended up getting a
 throughput of 3.8Mb/s.

 The host is a 3.0.0 Linux kernel. Here's the command line output of the tc
 command inspecting the tap interface of the VM (vnet0).

 # tc filter show dev vnet0 root
 filter parent : protocol ip pref 49152 u32
 filter parent : protocol ip pref 49152 u32 fh 800: ht divisor 1
 filter parent : protocol ip pref 49152 u32 fh 800::800 order 2048 key
 ht 800 bkt 0 flowid :1
  match / at 12
  police 0x5b rate 32768Kbit burst 4Mb mtu 2Kb action drop overhead 0b
 ref 1 bind 1


 Maybe someone else can verify as well.

   Stefan

 where as earlier it was 1 MB/s.(without patch)

 On Wed, Aug 10, 2011 at 9:16 PM, Stefan Berger
 stef...@linux.vnet.ibm.com  wrote:

 On 08/10/2011 11:20 AM, Eric Blake wrote:

 On 08/10/2011 09:04 AM, Stefan Berger wrote:

 On 08/10/2011 02:55 AM, Upendra Moturi wrote:

 Hi,

 does this patch solve your problem? I am setting the MTU to fixed 2kb.
 Doing tests with scp seems to indicate that this improved the
 situation
 -- at least for me.

 Stefan

 Signed-off-by: Stefan Bergerstef...@linux.vnet.ibm.com

 ---
 src/util/network.c | 16 
 1 file changed, 8 insertions(+), 8 deletions(-)

 Index: libvirt-acl/src/util/network.c
 ===
 --- libvirt-acl.orig/src/util/network.c
 +++ libvirt-acl/src/util/network.c
 @@ -1156,8 +1156,8 @@ virBandwidthEnable(virBandwidthPtr bandw

 virCommandFree(cmd);
 cmd = virCommandNew(TC);
 - virCommandAddArgList(cmd,class, add, dev, iface, parent,
 - 1:, classid, 1:1, htb, NULL);
 + virCommandAddArgList(cmd,class, add, dev, iface, parent,
 + 1:, classid, 1:1, htb, NULL);
 virCommandAddArgList(cmd, rate, average, NULL);

 This hunk was just indentation; you should push the whitespace changes
 as
 a separate commit (and can push that now, under the trivial rule,
 without
 needing further review).  [It doesn't help matters that thunderbird
 botched
 the whitespace in my reply]

 @@ -1202,7 +1202,7 @@ virBandwidthEnable(virBandwidthPtr bandw
 virCommandAddArgList(cmd, filter, add, dev, iface, parent,
 :, protocol, ip, u32, match, ip,
 src, 0.0.0.0/0, police, rate, average,
 - burst, burst, mtu, burst, drop, flowid,
 + burst, burst, mtu, 2kb, drop, flowid,
 :1, NULL);

 Here's the meat of the proposed patch.  Is 2kb always valid, or will we
 run into problems on NICs that insist on traditional limits near the
 1518
 mark?  Should it be user-configurable?  I'm reluctant to ACK this
 without a
 bit more understanding of why 2kb works, as well as feedback on test
 results
 with the patch in place.

 Yes, I am not an exper on tc. I have seen examples with the mtu being
 set to
 '1' for dropping icmp traffic for example. So if a VM produces smaller
 than
 2kb packets, which on traditional networks it probably should, then the
 packets should go through. We could also leave out the mtu parameter
 above
 and it would go to 2kb by default. Check via

 tc filter show devifname  root

 The 2kb parameter doesn't explain why 2MB doesn't work, though.
 Even if this wasn't the final fix, it at least 'improves the situation'
 (for
 me).

    Stefan






 --
 libvir-list mailing list
 libvir-list@redhat.com
 https://www.redhat.com/mailman/listinfo/libvir-list

 --
 libvir-list mailing list
 libvir-list@redhat.com
 https://www.redhat.com/mailman/listinfo/libvir-list




-- 
Thanks and Regards,
Upendra.M

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list


[libvirt] problem with outbound limiting

2011-08-10 Thread Upendra Moturi
Hi

I am using 0.9.4 version of libvirt and want to limit bandwidth.
I installed libvirt on ubuntu 11.04 using libvirt source.

For this i am using the QOS configuration

devices
interface type='network'
  source network='default'/
  target dev='vnet0'/
  *bandwidth
inbound average='1000' peak='5000' burst='1024'/
outbound average='128' peak='256' burst='256'/
  /bandwidth*
/interface


Here the inbound limit is working properly but the outbound is limiting but
not with values which is give

Here are the scenarios i tested and the results

when i gave average as 2048 --- it is limiting with 600 -- 700 kb

average   result
=
2048   (2mpbs)  600-700 kb
4096   (4mbps)  1 MB/s
10240 (10mbps)2-3 MB/s
12288 (12 mbps)   3-4 MB/s
20480 (20 mbps)   16-18 MB/s

Is this the expected behavior or some thing is missing
If this is the expected behavior ,then in what ratio it is limiting.

Please help me
Thanks in advance.

-- 
Thanks and Regards,
Upendra.M
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

Re: [libvirt] problem with outbound limiting

2011-08-10 Thread Upendra Moturi
small correction
it is not mbps ,it is MBps

On Wed, Aug 10, 2011 at 12:06 PM, Upendra Moturi upendr...@hexagrid.comwrote:

 Hi

 I am using 0.9.4 version of libvirt and want to limit bandwidth.
 I installed libvirt on ubuntu 11.04 using libvirt source.

 For this i am using the QOS configuration

 devices
 interface type='network'

   source network='default'/
   target dev='vnet0'/
   *bandwidth
 inbound average='1000' peak='5000' burst='1024'/
 outbound average='128' peak='256' burst='256'/

   /bandwidth*
 /interface


 Here the inbound limit is working properly but the outbound is limiting but
 not with values which is give

 Here are the scenarios i tested and the results

 when i gave average as 2048 --- it is limiting with 600 -- 700 kb

 average   result
 =
 2048   (2mpbs)  600-700 kb
 4096   (4mbps)  1 MB/s
 10240 (10mbps)2-3 MB/s
 12288 (12 mbps)   3-4 MB/s
 20480 (20 mbps)   16-18 MB/s

 Is this the expected behavior or some thing is missing
 If this is the expected behavior ,then in what ratio it is limiting.

 Please help me
 Thanks in advance.

 --
 Thanks and Regards,
 Upendra.M




-- 
Thanks and Regards,
Upendra.M
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

[Lustre-discuss] issue building module with ubuntu natty(kernel 2.6.38.8)

2011-04-04 Thread Upendra Moturi
Hi,
I am trying to build client on ubuntu natty and facing files missing errors.
eg: autoconf.h
Trying with lustre 1.8.3 which comes with ubuntu natty.

Please help me in building lustre module on ubuntu natty.


-- 
Thanks and Regards,
Upendra.M
___
Lustre-discuss mailing list
Lustre-discuss@lists.lustre.org
http://lists.lustre.org/mailman/listinfo/lustre-discuss


Fwd: Monitoring osd

2011-03-22 Thread Upendra Moturi
Hi
How to monitor osds or mds failures to take necessary actions?

--
Thanks and Regards,
Upendra.M
--
To unsubscribe from this list: send the line unsubscribe ceph-devel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: Issue with replication level.

2011-03-09 Thread Upendra Moturi
Thank you Brian Chrisman and Gregory Farnum for help.
I understood the concept and able to figure out and fix it by
separating journal from data volume.(having a separate partition for
journal)

On Tue, Mar 8, 2011 at 11:49 PM, Gregory Farnum
gregory.far...@dreamhost.com wrote:
 On Tuesday, March 8, 2011 at 10:09 AM, Brian Chrisman wrote:
 Just making sure I'm interpreting this right.
 At steady state (data_size  journal_size), total space usage for 2x
 replication should be 2 * data_size + journal_size?
 If you have (data_size  journal_size) and journal is on a file rather
 than on a partition, then btrfs will report 4x data size.

 Steady state should be 2 * data_size + journal_size*num_osds -- assuming all 
 your OSDs have the same size journal, anyway! :)
 I'm not sure how the journal grows as a file before it reaches maximum size 
 -- either it starts out as max size (same formula as above), or else it grows 
 as data is written in, yielding for (data_size  journal_size) used_size = 
 data_size * 4.

 Though this obscures the impact of, eg, the metadata -- which will get 
 written to both the MDS journal (stored on OSDs) and to the inodes (in the 
 metadata pool, on OSDs).
 -Greg







-- 
Thanks and Regards,
Upendra.M
--
To unsubscribe from this list: send the line unsubscribe ceph-devel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: problem with ceph init scripts

2011-03-02 Thread Upendra Moturi
I was on the same node as osd0 ,but still it did not work.
When i see /etc/init.d/ceph file,it is not even going into that start case


On Tue, Mar 1, 2011 at 11:04 PM, Colin McCabe cmcc...@alumni.cmu.edu wrote:
 Hi Upendra,

 You should be on the same node as osd0 in order to start osd0.

 There is that wacky -a option, at least until we decide to remove it.
 But my advice is not to use that. Set up something like dsh.

 cheers,
 Colin


 On Tue, Mar 1, 2011 at 3:55 AM, Upendra Moturi upendr...@hexagrid.com wrote:
 Hi Colin

 Creating /var/run/ceph directory on every node has made it
 working.(/etc/init.d/ceph -a stop)
 But /etc/init.d/ceph start osd0  still does not work

 /etc/init.d/ceph -v start osd0
 Gives output as
 /usr/bin/cconf -c /etc/ceph/ceph.conf -i 0 -t osd  auto start 
 /usr/bin/cconf -c /etc/ceph/ceph.conf -i 0 -t osd  user 

 I have tried this on same node where osd0 is present

 Had a look at /etc/init.d/ceph and it does not enter the case start.


 On Mon, Feb 28, 2011 at 10:27 PM, Colin McCabe cmcc...@alumni.cmu.edu 
 wrote:
 On Mon, Feb 28, 2011 at 4:00 AM, Upendra Moturi upendr...@hexagrid.com 
 wrote:
 Hi Colin

 /var/run/ceph exist on only one node(the node on which i start the
 cluster with -a)

 Without /var/run/ceph/pid, the init script will not know which pid to
 kill. So it will do nothing.

 Try creating /var/run/ceph and other appropriate directories on all
 nodes before starting the cluster.

 Colin



 On Sat, Feb 26, 2011 at 5:58 AM, Colin McCabe cmcc...@alumni.cmu.edu 
 wrote:
 Hi Upendra,

 Based on the output you posted, init-ceph is doing something on every
 node. However, I only see a kill for certain nodes.

 Does /var/run/ceph/ exist on all nodes, or just some of them? Does the
 appropriate pid file exist on all nodes? What happens when you ssh in
 to those nodes manually and run init-ceph stop?

 Colin


 On Fri, Feb 18, 2011 at 6:11 AM, Upendra Moturi upendr...@hexagrid.com 
 wrote:
 Hi Colin

 I am using the ubuntu 11.04 (32 bit) and got the ceph package from 
 apt-get
 i am using the default init script.(Found at /etc/init.d/ceph)

 Regarding issue 1)

 On the osd node I tried to start that osd but it did not work
 Steps followed

 1) Started 3 nodes(ceph.conf is same as i sent earlier)

 2)  mkcephfs -c /etc/ceph/ceph.conf -a --mkbtrfs -k /etc/ceph/keyring.bin

 3)/etc/init.d/ceph start osd0  (Did this on first osd)

 4) ps -ef | grep ceph  or ps -ef | grep cosd  does not show any 
 process

 5)/etc/init.d/ceph  -a start  shows all process on all nodes

 Regading Issue 2
 It says -x option is not available

 Tried /etc/init.d/ceph -ax stop and /etc/init.d/ceph -x stop and even
 tried  /etc/init.d/ceph -x -a stop
 but nothing worked.

 Then tried with /etc/init.d/ceph -a -v stop this also did not stop
 ceph on all nodes but got the output as

 /usr/bin/cconf -c /etc/ceph/ceph.conf -i 0 -t mon  auto start 
 /usr/bin/cconf -c /etc/ceph/ceph.conf -i 0 -t mon  user 
 /usr/bin/cconf -c /etc/ceph/ceph.conf -i 0 -t mon  ssh path /etc/ceph
 === mon.0 ===
 /usr/bin/cconf -c /etc/ceph/ceph.conf -i 0 -t mon  pid file
 /var/run/ceph/mon.0.pid
 /usr/bin/cconf -c /etc/ceph/ceph.conf -i 0 -t mon  log dir 
 /var/log/ceph
 /usr/bin/cconf -c /etc/ceph/ceph.conf -i 0 -t mon  log sym dir 
 --- ssh ceph0  cd /etc/ceph ; ulimit -c unlimited ; mkdir -p 
 /var/log/ceph
 /usr/bin/cconf -c /etc/ceph/ceph.conf -i 0 -t mon  lock file
 /var/lock/subsys/ceph
 /usr/bin/cconf -c /etc/ceph/ceph.conf -i 0 -t mon  pre stop command 
 /usr/bin/cconf -c /etc/ceph/ceph.conf -i 0 -t mon  post stop command 
 Stopping Ceph mon.0 on ceph0...--- ssh ceph0  cd /etc/ceph ; ulimit
 -c unlimited ; while [ 1 ]; do
        [ -e /var/run/ceph/mon.0.pid ] || break
        pid=`cat /var/run/ceph/mon.0.pid`
        while [ -e /proc/$pid ]  grep -q cmon /proc/$pid/cmdline ; do
            cmd=kill  $pid
            echo -n $cmd...
            $cmd
            sleep 1
            continue
        done
        break
    done
 kill 1668...done
 /usr/bin/cconf -c /etc/ceph/ceph.conf -i 1 -t mon  auto start 
 /usr/bin/cconf -c /etc/ceph/ceph.conf -i 1 -t mon  user 
 /usr/bin/cconf -c /etc/ceph/ceph.conf -i 1 -t mon  ssh path /etc/ceph
 === mon.1 ===
 /usr/bin/cconf -c /etc/ceph/ceph.conf -i 1 -t mon  pid file
 /var/run/ceph/mon.1.pid
 /usr/bin/cconf -c /etc/ceph/ceph.conf -i 1 -t mon  log dir 
 /var/log/ceph
 /usr/bin/cconf -c /etc/ceph/ceph.conf -i 1 -t mon  log sym dir 
 --- ssh ceph1  cd /etc/ceph ; ulimit -c unlimited ; mkdir -p 
 /var/log/ceph
 /usr/bin/cconf -c /etc/ceph/ceph.conf -i 1 -t mon  lock file
 /var/lock/subsys/ceph
 /usr/bin/cconf -c /etc/ceph/ceph.conf -i 1 -t mon  pre stop command 
 /usr/bin/cconf -c /etc/ceph/ceph.conf -i 1 -t mon  post stop command 
 Stopping Ceph mon.1 on ceph1...--- ssh ceph1  cd /etc/ceph ; ulimit
 -c unlimited ; while [ 1 ]; do
        [ -e /var/run/ceph/mon.1.pid ] || break
        pid=`cat /var/run/ceph/mon.1.pid`
        while [ -e /proc/$pid ]  grep -q cmon /proc

Re: problem with ceph init scripts

2011-02-28 Thread Upendra Moturi
Hi Colin

/var/run/ceph exist on only one node(the node on which i start the
cluster with -a)
But ceph is running on all nodes(checked with ps -ef)
When i ssh into nodes and try  to stop osd (/etc/init.d/ceph stop osd)
it does not work(this was my second issue)
But when i stop /etc/init.d/ceph -a stop ,it stops ceph of that node.


On Sat, Feb 26, 2011 at 5:58 AM, Colin McCabe cmcc...@alumni.cmu.edu wrote:
 Hi Upendra,

 Based on the output you posted, init-ceph is doing something on every
 node. However, I only see a kill for certain nodes.

 Does /var/run/ceph/ exist on all nodes, or just some of them? Does the
 appropriate pid file exist on all nodes? What happens when you ssh in
 to those nodes manually and run init-ceph stop?

 Colin


 On Fri, Feb 18, 2011 at 6:11 AM, Upendra Moturi upendr...@hexagrid.com 
 wrote:
 Hi Colin

 I am using the ubuntu 11.04 (32 bit) and got the ceph package from apt-get
 i am using the default init script.(Found at /etc/init.d/ceph)

 Regarding issue 1)

 On the osd node I tried to start that osd but it did not work
 Steps followed

 1) Started 3 nodes(ceph.conf is same as i sent earlier)

 2)  mkcephfs -c /etc/ceph/ceph.conf -a --mkbtrfs -k /etc/ceph/keyring.bin

 3)/etc/init.d/ceph start osd0  (Did this on first osd)

 4) ps -ef | grep ceph  or ps -ef | grep cosd  does not show any process

 5)/etc/init.d/ceph  -a start  shows all process on all nodes

 Regading Issue 2
 It says -x option is not available

 Tried /etc/init.d/ceph -ax stop and /etc/init.d/ceph -x stop and even
 tried  /etc/init.d/ceph -x -a stop
 but nothing worked.

 Then tried with /etc/init.d/ceph -a -v stop this also did not stop
 ceph on all nodes but got the output as

 /usr/bin/cconf -c /etc/ceph/ceph.conf -i 0 -t mon  auto start 
 /usr/bin/cconf -c /etc/ceph/ceph.conf -i 0 -t mon  user 
 /usr/bin/cconf -c /etc/ceph/ceph.conf -i 0 -t mon  ssh path /etc/ceph
 === mon.0 ===
 /usr/bin/cconf -c /etc/ceph/ceph.conf -i 0 -t mon  pid file
 /var/run/ceph/mon.0.pid
 /usr/bin/cconf -c /etc/ceph/ceph.conf -i 0 -t mon  log dir /var/log/ceph
 /usr/bin/cconf -c /etc/ceph/ceph.conf -i 0 -t mon  log sym dir 
 --- ssh ceph0  cd /etc/ceph ; ulimit -c unlimited ; mkdir -p /var/log/ceph
 /usr/bin/cconf -c /etc/ceph/ceph.conf -i 0 -t mon  lock file
 /var/lock/subsys/ceph
 /usr/bin/cconf -c /etc/ceph/ceph.conf -i 0 -t mon  pre stop command 
 /usr/bin/cconf -c /etc/ceph/ceph.conf -i 0 -t mon  post stop command 
 Stopping Ceph mon.0 on ceph0...--- ssh ceph0  cd /etc/ceph ; ulimit
 -c unlimited ; while [ 1 ]; do
        [ -e /var/run/ceph/mon.0.pid ] || break
        pid=`cat /var/run/ceph/mon.0.pid`
        while [ -e /proc/$pid ]  grep -q cmon /proc/$pid/cmdline ; do
            cmd=kill  $pid
            echo -n $cmd...
            $cmd
            sleep 1
            continue
        done
        break
    done
 kill 1668...done
 /usr/bin/cconf -c /etc/ceph/ceph.conf -i 1 -t mon  auto start 
 /usr/bin/cconf -c /etc/ceph/ceph.conf -i 1 -t mon  user 
 /usr/bin/cconf -c /etc/ceph/ceph.conf -i 1 -t mon  ssh path /etc/ceph
 === mon.1 ===
 /usr/bin/cconf -c /etc/ceph/ceph.conf -i 1 -t mon  pid file
 /var/run/ceph/mon.1.pid
 /usr/bin/cconf -c /etc/ceph/ceph.conf -i 1 -t mon  log dir /var/log/ceph
 /usr/bin/cconf -c /etc/ceph/ceph.conf -i 1 -t mon  log sym dir 
 --- ssh ceph1  cd /etc/ceph ; ulimit -c unlimited ; mkdir -p /var/log/ceph
 /usr/bin/cconf -c /etc/ceph/ceph.conf -i 1 -t mon  lock file
 /var/lock/subsys/ceph
 /usr/bin/cconf -c /etc/ceph/ceph.conf -i 1 -t mon  pre stop command 
 /usr/bin/cconf -c /etc/ceph/ceph.conf -i 1 -t mon  post stop command 
 Stopping Ceph mon.1 on ceph1...--- ssh ceph1  cd /etc/ceph ; ulimit
 -c unlimited ; while [ 1 ]; do
        [ -e /var/run/ceph/mon.1.pid ] || break
        pid=`cat /var/run/ceph/mon.1.pid`
        while [ -e /proc/$pid ]  grep -q cmon /proc/$pid/cmdline ; do
            cmd=kill  $pid
            echo -n $cmd...
            $cmd
            sleep 1
            continue
        done
        break
    done
 done
 /usr/bin/cconf -c /etc/ceph/ceph.conf -i 2 -t mon  auto start 
 /usr/bin/cconf -c /etc/ceph/ceph.conf -i 2 -t mon  user 
 /usr/bin/cconf -c /etc/ceph/ceph.conf -i 2 -t mon  ssh path /etc/ceph
 === mon.2 ===
 /usr/bin/cconf -c /etc/ceph/ceph.conf -i 2 -t mon  pid file
 /var/run/ceph/mon.2.pid
 /usr/bin/cconf -c /etc/ceph/ceph.conf -i 2 -t mon  log dir /var/log/ceph
 /usr/bin/cconf -c /etc/ceph/ceph.conf -i 2 -t mon  log sym dir 
 --- ssh ceph2  cd /etc/ceph ; ulimit -c unlimited ; mkdir -p /var/log/ceph
 /usr/bin/cconf -c /etc/ceph/ceph.conf -i 2 -t mon  lock file
 /var/lock/subsys/ceph
 /usr/bin/cconf -c /etc/ceph/ceph.conf -i 2 -t mon  pre stop command 
 /usr/bin/cconf -c /etc/ceph/ceph.conf -i 2 -t mon  post stop command 
 Stopping Ceph mon.2 on ceph2...--- ssh ceph2  cd /etc/ceph ; ulimit
 -c unlimited ; while [ 1 ]; do
        [ -e /var/run/ceph/mon.2.pid ] || break
        pid=`cat /var/run/ceph/mon.2.pid`
        while [ -e /proc/$pid ]  grep -q

Re: problem with ceph init scripts

2011-02-18 Thread Upendra Moturi
/cconf -c /etc/ceph/ceph.conf -i 2 -t osd  log sym dir 
--- ssh ceph2  cd /etc/ceph ; ulimit -c unlimited ; mkdir -p /var/log/ceph
/usr/bin/cconf -c /etc/ceph/ceph.conf -i 2 -t osd  osd data 
/usr/bin/cconf -c /etc/ceph/ceph.conf -i 2 -t osd  btrfs path /data/osd2
/usr/bin/cconf -c /etc/ceph/ceph.conf -i 2 -t osd  btrfs devs 
/usr/bin/cconf -c /etc/ceph/ceph.conf -i 2 -t osd  lock file
/var/lock/subsys/ceph
/usr/bin/cconf -c /etc/ceph/ceph.conf -i 2 -t osd  pre stop command 
/usr/bin/cconf -c /etc/ceph/ceph.conf -i 2 -t osd  post stop command 
Stopping Ceph osd2 on ceph2...--- ssh ceph2  cd /etc/ceph ; ulimit -c
unlimited ; while [ 1 ]; do
[ -e /var/run/ceph/osd.2.pid ] || break
pid=`cat /var/run/ceph/osd.2.pid`
while [ -e /proc/$pid ]  grep -q cosd /proc/$pid/cmdline ; do
cmd=kill  $pid
echo -n $cmd...
$cmd
sleep 1
continue
done
break
done
done
Unmounting Btrfs on ceph2:/data/osd2
--- ssh root@ceph2  cd /etc/ceph ; ulimit -c unlimited ; umount
/data/osd2 || true
umount: /data/osd2: device is busy.
(In some cases useful info about processes that use
 the device is found by lsof(8) or fuser(1))




On Fri, Feb 18, 2011 at 12:35 PM, Colin McCabe cmcc...@alumni.cmu.edu wrote:
 Hi Upendra,

 Are you running init-ceph from the source directory? If you do that,
 it will use the ceph.conf in the source directory itself, which is
 probably not what you want. So it might be good to double-check that.

 If all else fails, running init-ceph with -x will show you exactly
 what the script is doing. If all goes well, its exit status should be
 0. Are you getting exit status 0?

 Colin


 On Thu, Feb 17, 2011 at 1:55 AM, Upendra Moturi upendr...@hexagrid.com 
 wrote:
 Hi Colin

 Here is my ceph.conf :

 [global]
       pid file = /var/run/ceph/$name.pid
       debug ms = 1
 [mon]
        mon data = /data/mon$id
 [mon.0]
        host = ceph0
        mon addr = 192.168.155.5:6789
 [mon.1]
        host = ceph1
        mon addr = 192.168.155.6:6789
 [mon.2]
        host = ceph2
        mon addr = 192.168.155.7:6789
 [mds]

 [mds0]
        host = ceph0
 [mds1]
        host = ceph1

 [osd]
        sudo = true
        osd data = /data/osd$id
        osd journal = /data/osd$id/journal
        osd journal size = 512
        osd use stale snap = true
 [osd0]
        host = ceph0
        btrfs devs = /dev/sdb
 [osd1]
        host = ceph1
        btrfs devs = /dev/sdb
 [osd2]
        host = ceph2
        btrfs devs = /dev/sdb




 On Thu, Feb 17, 2011 at 1:06 PM, Colin McCabe cmcc...@alumni.cmu.edu wrote:
 I'm using head of line from the master branch. But that particular
 code hasn't changed since January, which is 0.24.2 is from.

 In my ceph.conf, I just had an osd that was on a remote machine, and
 everything else local.

 If you could post your ceph.conf here or in IRC, perhaps we might spot
 an issue that's causing the problems that you see.

 Colin


 On Wed, Feb 16, 2011 at 11:01 PM, Upendra Moturi upendr...@hexagrid.com 
 wrote:
 Hi Colin
 I am using
 ceph version 0.24.2 commit:f7572de5cb87eb7157217be4975ae66d90831bb7
 ubuntu 11.04 32 bit with upgraded kernal of 2.6.38-2-generic

 Installed ceph form apt source.

 With above configurations i still able yo reproduce.
 Can you please share me ur configurations?

 On Thu, Feb 17, 2011 at 3:31 AM, Colin McCabe cmcc...@alumni.cmu.edu 
 wrote:
 On Wed, Feb 16, 2011 at 1:41 PM, Colin McCabe cmcc...@alumni.cmu.edu 
 wrote:
 On Wed, Feb 16, 2011 at 6:44 AM, Upendra Moturi upendr...@hexagrid.com 
 wrote:
 But if we want to start a particular osd or mon or mds ,its not
 working and there is no error
 eg:/etc/init.d/ceph start osd1  does not start osd1 and don't get any 
 error

 That is expected, unless you are running init-ceph on the same node as
 osd1 is on.

 It might be nice to have some kind of interface like run command X on
 osd1, but init-ceph is not that.

 /etc/init.d/ceph -a stop also does not stop ceph on all nodes.It stops
 on current node only
 where as
 /etc/init.d/ceph -a killall works fine.

 That sounds like a bug. I'll see if I can fix it.

 I'm afraid I can't reproduce this.

 I ran /etc/init.d/ceph -a stop

 and it stopped ceph daemons running on remote nodes too. Looking at
 the code, it looks correct.

 Colin




 --
 Thanks and Regards,
 Upendra.M





 --
 Thanks and Regards,
 Upendra.M





-- 
Thanks and Regards,
Upendra.M
--
To unsubscribe from this list: send the line unsubscribe ceph-devel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: problem with ceph init scripts

2011-02-17 Thread Upendra Moturi
Hi Colin

Here is my ceph.conf :

[global]
   pid file = /var/run/ceph/$name.pid
   debug ms = 1
[mon]
mon data = /data/mon$id
[mon.0]
host = ceph0
mon addr = 192.168.155.5:6789
[mon.1]
host = ceph1
mon addr = 192.168.155.6:6789
[mon.2]
host = ceph2
mon addr = 192.168.155.7:6789
[mds]

[mds0]
host = ceph0
[mds1]
host = ceph1

[osd]
sudo = true
osd data = /data/osd$id
osd journal = /data/osd$id/journal
osd journal size = 512
osd use stale snap = true
[osd0]
host = ceph0
btrfs devs = /dev/sdb
[osd1]
host = ceph1
btrfs devs = /dev/sdb
[osd2]
host = ceph2
btrfs devs = /dev/sdb




On Thu, Feb 17, 2011 at 1:06 PM, Colin McCabe cmcc...@alumni.cmu.edu wrote:
 I'm using head of line from the master branch. But that particular
 code hasn't changed since January, which is 0.24.2 is from.

 In my ceph.conf, I just had an osd that was on a remote machine, and
 everything else local.

 If you could post your ceph.conf here or in IRC, perhaps we might spot
 an issue that's causing the problems that you see.

 Colin


 On Wed, Feb 16, 2011 at 11:01 PM, Upendra Moturi upendr...@hexagrid.com 
 wrote:
 Hi Colin
 I am using
 ceph version 0.24.2 commit:f7572de5cb87eb7157217be4975ae66d90831bb7
 ubuntu 11.04 32 bit with upgraded kernal of 2.6.38-2-generic

 Installed ceph form apt source.

 With above configurations i still able yo reproduce.
 Can you please share me ur configurations?

 On Thu, Feb 17, 2011 at 3:31 AM, Colin McCabe cmcc...@alumni.cmu.edu wrote:
 On Wed, Feb 16, 2011 at 1:41 PM, Colin McCabe cmcc...@alumni.cmu.edu 
 wrote:
 On Wed, Feb 16, 2011 at 6:44 AM, Upendra Moturi upendr...@hexagrid.com 
 wrote:
 But if we want to start a particular osd or mon or mds ,its not
 working and there is no error
 eg:/etc/init.d/ceph start osd1  does not start osd1 and don't get any 
 error

 That is expected, unless you are running init-ceph on the same node as
 osd1 is on.

 It might be nice to have some kind of interface like run command X on
 osd1, but init-ceph is not that.

 /etc/init.d/ceph -a stop also does not stop ceph on all nodes.It stops
 on current node only
 where as
 /etc/init.d/ceph -a killall works fine.

 That sounds like a bug. I'll see if I can fix it.

 I'm afraid I can't reproduce this.

 I ran /etc/init.d/ceph -a stop

 and it stopped ceph daemons running on remote nodes too. Looking at
 the code, it looks correct.

 Colin




 --
 Thanks and Regards,
 Upendra.M





-- 
Thanks and Regards,
Upendra.M
--
To unsubscribe from this list: send the line unsubscribe ceph-devel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


problem with ceph init scripts

2011-02-16 Thread Upendra Moturi
Hi,

With ceph 0.24.2 and linux 2.6.38-2-generic(ubuntu) ,i face problems
with ceph init scripts

/etc/init.d/ceph -a start   works fine
But if we want to start a particular osd or mon or mds ,its not
working and there is no error
eg:/etc/init.d/ceph start osd1  does not start osd1 and don't get any error

/etc/init.d/ceph -a stop also does not stop ceph on all nodes.It stops
on current node only
where as
/etc/init.d/ceph -a killall works fine.


--
Thanks and Regards,
Upendra.M
--
To unsubscribe from this list: send the line unsubscribe ceph-devel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: problem with ceph init scripts

2011-02-16 Thread Upendra Moturi
Hi Colin
I am using
ceph version 0.24.2 commit:f7572de5cb87eb7157217be4975ae66d90831bb7
ubuntu 11.04 32 bit with upgraded kernal of 2.6.38-2-generic

Installed ceph form apt source.

With above configurations i still able yo reproduce.
Can you please share me ur configurations?

On Thu, Feb 17, 2011 at 3:31 AM, Colin McCabe cmcc...@alumni.cmu.edu wrote:
 On Wed, Feb 16, 2011 at 1:41 PM, Colin McCabe cmcc...@alumni.cmu.edu wrote:
 On Wed, Feb 16, 2011 at 6:44 AM, Upendra Moturi upendr...@hexagrid.com 
 wrote:
 But if we want to start a particular osd or mon or mds ,its not
 working and there is no error
 eg:/etc/init.d/ceph start osd1  does not start osd1 and don't get any error

 That is expected, unless you are running init-ceph on the same node as
 osd1 is on.

 It might be nice to have some kind of interface like run command X on
 osd1, but init-ceph is not that.

 /etc/init.d/ceph -a stop also does not stop ceph on all nodes.It stops
 on current node only
 where as
 /etc/init.d/ceph -a killall works fine.

 That sounds like a bug. I'll see if I can fix it.

 I'm afraid I can't reproduce this.

 I ran /etc/init.d/ceph -a stop

 and it stopped ceph daemons running on remote nodes too. Looking at
 the code, it looks correct.

 Colin




-- 
Thanks and Regards,
Upendra.M
--
To unsubscribe from this list: send the line unsubscribe ceph-devel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [one-users] VM Templates

2010-11-18 Thread Upendra Moturi
Can you check libvirt logs of host.
Generally the below message comes when there is address already in use(vnc
port).
error: monitor socket did not show up.: Connection refused
If change the vncport and try.

On Thu, Nov 18, 2010 at 2:15 PM, Ruben Diez rd...@cesga.es wrote:

 Try to comment the GRAPHICS  stuff Do it works for this case??

 Regards

 Luca Lorenzini escribió:

 I've some problems to create the exact vm template for any distribution
 different from Ubuntu. I want to try OpenSuse for my vm's images but or i
 get status failed [1] o if I delete the  KERNEL variable in the template I
 get No bootable device. the image isnt corrupted, infact i can use it
 using kvm from console (kvm -hda /public/images/osuse.qcow2 -m 1024).
 Some suggestions?

 PS: It's possible to add in the website some tested and working templates?


 [1] ~~~ vm.log ~

 Wed Nov 17 17:29:15 2010 [VMM][I]: Generating deployment file:
 /var/lib/one/26/deployment.0
 Wed Nov 17 17:29:47 2010 [VMM][I]: Command execution fail:
 /tmp/one/vmm/kvm/deploy /var/lib/one//26/images/deployment.0
 Wed Nov 17 17:29:47 2010 [VMM][I]: STDERR follows.
 Wed Nov 17 17:29:47 2010 [VMM][I]: error: Failed to create domain from
 /var/lib/one//26/images/deployment.0
 Wed Nov 17 17:29:47 2010 [VMM][I]: error: monitor socket did not show up.:
 Connection refused
 Wed Nov 17 17:29:47 2010 [VMM][I]: ExitCode: 255
 Wed Nov 17 17:29:47 2010 [VMM][E]: Error deploying virtual machine
 Wed Nov 17 17:29:48 2010 [DiM][I]: New VM state is FAILED

 ~~~ vm template ~

 NAME   = osuse test
 MEMORY =1024
 CPU=1

 OS = [
BOOT=hd,
KERNEL=/vmlinuz, # i made a link on / pointing at
 /boot/kernel-file
INITRD=/initrd, #i made a link on / pointing at
 /boot/initrd-image-file
ROOT=sda2 #mount execution on the vm states  /dev/sda2 on / type
 ext4
 ]

 DISK = [
SOURCE = /public/images/osuse.qcow2,
TARGET = sda,
CLONE = no,
SAVE = no,
   DRIVER = qcow2
 ]


 INPUT = [ type = tablet, bus = usb ]
 GRAPHICS = [TYPE = vnc, LISTEN = localhost]

 FEATURES=[ acpi=no ]


 ~~~ generated deployment ~


 domain type='kvm'
nameone-26/name
memory524288/memory
os
typehvm/type
kernel/vmlinuz/kernel
initrd/initrd/initrd
cmdlineroot=/dev/sda2 /cmdline
boot dev='hd'/
/os
devices
emulator/usr/bin/kvm/emulator
disk type='file' device='disk'
source file='/var/lib/one//26/images/disk.0'/
target dev='sda'/
/disk
graphics type='vnc' listen='localhost' port='5926' /
input type='tablet' bus='usb'/
/devices
 /domain

 

 ___
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org



 ___
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org




-- 
Thanks and Regards,
Upendra.M
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


spring with aop problem

2008-02-16 Thread Upendra Moturi
Hi all,

when i am configuring spring and axis2 with aop iam getting the following
error.

org.apache.axis2.deployment.DeploymentException: The following error
occurred during schema generation: Unable to load bytecode for class $Proxy0
at org.apache.axis2.deployment.ServiceGroupBuilder.populateServiceGroup(
ServiceGroupBuilder.java:106)
at
org.apache.axis2.deployment.repository.util.ArchiveReader.buildServiceGroup(
ArchiveReader.java:103)
at
org.apache.axis2.deployment.repository.util.ArchiveReader.processServiceGroup
(ArchiveReader.java:172)
at org.apache.axis2.deployment.ServiceDeployer.deploy(
ServiceDeployer.java:78)
at org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy
(DeploymentFileData.java:137)
at org.apache.axis2.deployment.DeploymentEngine.doDeploy(
DeploymentEngine.java:571)
at org.apache.axis2.deployment.repository.util.WSInfoList.update(
WSInfoList.java:141)
at org.apache.axis2.deployment.RepositoryListener.update(
RepositoryListener.java:318)
at org.apache.axis2.deployment.RepositoryListener.checkServices(
RepositoryListener.java:220)
at org.apache.axis2.deployment.DeploymentEngine.loadServices(
DeploymentEngine.java:118)
at org.apache.axis2.deployment.WarBasedAxisConfigurator.loadServices(
WarBasedAxisConfigurator.java:272)
at
org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext
(ConfigurationContextFactory.java:78)
at org.apache.axis2.transport.http.AxisServlet.initConfigContext(
AxisServlet.java:500)
at org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java
:420)
at org.apache.catalina.core.StandardWrapper.loadServlet(
StandardWrapper.java:1091)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java
:925)
at org.apache.catalina.core.StandardContext.loadOnStartup(
StandardContext.java:3857)
at org.apache.catalina.core.StandardContext.start(StandardContext.java
:4118)
at org.apache.catalina.core.ContainerBase.addChildInternal(
ContainerBase.java:759)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java
:739)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
at org.apache.catalina.startup.HostConfig.deployDirectory(
HostConfig.java:894)
at org.apache.catalina.startup.HostConfig.deployDirectories(
HostConfig.java:857)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java
:475)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1102)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java
:311)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(
LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1020)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java
:442)
at org.apache.catalina.core.StandardService.start(StandardService.java
:450)
at org.apache.catalina.core.StandardServer.start(StandardServer.java
:683)
at org.apache.catalina.startup.Catalina.start(Catalina.java:537)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:271)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409)


I am able to run the application without aop defined in
applicationcontext.xml

Please say me what i am missing

Thanks in advance


Thanks and regards,
Upendra


Re: [Deploy in JBOSS] Address already in use Exception

2007-11-14 Thread Upendra Moturi
On 11/14/07, Glen Mazza [EMAIL PROTECTED] wrote:

 I don't think you mean a tcp/ip port, but if you do, normally the Linux
 command fuser -k 8080/tcp will kill any servlet container's lock on that
 port (that occasionally happens with me on Tomcat, so I have to do that,
 and then restart Tomcat.)

 But your question seems better suited for the JBoss forums, and more
 detective work on your part would help as well. Does this same problem
 occur if are deploying any WAR file, say a simple web application
 without CXF?  If so, CXF has nothing to do with the problem.

 Also, I would check to see if the deploy/undeploy works with Tomcat with
 your war file--if you can get it working with Tomcat but not JBoss that
 also helps point to JBoss being the problem (instead of any code in your
 WAR file).

 HTH,
 Glen


 Am Mittwoch, den 14.11.2007, 16:31 +0300 schrieb Eman Ali al-Maktari [IT
 Department]:
  Hi all,
  I'm a newbie to CXF and web services in general...
  The thing is that I created a service and a client with CXF and deployed
 them in JBoss, both of the service and client are working fine except that
 when I re-deploy the service to JBoss I get a Address already in use
 Exception.
  It looks that JBoss opens a port when I publish the service endpoint,
 and doesn't close it when I un-deploy the service war file.
  I tried to use the stop() method to un-publish the end point -I called
 the method in the destroy() method of the listening Servlet- but it didn't
 work
 
  I don't know what to do!! the documentation of CXF is very lacks!!
 
  Any help is very appreciated
 



Hi,
I have been working with jboss but a newbie to CFX.Check which port is
already in use,you can find the ports which are used in jboss in conf
directory of jboss, so that you can find where the problem is.

Upendra.


Re: Say hi from ApacheCon

2007-11-11 Thread Upendra Moturi
Hi ,
 I did not get u.f2f talk means?

Upendra

On 11/12/07, Jiang, Ning (Willem) [EMAIL PROTECTED] wrote:

 Hi,

 I am in Westin Peachtree Plaza and looking forward to having the f2f talk
 with you :)

 Willem