cloudfoundry-community / docker-registry-boshrelease

Run your own private Docker Registry in standalone mode (without requiring the public index) on AWS, OpenStack or vSphere with BOSH
MIT License
13 stars 20 forks source link

Stemcell v1.1 bionic not working #49

Open jeffrey-hoc opened 3 years ago

jeffrey-hoc commented 3 years ago

We are trying to use the new bionic stemcell. The step Compiling packages: nginx/ is failing after some min.

Is there a plan to support the new bionic stemcell?

psycofdj commented 3 years ago

We are also affected by this issue.

Bionic ships a gcc version that triggers a new type of compilation waning, treated as error, as explained by ticket#1259. It affects the current nginx version v1.10.0.

One solution can be to disable the -Werror part with ./configure --with-cc-opt="-Wno-error". Another would be to bump nginx to latest available version.

ywei2017 commented 2 years ago

I am interested in progress on this as well. What can be done to fix it. Would you open for a PR with the ./configure --with-cc-opt="-Wno-error" workaround?

ywei2017 commented 2 years ago

submitted PR 51

zafai commented 2 years ago

@ywei2017 Thank you for the PR @Proplex do we not need a new version, for example, 3.5.3 for the change gets used by bosh?

Proplex commented 2 years ago

@zafai Unfortunately I don't control the CI and release infrastructure that's responsible for this repo. You could build it yourself with a bosh create-release, otherwise I would try asking some folks at Stark & Wayne for help (they're the ones that run the CI/S3 buckets for this repository) cc: @starkandwayne-bot-cfcommunity @starkandwayne-bot, or perhaps @dennisjbell

niharbabu99 commented 2 years ago

@Proplex When I tried to perform create-release, I faced multiple errors which I could solve by understanding the nature of the error and stuck with the below error.

-- Failed downloading 'license/e35f9162aa7c29aa926ae5c5758a2c228714867d15d714c8e94e2f45888cc88a' (sha1=sha256:1146e89a4713950074c84d86c854dfbcd2d06dd5b3022c1613d3d56f7568234a)

Building a release from directory '/mnt/c/WORK/projects/docker-registry-boshrelease':
  Downloading blob '1c0d34ac-89f3-4fcd-5b96-15e28e5609c7' with digest string 'sha256:1146e89a4713950074c84d86c854dfbcd2d06dd5b3022c1613d3d56f7568234a':
    Getting blob from inner blobstore:
      Getting blob from inner blobstore:
        Copying file:
          Opening source path:
            open blobs/1c0d34ac-89f3-4fcd-5b96-15e28e5609c7: no such file or directory

Exit code 1

can anyone help me to solve the problem so that I can create a release and move forward?

zafai commented 2 years ago

@niharbabu99 I solved it this way, thank you @Proplex for the hint

  1. clone github repo
  2. inside the cloned repo
  3. Run bosh create-release --name docker-registry --version=3.5.3 --tarball=/tmp/docker-registery.3.5.3.tar.gz
  4. Upload into bosh bosh upload-release /tmp/docker-registery.3.5.3.tar.gz
  5. Run deployment as normal

I'm running the stemcell version 1.92 bionic