Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PDC-DISCOVERY] Could not rebuild with a clean machine #5325

Open
6 tasks
carolyncole opened this issue Sep 11, 2024 · 1 comment
Open
6 tasks

[PDC-DISCOVERY] Could not rebuild with a clean machine #5325

carolyncole opened this issue Sep 11, 2024 · 1 comment
Assignees
Labels

Comments

@carolyncole
Copy link
Member

carolyncole commented Sep 11, 2024

Expected behavior

When I ran the playbook on a newly created machine it errored on common : common | Add apt HTTPS capabilities.

I had to ssh onto the machine and run sudo apt-get update --fix-missing on the system

Actual behavior

Screenshot 2024-09-11 at 8 21 38 AM

Error messages

failed: [pdc-discovery-prod1.princeton.edu] (item=apt-transport-https) => {"ansible_loop_var": "item", "cache_update_time": 1725634098, "cache_updated": false, "changed": false, "item": "apt-transport-https", "msg": "'/usr/bin/apt-get -y -o \"Dpkg::Options::=--force-confdef\" -o \"Dpkg::Options::=--force-confold\"       install 'apt-transport-https=2.4.12'' failed: E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/universe/a/apt/apt-transport-https_2.4.12_all.deb  404  Not Found [IP: 91.189.91.81 80]\nE: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?\n", "rc": 100, "stderr": "E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/universe/a/apt/apt-transport-https_2.4.12_all.deb  404  Not Found [IP: 91.189.91.81 80]\nE: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?\n", "stderr_lines": ["E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/universe/a/apt/apt-transport-https_2.4.12_all.deb  404  Not Found [IP: 91.189.91.81 80]", "E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?"], "stdout": "Reading package lists...\nBuilding dependency tree...\nReading state information...\nThe following NEW packages will be installed:\n  apt-transport-https\n0 upgraded, 1 newly installed, 0 to remove and 2 not upgraded.\nNeed to get 1510 B of archives.\nAfter this operation, 170 kB of additional disk space will be used.\nErr:1 http://us.archive.ubuntu.com/ubuntu jammy-updates/universe amd64 apt-transport-https all 2.4.12\n  404  Not Found [IP: 91.189.91.81 80]\n", "stdout_lines": ["Reading package lists...", "Building dependency tree...", "Reading state information...", "The following NEW packages will be installed:", "  apt-transport-https", "0 upgraded, 1 newly installed, 0 to remove and 2 not upgraded.", "Need to get 1510 B of archives.", "After this operation, 170 kB of additional disk space will be used.", "Err:1 http://us.archive.ubuntu.com/ubuntu jammy-updates/universe amd64 apt-transport-https all 2.4.12", "  404  Not Found [IP: 91.189.91.81 80]"]}

Steps to replicate

Rebuild the machine utilizing the tower rebuild template.
Apply the pulsys keys in tower
Run the playbook

Impact of this bug

I ran the command suggested by hand

Acceptance criteria:

  • Run the ansible tower playbook to create a clean VM on pdc-discovery-staging2. (note this should be on the public network so change the drop down)
  • Run the ansible tower pulsys playbook on pdc-discovery-staging2.princeton.edu
  • Run the pdc-discovery playbook on your local machine
  • It should error with the above issue
  • Run the fix-apt
  • Rerun the pdc-discovery playbook and make sure it finishes
@carolyncole
Copy link
Member Author

Hey team! Please add your planning poker estimate with Zenhub @bess @hectorcorrea @JaymeeH @leefaisonr

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants