Snowball Workflow Cheatsheet March 2021

Please visit Netflix Partner Help Center for further Snowball Workflow Documentation: https://partnerhelp.netflixstudios.com/hc/en-us/sections/360012188233-Snowball

Snowball User Guide: https://partnerhelp.netflixstudios.com/hc/en-us/articles/360000594487-Snowball-Edge-User-Guide-Delivery-Workflow

Snowball Troubleshooting Guides: https://partnerhelp.netflixstudios.com/hc/en-us/sections/360012188233-Snowball

________________________________________________________________________

Elements needed to unlock a Snowball
1. API Key (ClientID & ClientSecret) https://starship.netflixstudios.com/
2. Production Uploader's Starship Credential https://starship.prod.netflix.net/users
3. Snowball Job Name (See the Snowball status update emails sent to the uploader)



CLIENT_ID=<CLIENT_ID>
CLIENT_SECRET=<CLIENT_SECRET>

Email: <EMAIL>

Snowball Job Name: <JOBNAME>



_________________________________________________________________________

Snowball Workflow

In the below examples, placeholder data has been encapsulated in [square brackets], when adding your own data, please be sure to remove the square brackets.
e.g.
-email [your email/username] becomes -email example@example.com


To run CHCLI, please start with the cd command to the chcli bin in Terminal:

Step 1 - Run CHCLI by running cd [chcli/bin]
e.g.
cd ~/Desktop/chcli-1.48.0/bin



Step 2 - Reset/Unlock - password needs to be enclosed with single quotes
./chcli -action clean -email <EMAIL> -password '<EMAIL_PASSWORD>' -clientId <CLIENT_ID> -clientSecret <CLIENT_SECRET> -snowballIp <SNOWBALL_IP>



Step 3 - Checksum
./chcli -action checksum -dir [Path/to/SourceFolder]



Step 4 - Transfer - password needs to be enclosed with single quotes
./chcli -action copy -sourceDirectory [Path/to/SourceFolder] -email <EMAIL> -password '<EMAIL_PASSWORD>' -clientId <CLIENT_ID> -clientSecret <CLIENT_SECRET> -snowballIp <SNOWBALL_IP>



Step 5 - Asset Verification
This step is to be performed at the completion of the asset transfer, before shipping Snwoball back to AWS.



Step 5.1 - Report Generation
./chcli -action report

The report will be generated and located at user directory: 

~/.netflix/contenthub-cli-snowball/nfcli_checksum.txt

This is a hidden file, please use Command+Shift+Dot to locate the hidden file
Please also upload the file to the project's Workspace and share this with your Netflix Asset Management admin via Workspace, please label the file with the job name



Step 5.2 - To verify if all assets that have been scanned to be transferred have indeed been transferred. Please run the below two egrep commands:
egrep "file,.*null,0$" nfcli_checksum.txt

I.e: egrep "file,.*null,0$" /Users/Downloads/Chopsticks_nfcli_checksum.txt

To check the number of the files that didn't get transferred to the Snowball

egrep "file,.*null,0$" nfcli_checksum.txt | wc -l

I.e. egrep "file,.*null,0$" /Users/Downloads/Chopsticks_nfcli_checksum.txt | wc -l
   91858