echoing-dress-72742
11/25/2022, 9:22 AMwet-noon-14291
11/25/2022, 8:52 PMfierce-dinner-64337
11/25/2022, 11:48 PMfreezing-activity-93019
11/26/2022, 4:08 PMDiagnostics:
pulumi:pulumi:Stack (pulumi-kubernetes-pulumi-kubernetes):
error: an unhandled error occurred: program exited with non-zero exit code: 2
panic: fatal: An assertion has failed: {<nil> <nil> <nil> <nil> <nil> <nil> <nil> <nil> <nil> <nil> flux-system flux-system <nil> <nil> <nil> <nil>}: cannot assign v1.objectMetaPtrType to v1.ObjectMeta
goroutine 42 [running]:
<http://github.com/pulumi/pulumi/sdk/v3/go/common/util/contract.failfast(...)|github.com/pulumi/pulumi/sdk/v3/go/common/util/contract.failfast(...)>
<http://github.com/pulumi/pulumi/sdk/v3@v3.48.0/go/common/util/contract/failfast.go:23|github.com/pulumi/pulumi/sdk/v3@v3.48.0/go/common/util/contract/failfast.go:23>
<http://github.com/pulumi/pulumi/sdk/v3/go/common/util/contract.Assertf|github.com/pulumi/pulumi/sdk/v3/go/common/util/contract.Assertf>(0x20?, {0x248475a?, 0x240c660?}, {0xc000c87068?, 0xc000c78b01?, 0x98?})
<http://github.com/pulumi/pulumi/sdk/v3@v3.48.0/go/common/util/contract/assert.go:33|github.com/pulumi/pulumi/sdk/v3@v3.48.0/go/common/util/contract/assert.go:33> +0xed
<http://github.com/pulumi/pulumi/sdk/v3/go/pulumi.marshalInputImpl({0x1e67920|github.com/pulumi/pulumi/sdk/v3/go/pulumi.marshalInputImpl({0x1e67920>?, 0xc00046a200?}, {0x279c0a8?, 0x1b22fe0?}, 0x1, 0x58?)
<http://github.com/pulumi/pulumi/sdk/v3@v3.48.0/go/pulumi/rpc.go:391|github.com/pulumi/pulumi/sdk/v3@v3.48.0/go/pulumi/rpc.go:391> +0xa09
<http://github.com/pulumi/pulumi/sdk/v3/go/pulumi.marshalInput(...)|github.com/pulumi/pulumi/sdk/v3/go/pulumi.marshalInput(...)>
<http://github.com/pulumi/pulumi/sdk/v3@v3.48.0/go/pulumi/rpc.go:214|github.com/pulumi/pulumi/sdk/v3@v3.48.0/go/pulumi/rpc.go:214>
<http://github.com/pulumi/pulumi/sdk/v3/go/pulumi.marshalInputs.func1({0x198ccc5|github.com/pulumi/pulumi/sdk/v3/go/pulumi.marshalInputs.func1({0x198ccc5>, 0x8}, {0x1e67920?, 0xc00046a200?}, {0x279c0a8?, 0x1b22fe0?})
<http://github.com/pulumi/pulumi/sdk/v3@v3.48.0/go/pulumi/rpc.go:134|github.com/pulumi/pulumi/sdk/v3@v3.48.0/go/pulumi/rpc.go:134> +0x97
<http://github.com/pulumi/pulumi/sdk/v3/go/pulumi.marshalInputs({0x272a400|github.com/pulumi/pulumi/sdk/v3/go/pulumi.marshalInputs({0x272a400>, 0xc00053eaf0})
<http://github.com/pulumi/pulumi/sdk/v3@v3.48.0/go/pulumi/rpc.go:184|github.com/pulumi/pulumi/sdk/v3@v3.48.0/go/pulumi/rpc.go:184> +0xa18
<http://github.com/pulumi/pulumi/sdk/v3/go/pulumi.(*Context).prepareResourceInputs(0xc00019a580|github.com/pulumi/pulumi/sdk/v3/go/pulumi.(*Context).prepareResourceInputs(0xc00019a580>, {0x278fe68?, 0xc00046a300?}, {0x272a400, 0xc00053eaf0}, {0x2483e58?, 0x19?}, 0xc000246b40, 0xc00011c480, 0x0, ...)
<http://github.com/pulumi/pulumi/sdk/v3@v3.48.0/go/pulumi/context.go:1280|github.com/pulumi/pulumi/sdk/v3@v3.48.0/go/pulumi/context.go:1280> +0x1a5
<http://github.com/pulumi/pulumi/sdk/v3/go/pulumi.(*Context).registerResource.func1()|github.com/pulumi/pulumi/sdk/v3/go/pulumi.(*Context).registerResource.func1()>
<http://github.com/pulumi/pulumi/sdk/v3@v3.48.0/go/pulumi/context.go:832|github.com/pulumi/pulumi/sdk/v3@v3.48.0/go/pulumi/context.go:832> +0x271
created by <http://github.com/pulumi/pulumi/sdk/v3/go/pulumi.(*Context).registerResource|github.com/pulumi/pulumi/sdk/v3/go/pulumi.(*Context).registerResource>
<http://github.com/pulumi/pulumi/sdk/v3@v3.48.0/go/pulumi/context.go:819|github.com/pulumi/pulumi/sdk/v3@v3.48.0/go/pulumi/context.go:819> +0x845
freezing-activity-93019
11/26/2022, 4:08 PMicy-controller-6092
11/27/2022, 11:53 PM@pulumi/aws
package? https://github.com/hashicorp/terraform-provider-aws/pull/27965broad-house-79544
11/28/2022, 6:43 AMbrave-wall-78117
11/28/2022, 8:05 AM./redis/redis.conf
is within the Pulumi project.
I tried using `HostPath = $"{Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location)}\redis\redis.conf",`but it exceeds the max path length of 255 and doesn't reach out that part.
dockerindexContainer (RedisContainer):
error: dockerindex/containerContainer resource 'RedisContainer' has a problem: './redis/redis.conf' must be an absolute path: './redis/redis.conf' must be an absolute path. Examine values at 'Container.Volumes'.
return await Deployment.RunAsync(() =>
{
var stackName = Deployment.Instance.StackName;
const string redisHost = "redis";
// Get configuration
var config = new Pulumi.Config();
var redisPort = config.RequireInt32("redisPort");
// Create network
var network = new Network("network", new NetworkArgs
{
Name = $"services-{stackName}"
});
// Find the latest redis image
var redisImage = new RemoteImage("RedisImage", new RemoteImageArgs
{
Name = "redis:alpine"
});
// Start a container
var redisContainer = new Container("RedisContainer", new ContainerArgs
{
Name = $"redis-{stackName}",
Image = redisImage.Latest,
Ports = new InputList<ContainerPortArgs>
{
new ContainerPortArgs
{
Internal = redisPort,
External = redisPort
}
},
Command = new InputList<string>
{
"redis-server /usr/local/etc/redis/redis.conf --requirepass mypassword"
},
Volumes = new InputList<ContainerVolumeArgs>
{
new ContainerVolumeArgs
{
HostPath = "./redis/redis.conf",
ContainerPath = "/usr/local/etc/redis/redis.conf"
}
},
NetworksAdvanced = new InputList<ContainerNetworksAdvancedArgs>
{
new ContainerNetworksAdvancedArgs
{
Name = network.Name,
Aliases = new[]
{
redisHost
}
}
},
});
// Export
return new Dictionary<string, object?>
{
["redisContainer"] = redisContainer.Name
};
});
mysterious-apartment-62241
11/28/2022, 8:46 AMechoing-dress-72742
11/28/2022, 8:51 AMabundant-telephone-90024
11/28/2022, 8:56 AMbroad-house-79544
11/28/2022, 2:02 PMpulumi stack export...
, and then tried to import it, but getting this error:
error: this command requires a stack, but there are none
broad-house-79544
11/28/2022, 2:03 PMsalmon-hairdresser-65532
11/28/2022, 4:21 PMbrave-wall-78117
11/28/2022, 9:08 PMcurved-hair-46639
11/29/2022, 6:32 AMspin_venv()
function to prepare a virtual environment.colossal-vr-62639
11/29/2022, 7:20 AMpulumi-base
docker image for my pulumi workloads with my dotnet based pulumi programs.
From and including the image tagged 3.47.0
, i'm getting a
error: could not find `dotnet` on the $PATH: exec: "dotnet": executable file not found in $PATH
error: failed to load language plugin dotnet: could not read plugin [/pulumi/bin/pulumi-language-dotnet] stdout: EOF
Whereas with the image tagged 3.46.0
, i'm not seeing it.
If I use pulumi-dotnet
it does work, my curiosity is in why the pulumi-base
worked previously and stopped working.echoing-dress-72742
11/29/2022, 8:26 AMclever-painter-96148
11/29/2022, 10:22 AMpkg:index:MyComponent
.
Should I replace pkg
with my package name and index
with a module name?dazzling-television-62903
11/29/2022, 10:32 AMmost-mouse-38002
11/29/2022, 10:53 AMprehistoric-laptop-47240
11/29/2022, 12:04 PMpulumi up
when everything else is ready to have it working.
I'm using it exactly like in the examples. Any idea ? :s. All I saw is that if i'm pulling an image and not building it, everythings seems to work fine...dry-potato-52542
11/29/2022, 7:08 PMpulumi stack tag set
magnificent-motherboard-76110
11/29/2022, 9:32 PMicy-controller-6092
11/29/2022, 10:34 PMfierce-dinner-64337
11/29/2022, 10:42 PMmany-helicopter-89037
11/29/2022, 11:03 PMrhythmic-branch-12845
11/30/2022, 3:00 AMclever-soccer-98174
11/30/2022, 3:05 AMaws.lambda.CallbackFunction
{
"errorType": "Error",
"errorMessage": "Cannot find module 'tslib'\nRequire stack:\n- /var/task/__index.js\n- /var/runtime/index.mjs",
"code": "MODULE_NOT_FOUND",
"requireStack": [
"/var/task/__index.js",
"/var/runtime/index.mjs"
],
"stack": [
"Error: Cannot find module 'tslib'",
"Require stack:",
"- /var/task/__index.js",
"- /var/runtime/index.mjs",
" at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)",
" at Function.Module._load (node:internal/modules/cjs/loader:778:27)",
" at Module.require (node:internal/modules/cjs/loader:1005:19)",
" at require (node:internal/modules/cjs/helpers:102:18)",
" at /var/task/__index.js:5:21",
" at Runtime.__f0 [as handler] (/var/task/__index.js:14:6)",
" at Runtime.handleOnceNonStreaming (file:///var/runtime/index.mjs:1089:29)"
]
}
white-chef-55657
11/30/2022, 9:27 AM