Error trying to provision MongoDB VM for m034.zip

when doing “vagrant up” in MongoDB directory, get this output/error:

jstevens@zapdos ~/mongo/vagrant/m034/MongoDB> vagrant reload --provision
==> mongod-m034: Clearing any previously set forwarded ports...
==> mongod-m034: Clearing any previously set network interfaces...
==> mongod-m034: Preparing network interfaces based on configuration...
    mongod-m034: Adapter 1: nat
    mongod-m034: Adapter 2: hostonly
==> mongod-m034: Forwarding ports...
    mongod-m034: 22 (guest) => 2222 (host) (adapter 1)
==> mongod-m034: Running 'pre-boot' VM customizations...
==> mongod-m034: Booting VM...
==> mongod-m034: Waiting for machine to boot. This may take a few minutes...
    mongod-m034: SSH address: 127.0.0.1:2222
    mongod-m034: SSH username: vagrant
    mongod-m034: SSH auth method: private key
==> mongod-m034: Machine booted and ready!
[mongod-m034] GuestAdditions 6.0.24 running --- OK.
==> mongod-m034: Checking for guest additions in VM...
==> mongod-m034: Setting hostname...
==> mongod-m034: Configuring and enabling network interfaces...
==> mongod-m034: Mounting shared folders...
    mongod-m034: /shared => /Users/jstevens/mongo/vagrant/m034/MongoDB/shared
    mongod-m034: /dataset => /Users/jstevens/mongo/vagrant/m034/MongoDB/dataset
    mongod-m034: /vagrant => /Users/jstevens/mongo/vagrant/m034/MongoDB
