-
Notifications
You must be signed in to change notification settings - Fork 85
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
can not run cloudlets commands after upgrading to v1.5.1 #159
Comments
Hi @dwishnek, Thank you for sharing the details. We will get back to you soon while recreating this issue locally. In the meantime can you please confirm that you get the same error when you try Regards, |
the mentioned directory |
I think that was a copy and paste error as I see the "/" on my console... C:\Users\wishnekd\Documents\Git\aws-akamai>akamai install cloudlets but here are the results if I delete the cli-cloudlet folder... C:\Users\wishnekd\Documents\Git\aws-akamai>akamai install cloudlets I do have python installed... C:\Users\wishnekd\Documents\Git\aws-akamai>python --version And when I copy the old akamai.exe 1.21 back... The install works... C:\Users\wishnekd\Documents\Git\aws-akamai>akamai install cloudlets Installed Commands: cloudlets (alias: cloudlets) See "akamai.exe help [command]" for details. |
Worked with Akamai Support. Noticed that the issue started with version 1.4.0. Version Version 1.3.1 works. In the readme docs, we noticed something changed with Python in version 1.4.0.. (Refactor Python support, making use of virtual environments to isolate dependencies for each Python package. ) Not sure if this is whatr is causing the issue.... Need some help |
OK, I will have a close look to this issue tomorrow afternoon 👍 |
stupid question: which version of python do you have installed in your system? Because after reading your error, it says that it cannot find any suitable python. Yes, from version 1.4.0 the python dependencies management has changed. But the new requirements are clearly shown in the readme file https://github.com/akamai/cli#system-dependencies-for-python-based-packages |
Thank you. And what about the output of the other two mentioned commands? |
OK, it must be some windows specific bug. I will start working on a fix as soon as possible and we will release it as soon as we can. In the meanwhile, you will need to stick to v1.3.x unfortunately :-( Just another question: have you tried this binary on powershell? |
No I will try it now.. And let you know how it goes
Don Wishnek
DevOPS
T +1 212 361 7302 / M +1 704 608 8016
***@***.******@***.***>
Upcoming Out of Office:
From: Roberto López López ***@***.***>
Sent: Friday, June 24, 2022 10:28 AM
To: akamai/cli ***@***.***>
Cc: Wishnek, Don ***@***.***>; Mention ***@***.***>
Subject: Re: [akamai/cli] can not run cloudlets commands after upgrading to v1.5.1 (Issue #159)
EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe.
OK, it must be some windows specific bug. I will start working on a fix as soon as possible and we will release a fix as soon as we can.
In the meanwhile, you will need to stick to v1.3.x unfortunately :-(
Just another question: have you tried this binary on powershell?
-
Reply to this email directly, view it on GitHub<https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fakamai%2Fcli%2Fissues%2F159%23issuecomment-1165630668&data=05%7C01%7Cdon.wishnek%40aciworldwide.com%7Ce3d37bbbd1124836859708da55edb7ad%7Cd1b7f1185cb24d4e85a382e07efb07e9%7C1%7C0%7C637916776728378893%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=%2B6%2BFZ%2Bd8IBxnMyXWgtIBIfuJVJh7sHynP6ITawSqLuM%3D&reserved=0>, or unsubscribe<https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAOUVB4E3P6CFXLZ7YL4P5M3VQXAWLANCNFSM5Y7HUPVQ&data=05%7C01%7Cdon.wishnek%40aciworldwide.com%7Ce3d37bbbd1124836859708da55edb7ad%7Cd1b7f1185cb24d4e85a382e07efb07e9%7C1%7C0%7C637916776728378893%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=KLGCLDF4yCDv1fGQqenNkWSNtpg7XLR1L1%2ByY5gdnik%3D&reserved=0>.
You are receiving this because you were mentioned.Message ID: ***@***.******@***.***>>
…________________________________
[https://go.aciworldwide.com/rs/030-ROK-804/images/aci-footer.jpg]<http://www.aciworldwide.com>
This email message and any attachments may contain confidential, proprietary or non-public information. The information is intended solely for the designated recipient(s). If an addressing or transmission error has misdirected this email, please notify the sender immediately and destroy this email. Any review, dissemination, use or reliance upon this information by unintended recipients is prohibited. Any opinions expressed in this email are those of the author personally.
|
OK, no worries, I will put this task on top of my priorities from Monday. Another idea popping up to my head which might help you. A possible solution could be:
|
yea - see same issue. tried in powershell and just on standard cmd line |
Hi @dwishnek , I have been trying to reproduce your problem inside of a Virtualbox VM (Windows 10 Home 64 bit) with Go 1.18.3 + Python 3.10.5. Installing cli-cloudlets with CLI 1.3.1: I will now make use of CLI 1.5.1. This first execution of cloudlets with v1.5.1 will take quite long time -at least for me, under virtualbox- because under the hood is creating the cloudlets virtual environment. It is very important not to interrupt the virtual environment creation. So far, I cannot find any problem. I have a couple of questions:
Kind regards, Roberto |
Could you please set in such case the environment variable AKAMAI_CLI_HOME ( I am struggling to understand why the virtual environment is not being created automatically in your system, the first time you execute cloudlets with the new binary. |
Hi, Let's not give up yet :-) Where do you have your Regards, Roberto |
python is installed here... C:\Users\wishnekd\AppData\Local\Programs\Python\Python39> But I also see python.exe installed here... C:\Users\wishnekd\AppData\Local\Programs\Python\Python39\Lib\venv\scripts\nt> but it is definitely a different file.. Here is my path... PATH=C:\ProgramData\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0;C:\Program Files (x86)\Webex\Webex\Applications;C:\WINDOWS\System32\OpenSSH;C:\Program Files\Amazon\AWSCLIV2;C:\Go\bin;C:\Program Files\Microsoft VS Code\bin;C:\Program Files\ISC BIND 9\bin;C:\Program Files\PuTTY;C:\Program Files\Intel\WiFi\bin;C:\Program Files\Common Files\Intel\WirelessCommon;C:\ProgramData\chocolatey\bin;C:\Users\wishnekd\AppData\Local\Programs\Python\Python39\Scripts;C:\Users\wishnekd\AppData\Local\Programs\Python\Python39;C:\Program Files\nodejs;C:\Users\wishnekd\Documents\terraform;C:\Program Files\Git\cmd;C:\Users\wishnekd\AppData\Local\Programs\Python\Python39\Scripts;C:\Users\wishnekd\AppData\Local\Programs\Python\Python39;C:\Users\wishnekd\AppData\Local\atom\bin;C:\Users\wishnekd\AppData\Local\GitHubDesktop\bin;C:\Users\wishnekd\go\bin;C:\Users\wishnekd\AppData\Roaming\npm; |
Hi @dwishnek , Could you please show the files inside of your directory This may help me debug the problem. Regards, Roberto |
Here is the listing... C:\Users\wishnekd\AppData\Local\Programs\Python\Python39>dir Directory of C:\Users\wishnekd\AppData\Local\Programs\Python\Python39 10/12/2021 01:43 PM .10/12/2021 01:43 PM .. 10/12/2021 01:42 PM DLLs 10/12/2021 01:42 PM Doc 10/12/2021 01:42 PM include 10/12/2021 01:42 PM Lib 10/12/2021 01:42 PM libs 08/30/2021 08:37 PM 32,628 LICENSE.txt 08/30/2021 08:37 PM 1,085,460 NEWS.txt 08/30/2021 08:36 PM 101,608 python.exe 08/30/2021 08:36 PM 59,624 python3.dll 08/30/2021 08:36 PM 4,488,424 python39.dll 08/30/2021 08:36 PM 100,072 pythonw.exe 06/23/2022 03:41 PM Scripts 10/12/2021 01:42 PM tcl 10/12/2021 01:42 PM Tools 08/30/2021 08:37 PM 97,160 vcruntime140.dll 08/30/2021 08:37 PM 37,256 vcruntime140_1.dll 8 File(s) 6,002,232 bytes 10 Dir(s) 808,872,321,024 bytes free |
Thank you @dwishnek , OK, let's try one small "hack" from your side, and you will tell me if it works. In case it does, I will issue a patch from our side. Could you please copy So the new content of your directory will be:
And then, try once again if cloudlets is working. |
got a different error this time... So first to install cloudlets, I got this error.. Then, If I get cloudlets installed with 1.3.1 and then copy over the new version, and try the following.. C:\Users\wishnekd\Documents\Git\aws-akamai>akamai cloudlets status --policy PROD_Speedpay_Access_Control I get the following... |
OK, I will try to figure out from this point. Seems that my intuition was correct: not enough windows testing :-) Still, if I need some more information I will ask you. Thanks! |
Thanks! Let me know if there is anything else you need me to test
Don Wishnek
DevOPS
T +1 212 361 7302 / M +1 704 608 8016
***@***.******@***.***>
Upcoming Out of Office:
July 18th - July 22nd
From: Roberto López López ***@***.***>
Sent: Tuesday, July 5, 2022 11:03 AM
To: akamai/cli ***@***.***>
Cc: Wishnek, Don ***@***.***>; Mention ***@***.***>
Subject: Re: [akamai/cli] can not run cloudlets commands after upgrading to v1.5.1 (Issue #159)
EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe.
OK, I will try to figure out from this point. Seems that my intuition was correct: not enough windows testing :-)
Still, if I need some more information I will ask you.
Thanks!
-
Reply to this email directly, view it on GitHub<https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fakamai%2Fcli%2Fissues%2F159%23issuecomment-1175166791&data=05%7C01%7Cdon.wishnek%40aciworldwide.com%7Cba759c06570f4a97ebe508da5e977d49%7Cd1b7f1185cb24d4e85a382e07efb07e9%7C1%7C0%7C637926301990201499%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=3SoJXGjGNVgaTMcgZG%2F0fvqV9X4XXhQXSncXE3kB3mM%3D&reserved=0>, or unsubscribe<https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAOUVB4ABIE2NRIDMSBQKYJTVSRFDHANCNFSM5Y7HUPVQ&data=05%7C01%7Cdon.wishnek%40aciworldwide.com%7Cba759c06570f4a97ebe508da5e977d49%7Cd1b7f1185cb24d4e85a382e07efb07e9%7C1%7C0%7C637926301990201499%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=gW00O017YdiLC75NMtNNIjBjI%2FNgVXVUYDDzmHF2lWg%3D&reserved=0>.
You are receiving this because you were mentioned.Message ID: ***@***.******@***.***>>
…________________________________
[https://go.aciworldwide.com/rs/030-ROK-804/images/aci-footer.jpg]<http://www.aciworldwide.com>
This email message and any attachments may contain confidential, proprietary or non-public information. The information is intended solely for the designated recipient(s). If an addressing or transmission error has misdirected this email, please notify the sender immediately and destroy this email. Any review, dissemination, use or reliance upon this information by unintended recipients is prohibited. Any opinions expressed in this email are those of the author personally.
|
hi @dwishnek , Unfortunately, I do not get such errors on my W10 VM. I suspect that the Regards, Roberto |
Here you go... C:\Users\wishnekd\Documents\Git\aws-akamai>go run main.go C:\Users\wishnekd\Documents\Git\aws-akamai> |
Hi, Thank you for your feedback. I have modified a little bit my python VM setup, win10 seems to be adding some extra python.exe which may be interfering with my tests. These is what I have now: Installing cloudlets with akamai 1.3.1 (as you did): I will try now to make use of akamai 1.5.1 (our develop branch, so it is not 100% the same as our latest release). Once again, first time I invoke cloudlets with this binary the virtual environment gets generated. This takes some time (please do not interrupt). I will now remove my I cannot really reproduce your problem. If you do not mind, I will try to reach you through customer support and set a call, OK? Thanks. |
@dwishnek : if you agree, could you please close this ticket? Apparently, as we were talking on webex, this problem was due to user permissions |
Yes issue seems to be resolved |
Was told told to leave message here as opposed to cloudlets area. as the issue may be cli related...
After I upgrade cli from 1.2.1 to 1.5.1, The cloudlets module no longer is recognized. However, when i try to install cloudlets, I get this...
C:\Users\wishnekd\Documents\Git\aws-akamai>akamai install cloudlets
Attempting to fetch command from https://github.com/akamai/cli-cloudlets.git... ... [WARN]
←[33mPackage directory already exists (C:\Users\wishnekd.akamai-cli\src\cli-cloudlets). To reinstall this package, first run 'akamai uninstall' command.←[0m
And when I try to uninstall it, I get this...
C:\Users\wishnekd\Documents\Git\aws-akamai>akamai uninstall cloudlets
ERROR[0000] command "cloudlets" not found. Try "akamai.exe help" command=uninstall
ERROR[0000] UNINSTALL ERROR: command "cloudlets" not found. Try "akamai.exe help" command=uninstall
←[31mcommand "cloudlets" not found. Try "akamai.exe help"←[0m
Any help would be appreciated.
Cloudlets runs perfectly with version 1.2.1
The text was updated successfully, but these errors were encountered: