search for: pool_id

Displaying 8 results from an estimated 8 matches for "pool_id".

2009 May 22
1
[PATCH server] fix for BZ #477796: pool name uniqueness
...save! move_to_child_of(parent) + # second save! call is to trigger validation rules related to parent_id + # since this nested set API call bypasses the standard AR validation + save! parent.permissions.each do |permission| new_permission = Permission.new({:pool_id => id, :uid => permission.uid, -- 1.6.0.6
2009 May 15
0
[PATCH server] final cleanup for service layer refactoring.
...6,45 +56,11 @@ class HostController < ApplicationController def snapshot_graph end - def addhost - # FIXME: This probably should go into PoolService.svc_modify, - # so that we have permission checks in only one place - - # Old pre_addhost - @pool = Pool.find(params[:hardware_pool_id]) - @parent = @pool.parent - set_perms(@pool) - authorize_admin - # Old addhost - @hardware_pool = Pool.find(params[:hardware_pool_id]) - render :layout => 'popup' - end - def add_to_smart_pool @pool = SmartPool.find(params[:smart_pool_id]) render :layout...
2015 Jul 08
0
[PATCH 6/6] customize: add basic subscription-manager operations
...ub_file path + | `SMAttach id -> + (match id with + | "auto" -> + message (f_"Attaching to compatible subscriptions"); + let cmd = "subscription-manager attach --auto" in + do_run ~display:cmd cmd + | id -> + let pool_id = sm_config_get_value ("attach-" ^ id) "pool" in + message (f_"Attaching to the pool %s") pool_id; + let cmd = sprintf "subscription-manager attach --pool=%s" pool_id in + do_run ~display:cmd cmd + ) + + | `SMRegister -> +...
2009 May 20
1
[PATCH server] don't add nil key to failures hash for PartialSuccessError handling.
.../resources_controller.rb b/src/app/controllers/resources_controller.rb index 6990df7..efd3cb6 100644 --- a/src/app/controllers/resources_controller.rb +++ b/src/app/controllers/resources_controller.rb @@ -80,10 +80,9 @@ class ResourcesController < PoolController begin svc_destroy(pool_id) successes << @pool - rescue PermissionError => perm_error - failures[@pool] = perm_error.message + # PermissionError expected rescue Exception => ex - failures[@pool] = ex.message + failures[@pool.nil? ? pool_id : @pool] = ex.message...
2018 May 23
3
[PATCH] block drivers/block: Use octal not symbolic permissions
...how, NULL); -static DEVICE_ATTR(client_id, S_IRUGO, rbd_client_id_show, NULL); -static DEVICE_ATTR(cluster_fsid, S_IRUGO, rbd_cluster_fsid_show, NULL); -static DEVICE_ATTR(config_info, S_IRUSR, rbd_config_info_show, NULL); -static DEVICE_ATTR(pool, S_IRUGO, rbd_pool_show, NULL); -static DEVICE_ATTR(pool_id, S_IRUGO, rbd_pool_id_show, NULL); -static DEVICE_ATTR(name, S_IRUGO, rbd_name_show, NULL); -static DEVICE_ATTR(image_id, S_IRUGO, rbd_image_id_show, NULL); -static DEVICE_ATTR(refresh, S_IWUSR, NULL, rbd_image_refresh); -static DEVICE_ATTR(current_snap, S_IRUGO, rbd_snap_show, NULL); -static DEVIC...
2018 May 23
3
[PATCH] block drivers/block: Use octal not symbolic permissions
...how, NULL); -static DEVICE_ATTR(client_id, S_IRUGO, rbd_client_id_show, NULL); -static DEVICE_ATTR(cluster_fsid, S_IRUGO, rbd_cluster_fsid_show, NULL); -static DEVICE_ATTR(config_info, S_IRUSR, rbd_config_info_show, NULL); -static DEVICE_ATTR(pool, S_IRUGO, rbd_pool_show, NULL); -static DEVICE_ATTR(pool_id, S_IRUGO, rbd_pool_id_show, NULL); -static DEVICE_ATTR(name, S_IRUGO, rbd_name_show, NULL); -static DEVICE_ATTR(image_id, S_IRUGO, rbd_image_id_show, NULL); -static DEVICE_ATTR(refresh, S_IWUSR, NULL, rbd_image_refresh); -static DEVICE_ATTR(current_snap, S_IRUGO, rbd_snap_show, NULL); -static DEVIC...
2006 Jan 13
26
A couple of issues
I''ve been testing ZFS since it came out on b27 and this week I BFUed to b30. I''ve seen two problems, one I''ll call minor and the other major. The hardware is a Dell PowerEdge 2600 with 2 3.2GHz Xeons, 2GB memory and a perc3 controller. I have created a filesystem for over 1000 users on it and take hourly snapshots, which destroy the one from 24 hours ago, except the
2015 Jul 08
7
[PATCH 0/6] RFC: basic subscription-manager support in virt-customize
Hi, this series introduces a basic support for registering/attaching/unregistering RHEL guests using subscription-manager, so it is possible to do for example: $ cat <<EOF > sm.conf [general] username=user password=pass [attach-0] pool=ID EOF $ virt-customize -a rhel-guest.qcow2 \ --sm-config sm.conf --sm-register --sm-attach 0 \ --install pkg1 --install pkg2