I'm currently trying to install a docker image on an air-gaped Windows Server 2016 machine. I have a Windows 10 machine that's connected to the internet from which I can transfer files. However, the Windows 10 machine can't seem to connect to the Microsoft docker API (https://mcr.microsoft.com/v2) to download the files needed to create the image tar file.
Specifically, when I connect to https://mcr.microsoft.com/v2/windows/nanoserver/tags/list I see a full list of tags available for download. However, I can only connect to the "sac2016" tag. All other endpoints return a "MANIFEST_INVALID" error.
For example, on the Windows 10 machine https://mcr.microsoft.com/v2/windows/nanoserver/manifests/1709 returns:
{"errors":[{"code":"MANIFEST_INVALID","message":"manifest invalid","detail":{}}]}
How can I connect to the Microsoft API to download these files? Is Microsoft restricting these files under the assumption that I'm not running the corresponding Windows version for these images? If so, is there a way around that restriction?
Check first if a more complete tag works.
I do manage to access https://mcr.microsoft.com/v2/windows/nanoserver/manifests/1709-amd64
So 1709-amd64 instead of 1709, the latter giving "manifest unknown".
Only images with architecture might be defined here.
Related
I am trying to follow these instructions to us the Jenkins Plugin to create Jenkins agents with Azure Virtual Machines (via Azure ARM template).
Azure VM Agents plugin
Under Supported Features, it says:
Windows Agents on Azure Cloud using SSH and JNLP
For Windows images to launch via SSH, the image needs to be preconfigured with SSH.
I am a bit confused by this and I'm not sure what it means.
Does it mean that an SSH Client or Server should be installed on the Windows image?
There doesn't seem to be a option for setting up a Windows Azure VM with SSH access, as there is for a linux VM.
Please can anyone clarify what the set up process is?
(By the way, I have tried an unattended installation of cygwin on the Windows VM to try to run a SSH server, but I am running into a separate problem I am trying to solve. I'd like to know if this is not required.)
Answering my own question now I have got a bit deeper in. In the configuration section of the plugin, under Image Configuration, clicking the help on the launch method clarifies what's required.
It looks like a custom image needs to be custom-prepared with a SSH server pre-installed. However, it also looks like it is possible to launch an image with JNLP instead, so I will try that.
Update
I couldn't get JNLP to work (not sure why) but I did get SSH to work. Ticking the 'Pre-Install SSH in Windows Slave (Check when using Windows and SSH)' box does the trick. There's no need to pre-install on the custom image.
I have a directory on my server, Ubuntu Linux, and it contains a bunch .csv files and is updated regularly, I need to be able to sync that folder with a folder on a local machine which is a Windows PC.
There's no problem connecting via FTP, filezilla, but it's the automation I need to work out out.
The files once downloaded are then screened for deliveries.
I can't seem to see anything of help online.
In Windows you can use WinSCP instead of Filezilla, it have a option "Autosync" every time a specific files change on local computer.
You can download and read the documentation in the oficial website:
https://winscp.net/eng/download.php
I have been downloading the zip file containing the Windows 10 virtual machine for Virtualbox on Mac several times from the website below:
http://dev.modern.ie/tools/vms/mac/
It unzips to a .cpgz file, when you extract that file it results in a zip file and so on... This blog http://osxdaily.com/2013/02/13/open-zip-cpgz-file/ suggests its a corrupt zip file.
I also tried the multipart download with the same result, so I assume the VM / Zip is broken.
Did anyone use this VM with success on Mac?
Files are zip64 and you will need a tool that supports it. We recommend using "The Unarchiver" in the instructions, page 2 Mac section.
The blog you point is from 2013 and the Windows 10 VMs weren't available back then.
Beware that currently there is an issue with Microsoft Edge in that specific VM: the userAgent and the headers sent by the browser are no the right ones so some websites don't work as expected. If you can download the PC version it will work OK on your Mac.
If you have any other issue with the website please let me know and I'll work on fixing it asap.
Edit: There is no longer any issue with the userAgent and the headers
Our organisation is in the process of upgrading from DataStage 9.1 to 11.3.
Problem: The DataStage 11.3 Assembly Editor fails to display, and falls over with an error.
Backend OS:
Red Hat Enterprise Linux Server release 6.6 (Santiago)
Linux 2.6.32-504.3.3.el6.x86_64 #1 SMP Fri Dec 12 16:05:43 EST 2014 x86_64 x86_64 x86_64 GNU/Linux
Client OS:
Windows 7 Professional 64-bit (ok, it’s bootcamp Windows running on a Mac). Flash player 16 ActiveX (latest version).
We raised a ticket with IBM and they said it was a flash player problem and we should install the debugger version of flash to get a trace file. After completing the trace, we managed to capture the following error:
RSL Error 1 of 3 (can also be 2 or 3 of 3, in no particular order)
Error #2032: Stream Error. URL: https:/// /ibm/iis/ds/xmlpack3/XMLPackLibrary.swf
Note: There are three swf (flash player) files in that server location. The RSL error #2032 error could occur on any one of the following:
ISD_UI_Theme.swf
XMLPackController.swf
XMLPackLibrary.swf
One important factor in this upgrade is that we have installed the backend of DataStage in the Amazon AWS cloud, and have installed the client tools on our local network. So this should not be factor, given that the client tools access the back via HTTP or HTTPS. Our DevOps guys have said that the domain that is giving us problems is probably our local windows domain (and the security within it). We don’t believe that having the backend on an AWS host is the cause of the problem. We have tried to eliminate the AWS cloud (and our local Group Policies) out of the equation, by creating a Windows 2008 server in the AWS cloud on a Bastion Host, with local administrator access. We had a lot of problems with Internet Explorer Enhanced Security Configuration. We had to force it to turn off by hacking the registry. Once we could get past the IE problems, we managed to replicate the exact 2032 error on the 2008 server as my Windows 7 machine on the LAN.
The only way we can get the Assembly Editor to work is to log in as the local Administrator user on the 2008 server. No other user works, even if they have full Administrator rights and nothing else. We’ve tried everything on this and relaxed all security measures that we can think of. Something appears to be blocking the flash player plugin that is launched from DataStage via a custom Internet Explorer session.
One test that IBM recommended is to access the swf files directly in the browser by substituting the URL :
https:///ibm/iis/ds/xmlpack3/index.html
https:///ibm/iis/ds/XMLPackController.swf
This test works OK, which means that Flash Player is installed and functioning. What is interesting is that the URL prompts for a username and password. That leads me to think that the problem exists in the handshake of credentials between the flash player and the backend and/or what directories the flash player can write to.
Has anybody found a resolution to this problem? Currently our upgrade to 11.3 is at a standstill until we get an answer.
We found a solution to our own problem. There is a setting in Internet Explorer that if turned on, can block the download of the SWF files to the local machine. This can be found in the Security section of the Advanced tab in the Internet options:
Do not save encrypted pages to disk
This setting must be turned off. We had turned it on because it was recommended by SalesForce. If turned on, the SWF files will not be saved and therefore will not execute. The result is an RSL #2032 stream error.
This fixed the problem immediately. Now we just need to apply the setting to our Group Policies for the domain.
I hope this helps other DataStage users. This one had us confused for days!
I have to copy a file from a windows 2008 server to one or more windows 2008 servers. I have accounts on the target machines with enough privileges to let me use powershell remoting and use wmi. The remote machines do not run ftp, ssh or similar file transfer mechanisms. I am not allowed to install software or run new services on the target server. I can run services on the source server.
The file copy action must be initiated from the source server. i.e. I cannot manually logon to the target machines and initiate the copy - though an automated way to do this is acceptable.
Is it possible to use WMI or PowerShell Remoting to push or pull the file from the source to the target ? Is it possible to invoke some sort of built in http client or invoke the BITS service/agent on the remote servers to pull files from the source server ?
Other suggestions please.
Yes it is possible to copy files using the constraints you've been given. Basically, you will need to ensure the source server has a file share that's accessible by the target host. You will then need to follow the process created by Frank White, here on SO, and fully fleshed out and referenced here, though you'll have to translate from VBS to PS1:
Trying to copy file from one XP PC to another using WMI, since RPC and UNC are not available