Re: [Openstack] Devstack +XCP/XenServer Kernel Panic

2012-03-22 Thread Kieran Evans
Thanks for the help/advice all. I did have root squashing disabled, but 
something else must've been playing up. I did the build on another machine and 
it's working now. At least, the ALLINONE vm booted and prepare_guest.sh is 
running, so fingers crossed!

On one of the wiki pages, it says that an Openstack supplemental pack is in the 
works, would it be safe to assume this would be a production oriented pack, 
rather than the devstack style dev oriented setup?

/Kieran

On 22 Mar 2012, at 11:31, John Garbutt wrote:

 6.0.0 should work fine.
  
 I must have gained some weak mind reading powers, and I just wrote a few more 
 wiki pages.
  
 Here is the best place to start:
 http://wiki.openstack.org/XenServer
  
 I actually just added this wiki page (still a work in progress really):
 http://wiki.openstack.org/XenServer/PostInstall
  
 Hope that helps,
 John
  
 From: openstack-bounces+john.garbutt=eu.citrix@lists.launchpad.net 
 [mailto:openstack-bounces+john.garbutt=eu.citrix@lists.launchpad.net] On 
 Behalf OfKieran Evans
 Sent: 22 March 2012 9:49
 To: openstack@lists.launchpad.net
 Subject: Re: [Openstack] Devstack +XCP/XenServer Kernel Panic
  
 In hindsight, that makes sense (though I swear I disabled root-squashing). 
 I've been having other issues now, so quick question;
  
 Most guides referer/specify XenServer 6.0.2, should 6.0 work (due to 6.0.2 
 being temporarily unavailable?). 
  
 I'm going to try now with XenServer 6.0 and build remotely. 
  
 Another quick question:
  
 Should this all work on a completely vanilla install of XenServer or XCP or 
 is there any prep-work not mentioned anywhere, or any steps a complete Xen 
 newb may miss?
  
 /Kieran
  
 On 21 Mar 2012, at 20:11, Ewan Mellor wrote:
 
 
 I’ve never seen that kernel panic before.  If you’re building on an NFS share 
 though, that often screws up the permissions.  You could have root-squashing 
 turned on, and then every file that’s supposed to be owned by root is owned 
 by an unprivileged user instead.  It wouldn’t surprise me that this freaks 
 out the init process.
  
 I’d try building somewhere else and see if that helps.  Or see whether you’ve 
 got root-squashing or some other permission-modifying option turned on.
  
 Cheers,
  
 Ewan.
  
 From: openstack-bounces+ewan.mellor=citrix@lists.launchpad.net 
 [mailto:openstack-bounces+ewan.mellor=citrix@lists.launchpad.net] On 
 Behalf Of Kieran Evans
 Sent: Saturday, March 17, 2012 9:38 AM
 To: openstack@lists.launchpad.net
 Subject: [Openstack] Devstack +XCP/XenServer Kernel Panic
  
 Hi all,
  
 I'm not sure if this is the right place for this (and if not, can anyone 
 point out where).
  
 I've used the devstack scripts to try to set up Openstack on both XenServer 
 6.0 and XCP 1.5 using the following guides:
  
 http://wiki.xen.org/wiki/XCP_DevStack
 https://github.com/openstack-dev/devstack/blob/master/tools/xen/README.md
  
 Wether on XenServer or XCP, I always seem to hit the same issue. When the 
 ALLINONE VM is fired up, it shuts down after a few seconds with a kernel 
 panic ( as seen here: http://imgur.com/i85fC). The same issue occurs with the 
 domU_multi scripts too.
  
 A note, in case it may affect the build scripts somehow, For external 
 storage, rather than using a different machine, or external USB, I've mounted 
 /root to an NFS share before running prepare_dom0.sh.
  
 We've currently got a Diablo Openstack installation up and running using 
 StackOps, but I'm currently trying out essex on some spare machines (both to 
 get to know it, and an attempt to see if running with Xen is of any advantage 
 to us).
  
 Thanks
  
 /Kieran
  

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Devstack +XCP/XenServer Kernel Panic

2012-03-22 Thread Kieran Evans
No worries, as I mentioned previously, my main production Openstack install 
is Diablo/Ubuntu/KVM, I'm just looking into XenServer as a potential future 
route. 

I'll keep an eye out for any news on the pack.

I'm sure you have what you need already, but if you want a user with some 
servers to test installing the pack, I'm happy to help!