==> mongod-m034: Running provisioner: shell...
    mongod-m034: Running: /var/folders/xd/mglv8d6j3ldbs6t8j6fxzhmw0000gn/T/vagrant-shell20200828-94267-1yyx2v9
    mongod-m034: + config
    mongod-m034: + sudo su
    mongod-m034: + echo -e never
    mongod-m034: + echo -e never
    mongod-m034: + echo manual
    mongod-m034: + sudo tee /etc/init/mongod.override
    mongod-m034: manual
    mongod-m034: Install MongoDB Enterprise Repository
    mongod-m034: + update_repo
    mongod-m034: + echo 'Install MongoDB Enterprise Repository'
    mongod-m034: + sudo tee /etc/apt/sources.list.d/mongodb-enterprise.list
    mongod-m034: ++ lsb_release -sc
    mongod-m034: + echo 'deb http://repo.mongodb.com/apt/ubuntu trusty/mongodb-enterprise/3.3 multiverse'
    mongod-m034: deb http://repo.mongodb.com/apt/ubuntu trusty/mongodb-enterprise/3.3 multiverse
    mongod-m034: + sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 0C49F3730359A14518585931BC711F9BA15703C6
    mongod-m034: Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --homedir /tmp/tmp.5aBnjALL6x --no-auto-check-trustdb --trust-model always --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyring /etc/apt/trusted.gpg.d/ubuntu-advantage-esm-infra-trusty.gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv 0C49F3730359A14518585931BC711F9BA15703C6
    mongod-m034: gpg:
    mongod-m034: requesting key A15703C6 from hkp server keyserver.ubuntu.com
    mongod-m034: gpg:
    mongod-m034: key A15703C6: "MongoDB 3.4 Release Signing Key <packaging@mongodb.com>" not changed
    mongod-m034: gpg:
    mongod-m034: Total number processed: 1
    mongod-m034: gpg:
    mongod-m034:              unchanged: 1
    mongod-m034: + echo 'Update Repositoryies'
    mongod-m034: Update Repositoryies
    mongod-m034: + sudo apt-get update -y
    mongod-m034: Ign http://repo.mongodb.com trusty/mongodb-enterprise/3.3 InRelease
    mongod-m034: Ign http://archive.ubuntu.com trusty InRelease
    mongod-m034: Hit http://security.ubuntu.com trusty-security InRelease
    mongod-m034: Hit http://repo.mongodb.com trusty/mongodb-enterprise/3.3 Release.gpg
    mongod-m034: Hit https://esm.ubuntu.com trusty-infra-security InRelease
    mongod-m034: Hit http://archive.ubuntu.com trusty-updates InRelease
    mongod-m034: Hit https://esm.ubuntu.com trusty-infra-updates InRelease
    mongod-m034: Hit http://security.ubuntu.com trusty-security/main Sources
    mongod-m034: Hit https://esm.ubuntu.com trusty-infra-security/main amd64 Packages
    mongod-m034: Hit http://archive.ubuntu.com trusty-backports InRelease
    mongod-m034: Get:1 https://esm.ubuntu.com trusty-infra-security/main Translation-en_US
    mongod-m034: Hit http://security.ubuntu.com trusty-security/universe Sources
    mongod-m034: Hit https://esm.ubuntu.com trusty-infra-updates/main amd64 Packages
    mongod-m034: Hit http://archive.ubuntu.com trusty Release.gpg
    mongod-m034: Hit http://repo.mongodb.com trusty/mongodb-enterprise/3.3 Release
    mongod-m034: Get:2 https://esm.ubuntu.com trusty-infra-updates/main Translation-en_US
    mongod-m034: Hit http://security.ubuntu.com trusty-security/main amd64 Packages
    mongod-m034: Hit http://repo.mongodb.com trusty/mongodb-enterprise/3.3/multiverse amd64 Packages
    mongod-m034: Hit http://archive.ubuntu.com trusty-updates/main Sources
    mongod-m034: Hit http://security.ubuntu.com trusty-security/universe amd64 Packages
    mongod-m034: Hit http://archive.ubuntu.com trusty-updates/restricted Sources
    mongod-m034: Hit http://security.ubuntu.com trusty-security/main Translation-en
    mongod-m034: Hit http://archive.ubuntu.com trusty-updates/universe Sources
    mongod-m034: Hit http://security.ubuntu.com trusty-security/universe Translation-en
    mongod-m034: Hit http://archive.ubuntu.com trusty-updates/multiverse Sources
    mongod-m034: Hit http://archive.ubuntu.com trusty-updates/main amd64 Packages
    mongod-m034: Ign https://esm.ubuntu.com trusty-infra-security/main Translation-en_US
    mongod-m034: Ign https://esm.ubuntu.com trusty-infra-security/main Translation-en
    mongod-m034: Ign https://esm.ubuntu.com trusty-infra-updates/main Translation-en_US
    mongod-m034: Hit http://archive.ubuntu.com trusty-updates/restricted amd64 Packages
    mongod-m034: Ign https://esm.ubuntu.com trusty-infra-updates/main Translation-en
    mongod-m034: Hit http://archive.ubuntu.com trusty-updates/universe amd64 Packages
    mongod-m034: Hit http://archive.ubuntu.com trusty-updates/multiverse amd64 Packages
    mongod-m034: Hit http://archive.ubuntu.com trusty-updates/main Translation-en
    mongod-m034: Hit http://archive.ubuntu.com trusty-updates/multiverse Translation-en
    mongod-m034: Hit http://archive.ubuntu.com trusty-updates/restricted Translation-en
    mongod-m034: Ign http://repo.mongodb.com trusty/mongodb-enterprise/3.3/multiverse Translation-en_US
    mongod-m034: Hit http://archive.ubuntu.com trusty-updates/universe Translation-en
    mongod-m034: Ign http://repo.mongodb.com trusty/mongodb-enterprise/3.3/multiverse Translation-en
    mongod-m034: Hit http://archive.ubuntu.com trusty-backports/main Sources
    mongod-m034: Hit http://archive.ubuntu.com trusty-backports/restricted Sources
    mongod-m034: Hit http://archive.ubuntu.com trusty-backports/universe Sources
    mongod-m034: Hit http://archive.ubuntu.com trusty-backports/multiverse Sources
    mongod-m034: Hit http://archive.ubuntu.com trusty-backports/main amd64 Packages
    mongod-m034: Hit http://archive.ubuntu.com trusty-backports/restricted amd64 Packages
    mongod-m034: Hit http://archive.ubuntu.com trusty-backports/universe amd64 Packages
    mongod-m034: Hit http://archive.ubuntu.com trusty-backports/multiverse amd64 Packages
    mongod-m034: Hit http://archive.ubuntu.com trusty-backports/main Translation-en
    mongod-m034: Hit http://archive.ubuntu.com trusty-backports/multiverse Translation-en
    mongod-m034: Hit http://archive.ubuntu.com trusty-backports/restricted Translation-en
    mongod-m034: Hit http://archive.ubuntu.com trusty-backports/universe Translation-en
    mongod-m034: Hit http://archive.ubuntu.com trusty Release
    mongod-m034: Hit http://archive.ubuntu.com trusty/main Sources
    mongod-m034: Hit http://archive.ubuntu.com trusty/restricted Sources
    mongod-m034: Hit http://archive.ubuntu.com trusty/universe Sources
    mongod-m034: Hit http://archive.ubuntu.com trusty/multiverse Sources
    mongod-m034: Hit http://archive.ubuntu.com trusty/main amd64 Packages
    mongod-m034: Hit http://archive.ubuntu.com trusty/restricted amd64 Packages
    mongod-m034: Hit http://archive.ubuntu.com trusty/universe amd64 Packages
    mongod-m034: Hit http://archive.ubuntu.com trusty/multiverse amd64 Packages
    mongod-m034: Hit http://archive.ubuntu.com trusty/main Translation-en
    mongod-m034: Hit http://archive.ubuntu.com trusty/multiverse Translation-en
    mongod-m034: Hit http://archive.ubuntu.com trusty/restricted Translation-en
    mongod-m034: Hit http://archive.ubuntu.com trusty/universe Translation-en
    mongod-m034: Ign http://archive.ubuntu.com trusty/main Translation-en_US
    mongod-m034: Ign http://archive.ubuntu.com trusty/multiverse Translation-en_US
    mongod-m034: Ign http://archive.ubuntu.com trusty/restricted Translation-en_US
    mongod-m034: Ign http://archive.ubuntu.com trusty/universe Translation-en_US
    mongod-m034: Reading package lists...
    mongod-m034: + echo 'Installing MongoDB Enterprise Dependencies'
    mongod-m034: Installing MongoDB Enterprise Dependencies
    mongod-m034: + sudo apt-get install -y libgssapi-krb5-2 libsasl2-2 libssl1.0.0 libstdc++6 snmp
    mongod-m034: Reading package lists...
    mongod-m034: Building dependency tree...
    mongod-m034: Reading state information...
    mongod-m034: libsasl2-2 is already the newest version.
    mongod-m034: libgssapi-krb5-2 is already the newest version.
    mongod-m034: libssl1.0.0 is already the newest version.
    mongod-m034: libstdc++6 is already the newest version.
    mongod-m034: snmp is already the newest version.
    mongod-m034: The following packages were automatically installed and are no longer required:
    mongod-m034:   acl at-spi2-core colord dconf-gsettings-backend dconf-service fontconfig
    mongod-m034:   fontconfig-config fonts-dejavu-core hicolor-icon-theme libasound2
    mongod-m034:   libasound2-data libatk-bridge2.0-0 libatk1.0-0 libatk1.0-data libatspi2.0-0
    mongod-m034:   libavahi-client3 libavahi-common-data libavahi-common3 libcairo-gobject2
    mongod-m034:   libcairo2 libcanberra-gtk3-0 libcanberra-gtk3-module libcanberra0 libcolord1
    mongod-m034:   libcolorhug1 libcups2 libdatrie1 libdconf1 libdrm-intel1 libdrm-nouveau2
    mongod-m034:   libdrm-radeon1 libexif12 libfontconfig1 libfontenc1 libgd3
    mongod-m034:   libgdk-pixbuf2.0-0 libgdk-pixbuf2.0-common libgl1-mesa-dri libgl1-mesa-glx
    mongod-m034:   libglapi-mesa libgphoto2-6 libgphoto2-l10n libgphoto2-port10 libgraphite2-3
    mongod-m034:   libgtk-3-0 libgtk-3-bin libgtk-3-common libgudev-1.0-0 libgusb2
    mongod-m034:   libharfbuzz0b libice6 libieee1284-3 libjasper1 libjbig0 libjpeg-turbo8
    mongod-m034:   libjpeg8 liblcms2-2 libllvm3.4 libltdl7 libnotify-bin libnotify4 libogg0
    mongod-m034:   libpango-1.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0 libpciaccess0
    mongod-m034:   libpixman-1-0 libsane libsane-common libsm6 libtdb1 libthai-data libthai0
    mongod-m034:   libtiff5 libtxc-dxtn-s2tc0 libv4l-0 libv4lconvert0 libvorbis0a
    mongod-m034:   libvorbisfile3 libvpx1 libwayland-client0 libwayland-cursor0 libx11-xcb1
    mongod-m034:   libxaw7 libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0 libxcb-present0
    mongod-m034:   libxcb-render0 libxcb-shm0 libxcb-sync1 libxcomposite1 libxcursor1
    mongod-m034:   libxdamage1 libxfixes3 libxfont1 libxi6 libxinerama1 libxkbcommon0
    mongod-m034:   libxkbfile1 libxmu6 libxpm4 libxrandr2 libxrender1 libxshmfence1 libxt6
    mongod-m034:   libxtst6 libxxf86vm1 notification-daemon sound-theme-freedesktop x11-common
    mongod-m034:   x11-xkb-utils xfonts-base xfonts-encodings xfonts-utils xserver-common
    mongod-m034:   xserver-xorg-core
    mongod-m034: Use 'apt-get autoremove' to remove them.
    mongod-m034: 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
    mongod-m034: + install_mongod
    mongod-m034: + echo 'Install MongoDB Enterprise'
    mongod-m034: Install MongoDB Enterprise
    mongod-m034: + wget -q -O mongodb-linux-x86_64-enterprise-ubuntu1404-3.4.0.tgz 'https://downloads.mongodb.com/linux/mongodb-linux-x86_64-enterprise-ubuntu1404-3.4.0.tgz?jmp=university'
    mongod-m034: + tar xvf mongodb-linux-x86_64-enterprise-ubuntu1404-3.4.0.tgz
    mongod-m034: mongodb-linux-x86_64-enterprise-ubuntu1404-3.4.0/LICENSE.txt
    mongod-m034: mongodb-linux-x86_64-enterprise-ubuntu1404-3.4.0/README
    mongod-m034: mongodb-linux-x86_64-enterprise-ubuntu1404-3.4.0/THIRD-PARTY-NOTICES
    mongod-m034: mongodb-linux-x86_64-enterprise-ubuntu1404-3.4.0/MPL-2
    mongod-m034: mongodb-linux-x86_64-enterprise-ubuntu1404-3.4.0/snmp/MONGOD-MIB.txt
    mongod-m034: mongodb-linux-x86_64-enterprise-ubuntu1404-3.4.0/snmp/MONGODBINC-MIB.txt
    mongod-m034: mongodb-linux-x86_64-enterprise-ubuntu1404-3.4.0/snmp/mongod.conf.master
    mongod-m034: mongodb-linux-x86_64-enterprise-ubuntu1404-3.4.0/snmp/mongod.conf.subagent
    mongod-m034: mongodb-linux-x86_64-enterprise-ubuntu1404-3.4.0/snmp/README-snmp.txt
    mongod-m034: mongodb-linux-x86_64-enterprise-ubuntu1404-3.4.0/bin/mongodump
    mongod-m034: mongodb-linux-x86_64-enterprise-ubuntu1404-3.4.0/bin/mongorestore
    mongod-m034: mongodb-linux-x86_64-enterprise-ubuntu1404-3.4.0/bin/mongoexport
    mongod-m034: mongodb-linux-x86_64-enterprise-ubuntu1404-3.4.0/bin/mongoimport
    mongod-m034: mongodb-linux-x86_64-enterprise-ubuntu1404-3.4.0/bin/mongostat
    mongod-m034: mongodb-linux-x86_64-enterprise-ubuntu1404-3.4.0/bin/mongotop
    mongod-m034: mongodb-linux-x86_64-enterprise-ubuntu1404-3.4.0/bin/bsondump
    mongod-m034: mongodb-linux-x86_64-enterprise-ubuntu1404-3.4.0/bin/mongofiles
    mongod-m034: mongodb-linux-x86_64-enterprise-ubuntu1404-3.4.0/bin/mongooplog
    mongod-m034: mongodb-linux-x86_64-enterprise-ubuntu1404-3.4.0/bin/mongoreplay
    mongod-m034: mongodb-linux-x86_64-enterprise-ubuntu1404-3.4.0/bin/mongoperf
    mongod-m034: mongodb-linux-x86_64-enterprise-ubuntu1404-3.4.0/bin/mongod
    mongod-m034: mongodb-linux-x86_64-enterprise-ubuntu1404-3.4.0/bin/mongos
    mongod-m034: mongodb-linux-x86_64-enterprise-ubuntu1404-3.4.0/bin/mongo
    mongod-m034: mongodb-linux-x86_64-enterprise-ubuntu1404-3.4.0/bin/mongodecrypt
    mongod-m034: mongodb-linux-x86_64-enterprise-ubuntu1404-3.4.0/bin/mongoldap
    mongod-m034: + sudo mv -f mongodb-linux-x86_64-enterprise-ubuntu1404-3.4.0/bin/bsondump mongodb-linux-x86_64-enterprise-ubuntu1404-3.4.0/bin/mongo mongodb-linux-x86_64-enterprise-ubuntu1404-3.4.0/bin/mongod mongodb-linux-x86_64-enterprise-ubuntu1404-3.4.0/bin/mongodecrypt mongodb-linux-x86_64-enterprise-ubuntu1404-3.4.0/bin/mongodump mongodb-linux-x86_64-enterprise-ubuntu1404-3.4.0/bin/mongoexport mongodb-linux-x86_64-enterprise-ubuntu1404-3.4.0/bin/mongofiles mongodb-linux-x86_64-enterprise-ubuntu1404-3.4.0/bin/mongoimport mongodb-linux-x86_64-enterprise-ubuntu1404-3.4.0/bin/mongoldap mongodb-linux-x86_64-enterprise-ubuntu1404-3.4.0/bin/mongooplog mongodb-linux-x86_64-enterprise-ubuntu1404-3.4.0/bin/mongoperf mongodb-linux-x86_64-enterprise-ubuntu1404-3.4.0/bin/mongoreplay mongodb-linux-x86_64-enterprise-ubuntu1404-3.4.0/bin/mongorestore mongodb-linux-x86_64-enterprise-ubuntu1404-3.4.0/bin/mongos mongodb-linux-x86_64-enterprise-ubuntu1404-3.4.0/bin/mongostat mongodb-linux-x86_64-enterprise-ubuntu1404-3.4.
    mongod-m034: 0/bin/mongotop /usr/bin
    mongod-m034: + rm -r mongodb-linux-x86_64-enterprise-ubuntu1404-3.4.0/
    mongod-m034: + rm mongodb-linux-x86_64-enterprise-ubuntu1404-3.4.0.tgz
    mongod-m034: + sudo sh -c 'killall mongod; true'
    mongod-m034: mongod: no process found
    mongod-m034: + sudo mkdir -p /data
    mongod-m034: + sudo chmod -R 777 /data
    mongod-m034: + mkdir -p /data/db
    mongod-m034: + mkdir -p /home/vagrant/data
    mongod-m034: + chmod -R 777 /home/vagrant/data
    mongod-m034: + chown -R vagrant:vagrant /home/vagrant/data
    mongod-m034: + mkdir -p /home/vagrant/data/authdb
    mongod-m034: + echo 'Set LC_ALL=C to .profile'
    mongod-m034: Set LC_ALL=C to .profile
    mongod-m034: + sudo echo 'export LC_ALL=C'
    mongod-m034: + install_mongosqld
    mongod-m034: + echo 'Installing BI Connector'
    mongod-m034: Installing BI Connector
    mongod-m034: + mkdir -p /home/vagrant/biconnector
    mongod-m034: + curl -o mongo-bi.tgz https://s3.amazonaws.com/mciuploads/sqlproxy/binaries/linux/mongodb-bi-linux-x86_64-ubuntu1404-v2.0.0-beta5-7-g048ac56.tgz
    mongod-m034:
    mongod-m034:
    mongod-m034: %
    mongod-m034:
    mongod-m034: T
    mongod-m034: o
    mongod-m034: t
    mongod-m034: a
    mongod-m034: l
    mongod-m034:
    mongod-m034:
    mongod-m034:
    mongod-m034:
    mongod-m034: %
    mongod-m034:
    mongod-m034: R
    mongod-m034: e
    mongod-m034: c
    mongod-m034: e
    mongod-m034: i
    mongod-m034: v
    mongod-m034: e
    mongod-m034: d
    mongod-m034:
    mongod-m034: %
    mongod-m034:
    mongod-m034: X
    mongod-m034: f
    mongod-m034: e
    mongod-m034: r
    mongod-m034: d
    mongod-m034:
    mongod-m034:
    mongod-m034: Average Speed   Time    Time     Time  Current
    mongod-m034:                                  Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
    mongod-m034: 1
    mongod-m034: 0
    mongod-m034: 0
    mongod-m034:
    mongod-m034:
    mongod-m034:
    mongod-m034: 2
    mongod-m034: 4
    mongod-m034: 3
    mongod-m034:
    mongod-m034:
    mongod-m034:
    mongod-m034:
    mongod-m034: 0
    mongod-m034:
    mongod-m034:
    mongod-m034:
    mongod-m034: 2
    mongod-m034: 4
    mongod-m034: 3
    mongod-m034:
    mongod-m034:    0     0   1317      0 --:--:-- --:--:-- --:--:--  1320
    mongod-m034: + tar xf mongo-bi.tgz -C /home/vagrant/biconnector
    mongod-m034: tar:
    mongod-m034: This does not look like a tar archive
    mongod-m034:
    mongod-m034: gzip: stdin: not in gzip format
    mongod-m034: tar:
    mongod-m034: Child returned status 1
    mongod-m034: tar:
    mongod-m034: Error is not recoverable: exiting now
