Missed out the user list.  Any help would be really appreciated

From: Thomas B
Sent: 13 April 2016 22:26
To: Josh Thompson
Subject: RE: Capturing Linux Image

Hi Josh,

Did some more testing and I’m not quite there yet, but almost so any help would 
be really appreciated. When making a reservation I can see the VM get assigned 
and boot up on the esxi Host which is great. 

Looking at the logs, connecting via SSH works fine also (not using the vsphere 
sdk at the mo). The problem lies in configuring the external ssh service and is 
why the provisioning eventually fails. 

VCL looks for /lib/systemd/system/sshd.service, which I don’t have, I saw 
ssh.service and so made a copy of that and named it sshd.service, didn’t think 
it would work but it was worth a shot. 

Not sure what this config file is for, as when configuring ssh in kali I’ve 
never used this file before, any ideas? Some relevant log details below.

2016-04-11 01:49:57|15915|2|2|new|OS.pm:create_text_file|2217|created text file 
on Kali-Linux: /etc/ssh/external_sshd_config
2016-04-11 01:49:57|15915|2|2|new|Linux.pm:set_file_permissions|2173|set 
permissions of '/etc/ssh/external_sshd_config' to '600' on Kali-Linux
2016-04-11 01:49:57|15915|2|2|new|OS.pm:get_file_contents|2341|retrieved 15 
lines from file on Kali-Linux: '/lib/systemd/system/sshd.service'
ystemd.pm:enable_service|302|failed to enable 'ext_sshd' service on Kali-Linux, 
exit status: 1, output:
|15915|2|2|new|systemd.pm:enable_service|302| Failed to execute operation: Too 
many levels of symbolic links

Tom

Sent from Mail for Windows 10

From: Josh Thompson
Sent: 11 April 2016 17:14
To: [email protected]
Subject: Re: Capturing Linux Image

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Thomas,

Thanks for the update.  Sometimes, we're not so responsive on the weekends.  
I'm glad you got it working.

Josh

On Sunday, April 10, 2016 8:10:31 PM Thomas B wrote:
> Hi again,
> 
> Just to update, got the capture process working.
> 
>  Followed the configuration examples more closely in the VMware config
> section on the website using an exported NFS store on the management node
> (getting NFS working wasn’t fun!) and mounting that on the VM Host as a
> repository.
> 
> Going to try more image captures with additional VM’s with extra NIC’s in,
> see how it goes.
> 
> tom
> 
> 
> Sent from Mail for Windows 10
> 
> Sent: 08 April 2016 13:42
> To: [email protected]
> Subject: Capturing Linux Image
> 
> Hi all
> 
> Wondering if if anyone can provide assistance again. I’m having some
> problems capturing a Linux image and I’m thinking its how my vm host
> profile is setup (Vmware esxi-local).
> 
> Now its probably due to my lack of understanding on how the capture process
> works and how vcl essentially provisions VM’s. Is there anything  on the
> website that details the capture process? I cant seem to find anything.
> 
> The errors Im getting are below. My setup is VM’s running on one esxi box
> (compute node ive called it) and centos running on a separate physical box
> (vcl-mgmt) which runs the web portal/database ect.
> 
> What happens to the vms on the compute node once the capture process starts?
> Initially I have everything on local storage. Trying to get this work
> before I try shared storage.
> 
> 2016-04-08 02:19:58|14932|1|1|image|VMware.pm:is_vm_dedicated|4025|VM disk
> mode does not need to be dedicated 2016-04-08
> 02:19:58|14932|1|1|image|VMware.pm:initialize|363|not checking if vmdk base
> directory exists because it is the same as the vmx base directory: address:
> 3a5bb20
> 2016-04-08 02:19:58|14932|1|1|image|vcld:make_new_child|584|VCL::image
> object created and initialized 2016-04-08
> 02:19:58|14932|1|1|image|VMware.pm:does_image_exist|4368|image does NOT
> exist in datastore on VM host ESXI-COMPUTE:
> /vmfs/volumes/datastore1/vmwareubuntu-Kaliv22-v0/vmwareubuntu-Kaliv22-v0.vm
> dk 2016-04-08
> 02:19:58|14932|1|1|image|VMware.pm:get_repository_vmdk_base_directory_path|
> 3908|repository path is not configured in the VM profile 2016-04-08
> 02:19:58|14932|1|1|image|VMware.pm:get_repository_vmdk_directory_path|3949|
> image repository vmdk directory path cannot be determined because repository
> path is not configured in the VM profile
> 2016-04-08 02:19:58|14932|1|1|image|VMware.pm:does_image_exist|4385|image
> does not exist on the VM host and image repository path is not configured
> in the
> 
> Thanks for any info
- -- 
- -------------------------------
Josh Thompson
VCL Developer
North Carolina State University

my GPG/PGP key can be found at pgp.mit.edu

All electronic mail messages in connection with State business which
are sent to or received by this account are subject to the NC Public
Records Law and may be disclosed to third parties.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iEYEARECAAYFAlcLzWcACgkQV/LQcNdtPQNvVACfSmomeNV9gWW5Y6Rv5nE4UhLg
lpwAn2FrQ8246DoYydCZILRbJ5GtIg/X
=dGKx
-----END PGP SIGNATURE-----



Reply via email to