Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 68 for Debugf (0.14 sec)

  1. cni/pkg/util/executil.go

    }
    
    func Execute(cmd string, args ...string) error {
    	log.Debugf("Running command: %s %s", cmd, strings.Join(args, " "))
    	externalCommand := exec.Command(cmd, args...)
    	stdout := &bytes.Buffer{}
    	stderr := &bytes.Buffer{}
    	externalCommand.Stdout = stdout
    	externalCommand.Stderr = stderr
    
    	err := externalCommand.Run()
    
    	if len(stdout.String()) != 0 {
    		log.Debugf("Command output: \n%v", stdout.String())
    	}
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  2. cni/pkg/nodeagent/net.go

    		hostsideProbeIPSet:   probeSet,
    	}
    }
    
    func (s *NetServer) Start(ctx context.Context) {
    	log.Debug("starting ztunnel server")
    	go s.ztunnelServer.Run(ctx)
    }
    
    func (s *NetServer) Stop() {
    	log.Debug("removing host iptables rules")
    	s.iptablesConfigurator.DeleteHostRules()
    
    	log.Debug("destroying host ipset")
    	s.hostsideProbeIPSet.Flush()
    	if err := s.hostsideProbeIPSet.DestroySet(); err != nil {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 12.2K bytes
    - Viewed (1)
  3. cni/pkg/repair/netns.go

    			// Not uncommon, many processes are transient and we have a TOCTOU here.
    			// No problem, must not be the one we are after.
    			log.Debugf("failed to open pid %v: %v", p.PID, err)
    			continue
    		}
    		id, err := netlink.GetNetNsIdByFd(fd)
    		_ = unix.Close(fd)
    		if err != nil {
    			log.Debugf("failed to get netns for pid %v: %v", p.PID, err)
    			continue
    		}
    
    		if id != wantID {
    			// Not the network we want, skip
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Dec 20 22:14:13 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  4. cni/pkg/nodeagent/cni-watcher.go

    		log.Errorf("Failed to unmarshal CNI plugin event: %v", err)
    		return msg, err
    	}
    
    	log.Debugf("Deserialized CNI plugin event: %+v", msg)
    	return msg, nil
    }
    
    func (s *CniPluginServer) ReconcileCNIAddEvent(ctx context.Context, addCmd CNIPluginAddEvent) error {
    	log := log.WithLabels("cni-event", addCmd)
    
    	log.Debugf("netns: %s", addCmd.Netns)
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Feb 08 18:52:24 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  5. cni/pkg/nodeagent/ztunnelserver.go

    	for {
    		log.Debug("accepting conn")
    		conn, err := z.accept()
    		if err != nil {
    			if errors.Is(err, net.ErrClosed) {
    				log.Debug("listener closed - returning")
    				return
    			}
    
    			log.Errorf("failed to accept conn: %v", err)
    			continue
    		}
    		log.Debug("connection accepted")
    		go func() {
    			log.Debug("handling conn")
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  6. cni/pkg/plugin/plugin.go

    	var loggedPrevResult any
    	if conf.PrevResult == nil {
    		loggedPrevResult = "none"
    	} else {
    		loggedPrevResult = conf.PrevResult
    	}
    	log.WithLabels("if", args.IfName).Debugf("istio-cni CmdAdd config: %+v", conf)
    	log.Debugf("istio-cni CmdAdd previous result: %+v", loggedPrevResult)
    
    	// Determine if running under k8s by checking the CNI args
    	k8sArgs := K8sArgs{}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 15:58:51 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  7. operator/cmd/mesh/operator-init.go

    	vals, mstr, err := renderOperatorManifest(args, &oiArgs.common)
    	if err != nil {
    		l.LogAndFatal(err)
    	}
    
    	installerScope.Debugf("Installing operator charts with the following values:\n%s", vals)
    	installerScope.Debugf("Using the following manifest to install operator:\n%s\n", mstr)
    
    	opts := &applyOptions{
    		DryRun: args.DryRun,
    	}
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  8. cni/pkg/nodeagent/server.go

    	if err != nil {
    		log.Errorf("failed to add pod to ztunnel: %v", err)
    		if !errors.Is(err, ErrPartialAdd) {
    			return err
    		}
    		retErr = err
    	}
    
    	log.Debugf("annotating pod %s", pod.Name)
    	if err := util.AnnotateEnrolledPod(s.kubeClient, &pod.ObjectMeta); err != nil {
    		log.Errorf("failed to annotate pod enrollment: %v", err)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  9. cni/pkg/nodeagent/podcgroupns.go

    		// we can't break here because we need to close all the netns we opened
    		// plus we want to return whatever we can to the user.
    		res, err := p.processEntry(p.proc, netnsObserved, desiredUIDs, entry)
    		if err != nil {
    			log.Debugf("error processing entry: %s %v", entry.Name(), err)
    			continue
    		}
    		if res == nil {
    			continue
    		}
    		pod := pods[res.uid]
    		netns := &NetnsWithFd{
    			netns: res.netns,
    			fd:    res.netnsfd,
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 11K bytes
    - Viewed (0)
  10. 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
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 11:18:58 GMT 2024
    - 47.6K bytes
    - Viewed (0)
Back to top