The SSH command responded with a non-zero exit status. Vagrant
assumes that this means the command failed. The output for this command
should be in the log above. Please read the output to determine what
went wrong.

the issue is in the function install_mongosqld() in the /tmp/vagrant-shell in the MongoDB VM. if i run that curl command i get a small file back:

vagrant@m034:~$ cat mongo-bi.tgz

<?xml version="1.0" encoding="UTF-8"?>

AccessDeniedAccess DeniedAD66F636D17902E3flkj7/tl7Vjj9C9IOX9byvXLSqwxggquXwKQWaW4jkQLie2jTJjOpEdK3mzeugM3mZ4vNkk85qk=vagrant@m034:~$

and if i try to go to that https address i get this response:

AccessDenied
Access Denied
02D7A99B0170EADC
JFcM4+YHsZX37UnZYg1ofW/r+df+3IpfhxVQNXoE7FuGkXmUXcqhWpFE/J2tdHvhfQf/ql12t+g=

is there a priv issue on this file?

thanks,
jeff

May be you are using wrong/old zip file

I remember it is m310-vagrant-env.zip

well, the homework doesn’t say which VM to use, and in a video (“LDAP Authorization Setup”) not long before the homework the instructor talks about and uses the m034 VM. also, in the handouts for this chapter, m034.zip is immediately above the homework download, so all these things seem to point to using m034.zip.
i’ll try the other two VMs and see if it works there… worst case, i can always re-provision them if the homework script messes something up.
-jeff