/Kieran

On 22 Mar 2012, at 14:59, John Garbutt wrote:

 Afraid I haven’t finished producing the supplemental packs yet (might be a 
 few weeks till I get around to finishing that stuff off). I was aiming to 
 allow the supplemental packs to work in both cases, if I can.
  
 Cheers,
 John
  
 From: openstack-bounces+john.garbutt=eu.citrix@lists.launchpad.net 
 [mailto:openstack-bounces+john.garbutt=eu.citrix@lists.launchpad.net] On 
 Behalf OfKieran Evans
 Sent: 22 March 2012 1:36
 To: openstack@lists.launchpad.net
 Subject: Re: [Openstack] Devstack +XCP/XenServer Kernel Panic
  
 Thanks for the help/advice all. I did have root squashing disabled, but 
 something else must've been playing up. I did the build on another machine 
 and it's working now. At least, the ALLINONE vm booted and prepare_guest.sh 
 is running, so fingers crossed!
  
 On one of the wiki pages, it says that an Openstack supplemental pack is in 
 the works, would it be safe to assume this would be a production oriented 
 pack, rather than the devstack style dev oriented setup?
  
 /Kieran
  
 On 22 Mar 2012, at 11:31, John Garbutt wrote:
 
 
 6.0.0 should work fine.
  
 I must have gained some weak mind reading powers, and I just wrote a few more 
 wiki pages.
  
 Here is the best place to start:
 http://wiki.openstack.org/XenServer
  
 I actually just added this wiki page (still a work in progress really):
 http://wiki.openstack.org/XenServer/PostInstall
  
 Hope that helps,
 John
  
 From: openstack-bounces+john.garbutt=eu.citrix@lists.launchpad.net 
 [mailto:openstack-bounces+john.garbutt=eu.citrix@lists.launchpad.net] On 
 Behalf OfKieran Evans
 Sent: 22 March 2012 9:49
 To: openstack@lists.launchpad.net
 Subject: Re: [Openstack] Devstack +XCP/XenServer Kernel Panic
  
 In hindsight, that makes sense (though I swear I disabled root-squashing). 
 I've been having other issues now, so quick question;
  
 Most guides referer/specify XenServer 6.0.2, should 6.0 work (due to 6.0.2 
 being temporarily unavailable?). 
  
 I'm going to try now with XenServer 6.0 and build remotely. 
  
 Another quick question:
  
 Should this all work on a completely vanilla install of XenServer or XCP or 
 is there any prep-work not mentioned anywhere, or any steps a complete Xen 
 newb may miss?
  
 /Kieran
  
 On 21 Mar 2012, at 20:11, Ewan Mellor wrote:
 
 
 
 I’ve never seen that kernel panic before.  If you’re building on an NFS share 
 though, that often screws up the permissions.  You could have root-squashing 
 turned on, and then every file that’s supposed to be owned by root is owned 
 by an unprivileged user instead.  It wouldn’t surprise me that this freaks 
 out the init process.
  
 I’d try building somewhere else and see if that helps.  Or see whether you’ve 
 got root-squashing or some other permission-modifying option turned on.
  
 Cheers,
  
 Ewan.
  
 From: openstack-bounces+ewan.mellor=citrix@lists.launchpad.net 
 [mailto:openstack-bounces+ewan.mellor=citrix@lists.launchpad.net] On 
 Behalf Of Kieran Evans
 Sent: Saturday, March 17, 2012 9:38 AM
 To: openstack@lists.launchpad.net
 Subject: [Openstack] Devstack +XCP/XenServer Kernel Panic
  
 Hi all,
  
 I'm not sure if this is the right place for this (and if not, can anyone 
 point out where).
  
 I've used the devstack scripts to try to set up Openstack on both XenServer 
 6.0 and XCP 1.5 using the following guides:
  
 http://wiki.xen.org/wiki/XCP_DevStack
 https://github.com/openstack-dev/devstack/blob/master/tools/xen/README.md
  
 Wether on XenServer or XCP, I always seem to hit the same issue. When the 
 ALLINONE VM is fired up, it shuts down after a few seconds with a kernel 
 panic ( as seen here: http://imgur.com/i85fC). The same issue occurs with the 
 domU_multi scripts too.
  
 A note, in case it may affect the build scripts somehow, For external 
 storage, rather than using a different machine, or external USB, I've mounted 
 /root to an NFS share before running prepare_dom0.sh.
  
 We've currently got a Diablo Openstack installation up and running using 
 StackOps, but I'm currently trying out essex on some spare machines (both to 
 get to know it, and an attempt to see if running with Xen is of any advantage 
 to us).
  
 Thanks
  
 /Kieran
  

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Devstack +XCP/XenServer Kernel Panic

