cloudfoundry-attic / cfdev

A fast and easy local Cloud Foundry experience on native hypervisors, powered by LinuxKit with VPNKit
Apache License 2.0
227 stars 64 forks source link

Please tell me firewall rule #134

Open ecormaksin opened 4 years ago

ecormaksin commented 4 years ago

I'm using McAfee(R) LiveSave(TM) on macOS Catalina(10.15.5). In that situation, cf dev start fails like below.

cf dev start
Downloading Network Helper...
Progress: |====================>| 100.0%
Installing cfdevd network helper (requires administrator privileges)...
Password:
Setting up IP aliases for the BOSH Director & CF Router (requires administrator privileges)
Downloading Resources...
Progress: |====================>| 100.0%
Setting State...
WARNING: CF Dev requires 8192 MB of RAM to run. This machine may not have enough free RAM.
Creating the VM...
Starting VPNKit...
Waiting for the VM...
Deploying the BOSH Director...
Deploying CF...
  Preparing deployment (2m38s)FAILED
cf dev start: Failed to deploy services: Failed to deploy CF: exit status 1

But when I turn off McAfee's firewall, cf dev start succeeds like below.

cf dev start
Downloading Network Helper...
Progress: |====================>| 100.0%
Installing cfdevd network helper (requires administrator privileges)...
Password:
Setting up IP aliases for the BOSH Director & CF Router (requires administrator privileges)
Downloading Resources...
Progress: |====================>| 100.0%
Setting State...
Creating the VM...
Starting VPNKit...
Waiting for the VM...
Deploying the BOSH Director...
Deploying CF...
  Done (24m46s)

      ██████╗███████╗██████╗ ███████╗██╗   ██╗
     ██╔════╝██╔════╝██╔══██╗██╔════╝██║   ██║
     ██║     █████╗  ██║  ██║█████╗  ██║   ██║
     ██║     ██╔══╝  ██║  ██║██╔══╝  ╚██╗ ██╔╝
     ╚██████╗██║     ██████╔╝███████╗ ╚████╔╝
      ╚═════╝╚═╝     ╚═════╝ ╚══════╝  ╚═══╝
                 is now running!

    To begin using CF Dev, please run:
        cf login -a https://api.dev.cfdev.sh --skip-ssl-validation

    Admin user => Email: admin / Password: admin
    Regular user => Email: user / Password: pass

    To deploy a particular service, please run:
        cf dev deploy-service <service-name> [Available services: mysql]

What kind of permission rules should I add to firewall? My machine is not behind proxy.

Any help would be much appreciated.

cf-gitbot commented 4 years ago

We have created an issue in Pivotal Tracker to manage this:

https://www.pivotaltracker.com/story/show/173996510

The labels on this github issue will be updated when the story is started.