Latest `infrastructure-modules-acme` openVPN-server packer fails to build image

packer
pip

#1

I know that the infrastructure-modules repos aren’t supported as such, but just looking for some advice on how to proceed.

Using latest openvpn-server.json (as of today):

Gives an error when installing pip 10.0.0 over pip 8.1.1:

amazon-ebs:   Downloading https://files.pythonhosted.org/packages/62/a1/0d452b6901b0157a0134fd27ba89bf95a857fbda64ba52e1ca2cf61d8412/pip-10.0.0-py2.py3-none-any.whl (1.3MB)
    amazon-ebs: Installing collected packages: pip
    amazon-ebs:   Found existing installation: pip 8.1.1
    amazon-ebs:     Not uninstalling pip at /usr/lib/python2.7/dist-packages, outside environment /usr
    amazon-ebs: Successfully installed pip-10.0.0
    amazon-ebs: Traceback (most recent call last):
    amazon-ebs:   File "/usr/bin/pip", line 9, in <module>
    amazon-ebs:     from pip import main
    amazon-ebs: ImportError: cannot import name main

Looks like its a known issue, with various hacks (pinning to < 10.x) or fixes (incantations such as python -m pip install --upgrade pip).

I think I’m correct in tracing the pip upgrade to here.


#2

Replying so I can mark as resolved.

x-posted to package-openvpn here.


#3

Just to close the loop here: the latest version of package-openvpn will take care of the issue. You can find the latest release here.

Thanks,
Matt