2012-03-19 Thread Kieran Evans
Hi,

I used build_domU.sh (also tried the multi scripts, but got the same error). I 
was root for everything.

I'll have to hold off on sending output. The servers are mid way through a 
reinstall. 

Thanks

/Kieran

On 19 Mar 2012, at 16:46, John Garbutt wrote:

 Hi,
  
 We actively working on improving these guides. Hopefully they will become 
 more bullet proof very soon!
  
 We are working on getting the wiki up to scratch as a first step:
 http://wiki.openstack.org/XenServer
  
 I have not seen this error myself. How did you install the xva image? Did you 
 use build_domU.sh? Where you running as route when doing build_xva?
  
 Can you give me the output of xe vm-param-list for your VM? I can compare 
 that with mine to see if there are any settings that could be causing the 
 issue (like not being in the correct PV-mode, or similar, although not seen 
 that cause a kernel panic myself)
  
 Thanks,
 John
  
 From: openstack-bounces+john.garbutt=eu.citrix@lists.launchpad.net 
 [mailto:openstack-bounces+john.garbutt=eu.citrix@lists.launchpad.net] On 
 Behalf Of Kieran Evans
 Sent: 17 March 2012 4:38
 To: openstack@lists.launchpad.net
 Subject: [Openstack] Devstack +XCP/XenServer Kernel Panic
  
 Hi all,
  
 I'm not sure if this is the right place for this (and if not, can anyone 
 point out where).
  
 I've used the devstack scripts to try to set up Openstack on both XenServer 
 6.0 and XCP 1.5 using the following guides:
  
 http://wiki.xen.org/wiki/XCP_DevStack
 https://github.com/openstack-dev/devstack/blob/master/tools/xen/README.md
  
 Wether on XenServer or XCP, I always seem to hit the same issue. When the 
 ALLINONE VM is fired up, it shuts down after a few seconds with a kernel 
 panic ( as seen here: http://imgur.com/i85fC). The same issue occurs with the 
 domU_multi scripts too.
  
 A note, in case it may affect the build scripts somehow, For external 
 storage, rather than using a different machine, or external USB, I've mounted 
 /root to an NFS share before running prepare_dom0.sh.
  
 We've currently got a Diablo Openstack installation up and running using 
 StackOps, but I'm currently trying out essex on some spare machines (both to 
 get to know it, and an attempt to see if running with Xen is of any advantage 
 to us).
  
 Thanks
  
 /Kieran
  
  

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Audit Trail

2012-03-08 Thread Kieran Evans
This could be an issue auditing failed requests, i.e. when unauthorised 
requests are made against an api, if I understand correctly, those would be 
dropped before being put on the queue.

Also, I thought that if written as a middleware wsgi component, no modification 
of the existing code would be necessary, it would just be a change in a config 
file. Or am I misunderstanding again?

/Kieran 
On 8 Mar 2012, at 02:01, heut2008 wrote:

 May be  get user actions from message queue is more efficient,also,in this 
 way,you need not change the nova code.
 
 2012/3/7 Kieran Evans keyz...@gmail.com
 Hi There,
 
 I'm looking at implementing some form of Auditing/logging for various 
 components, with the main aim of having a full audit trail of all user 
 actions, for various legal, and general troubleshooting/support purposes.
 
 Firstly, I'm wondering if there's already an implementation of something like 
 this, or an effort towards it. I've had a look, but didn't see anything 
 relevant.
 
 Secondly, I'm trying to work out the best approach to this. My first guess 
 would be a WSGI middleware on all the APIs that logs every request, either to 
 a message queue for log service to pull and put into a DB, or put it directly 
 into a DB.
 
 If done as middleware, I envisage it being quite a simple, lightweight one, 
 as it only has to pull the needed data from the request before sending it on.
 
 Any and all comments are welcome, I stumbled onto this idea this morning, so 
 I've only had a few hours thinking about it while working on other things.
 
 Thanks
 /Kieran
 ___
 Mailing list: https://launchpad.net/~openstack
 Post to : openstack@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~openstack
 More help   : https://help.launchpad.net/ListHelp
 

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp