Just noticed this e-mail.
I guess my new Ubuntu KVM host worked because it never had the old file.
On Wed, Oct 16, 2013 at 5:49 PM, Marcus Sorensen wrote:
> java.lang.UnsatisfiedLinkError: Can't obtain updateLastError method
> for class com.sun.jna.Native
>
> fixed by:
>
> rm /usr/lib/jni/libjn
I wonder if that's still the case (this e-mail was from two weeks ago)?
When I rebuilt my Ubuntu KVM host from scratch, everything seemed to work.
I'm not sure why I was getting those JNA issues with my old Ubuntu KVM
install.
On Wed, Oct 16, 2013 at 5:16 PM, Marcus Sorensen wrote:
> Yeah, mas
java.lang.UnsatisfiedLinkError: Can't obtain updateLastError method
for class com.sun.jna.Native
fixed by:
rm /usr/lib/jni/libjnidispatch.so
In a nutshell we need to purge libjna-java prior to upgrade to the
master code. We will want to be sure to test upgrades...
On Wed, Oct 16, 2013 at 5:16
Yeah, master is really a bummer right now with the JNA issues.
On Sun, Sep 29, 2013 at 12:13 PM, Mike Tutkowski
wrote:
> Some progress (I think).
>
> Now I get this error message instead:
>
> log4j:WARN No appenders could be found for logger
> (org.apache.commons.httpclient.params.DefaultHttpPara
Some progress (I think).
Now I get this error message instead:
log4j:WARN No appenders could be found for logger
(org.apache.commons.httpclient.params.DefaultHttpParams).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig f
On 09/29/2013 08:01 AM, Wei ZHOU wrote:
try backup and remove the jna.jar in /usr/share/java
I fixed the init scripts, it was still including the old JNA in the
classpath:
https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=commit;h=e6fd794ca0b10a00f3fc93e5f3e81ab342f5b860
That sh
try backup and remove the jna.jar in /usr/share/java
2013/9/29, Mike Tutkowski :
> Hi Wei,
>
> So, re-installing cloudstack-common allowed cloudstack-agent to install
> successfuly. Thanks
>
> I'm still having what appears to be Libvirt-related issues on Ubuntu 12.04
> with master.
>
> Any thought
Hi Wei,
So, re-installing cloudstack-common allowed cloudstack-agent to install
successfuly. Thanks
I'm still having what appears to be Libvirt-related issues on Ubuntu 12.04
with master.
Any thoughts on this?
log4j:WARN No appenders could be found for logger
(org.apache.commons.httpclient.para
Looks like listNetworks() is called a couple times in
cloudstack-agent-upgrade:
if __name__ == '__main__':
netlib = networkConfig()
bridges = netlib.listNetworks()
bridges = filter(isOldStyleBridge, bridges)
for br in bridges:
enslavedDev = netlib.getEnslavedDev(br, 1)
if
Kind of made progress here. :) Looks like we have another problem. Is it
possible another item is missing from the scripts?
mtutkowski@ubuntu:~$ sudo apt-get install cloudstack-agent
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages
Great - thanks, Wei!
On Fri, Sep 27, 2013 at 2:34 AM, Wei ZHOU wrote:
> Mike,
> cloudstack-agent-upgrade is missing in cloudstack-agent installation.
> I added it in commit a6bfd9602129d8ae308ba58f36623c04826e15ca
>
> [root@weizhou-centos master(4.2)]# git show
> a6bfd9602129d8ae308ba58f36623c0
Mike,
cloudstack-agent-upgrade is missing in cloudstack-agent installation.
I added it in commit a6bfd9602129d8ae308ba58f36623c04826e15ca
[root@weizhou-centos master(4.2)]# git show
a6bfd9602129d8ae308ba58f36623c04826e15ca
commit a6bfd9602129d8ae308ba58f36623c04826e15ca
Author: Wei Zhou
Date: F
Thanks for investigating this!
Talk to you soon!
On Fri, Sep 27, 2013 at 12:54 AM, Wei ZHOU wrote:
> good night
>
>
> 2013/9/27 Mike Tutkowski
>
> > Sounds good
> >
> > Might have to get back to you tomorrow, though. I have to get up early.
> :)
> >
> >
> > On Fri, Sep 27, 2013 at 12:43 AM, W
good night
2013/9/27 Mike Tutkowski
> Sounds good
>
> Might have to get back to you tomorrow, though. I have to get up early. :)
>
>
> On Fri, Sep 27, 2013 at 12:43 AM, Wei ZHOU wrote:
>
> > ok. Thanks for your reply!
> > The last question, could you try to download the cloudstack-agent and
>
Sounds good
Might have to get back to you tomorrow, though. I have to get up early. :)
On Fri, Sep 27, 2013 at 12:43 AM, Wei ZHOU wrote:
> ok. Thanks for your reply!
> The last question, could you try to download the cloudstack-agent and
> cloudstack-common deb packages, and "dpkg -i" to insta
ok. Thanks for your reply!
The last question, could you try to download the cloudstack-agent and
cloudstack-common deb packages, and "dpkg -i" to install it?
I will test it on my local machine.
2013/9/27 Mike Tutkowski
> Before re-installing the DEBs I run the following:
>
> #sudo apt-get rem
Before re-installing the DEBs I run the following:
#sudo apt-get remove --purge cloudstack-agent
#sudo apt-get clean
Would that be sufficient with regards to what you were asking?
On Fri, Sep 27, 2013 at 12:36 AM, Wei ZHOU wrote:
> What if you apt-get remove and apt-get install again?
>
>
> 2
What if you apt-get remove and apt-get install again?
2013/9/27 Mike Tutkowski
> Yeah, I had cleaned, rebuilt the codebase, regenerated the DEBs, then
> apt-get update and apt-get install cloudstack-agent.
>
> I can try it again and see what happens. I thought I tried the process
> twice and go
Yeah, I had cleaned, rebuilt the codebase, regenerated the DEBs, then
apt-get update and apt-get install cloudstack-agent.
I can try it again and see what happens. I thought I tried the process
twice and got the same results.
I did a search for cloudstack-agent-upgrade on my file system and only
It is correct.
Have you re-created the cloudstack-agent deb files and uploaded to your
local apt repository?
2013/9/27 Mike Tutkowski
> Here you go:
>
> mtutkowski@ubuntu:~/cloudstack$ grep cloudstack-agent-upgrade debian/rules
> install -D agent/target/transformed/cloudstack-agent-upgrade
> $(
Here you go:
mtutkowski@ubuntu:~/cloudstack$ grep cloudstack-agent-upgrade debian/rules
install -D agent/target/transformed/cloudstack-agent-upgrade
$(DESTDIR)/usr/bin/cloudstack-agent-upgrade
On Fri, Sep 27, 2013 at 12:20 AM, Wei ZHOU wrote:
> Did you build the latest source?
> Could you past
Did you build the latest source?
Could you paste the result of the following command in your source
directory?
"grep cloudstack-agent-upgrade debian/rules"
It collects info like management server IP address, zone id, cluster id,
etc.
The problem appears to be we are trying to invoke a script that does not
exist when I'm doing a sudo apt-get install cloudstack-agent.
On Thu, Sep 26, 2013 at 10:48 PM, Wei ZHOU wrote:
> Mike,
> What happen if you ex
Mike,
What happen if you execute cloudstack-setup-agent?
2013/9/27 Mike Tutkowski
> Looks like the newly checked in code is looking for
> /usr/bin/cloudstack-agent-upgrade.
>
> I don't see that file in /usr/bin, however.
>
> I only see the following cloudstack* in /usr/bin:
>
> cloudstack-set-g
Looks like the newly checked in code is looking for
/usr/bin/cloudstack-agent-upgrade.
I don't see that file in /usr/bin, however.
I only see the following cloudstack* in /usr/bin:
cloudstack-set-guest-password
cloudstack-set-guest-sshkey
cloudstack-setup-agent
cloudstack-ssh
On Thu, Sep 26, 2
Looks like the new code references cloudstack-agent-upgrade.
I'm on Ubuntu 12.04, by the way.
/var/lib/dpkg/info/cloudstack-agent.postinst: line 39:
/usr/bin/cloudstack-agent-upgrade: No such file or directory
dpkg: error processing cloudstack-agent (--configure):
subprocess installed post-insta
OK, thanks!
On Thu, Sep 26, 2013 at 2:52 PM, Wei ZHOU wrote:
> Mike,
> Sorry my fault. already fixed by commit
> 522860c03de5d05126f92fc44b6e3f50ed8439f0
> Please pull the latest code.
>
>
> 2013/9/26 Mike Tutkowski
>
> > Any thoughts on this error message?
> >
> > I updated from master today,
Mike,
Sorry my fault. already fixed by commit
522860c03de5d05126f92fc44b6e3f50ed8439f0
Please pull the latest code.
2013/9/26 Mike Tutkowski
> Any thoughts on this error message?
>
> I updated from master today, cleaned, recompiled, then rebuilt and
> redeployed the DEBs.
>
> Thanks
>
> mtutkow
Any thoughts on this error message?
I updated from master today, cleaned, recompiled, then rebuilt and
redeployed the DEBs.
Thanks
mtutkowski@ubuntu:~$ sudo apt-get install cloudstack-agent
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW
Let me update and try again and see if that solves the problem.
I am probably a week behind on updating from master.
Thanks
On Wed, Sep 25, 2013 at 11:18 PM, Wei ZHOU wrote:
> Mike,
> Do you test the latest source code?
>
> Pointer.nativeValue is introduced in jna-3.2.6
>
> http://upstream-
Mike,
Do you test the latest source code?
Pointer.nativeValue is introduced in jna-3.2.6
http://upstream-tracker.org/java/compat_reports/jna/3.2.5_to_3.2.6/bin_compat_report.html
and Native.free is introduced in jna-3.3.0
http://upstream-tracker.org/java/compat_reports/jna/3.2.7_to_3.3.0/bin_co
Hi,
I've been having a difficult time getting the KVM agent on master to start
on Ubuntu 12.04.
The trouble seems to have begun after the Libvirt upgrade.
Any thoughts on this:
Thanks!
log4j:WARN No appenders could be found for logger
(org.apache.commons.httpclient.params.DefaultHttpParams).
l
Hi Wei,
Thank you for fix it!
2013/9/25 Wei ZHOU :
> fixed by commit 3dc4284
>
>
> commit 3dc4284a34a1c79970b30288c245a26e8425e811
> Author: Wei Zhou
> Date: Wed Sep 25 11:08:57 2013 +0200
> add missing jna-4.0.0.jar to cloudstack-agent library by changing scope
> from provided to default
fixed by commit 3dc4284
commit 3dc4284a34a1c79970b30288c245a26e8425e811
Author: Wei Zhou
Date: Wed Sep 25 11:08:57 2013 +0200
add missing jna-4.0.0.jar to cloudstack-agent library by changing scope
from provided to default runtime
diff --git a/plugins/hypervisors/kvm/pom.xml
b/plugins/hype
I tried both java 6 and java 7.
build and install successfully
agent can not restart.
I will try after jna.version change .
I checked libvirt 0.5.1 btw and it's Java 6 now:
wido@wido-desktop:~/Desktop/org/libvirt/jna$ javap -verbose SecretPointer
public class org.libvirt.jna.SecretPointer extends com.sun.jna.PointerType
minor version: 0
major version: 50
Constant pool:
Java 5 uses major version 49
Java 6 uses m
On 09/24/2013 11:39 PM, Yoshikazu Nojima wrote:
Hi,
libvirt-java 0.5.1 is released, and I tried to upgrade it to 0.5.1,
diff --git a/pom.xml b/pom.xml
index a8778f1..1c85bc4 100644
--- a/pom.xml
+++ b/pom.xml
@@ -81,7 +81,7 @@
0.9.8
0.10
build/replace.properties
-0.5.0
+
Sorry,
'with libvirt 0.5.1, I received following error:' I wrote in the last
mail is incorrect. It was with libvirt 0.5.0.
Wei,
I thought libvirt-java 0.5.1 fixed the java 1.6 compatibility problem.
http://www.libvirt.org/git/?p=libvirt-java.git;a=commit;h=5d84874d99ee399276873fb52625303ec3a3f39
java 7 is needed.
you can get the maven/java information by "mvn -v"
Hi,
libvirt-java 0.5.1 is released, and I tried to upgrade it to 0.5.1,
diff --git a/pom.xml b/pom.xml
index a8778f1..1c85bc4 100644
--- a/pom.xml
+++ b/pom.xml
@@ -81,7 +81,7 @@
0.9.8
0.10
build/replace.properties
-0.5.0
+0.5.1
0.1.3
target
1.0.10
--
1.8.3.ms
On 09/21/2013 09:38 AM, Hugo Trippaers wrote:
Ahh ok.
Any idea how long that is going to take? At the moment our automated build are
basically non functional as they all fail to build and thus also don't kickoff
the downstream builds like the noredist build. Can we revert to an older
versio
Ahh ok.
Any idea how long that is going to take? At the moment our automated build are
basically non functional as they all fail to build and thus also don't kickoff
the downstream builds like the noredist build. Can we revert to an older
version of libvirt in the meantime to work around this i
On 09/21/2013 09:15 AM, Hugo Trippaers wrote:
Hey Wido,
Did they publish the updated jar with the same version number? If that is the
case maven will not take care of it as by definition release artefacts will be
cached indefinitely and never be replaced. Only snapshot dependencies will be
Hey Wido,
Did they publish the updated jar with the same version number? If that is the
case maven will not take care of it as by definition release artefacts will be
cached indefinitely and never be replaced. Only snapshot dependencies will be
updated.
Cheers,
HUgo
On Sep 21, 2013, at 3:0
On 09/17/2013 08:35 PM, Mike Tutkowski wrote:
I'm not familiar with how we package these binding classes in CloudStack.
Is there a new JAR I need to download or source code?
Sorry, forgot this one! Nothing to do on your side. Maven will take care
of this.
The RPM and DEB packaging will a
I'm not familiar with how we package these binding classes in CloudStack.
Is there a new JAR I need to download or source code?
Thanks!
On Mon, Sep 16, 2013 at 2:19 PM, Wido den Hollander wrote:
>
>
> On 09/16/2013 07:46 PM, Min Chen wrote:
>
>> I got the following test failure in building ma
I got the following test failure in building master:
Running com.cloud.hypervisor.kvm.resource.LibvirtComputingResourceTest
Tests run: 3, Failures: 0, Errors: 2, Skipped: 1, Time elapsed: 0.059 sec
<<< FAILURE!
testCreateVMFromSpecLegacy(com.cloud.hypervisor.kvm.resource.LibvirtComputi
ngResourceT
On 09/16/2013 07:46 PM, Min Chen wrote:
I got the following test failure in building master:
Running com.cloud.hypervisor.kvm.resource.LibvirtComputingResourceTest
Tests run: 3, Failures: 0, Errors: 2, Skipped: 1, Time elapsed: 0.059 sec
<<< FAILURE!
testCreateVMFromSpecLegacy(com.cloud.hyperv
There are some minimum requirements in Libvirt for volblockresize if I
recall, but I think all of our platforms include it.
On Mon, Sep 16, 2013 at 5:28 AM, Wido den Hollander wrote:
> On 09/16/2013 12:51 PM, Wei ZHOU wrote:
>>
>> Thanks Wido.
>>
>> Do you know the minimal requirement of libvirt
On 09/16/2013 12:51 PM, Wei ZHOU wrote:
Thanks Wido.
Do you know the minimal requirement of libvirt if we use libvirt-java 0.5.0
?
There shouldn't be a difference in the required libvirt version. I
implemented a couple of methods in the bindings which were already in
libvirt for a long time
Great work Wido!
On Mon, Sep 16, 2013 at 12:51 PM, Wei ZHOU wrote:
> Thanks Wido.
>
> Do you know the minimal requirement of libvirt if we use libvirt-java 0.5.0
> ?
>
>
> 2013/9/16 Wido den Hollander
>
> > Hi,
> >
> > I worked with the RedHat guys last week to get libvirt-java 0.5.0
> release
Thanks Wido.
Do you know the minimal requirement of libvirt if we use libvirt-java 0.5.0
?
2013/9/16 Wido den Hollander
> Hi,
>
> I worked with the RedHat guys last week to get libvirt-java 0.5.0 released
> which has some nice new features for us:
>
> - Supports different XML on destination ho
Thanks Wido, for resize volume we can call libvirt api instead of script right.
http://libvirt.org/git/?p=libvirt-java.git;a=commit;h=cd00a4b8f25944f6fe2ce3ecb2ac00cbcad8db8d
Thanks
Rajesh Battala
-Original Message-
From: Wido den Hollander [mailto:w...@widodh.nl]
Sent: Monday, Septemb
53 matches
Mail list logo