bostko commented on this pull request.
> @@ -108,13 +113,15 @@ public String toString() {
public static DataDisk create(final String name, final String diskSizeGB,
final Integer lun,
final VHD vhd, final VHD image, final String
createOption, final String
The problem which I was hitting without if I update disks section of a vm with :
```java
DataDisk newDataDisk = DataDisk.builder().name("managed-disk")
//
.caching(DataDisk.CachingTypes.READ_WRITE)
//.
.build();
```
and in request for updating
Examples if someone wants to add tests for managed disks operations
https://docs.microsoft.com/en-us/rest/api/manageddisks/disks/disks-create-or-update
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
- Fix DataDisk.CachingTypes.fromValue to recognize values properly
- Fix tests which had blob disks and managed disks at the same time
- At this point managed disks are used by default and should be tested.
You can view, comment on, or merge this pull request online at:
bostko commented on this pull request.
> @@ -91,15 +90,52 @@ public static LinuxConfiguration create(final String
> disablePasswordAuthenticati
@AutoValue
public abstract static class WinRM {
+ public enum Protocol {
+
+ HTTP("http"),
+
bostko commented on this pull request.
> @@ -82,6 +87,20 @@ protected void tearDown() {
}
}
+ @BeforeClass
+ @Override
+ public void setup() {
+ super.setup();
+
+ // Providing system properties for specifying the required Azure
KeyVault configurations for Live
bostko commented on this pull request.
> @@ -91,15 +90,52 @@ public static LinuxConfiguration create(final String
> disablePasswordAuthenticati
@AutoValue
public abstract static class WinRM {
+ public enum Protocol {
+
+ HTTP("http"),
+
I prefer to put effort in supporting more windowsconfiguration parameters in
the TemplateOptions rather than focusing on this bit.
I'd like to pick this simple change in 2.0.x as well. Thanks.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or
bostko commented on this pull request.
> @@ -54,6 +54,7 @@
protected String networkSecurityGroupName;
protected String reservedIPName;
protected Boolean provisionGuestAgent;
+ protected Boolean winrmUseHttps;
Thank you very much for the suggestion.
Looks good however I am more
mvn build seems to be successful however jenkins report it failed.
```
[INFO] BUILD SUCCESS
[INFO]
[INFO] Total time: 5:23.302s
[INFO] Finished at: Sat Mar 18 03:42:33 EDT 2017
...
[JENKINS] Archiving
Listener protocol flag allowing https usage.
You can view, comment on, or merge this pull request online at:
https://github.com/jclouds/jclouds-labs/pull/371
-- Commit Summary --
* Azurecompute (Classic) - additional templateOptions for
WindowsProvisioningConfiguration
-- File Changes --
Closed #171.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-google/pull/171#event-872956603
You can view, comment on, or merge this pull request online at:
https://github.com/jclouds/jclouds-labs-google/pull/174
-- Commit Summary --
* GCE: Nullable selfLink in SerialPortOutput
-- File Changes --
M
- Function which tells to GCE to reset Windows password
- InstanceApiLiveTest for windows
- Unit test for decrypting windows password
- fixed compile errors
The initial pull request was done against 1.9.x
https://github.com/jclouds/jclouds-labs-google/pull/170
You can view, comment on, or
@andreaturli thank you! I will make a PR against jclouds master tomorrow.
---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-google/pull/170#issuecomment-223938034
@andreaturli ?
---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-google/pull/170#issuecomment-223508179
What I am opening is more an issue than a PR.
Can you give me an idea what to try and how to fix this issue, thanks.
AWSEC2ImageSupplierTest#testDescribeImagesParallel throws an exception on my
local machine:
```
java.util.concurrent.ExecutionException:
Closed #170.
---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-google/pull/170#event-661422284
Reopened #170.
---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-google/pull/170#event-661422299
> @@ -73,7 +76,9 @@ public BaseGoogleComputeEngineApiLiveTest() {
> }
>
> @Override protected GoogleComputeEngineApi create(Properties props,
> Iterable modules) {
> - Injector injector =
> newBuilder().modules(modules).overrides(props).buildInjector();
> + //
Wouldn't be nice if you preserve the feature for setting hardwareUri somehow?
---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/951#issuecomment-216478138
> @@ -141,15 +146,16 @@
>
>Scheduling scheduling = getScheduling(options);
>
> - NewInstance newInstance = new NewInstance.Builder( name,
> -template.getHardware().getUri(), // machineType
> -network,
> -disks)
> -.description(group)
> @@ -73,7 +76,9 @@ public BaseGoogleComputeEngineApiLiveTest() {
> }
>
> @Override protected GoogleComputeEngineApi create(Properties props,
> Iterable modules) {
> - Injector injector =
> newBuilder().modules(modules).overrides(props).buildInjector();
> + //
@nacx I saw your comment now.
I did it :)
There was problem cleaning up resources. I decided to move this live test into
new class so the windows is not dependent on the centos instances used in the
original `InstanceApiLiveTest`
---
You are receiving this because you are subscribed to this
@nacx the live tests do not work now because it is loading the wrong crypto.
It is loading `org.jclouds.encryption.internal.JCECrypto` instead of
`org.jclouds.encryption.bouncycastle.BouncyCastleCrypto`
How to tell the injector to use the correct one in tests?
---
You are receiving this because
Testing. Do not merge yet.
---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-google/pull/170#issuecomment-214756140
@nacx wdyt?
---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-google/pull/170#issuecomment-214749017
> + private final Predicate operationDone;
> +
> + // FIXME do not use new except for tests
> + @Inject
> + public ResetWindowsPassword(GoogleComputeEngineApi api, Crypto crypto,
> Predicate operationDone) {
> + this.api = api;
> + this.crypto =
> + * Generate a temporary key for encrypting and decrypting the password
> + * Send the RSA public key to the instance, by settings its metadata
> + * Retrieve the result from the {@link SerialPortOutput}
> + * Decode and decrypt the result.
> + *
> + */
> +public class
Closed #949.
---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/949#event-641459771
This PR is already made for 1.9.x in
https://github.com/jclouds/jclouds-labs-google/pull/170
I had to comment out GoogleComputeEngineServiceAdapter.java:145 to compile
against master.
---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it
- Function which tells to GCE to reset Windows password
- InstanceApiLiveTest for windows
- Unit test for decrypting windows password
- fixed compile errors
You can view, comment on, or merge this pull request online at:
https://github.com/jclouds/jclouds/pull/949
-- Commit Summary --
*
@aledsage @andreaturli @nacx can you review?
---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-google/pull/170#issuecomment-214432611
> + public String call() {
> + String serialPortContents = "";
> + Map passwordDict = ImmutableMap.of();
> + while (!serialPortContents.startsWith("{\"ready\":true")
> || passwordDict.get("encryptedPassword") ==
`server.enqueue(jsonResponse("/project.json"));` doesn't seem to help for tests.
---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-google/pull/171#issuecomment-209854321
@aledsage test failure is older and it is because of
ProjectApiLiveTest.getProject() failing.
I will look after lunch how I could plug in `MachineTypeToHardware` to
transform the hardwareId.
---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or
You can view, comment on, or merge this pull request online at:
https://github.com/jclouds/jclouds-labs-google/pull/171
-- Commit Summary --
* Support shortened hardwareId in GCE
-- File Changes --
M
> @@ -173,6 +181,18 @@
>// Add lookup for InstanceToNodeMetadata
>diskToSourceImage.put(instance.get().disks().get(0).source(),
> template.getImage().getUri());
>
> + boolean windows = options.autoCreateWindowsPassword() != null
> + ?
> +Throwables.propagate(e);
> + }
> + serialPortContents =
> instanceApi.getSerialPortOutput(instance.get().name(), 4).contents();
> + String[] contentEntries =
> serialPortContents.split("\n");
> +
> + logger.debug("Generating windows key for instance %s, by updating
> metadata", instance.get().name());
> + final InstanceApi instanceApi = api.instancesInZone(zone);
> + Metadata metadata = instance.get().metadata();
> + // If disableHtmlEscaping is not there,
> +Throwables.propagate(e);
> + }
> + serialPortContents =
> instanceApi.getSerialPortOutput(instance.get().name(), 4).contents();
> + String[] contentEntries =
> serialPortContents.split("\n");
> +
> + GoogleComputeEngineApi api = createMock(GoogleComputeEngineApi.class);
> + InstanceApi instanceApi = createMock(InstanceApi.class);
> + Operation operation = createMock(Operation.class);
> + SerialPortOutput serialPortOutput = createMock(SerialPortOutput.class);
> +
Draft code for setting passwords on windows.
- No If(Windows) check
- Not clear whether the deployment will be completed at the end of
GoogleComputeEngineServiceAdapter.createNodeWithGroupEncodedIntoName
You can view, comment on, or merge this pull request online at:
43 matches
Mail list logo