Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 159 for Debugf (0.09 sec)

  1. cni/pkg/iptables/iptables_linux.go

    	"golang.org/x/sys/unix"
    
    	"istio.io/istio/pkg/ptr"
    )
    
    func AddInpodMarkIPRule(cfg *Config) error {
    	err := forEachInpodMarkIPRule(cfg, netlink.RuleAdd)
    	if errors.Is(err, unix.EEXIST) {
    		log.Debugf("Ignoring exists error adding inpod mark ip rule: %v", err)
    		return nil
    	}
    	return err
    }
    
    func DelInpodMarkIPRule(cfg *Config) error {
    	return forEachInpodMarkIPRule(cfg, netlink.RuleDel)
    }
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Sep 06 09:44:28 UTC 2024
    - 4K bytes
    - Viewed (0)
  2. cni/pkg/nodeagent/informers.go

    			err := s.dataplane.RemovePodFromMesh(s.ctx, oldPod, true)
    			log.Debugf("RemovePodFromMesh returned: %v", err)
    			return nil
    		}
    
    		if !changeNeeded {
    			log.Debugf("pod update event skipped: no change needed")
    			return nil
    		}
    
    		// Pod is not terminated, and has changed in a way we care about - so reconcile
    		if !shouldBeEnabled {
    			log.Debugf("removing pod from mesh: no longer should be enabled")
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  3. cmd/data-scanner.go

    )
    
    func (i *scannerItem) applyHealing(ctx context.Context, o ObjectLayer, oi ObjectInfo) (size int64) {
    	if i.debug {
    		if oi.VersionID != "" {
    			console.Debugf(applyActionsLogPrefix+" heal checking: %v/%v v(%s)\n", i.bucket, i.objectPath(), oi.VersionID)
    		} else {
    			console.Debugf(applyActionsLogPrefix+" heal checking: %v/%v\n", i.bucket, i.objectPath())
    		}
    	}
    	scanMode := madmin.HealNormalScan
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 21:10:34 UTC 2024
    - 48.4K bytes
    - Viewed (0)
  4. cni/pkg/nodeagent/server.go

    	s.netServer.Start(ctx)
    }
    
    func (s *meshDataplane) Stop() {
    	log.Info("CNI ambient server terminating, cleaning up node net rules")
    
    	log.Debug("removing host iptables rules")
    	s.hostIptables.DeleteHostRules()
    
    	log.Debug("destroying host ipset")
    	s.hostsideProbeIPSet.Flush()
    	if err := s.hostsideProbeIPSet.DestroySet(); err != nil {
    		log.Warnf("could not destroy host ipset on shutdown")
    	}
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Sep 25 20:54:34 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  5. cni/pkg/nodeagent/net.go

    	log.WithLabels("delete", isDelete).Debugf("removing pod from the mesh")
    
    	// Aggregate errors together, so that if part of the cleanup fails we still proceed with other steps.
    	var errs []error
    
    	// Whether pod is already deleted or not, we need to let go of our netns ref.
    	openNetns := s.currentPodSnapshot.Take(string(pod.UID))
    	if openNetns == nil {
    		log.Debug("failed to find pod netns during removal")
    	}
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Oct 21 16:48:55 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  6. cni/pkg/iptables/iptables.go

    	iptVer, err := hostDeps.DetectIptablesVersion(false)
    	if err != nil {
    		return nil, nil, err
    	}
    
    	log.Debugf("found iptables binary: %+v", iptVer)
    
    	configurator.iptV = iptVer
    
    	ipt6Ver, err := hostDeps.DetectIptablesVersion(true)
    	if err != nil {
    		return nil, nil, err
    	}
    
    	log.Debugf("found iptables v6 binary: %+v", iptVer)
    
    	configurator.ipt6V = ipt6Ver
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Oct 15 15:39:28 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  7. istioctl/pkg/writer/compare/sds/util.go

    		TrustDomain: s.trustDomain,
    	}
    
    	var meta SecretMeta
    	var err error
    	if s.data != "" {
    		meta, err = secretMetaFromCert([]byte(s.data), result.TrustDomain)
    		if err != nil {
    			log.Debugf("failed to parse secret resource %s from source %s: %v",
    				s.name, s.source, err)
    			result.Valid = false
    			return result, nil
    		}
    		result.SecretMeta = meta
    		result.Valid = meta.Valid
    		return result, nil
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Oct 28 19:52:53 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  8. cmd/global-heal.go

    				continue
    			}
    			rcfg, err = getReplicationConfig(ctx, bucket)
    			if err != nil {
    				retErr = err
    				healingLogIf(ctx, err)
    				continue
    			}
    		}
    
    		if serverDebugLog {
    			console.Debugf(color.Green("healDrive:")+" healing bucket %s content on %s erasure set\n",
    				bucket, humanize.Ordinal(er.setIndex+1))
    		}
    
    		disks, _, healing := er.getOnlineDisksWithHealingAndInfo(true)
    		if len(disks) == healing {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  9. cmd/data-usage-cache.go

    		d.replaceHashed(path, nil, *flat)
    		return
    	}
    	total := d.totalChildrenRec(path.Key())
    	if total < limit {
    		return
    	}
    
    	// Appears to be printed with _MINIO_SERVER_DEBUG=off
    	// console.Debugf(" %d children found, compacting %v\n", total, path)
    
    	leaves := make([]struct {
    		objects uint64
    		path    dataUsageHash
    	}, total)
    	// Collect current leaves that have children.
    	leaves = leaves[:0]
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 34.7K bytes
    - Viewed (0)
  10. cmd/erasure-server-pool-decom.go

    	if p.Pools[idx].Decommission == nil {
    		return false, errInvalidArgument
    	}
    	now := UTCNow()
    	if now.Sub(p.Pools[idx].LastUpdate) >= duration {
    		if serverDebugLog {
    			console.Debugf("decommission: persisting poolMeta on drive: threshold:%s, poolMeta:%#v\n", now.Sub(p.Pools[idx].LastUpdate), p.Pools[idx])
    		}
    		p.Pools[idx].LastUpdate = now
    		if err := p.save(ctx, pools); err != nil {
    			return false, err
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 13:20:19 UTC 2024
    - 42.2K bytes
    - Viewed (0)
Back to top