DHCP6 rebinding after restart of ppp0 fails.

after restart of dhcpcd the PD is acquired.
Built on gentoo:
[I] net-misc/dhcpcd
Available versions:  9.5.1 10.0.6-r2 ~10.0.6-r3 10.0.8{gpkg} **9999*l {debug +embedded ipv6 privsep +udev}
Installed versions:  10.0.8{gpkg}(11:15:57 06/25/24)(embedded ipv6 udev -debug -privsep)
Homepage:            https://github.com/NetworkConfiguration/dhcpcd/ https://roy.marples.name/projects/dhcpcd/
Description:         A fully featured, yet light weight RFC2131 compliant DHCP client
Log excerpt:
Aug 29 19:57:33 firewall dhcpcd[3512]: ppp0: invalid state for DHCP6 type ADVERTISE6 (2)
Aug 29 19:57:49 firewall dhcpcd[3512]: ppp0: invalid state for DHCP6 type ADVERTISE6 (2)
Aug 29 19:58:19 firewall dhcpcd[3512]: ppp0: invalid state for DHCP6 type ADVERTISE6 (2)
Aug 29 19:59:15 firewall dhcpcd[3512]: ppp0: invalid state for DHCP6 type ADVERTISE6 (2)
Aug 29 20:01:02 firewall dhcpcd[3512]: ppp0: invalid state for DHCP6 type ADVERTISE6 (2)
Aug 29 20:04:05 firewall dhcpcd[1375]: sending commands to dhcpcd process
Aug 29 20:04:05 firewall dhcpcd[3512]: control command: dhcpcd -n ppp0
Aug 29 20:04:05 firewall dhcpcd[3512]: ppp0: soliciting a DHCPv6 lease
Aug 29 20:04:05 firewall dhcpcd[3512]: ppp0: IAID 00:00:00:01
Aug 29 20:04:05 firewall dhcpcd[3512]: ppp0: IA type 25 IAID 00:00:00:0c
Aug 29 20:04:05 firewall dhcpcd[3512]: ppp0: IA type 25 IAID 00:00:00:f2
Aug 29 20:04:07 firewall dhcpcd[3512]: ppp0: invalid state for DHCP6 type ADVERTISE6 (2)
Aug 29 20:04:08 firewall dhcpcd[3512]: ppp0: invalid state for DHCP6 type ADVERTISE6 (2)
Aug 29 20:04:11 firewall dhcpcd[3512]: ppp0: invalid state for DHCP6 type ADVERTISE6 (2)
Aug 29 20:04:15 firewall dhcpcd[3512]: ppp0: invalid state for DHCP6 type ADVERTISE6 (2)
Aug 29 20:04:24 firewall dhcpcd[3512]: ppp0: invalid state for DHCP6 type ADVERTISE6 (2)
Aug 29 20:04:43 firewall dhcpcd[3512]: ppp0: invalid state for DHCP6 type ADVERTISE6 (2)
Aug 29 20:04:52 firewall dhcpcd[3512]: ppp0: carrier lost
Aug 29 20:04:52 firewall dhcpcd[3512]: ppp0: removing interface
Aug 29 20:04:53 firewall dhcpcd[3512]: ppp0: waiting for carrier
Aug 29 20:04:53 firewall dhcpcd[3512]: ppp0: carrier acquired
Aug 29 20:04:53 firewall dhcpcd[3512]: ppp0: IAID 00:00:00:01
Aug 29 20:04:53 firewall dhcpcd[3512]: ppp0: IA type 25 IAID 00:00:00:0c
Aug 29 20:04:53 firewall dhcpcd[3512]: ppp0: IA type 25 IAID 00:00:00:f2
Aug 29 20:04:59 firewall dhcpcd[3512]: ppp0: carrier lost
Aug 29 20:04:59 firewall dhcpcd[3512]: ppp0: removing interface
Aug 29 20:05:29 firewall dhcpcd[3512]: ppp0: waiting for carrier
Aug 29 20:05:29 firewall dhcpcd[3512]: ppp0: carrier acquired
Aug 29 20:05:29 firewall dhcpcd[3512]: ppp0: IAID 00:00:00:01
Aug 29 20:05:29 firewall dhcpcd[3512]: ppp0: IA type 25 IAID 00:00:00:0c
Aug 29 20:05:29 firewall dhcpcd[3512]: ppp0: IA type 25 IAID 00:00:00:f2
Aug 29 20:05:29 firewall dhcpcd[2105]: sending commands to dhcpcd process
Aug 29 20:05:29 firewall dhcpcd[3512]: control command: dhcpcd -n ppp0
Aug 29 20:05:29 firewall dhcpcd[3512]: ppp0: soliciting a DHCPv6 lease
Aug 29 20:05:29 firewall dhcpcd[3512]: ppp0: IAID 00:00:00:01
Aug 29 20:05:29 firewall dhcpcd[3512]: ppp0: IA type 25 IAID 00:00:00:0c
Aug 29 20:05:29 firewall dhcpcd[3512]: ppp0: IA type 25 IAID 00:00:00:f2
Aug 29 20:05:30 firewall dhcpcd[2511]: sending commands to dhcpcd process
Aug 29 20:05:30 firewall dhcpcd[3512]: control command: dhcpcd -n ppp0
Aug 29 20:05:30 firewall dhcpcd[2517]: sending commands to dhcpcd process
Aug 29 20:05:30 firewall dhcpcd[3512]: ppp0: soliciting a DHCPv6 lease
Aug 29 20:05:30 firewall dhcpcd[3512]: ppp0: IAID 00:00:00:01
Aug 29 20:05:30 firewall dhcpcd[3512]: ppp0: IA type 25 IAID 00:00:00:0c
Aug 29 20:05:30 firewall dhcpcd[3512]: ppp0: IA type 25 IAID 00:00:00:f2
Aug 29 20:05:30 firewall dhcpcd[3512]: control command: dhcpcd ppp0
Aug 29 20:05:33 firewall dhcpcd[3512]: ppp0: invalid state for DHCP6 type ADVERTISE6 (2)
Aug 29 20:05:34 firewall dhcpcd[3512]: ppp0: invalid state for DHCP6 type ADVERTISE6 (2)
Aug 29 20:05:36 firewall dhcpcd[3512]: ppp0: invalid state for DHCP6 type ADVERTISE6 (2)
Aug 29 20:05:40 firewall dhcpcd[3512]: ppp0: invalid state for DHCP6 type ADVERTISE6 (2)
Aug 29 20:05:48 firewall dhcpcd[3512]: ppp0: invalid state for DHCP6 type ADVERTISE6 (2)
Aug 29 20:06:03 firewall dhcpcd[3512]: ppp0: invalid state for DHCP6 type ADVERTISE6 (2)
Aug 29 20:06:30 firewall dhcpcd[3512]: ppp0: invalid state for DHCP6 type ADVERTISE6 (2)
Aug 29 20:07:19 firewall dhcpcd[3512]: ppp0: invalid state for DHCP6 type ADVERTISE6 (2)
Aug 29 20:08:07 firewall dhcpcd[3512]: received SIGTERM, stopping
Aug 29 20:08:07 firewall dhcpcd[3512]: ppp0: removing interface
Aug 29 20:08:07 firewall dhcpcd[3512]: vlan10: removing interface
Aug 29 20:08:07 firewall dhcpcd[3512]: vlan4: removing interface
Aug 29 20:08:07 firewall dhcpcd[3512]: lo: removing interface
Aug 29 20:08:07 firewall dhcpcd[3512]: dhcpcd exited
Aug 29 20:08:07 firewall dhcpcd[2731]: dhcpcd-10.0.8 starting
Aug 29 20:08:07 firewall dhcpcd[2733]: dev: loaded udev
Aug 29 20:08:07 firewall dhcpcd[2733]: DUID 00:01:00:01:22:00:9c:ee:d4:3d:7e:f1:d0:79
Aug 29 20:08:07 firewall dhcpcd[2733]: ppp0: IAID 00:00:00:01
Aug 29 20:08:07 firewall dhcpcd[2733]: ppp0: IA type 25 IAID 00:00:00:0c
Aug 29 20:08:07 firewall dhcpcd[2733]: ppp0: IA type 25 IAID 00:00:00:f2
Aug 29 20:08:07 firewall dhcpcd[2733]: ppp0: (null): DHCPv6 REPLY missing Prefix
Aug 29 20:08:07 firewall dhcpcd[2733]: ppp0: rebinding prior DHCPv6 lease
Aug 29 20:08:07 firewall dhcpcd[2733]: lo: activating for delegation
Aug 29 20:08:07 firewall dhcpcd[2733]: lo: IAID 00:00:00:00
Aug 29 20:08:07 firewall dhcpcd[2733]: lo: ipv6_start: Operation not supported
Aug 29 20:08:07 firewall dhcpcd[2733]: vlan10: activating for delegation
Aug 29 20:08:07 firewall dhcpcd[2733]: vlan10: IAID ff:00:00:0a

dhcpcd -n ppp0 was used to try to force a rebind.
in the end a restart of the process was done.
after which it immediately started.
process running is:
2733 ?        S      0:00 dhcpcd: [manager]

Please upgrade to dhcpcd-10.0.10 where a lot of PPP issues have been resolved.
Also, why are you delegating to the loopback interface? That makes no sense to me.

For me, this still doesn't work with dhcpcd-10.1.0. The issue is different though. After the interface is up again, dhcpcd is stuck in an infinite loop:
ppp0: carrier lost
br0: deleting address ...
br0: deleting route to ...
lo: deleting reject route to ...
ppp0: removing interface

ppp11: waiting for carrier
ppp11: carrier acquired
ppp11: IAID 00:00:00:3c
ppp11: carrier lost
ppp0: waiting for carrier

ppp0: removing interface
ppp0: IAID 70:70:70:30
ppp0: IA type 3 IAID 00:00:00:00
ppp0: IA type 25 IAID 00:00:00:00
ppp0: removing interface
...

@rsmarples : those addresses should be handled on the firewall,  I have a fixed /48 prefix
the remaining interfaes of VLAN's have a statc assignment.  Hence assignment to lo.
(dhcp v6 is used for further config of clients).
10.0.10 wasn't available then, 9999 did not compile.

I've just run into this, and have installed 10.1.0. Hopefully it will fix it.


Psp22 contract

the last thing I'm thinking about is that maybe we should provide explicit selectors for ink contracts, so that students don't have to dig into metadata / hash message names

the last thing I'm thinking about is that maybe we should provide explicit selectors for ink contracts, so that students don't have to dig into metadata / hash message names

generally a fair point BUT -  the default selectors are based on message names (first 4 bytes of hashing psp22::<name> I believe).
So if you change it you will actually stray from the token standard - I don't know if any tooling depends on these selectors being invariant, but just on the off chance they do I wouldn't touch that. In contracts that don;t follow any standard this might be a nice addition though, so I'll change that soon


Update test-file-04.md

@v-caxian : Thanks for your contribution to the Azure documentation! The author, @TinaLiuGirl, has been notified to review your proposed change.

#sign-off

@v-caxian: Only the author, @TinaLiuGirl, can sign off on this pull request.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

csidevdocs-public/Articles/test-file-04.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

#hold-off

#please-close


Window Resize Listener - Should be moved to global state

As you can see in the image below if we console log the place of origin wen we useScreenSize, it creates a new event listener for every time the hook useScreenSize is called. Way to solve this is to move it into global state.
The setter function can be called once in the app level and we save it in an atom which we then use in our application for read purposes only.

Nice, it could be cleaner effectively @diegolarraz


Filling values when rotating an image using functions like tfa.image.rotate() and tfa.image.translate()

System information

TensorFlow version (you are using): 2.3.0
Are you willing to contribute it (Yes/No): Yes. I'm not a great programmer, but I'm willing to help in any way I can.

Describe the feature and the current behavior/state.
This feature request stems from a separate issue that was described here.
When you use skimage to rotate or translate an image, you are given the option to fill in the values that the image loses by performing these operations with reflected values or symmetric values, for example. I used to have an augmentation function that used this functionality successfully, but then the functionality stopped.
I updated the augmentation to use the functions from tensorflow_addons listed in the title. However, I've now lost this ability to fill in lost values to utilize some of the original information. I think it'd be a good idea to add this as an option to these functions in tfa.
Will this change the current api? How?
Not sure.
Who will benefit with this feature?
ML practitioners, remote sensing practitioners, geospatial professionals in general.
Any Other info.
The modes that skimage includes for these fill values are in line with the behavior of numpy.pad.

Can you check https://github.com/tensorflow/addons/pull/2153 /cc @WindQAQ

Yes, I've checked it. It seems similar to this issue. Should the issues be merged? Should this issue be closed?

That PR is already merged

Tensorflow-Addons will support it after TF2.4 releases. Alternatively, you can use tf.keras.layers.experimental.preprocessing.Random* to achieve it.
https://github.com/tensorflow/tensorflow/blob/master/tensorflow/python/keras/layers/preprocessing/image_preprocessing.py#L818-L824

@bjarrell15  Tensorflow-Addons will support it after TF2.4 releases. Alternatively, you can use tf.keras.layers.experimental.preprocessing.Random* in tf-nightly to achieve it.
https://github.com/tensorflow/tensorflow/blob/master/tensorflow/python/keras/layers/preprocessing/image_preprocessing.py#L818-L824


Es tags

I am running a dozen instances of this pointing at the same ES cluster, and I needed a way to separate the events. tags for elasticsearch entries is the standard way of doing something like that, so I added tags =)

Thanks. Can you have a look at the comments I left and update your commits accordingly? (And please squash the commits into one.)


LDFLAGS in cgo for go 1.12.4 issue

What version of Go are you using (go version)?

$ go112 version
go version go1.12.4 netbsd/amd64

Does this issue reproduce with the latest release?
What operating system and processor architecture are you using (go env)?
go env Output
$ go112 env
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/ng0/.cache/go-build"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="netbsd"
GOOS="netbsd"
GOPATH="/home/ng0/go"
GOPROXY=""
GORACE=""
GOROOT="/usr/pkg/go112"
GOTMPDIR=""
GOTOOLDIR="/usr/pkg/go112/pkg/tool/netbsd_amd64"
GCCGO="gccgo"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build011870882=/tmp/go-build -gno-record-gcc-switches"

What did you do?

Given any code which involves:
#cgo LDFLAGS: -Wl,-R/usr/pkg/lib
or similar,
go build command-line-arguments: invalid flag in #cgo LDFLAGS: -Wl,-R/usr/pkg/lib

is returned.
What did you expect to see?
A successful treatment of the LDFLAGS.
I don't know if this is a feature limitation or a bug, but given that I need to invoke
LDFLAGS this way for out-of-pkgsrc builds usually, I consider this a bug.
What did you see instead?
See above.

cgo flags are white listed, see https://golang.org/cmd/cgo/

For security reasons, only a limited set of flags are allowed, notably -D, -I, and -l. To allow additional flags, set CGO_CFLAGS_ALLOW to a regular expression matching the new flags. To disallow flags that would otherwise be allowed, set CGO_CFLAGS_DISALLOW to a regular expression matching arguments that must be disallowed. In both cases the regular expression must match a full argument: to allow -mfoo=bar, use CGO_CFLAGS_ALLOW='-mfoo.*', not just CGO_CFLAGS_ALLOW='-mfoo'. Similarly named variables control the allowed CPPFLAGS, CXXFLAGS, FFLAGS, and LDFLAGS.

cc @ianlancetaylor incase the flag could be added to the list

I see. Okay, let me expand my argument for the specific LDFLAGS, this is I believe
the official statement/explanation for this in NetBSD: http://www.netbsd.org/docs/elf.html
Reference code, if relevant (debug quality, and I've just picked up go):
https://c.n0.is/go-hello-c/file/tip/v2/main.go

Yes, we should accept that.  We currently accept -Wl,-rpath but not -Wl,-R.
If anybody wants to send a patch, the place is cmd/go/internal/work/security.go.
@gopherbot Please open backport to 1.12.

Thanks for looking into this.

@ng-0 you want to do the change?

Yes (in fact I've looked into this already). There could be some delay for other tasks take priority.


Publishing the function to AzureFunctionApp through Azure Cloud Shell

Related command
az functionapp deployment source config-zip --resource-group  --name  --src "<full-path-to-publish.zip>"
Describe the bug
The command failed with an unexpected error. Here is the traceback:
('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
Traceback (most recent call last):
File "/usr/lib64/az/lib/python3.9/site-packages/urllib3/connectionpool.py", line 699, in urlopen
httplib_response = self._make_request(
File "/usr/lib64/az/lib/python3.9/site-packages/urllib3/connectionpool.py", line 382, in _make_request
self._validate_conn(conn)
File "/usr/lib64/az/lib/python3.9/site-packages/urllib3/connectionpool.py", line 1010, in validate_conn
conn.connect()
File "/usr/lib64/az/lib/python3.9/site-packages/urllib3/connection.py", line 416, in connect
self.sock = ssl_wrap_socket(
File "/usr/lib64/az/lib/python3.9/site-packages/urllib3/util/ssl.py", line 449, in ssl_wrap_socket
ssl_sock = ssl_wrap_socket_impl(
File "/usr/lib64/az/lib/python3.9/site-packages/urllib3/util/ssl.py", line 493, in _ssl_wrap_socket_impl
return ssl_context.wrap_socket(sock, server_hostname=server_hostname)
File "/usr/lib/python3.9/ssl.py", line 501, in wrap_socket
return self.sslsocket_class._create(
File "/usr/lib/python3.9/ssl.py", line 1041, in _create
self.do_handshake()
File "/usr/lib/python3.9/ssl.py", line 1310, in do_handshake
self._sslobj.do_handshake()
ConnectionResetError: [Errno 104] Connection reset by peer
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib64/az/lib/python3.9/site-packages/requests/adapters.py", line 439, in send
resp = conn.urlopen(
File "/usr/lib64/az/lib/python3.9/site-packages/urllib3/connectionpool.py", line 755, in urlopen
retries = retries.increment(
File "/usr/lib64/az/lib/python3.9/site-packages/urllib3/util/retry.py", line 532, in increment
raise six.reraise(type(error), error, _stacktrace)
File "/usr/lib64/az/lib/python3.9/site-packages/urllib3/packages/six.py", line 769, in reraise
raise value.with_traceback(tb)
File "/usr/lib64/az/lib/python3.9/site-packages/urllib3/connectionpool.py", line 699, in urlopen
httplib_response = self._make_request(
File "/usr/lib64/az/lib/python3.9/site-packages/urllib3/connectionpool.py", line 382, in _make_request
self._validate_conn(conn)
File "/usr/lib64/az/lib/python3.9/site-packages/urllib3/connectionpool.py", line 1010, in validate_conn
conn.connect()
File "/usr/lib64/az/lib/python3.9/site-packages/urllib3/connection.py", line 416, in connect
self.sock = ssl_wrap_socket(
File "/usr/lib64/az/lib/python3.9/site-packages/urllib3/util/ssl.py", line 449, in ssl_wrap_socket
ssl_sock = ssl_wrap_socket_impl(
File "/usr/lib64/az/lib/python3.9/site-packages/urllib3/util/ssl.py", line 493, in _ssl_wrap_socket_impl
return ssl_context.wrap_socket(sock, server_hostname=server_hostname)
File "/usr/lib/python3.9/ssl.py", line 501, in wrap_socket
return self.sslsocket_class._create(
File "/usr/lib/python3.9/ssl.py", line 1041, in _create
self.do_handshake()
File "/usr/lib/python3.9/ssl.py", line 1310, in do_handshake
self._sslobj.do_handshake()
urllib3.exceptions.ProtocolError: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib64/az/lib/python3.9/site-packages/knack/cli.py", line 233, in invoke
cmd_result = self.invocation.execute(args)
File "/usr/lib64/az/lib/python3.9/site-packages/azure/cli/core/commands/init.py", line 663, in execute
raise ex
File "/usr/lib64/az/lib/python3.9/site-packages/azure/cli/core/commands/init.py", line 726, in _run_jobs_serially
results.append(self._run_job(expanded_arg, cmd_copy))
File "/usr/lib64/az/lib/python3.9/site-packages/azure/cli/core/commands/init.py", line 697, in _run_job
result = cmd_copy(params)
File "/usr/lib64/az/lib/python3.9/site-packages/azure/cli/core/commands/init.py", line 333, in call
return self.handler(*args, **kwargs)
File "/usr/lib64/az/lib/python3.9/site-packages/azure/cli/core/commands/command_operation.py", line 121, in handler
return op(**command_args)
File "/usr/lib64/az/lib/python3.9/site-packages/azure/cli/command_modules/appservice/custom.py", line 580, in enable_zip_deploy_functionapp
return enable_zip_deploy(cmd, resource_group_name, name, src, timeout, slot)
File "/usr/lib64/az/lib/python3.9/site-packages/azure/cli/command_modules/appservice/custom.py", line 610, in enable_zip_deploy
res = requests.post(zip_url, data=zip_content, headers=headers, verify=not should_disable_connection_verify())
File "/usr/lib64/az/lib/python3.9/site-packages/requests/api.py", line 117, in post
return request('post', url, data=data, json=json, **kwargs)
File "/usr/lib64/az/lib/python3.9/site-packages/requests/api.py", line 61, in request
return session.request(method=method, url=url, **kwargs)
File "/usr/lib64/az/lib/python3.9/site-packages/requests/sessions.py", line 542, in request
resp = self.send(prep, **send_kwargs)
File "/usr/lib64/az/lib/python3.9/site-packages/requests/sessions.py", line 655, in send
r = adapter.send(request, **kwargs)
File "/usr/lib64/az/lib/python3.9/site-packages/requests/adapters.py", line 498, in send
raise ConnectionError(err, request=request)
requests.exceptions.ConnectionError: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
To Reproduce

Expected behavior

Environment summary
Executed through Azure Cloud shell
Additional context

Thank you for opening this issue, we will look into it.

@guptaSaurabhSG Considering you are getting the same error in Cloud Shell as in #26328, I believe it is very likely that you have restrictions setup on your function app. So the same should help resolve the problem here as well.
Nonetheless, keeping this issue open, just in case that is not the case.

Hi @guptaSaurabhSG! Just wanted to follow up and see if you are still facing this issue. Thank you


[Question] (Updated) Hangs in attached state, seems to be a problem with raid10 (or permissions)

Question
Environment:

Longhorn version:

1.0.2

Kubernetes version:

Client Version: version.Info{Major:"1", Minor:"19", GitVersion:"v1.19.4", GitCommit:"d360454c9bcd1634cf4cc52d1867af5491dc9c5f", GitTreeState:"clean", BuildDate:"2020-11-12T01:09:16Z", GoVersion:"go1.15.4", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"19", GitVersion:"v1.19.4+k3s2", GitCommit:"8f9e5628c1b5f0a673cde6051cea1afb65dcff7f", GitTreeState:"clean", BuildDate:"2020-12-07T21:30:05Z", GoVersion:"go1.15.5", Compiler:"gc", Platform:"linux/amd64"}

Node config

OS type and version

Linux se04 5.4.0-56-generic #62-Ubuntu SMP Mon Nov 23 19:20:19 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

CPU per node:

Intel(R) Xeon(R) E-2136 CPU @ 3.30GHz, 6 Cores

Memory per node:

MemTotal:       65615752 kB

Disk type

lsblk:
sda                         8:0    0 931.5G  0 disk
└─md0                       9:0    0   1.8T  0 raid10 /data
sdb                         8:16   0 931.5G  0 disk
└─md0                       9:0    0   1.8T  0 raid10 /data
sdc                         8:32   0 931.5G  0 disk
└─md0                       9:0    0   1.8T  0 raid10 /data
sdd                         8:48   0 931.5G  0 disk
└─md0                       9:0    0   1.8T  0 raid10 /data
sde                         8:64   0 465.8G  0 disk
├─sde1                      8:65   0   512M  0 part   /boot/efi
├─sde2                      8:66   0     1G  0 part   /boot
└─sde3                      8:67   0 464.3G  0 part
└─ubuntu--vg-ubuntu--lv 253:0    0   200G  0 lvm    /
mount:
/dev/md0 on /data type ext4 (rw,relatime,stripe=256)
symlink from /var/lib/longhorn to /data/longhorn

Network bandwidth and latency between the nodes:

single node

Underlying Infrastructure (e.g. on AWS/GCE, EKS/GKE, VMWare/KVM, Baremetal):

Baremetal

Additional context
# on host, don't why i did this, but i had an issue before on another cluster and this solves it
sudo mkdir -p /var/lib/rancher/k3s/plugins_registry
# on desktop
git clone https://github.com/longhorn/longhorn
kubectl create namespace longhorn-system
helm install longhorn ./longhorn/chart/ --namespace longhorn-system --set csi.kubeletRootDir=/var/lib/kubelet

Test:
---
kind: StorageClass
apiVersion: storage.k8s.io/v1
metadata:
  name: longhorn-test
provisioner: driver.longhorn.io
allowVolumeExpansion: true
parameters:
  numberOfReplicas: "1"
  staleReplicaTimeout: "2880" # 48 hours in minutes
  fromBackup: ""
  recurringJobs: '[{"name":"snap", "task":"snapshot", "cron":"*/1 * * * *", "retain":1},
                   {"name":"backup", "task":"backup", "cron":"*/2 * * * *", "retain":1,
                    "labels": {"interval":"2m"}}]'
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
  name: longhorn-volv-pvc
spec:
  accessModes:
    - ReadWriteOnce
  storageClassName: longhorn-test
  resources:
    requests:
      storage: 2Gi
---
apiVersion: v1
kind: Pod
metadata:
  name: volume-test
  namespace: default
spec:
  containers:
    - name: volume-test
      image: nginx:stable-alpine
      imagePullPolicy: IfNotPresent
      volumeMounts:
        - name: volv
          mountPath: /data
      ports:
        - containerPort: 80
  volumes:
    - name: volv
      persistentVolumeClaim:
        claimName: longhorn-volv-pvc
---

Logs:

Will tail 18 logs...
csi-attacher-7cb499df6-5mwds
csi-attacher-7cb499df6-blq2p
csi-attacher-7cb499df6-k8gpz
csi-provisioner-67846b4b55-85nls
csi-provisioner-67846b4b55-hkfls
csi-provisioner-67846b4b55-qmr7l
csi-resizer-5cb8df7db9-9hhk2
csi-resizer-5cb8df7db9-vfhnd
csi-resizer-5cb8df7db9-vr6hm
engine-image-ei-ee18f965-k9572
instance-manager-e-8293ca13
instance-manager-r-95b1853c
longhorn-csi-plugin-gcprq node-driver-registrar
longhorn-csi-plugin-gcprq longhorn-csi-plugin
longhorn-driver-deployer-549c6b5945-hd56s longhorn-driver-deployer
longhorn-driver-deployer-549c6b5945-hd56s wait-longhorn-manager
longhorn-manager-zdqr9
longhorn-ui-7788d4f485-tjxd4
[csi-attacher-7cb499df6-blq2p] I1208 08:35:43.541889       1 leaderelection.go:326] lock is held by csi-attacher-7cb499df6-5mwds and has not yet expired
[csi-provisioner-67846b4b55-hkfls] I1208 08:35:45.513518       1 leaderelection.go:350] lock is held by csi-provisioner-67846b4b55-qmr7l and has not yet expired
[csi-provisioner-67846b4b55-hkfls] I1208 08:35:45.513568       1 leaderelection.go:246] failed to acquire lease longhorn-system/driver-longhorn-io
[csi-attacher-7cb499df6-blq2p] I1208 08:35:43.541932       1 leaderelection.go:222] failed to acquire lease longhorn-system/external-attacher-leader-driver-longhorn-io
[csi-provisioner-67846b4b55-hkfls] I1208 08:35:51.003083       1 leaderelection.go:350] lock is held by csi-provisioner-67846b4b55-qmr7l and has not yet expired
[csi-provisioner-67846b4b55-hkfls] I1208 08:35:51.003127       1 leaderelection.go:246] failed to acquire lease longhorn-system/driver-longhorn-io
[csi-resizer-5cb8df7db9-vfhnd] I1208 08:35:43.130245       1 leaderelection.go:258] successfully renewed lease longhorn-system/external-resizer-driver-longhorn-io
[csi-provisioner-67846b4b55-qmr7l] I1208 08:35:43.258721       1 leaderelection.go:282] successfully renewed lease longhorn-system/driver-longhorn-io
[csi-attacher-7cb499df6-k8gpz] I1208 08:35:43.304552       1 leaderelection.go:326] lock is held by csi-attacher-7cb499df6-5mwds and has not yet expired
[csi-resizer-5cb8df7db9-9hhk2] I1208 08:35:43.541875       1 leaderelection.go:326] lock is held by csi-resizer-5cb8df7db9-vfhnd and has not yet expired
[csi-resizer-5cb8df7db9-vfhnd] I1208 08:35:48.144249       1 leaderelection.go:258] successfully renewed lease longhorn-system/external-resizer-driver-longhorn-io
[csi-provisioner-67846b4b55-qmr7l] I1208 08:35:48.283493       1 leaderelection.go:282] successfully renewed lease longhorn-system/driver-longhorn-io
[csi-attacher-7cb499df6-k8gpz] I1208 08:35:43.304596       1 leaderelection.go:222] failed to acquire lease longhorn-system/external-attacher-leader-driver-longhorn-io
[csi-resizer-5cb8df7db9-9hhk2] I1208 08:35:43.541911       1 leaderelection.go:222] failed to acquire lease longhorn-system/external-resizer-driver-longhorn-io
[longhorn-manager-zdqr9] <IP_ADDRESS> - - [08/Dec/2020:08:35:43 +0000] "GET /v1/volumes/pvc-e4bc72b8-815b-4220-8ee0-ebe6c26bd296 HTTP/1.1" 200 2538 "" "Go-http-client/1.1"
[csi-resizer-5cb8df7db9-vr6hm] I1208 08:35:43.304552       1 leaderelection.go:326] lock is held by csi-resizer-5cb8df7db9-vfhnd and has not yet expired
[longhorn-manager-zdqr9] <IP_ADDRESS> - - [08/Dec/2020:08:35:45 +0000] "GET /v1/volumes/pvc-e4bc72b8-815b-4220-8ee0-ebe6c26bd296 HTTP/1.1" 200 2538 "" "Go-http-client/1.1"
[longhorn-csi-plugin-gcprq longhorn-csi-plugin] time="2020-12-08T08:35:43Z" level=debug msg="Polling pvc-e4bc72b8-815b-4220-8ee0-ebe6c26bd296 state for attached at 2020-12-08 08:35:43.31865112 +0000 UTC m=+261.077714895"
[csi-provisioner-67846b4b55-85nls] I1208 08:35:45.513651       1 leaderelection.go:350] lock is held by csi-provisioner-67846b4b55-qmr7l and has not yet expired
[csi-attacher-7cb499df6-5mwds] I1208 08:35:43.001806       1 leaderelection.go:258] successfully renewed lease longhorn-system/external-attacher-leader-driver-longhorn-io
[csi-resizer-5cb8df7db9-vr6hm] I1208 08:35:43.304596       1 leaderelection.go:222] failed to acquire lease longhorn-system/external-resizer-driver-longhorn-io
[longhorn-manager-zdqr9] <IP_ADDRESS> - - [08/Dec/2020:08:35:47 +0000] "GET /v1/volumes/pvc-e4bc72b8-815b-4220-8ee0-ebe6c26bd296 HTTP/1.1" 200 2538 "" "Go-http-client/1.1"
[longhorn-csi-plugin-gcprq longhorn-csi-plugin] time="2020-12-08T08:35:45Z" level=debug msg="Polling pvc-e4bc72b8-815b-4220-8ee0-ebe6c26bd296 state for attached at 2020-12-08 08:35:45.318506017 +0000 UTC m=+263.077569786"
[csi-provisioner-67846b4b55-85nls] I1208 08:35:45.513688       1 leaderelection.go:246] failed to acquire lease longhorn-system/driver-longhorn-io
[csi-attacher-7cb499df6-5mwds] I1208 08:35:47.233639       1 controller.go:175] Started VA processing "csi-4b16ca590d7aa390828d809af38a5ffcead7be5c74dee1bab8d2259707282a7c"
[csi-provisioner-67846b4b55-85nls] I1208 08:35:51.003083       1 leaderelection.go:350] lock is held by csi-provisioner-67846b4b55-qmr7l and has not yet expired
[longhorn-manager-zdqr9] <IP_ADDRESS> - - [08/Dec/2020:08:35:47 +0000] "GET /v1/nodes/se04 HTTP/1.1" 200 1582 "" "Go-http-client/1.1"
[longhorn-csi-plugin-gcprq longhorn-csi-plugin] time="2020-12-08T08:35:47Z" level=info msg="GRPC call: /csi.v1.Controller/ControllerPublishVolume"
[csi-attacher-7cb499df6-5mwds] I1208 08:35:47.233692       1 csi_handler.go:89] CSIHandler: processing VA "csi-4b16ca590d7aa390828d809af38a5ffcead7be5c74dee1bab8d2259707282a7c"
[csi-attacher-7cb499df6-5mwds] I1208 08:35:47.233721       1 csi_handler.go:116] Attaching "csi-4b16ca590d7aa390828d809af38a5ffcead7be5c74dee1bab8d2259707282a7c"
[csi-provisioner-67846b4b55-85nls] I1208 08:35:51.003125       1 leaderelection.go:246] failed to acquire lease longhorn-system/driver-longhorn-io
[longhorn-csi-plugin-gcprq longhorn-csi-plugin] time="2020-12-08T08:35:47Z" level=info msg="GRPC request: {\"node_id\":\"se04\",\"volume_capability\":{\"AccessType\":{\"Mount\":{\"fs_type\":\"ext4\"}},\"access_mode\":{\"mode\":1}},\"volume_context\":{\"fromBackup\":\"\",\"numberOfReplicas\":\"1\",\"recurringJobs\":\"[{\\\"name\\\":\\\"snap\\\", \\\"task\\\":\\\"snapshot\\\", \\\"cron\\\":\\\"*/1 * * * *\\\", \\\"retain\\\":1}, {\\\"name\\\":\\\"backup\\\", \\\"task\\\":\\\"backup\\\", \\\"cron\\\":\\\"*/2 * * * *\\\", \\\"retain\\\":1, \\\"labels\\\": {\\\"interval\\\":\\\"2m\\\"}}]\",\"staleReplicaTimeout\":\"2880\",\"storage.kubernetes.io/csiProvisionerIdentity\":\"1607416282605-8081-driver.longhorn.io\"},\"volume_id\":\"pvc-e4bc72b8-815b-4220-8ee0-ebe6c26bd296\"}"
[longhorn-manager-zdqr9] <IP_ADDRESS> - - [08/Dec/2020:08:35:47 +0000] "GET /v1/volumes/pvc-e4bc72b8-815b-4220-8ee0-ebe6c26bd296 HTTP/1.1" 200 2538 "" "Go-http-client/1.1"
[longhorn-manager-zdqr9] <IP_ADDRESS> - - [08/Dec/2020:08:35:47 +0000] "GET /v1/volumes/pvc-e4bc72b8-815b-4220-8ee0-ebe6c26bd296 HTTP/1.1" 200 2537 "" "Go-http-client/1.1"
[longhorn-csi-plugin-gcprq longhorn-csi-plugin] time="2020-12-08T08:35:47Z" level=info msg="ControllerServer ControllerPublishVolume req: volume_id:\"pvc-e4bc72b8-815b-4220-8ee0-ebe6c26bd296\" node_id:\"se04\" volume_capability:<mount:<fs_type:\"ext4\" > access_mode:<mode:SINGLE_NODE_WRITER > > volume_context:<key:\"fromBackup\" value:\"\" > volume_context:<key:\"numberOfReplicas\" value:\"1\" > volume_context:<key:\"recurringJobs\" value:\"[{\\\"name\\\":\\\"snap\\\", \\\"task\\\":\\\"snapshot\\\", \\\"cron\\\":\\\"*/1 * * * *\\\", \\\"retain\\\":1}, {\\\"name\\\":\\\"backup\\\", \\\"task\\\":\\\"backup\\\", \\\"cron\\\":\\\"*/2 * * * *\\\", \\\"retain\\\":1, \\\"labels\\\": {\\\"interval\\\":\\\"2m\\\"}}]\" > volume_context:<key:\"staleReplicaTimeout\" value:\"2880\" > volume_context:<key:\"storage.kubernetes.io/csiProvisionerIdentity\" value:\"1607416282605-8081-driver.longhorn.io\" > "
[csi-attacher-7cb499df6-5mwds] I1208 08:35:47.233739       1 csi_handler.go:249] Starting attach operation for "csi-4b16ca590d7aa390828d809af38a5ffcead7be5c74dee1bab8d2259707282a7c"
[csi-attacher-7cb499df6-5mwds] I1208 08:35:47.233883       1 csi_handler.go:209] PV finalizer is already set on "pvc-e4bc72b8-815b-4220-8ee0-ebe6c26bd296"
[longhorn-csi-plugin-gcprq longhorn-csi-plugin] time="2020-12-08T08:35:47Z" level=error msg="GRPC error: rpc error: code = Aborted desc = The volume pvc-e4bc72b8-815b-4220-8ee0-ebe6c26bd296 is attaching"
[longhorn-manager-zdqr9] <IP_ADDRESS> - - [08/Dec/2020:08:35:47 +0000] "GET /v1/nodes/se04 HTTP/1.1" 200 1582 "" "Go-http-client/1.1"
[csi-attacher-7cb499df6-5mwds] I1208 08:35:47.233918       1 csi_handler.go:542] Found NodeID se04 in CSINode se04
[longhorn-manager-zdqr9] <IP_ADDRESS> - - [08/Dec/2020:08:35:49 +0000] "GET /v1/volumes/pvc-e4bc72b8-815b-4220-8ee0-ebe6c26bd296 HTTP/1.1" 200 2538 "" "Go-http-client/1.1"
[longhorn-csi-plugin-gcprq longhorn-csi-plugin] time="2020-12-08T08:35:47Z" level=debug msg="Polling pvc-e4bc72b8-815b-4220-8ee0-ebe6c26bd296 state for attached at 2020-12-08 08:35:47.318595509 +0000 UTC m=+265.077659281"
[csi-attacher-7cb499df6-5mwds] I1208 08:35:47.233961       1 csi_handler.go:169] VA finalizer is already set on "csi-4b16ca590d7aa390828d809af38a5ffcead7be5c74dee1bab8d2259707282a7c"
[longhorn-csi-plugin-gcprq longhorn-csi-plugin] time="2020-12-08T08:35:47Z" level=info msg="GRPC call: /csi.v1.Controller/ControllerPublishVolume"
[longhorn-manager-zdqr9] <IP_ADDRESS> - - [08/Dec/2020:08:35:51 +0000] "GET /v1/volumes/pvc-e4bc72b8-815b-4220-8ee0-ebe6c26bd296 HTTP/1.1" 200 2537 "" "Go-http-client/1.1"
[csi-attacher-7cb499df6-5mwds] I1208 08:35:47.234026       1 csi_handler.go:183] NodeID annotation is already set on "csi-4b16ca590d7aa390828d809af38a5ffcead7be5c74dee1bab8d2259707282a7c"
[longhorn-csi-plugin-gcprq longhorn-csi-plugin] time="2020-12-08T08:35:47Z" level=info msg="GRPC request: {\"node_id\":\"se04\",\"volume_capability\":{\"AccessType\":{\"Mount\":{\"fs_type\":\"ext4\"}},\"access_mode\":{\"mode\":1}},\"volume_context\":{\"fromBackup\":\"\",\"numberOfReplicas\":\"1\",\"recurringJobs\":\"[{\\\"name\\\":\\\"snap\\\", \\\"task\\\":\\\"snapshot\\\", \\\"cron\\\":\\\"*/1 * * * *\\\", \\\"retain\\\":1}, {\\\"name\\\":\\\"backup\\\", \\\"task\\\":\\\"backup\\\", \\\"cron\\\":\\\"*/2 * * * *\\\", \\\"retain\\\":1, \\\"labels\\\": {\\\"interval\\\":\\\"2m\\\"}}]\",\"staleReplicaTimeout\":\"2880\",\"storage.kubernetes.io/csiProvisionerIdentity\":\"1607416282605-8081-driver.longhorn.io\"},\"volume_id\":\"pvc-e4bc72b8-815b-4220-8ee0-ebe6c26bd296\"}"
[csi-attacher-7cb499df6-5mwds] I1208 08:35:47.234063       1 connection.go:180] GRPC call: /csi.v1.Controller/ControllerPublishVolume
[longhorn-csi-plugin-gcprq longhorn-csi-plugin] time="2020-12-08T08:35:47Z" level=info msg="ControllerServer ControllerPublishVolume req: volume_id:\"pvc-e4bc72b8-815b-4220-8ee0-ebe6c26bd296\" node_id:\"se04\" volume_capability:<mount:<fs_type:\"ext4\" > access_mode:<mode:SINGLE_NODE_WRITER > > volume_context:<key:\"fromBackup\" value:\"\" > volume_context:<key:\"numberOfReplicas\" value:\"1\" > volume_context:<key:\"recurringJobs\" value:\"[{\\\"name\\\":\\\"snap\\\", \\\"task\\\":\\\"snapshot\\\", \\\"cron\\\":\\\"*/1 * * * *\\\", \\\"retain\\\":1}, {\\\"name\\\":\\\"backup\\\", \\\"task\\\":\\\"backup\\\", \\\"cron\\\":\\\"*/2 * * * *\\\", \\\"retain\\\":1, \\\"labels\\\": {\\\"interval\\\":\\\"2m\\\"}}]\" > volume_context:<key:\"staleReplicaTimeout\" value:\"2880\" > volume_context:<key:\"storage.kubernetes.io/csiProvisionerIdentity\" value:\"1607416282605-8081-driver.longhorn.io\" > "
[longhorn-csi-plugin-gcprq longhorn-csi-plugin] time="2020-12-08T08:35:47Z" level=error msg="GRPC error: rpc error: code = Aborted desc = The volume pvc-e4bc72b8-815b-4220-8ee0-ebe6c26bd296 is attaching"
[csi-attacher-7cb499df6-5mwds] I1208 08:35:47.234082       1 connection.go:181] GRPC request: {"node_id":"se04","volume_capability":{"AccessType":{"Mount":{"fs_type":"ext4"}},"access_mode":{"mode":1}},"volume_context":{"fromBackup":"","numberOfReplicas":"1","recurringJobs":"[{\"name\":\"snap\", \"task\":\"snapshot\", \"cron\":\"*/1 * * * *\", \"retain\":1}, {\"name\":\"backup\", \"task\":\"backup\", \"cron\":\"*/2 * * * *\", \"retain\":1, \"labels\": {\"interval\":\"2m\"}}]","staleReplicaTimeout":"2880","storage.kubernetes.io/csiProvisionerIdentity":"1607416282605-8081-driver.longhorn.io"},"volume_id":"pvc-e4bc72b8-815b-4220-8ee0-ebe6c26bd296"}
[longhorn-csi-plugin-gcprq longhorn-csi-plugin] time="2020-12-08T08:35:49Z" level=debug msg="Polling pvc-e4bc72b8-815b-4220-8ee0-ebe6c26bd296 state for attached at 2020-12-08 08:35:49.318648001 +0000 UTC m=+267.077711779"
[csi-attacher-7cb499df6-5mwds] I1208 08:35:47.244605       1 connection.go:183] GRPC response: {}
[csi-attacher-7cb499df6-5mwds] I1208 08:35:47.245654       1 connection.go:184] GRPC error: rpc error: code = Aborted desc = The volume pvc-e4bc72b8-815b-4220-8ee0-ebe6c26bd296 is attaching
[longhorn-csi-plugin-gcprq longhorn-csi-plugin] time="2020-12-08T08:35:51Z" level=debug msg="Polling pvc-e4bc72b8-815b-4220-8ee0-ebe6c26bd296 state for attached at 2020-12-08 08:35:51.318594185 +0000 UTC m=+269.077657965"
[csi-attacher-7cb499df6-5mwds] I1208 08:35:47.245687       1 csi_handler.go:412] Saving attach error to "csi-4b16ca590d7aa390828d809af38a5ffcead7be5c74dee1bab8d2259707282a7c"
[csi-attacher-7cb499df6-5mwds] I1208 08:35:47.317253       1 csi_handler.go:423] Saved attach error to "csi-4b16ca590d7aa390828d809af38a5ffcead7be5c74dee1bab8d2259707282a7c"
[csi-attacher-7cb499df6-5mwds] I1208 08:35:47.317309       1 csi_handler.go:99] Error processing "csi-4b16ca590d7aa390828d809af38a5ffcead7be5c74dee1bab8d2259707282a7c": failed to attach: rpc error: code = Aborted desc = The volume pvc-e4bc72b8-815b-4220-8ee0-ebe6c26bd296 is attaching
[csi-attacher-7cb499df6-5mwds] I1208 08:35:47.317379       1 controller.go:175] Started VA processing "csi-4b16ca590d7aa390828d809af38a5ffcead7be5c74dee1bab8d2259707282a7c"
[csi-attacher-7cb499df6-5mwds] I1208 08:35:47.317406       1 csi_handler.go:89] CSIHandler: processing VA "csi-4b16ca590d7aa390828d809af38a5ffcead7be5c74dee1bab8d2259707282a7c"
[csi-attacher-7cb499df6-5mwds] I1208 08:35:47.317434       1 csi_handler.go:116] Attaching "csi-4b16ca590d7aa390828d809af38a5ffcead7be5c74dee1bab8d2259707282a7c"
[csi-attacher-7cb499df6-5mwds] I1208 08:35:47.317460       1 csi_handler.go:249] Starting attach operation for "csi-4b16ca590d7aa390828d809af38a5ffcead7be5c74dee1bab8d2259707282a7c"
[csi-attacher-7cb499df6-5mwds] I1208 08:35:47.317532       1 csi_handler.go:209] PV finalizer is already set on "pvc-e4bc72b8-815b-4220-8ee0-ebe6c26bd296"
[csi-attacher-7cb499df6-5mwds] I1208 08:35:47.317565       1 csi_handler.go:542] Found NodeID se04 in CSINode se04
[csi-attacher-7cb499df6-5mwds] I1208 08:35:47.317594       1 csi_handler.go:169] VA finalizer is already set on "csi-4b16ca590d7aa390828d809af38a5ffcead7be5c74dee1bab8d2259707282a7c"
[csi-attacher-7cb499df6-5mwds] I1208 08:35:47.317619       1 csi_handler.go:183] NodeID annotation is already set on "csi-4b16ca590d7aa390828d809af38a5ffcead7be5c74dee1bab8d2259707282a7c"
[csi-attacher-7cb499df6-5mwds] I1208 08:35:47.317655       1 connection.go:180] GRPC call: /csi.v1.Controller/ControllerPublishVolume
[csi-attacher-7cb499df6-5mwds] I1208 08:35:47.317667       1 connection.go:181] GRPC request: {"node_id":"se04","volume_capability":{"AccessType":{"Mount":{"fs_type":"ext4"}},"access_mode":{"mode":1}},"volume_context":{"fromBackup":"","numberOfReplicas":"1","recurringJobs":"[{\"name\":\"snap\", \"task\":\"snapshot\", \"cron\":\"*/1 * * * *\", \"retain\":1}, {\"name\":\"backup\", \"task\":\"backup\", \"cron\":\"*/2 * * * *\", \"retain\":1, \"labels\": {\"interval\":\"2m\"}}]","staleReplicaTimeout":"2880","storage.kubernetes.io/csiProvisionerIdentity":"1607416282605-8081-driver.longhorn.io"},"volume_id":"pvc-e4bc72b8-815b-4220-8ee0-ebe6c26bd296"}
[csi-attacher-7cb499df6-5mwds] I1208 08:35:47.328146       1 connection.go:183] GRPC response: {}
[csi-attacher-7cb499df6-5mwds] I1208 08:35:47.330630       1 connection.go:184] GRPC error: rpc error: code = Aborted desc = The volume pvc-e4bc72b8-815b-4220-8ee0-ebe6c26bd296 is attaching
[csi-attacher-7cb499df6-5mwds] I1208 08:35:47.330686       1 csi_handler.go:412] Saving attach error to "csi-4b16ca590d7aa390828d809af38a5ffcead7be5c74dee1bab8d2259707282a7c"
[csi-attacher-7cb499df6-5mwds] I1208 08:35:47.366649       1 csi_handler.go:423] Saved attach error to "csi-4b16ca590d7aa390828d809af38a5ffcead7be5c74dee1bab8d2259707282a7c"
[csi-attacher-7cb499df6-5mwds] I1208 08:35:47.366711       1 csi_handler.go:99] Error processing "csi-4b16ca590d7aa390828d809af38a5ffcead7be5c74dee1bab8d2259707282a7c": failed to attach: rpc error: code = Aborted desc = The volume pvc-e4bc72b8-815b-4220-8ee0-ebe6c26bd296 is attaching
[csi-attacher-7cb499df6-5mwds] I1208 08:35:48.011685       1 leaderelection.go:258] successfully renewed lease longhorn-system/external-attacher-leader-driver-longhorn-io
[csi-attacher-7cb499df6-5mwds] I1208 08:35:53.019985       1 leaderelection.go:258] successfully renewed lease longhorn-system/external-attacher-leader-driver-longhorn-io
[csi-resizer-5cb8df7db9-vfhnd] I1208 08:35:53.152766       1 leaderelection.go:258] successfully renewed lease longhorn-system/external-resizer-driver-longhorn-io
[csi-provisioner-67846b4b55-qmr7l] I1208 08:35:53.291330       1 leaderelection.go:282] successfully renewed lease longhorn-system/driver-longhorn-io
[longhorn-csi-plugin-gcprq longhorn-csi-plugin] time="2020-12-08T08:35:53Z" level=debug msg="Polling pvc-e4bc72b8-815b-4220-8ee0-ebe6c26bd296 state for attached at 2020-12-08 08:35:53.318638526 +0000 UTC m=+271.077702295"
[longhorn-manager-zdqr9] <IP_ADDRESS> - - [08/Dec/2020:08:35:53 +0000] "GET /v1/volumes/pvc-e4bc72b8-815b-4220-8ee0-ebe6c26bd296 HTTP/1.1" 200 2538 "" "Go-http-client/1.1"
[csi-attacher-7cb499df6-k8gpz] I1208 08:35:54.159666       1 leaderelection.go:326] lock is held by csi-attacher-7cb499df6-5mwds and has not yet expired
[csi-resizer-5cb8df7db9-vr6hm] I1208 08:35:54.159650       1 leaderelection.go:326] lock is held by csi-resizer-5cb8df7db9-vfhnd and has not yet expired
[csi-resizer-5cb8df7db9-vr6hm] I1208 08:35:54.159687       1 leaderelection.go:222] failed to acquire lease longhorn-system/external-resizer-driver-longhorn-io
[csi-attacher-7cb499df6-k8gpz] I1208 08:35:54.159712       1 leaderelection.go:222] failed to acquire lease longhorn-system/external-attacher-leader-driver-longhorn-io
[csi-resizer-5cb8df7db9-9hhk2] I1208 08:35:54.401116       1 leaderelection.go:326] lock is held by csi-resizer-5cb8df7db9-vfhnd and has not yet expired
[csi-attacher-7cb499df6-blq2p] I1208 08:35:54.401158       1 leaderelection.go:326] lock is held by csi-attacher-7cb499df6-5mwds and has not yet expired
[csi-attacher-7cb499df6-blq2p] I1208 08:35:54.401197       1 leaderelection.go:222] failed to acquire lease longhorn-system/external-attacher-leader-driver-longhorn-io
[csi-resizer-5cb8df7db9-9hhk2] I1208 08:35:54.401153       1 leaderelection.go:222] failed to acquire lease longhorn-system/external-resizer-driver-longhorn-io
[longhorn-csi-plugin-gcprq longhorn-csi-plugin] time="2020-12-08T08:35:55Z" level=debug msg="Polling pvc-e4bc72b8-815b-4220-8ee0-ebe6c26bd296 state for attached at 2020-12-08 08:35:55.31865337 +0000 UTC m=+273.077717149"
[longhorn-manager-zdqr9] <IP_ADDRESS> - - [08/Dec/2020:08:35:55 +0000] "GET /v1/volumes/pvc-e4bc72b8-815b-4220-8ee0-ebe6c26bd296 HTTP/1.1" 200 2538 "" "Go-http-client/1.1"
[longhorn-manager-zdqr9] <IP_ADDRESS> - - [08/Dec/2020:08:35:57 +0000] "GET /v1/volumes/pvc-e4bc72b8-815b-4220-8ee0-ebe6c26bd296 HTTP/1.1" 200 2538 "" "Go-http-client/1.1"
[longhorn-csi-plugin-gcprq longhorn-csi-plugin] time="2020-12-08T08:35:57Z" level=debug msg="Polling pvc-e4bc72b8-815b-4220-8ee0-ebe6c26bd296 state for attached at 2020-12-08 08:35:57.318614467 +0000 UTC m=+275.077678270"
[csi-attacher-7cb499df6-5mwds] I1208 08:35:58.030588       1 leaderelection.go:258] successfully renewed lease longhorn-system/external-attacher-leader-driver-longhorn-io
[csi-resizer-5cb8df7db9-vfhnd] I1208 08:35:58.170993       1 leaderelection.go:258] successfully renewed lease longhorn-system/external-resizer-driver-longhorn-io
[csi-provisioner-67846b4b55-qmr7l] I1208 08:35:58.299197       1 leaderelection.go:282] successfully renewed lease longhorn-system/driver-longhorn-io
[longhorn-manager-zdqr9] <IP_ADDRESS> - - [08/Dec/2020:08:35:59 +0000] "GET /v1/volumes/pvc-e4bc72b8-815b-4220-8ee0-ebe6c26bd296 HTTP/1.1" 200 2538 "" "Go-http-client/1.1"
[longhorn-csi-plugin-gcprq longhorn-csi-plugin] time="2020-12-08T08:35:59Z" level=debug msg="Polling pvc-e4bc72b8-815b-4220-8ee0-ebe6c26bd296 state for attached at 2020-12-08 08:35:59.318636389 +0000 UTC m=+277.077700169"
[csi-provisioner-67846b4b55-85nls] I1208 08:35:59.575568       1 leaderelection.go:350] lock is held by csi-provisioner-67846b4b55-qmr7l and has not yet expired
[csi-provisioner-67846b4b55-hkfls] I1208 08:35:59.575614       1 leaderelection.go:350] lock is held by csi-provisioner-67846b4b55-qmr7l and has not yet expired
[csi-provisioner-67846b4b55-hkfls] I1208 08:35:59.575662       1 leaderelection.go:246] failed to acquire lease longhorn-system/driver-longhorn-io
[csi-provisioner-67846b4b55-85nls] I1208 08:35:59.575603       1 leaderelection.go:246] failed to acquire lease longhorn-system/driver-longhorn-io
[csi-attacher-7cb499df6-k8gpz] I1208 08:35:59.640304       1 leaderelection.go:326] lock is held by csi-attacher-7cb499df6-5mwds and has not yet expired
[csi-resizer-5cb8df7db9-vr6hm] I1208 08:35:59.640285       1 leaderelection.go:326] lock is held by csi-resizer-5cb8df7db9-vfhnd and has not yet expired
[csi-attacher-7cb499df6-k8gpz] I1208 08:35:59.640340       1 leaderelection.go:222] failed to acquire lease longhorn-system/external-attacher-leader-driver-longhorn-io
[csi-resizer-5cb8df7db9-vr6hm] I1208 08:35:59.640323       1 leaderelection.go:222] failed to acquire lease longhorn-system/external-resizer-driver-longhorn-io
[csi-resizer-5cb8df7db9-9hhk2] I1208 08:35:59.881220       1 leaderelection.go:326] lock is held by csi-resizer-5cb8df7db9-vfhnd and has not yet expired
[csi-attacher-7cb499df6-blq2p] I1208 08:35:59.881205       1 leaderelection.go:326] lock is held by csi-attacher-7cb499df6-5mwds and has not yet expired
[csi-resizer-5cb8df7db9-9hhk2] I1208 08:35:59.881261       1 leaderelection.go:222] failed to acquire lease longhorn-system/external-resizer-driver-longhorn-io
[csi-attacher-7cb499df6-blq2p] I1208 08:35:59.881254       1 leaderelection.go:222] failed to acquire lease longhorn-system/external-attacher-leader-driver-longhorn-io
[longhorn-manager-zdqr9] <IP_ADDRESS> - - [08/Dec/2020:08:36:01 +0000] "GET /v1/volumes/pvc-e4bc72b8-815b-4220-8ee0-ebe6c26bd296 HTTP/1.1" 200 2538 "" "Go-http-client/1.1"
[longhorn-csi-plugin-gcprq longhorn-csi-plugin] time="2020-12-08T08:36:01Z" level=debug msg="Polling pvc-e4bc72b8-815b-4220-8ee0-ebe6c26bd296 state for attached at 2020-12-08 08:36:01.318655873 +0000 UTC m=+279.077719651"
[csi-attacher-7cb499df6-5mwds] I1208 08:36:03.038418       1 leaderelection.go:258] successfully renewed lease longhorn-system/external-attacher-leader-driver-longhorn-io
[csi-resizer-5cb8df7db9-vfhnd] I1208 08:36:03.185940       1 leaderelection.go:258] successfully renewed lease longhorn-system/external-resizer-driver-longhorn-io
[longhorn-manager-zdqr9] <IP_ADDRESS> - - [08/Dec/2020:08:36:03 +0000] "GET /v1/volumes/pvc-e4bc72b8-815b-4220-8ee0-ebe6c26bd296 HTTP/1.1" 200 2538 "" "Go-http-client/1.1"
[longhorn-csi-plugin-gcprq longhorn-csi-plugin] time="2020-12-08T08:36:03Z" level=debug msg="Polling pvc-e4bc72b8-815b-4220-8ee0-ebe6c26bd296 state for attached at 2020-12-08 08:36:03.318552547 +0000 UTC m=+281.077616326"
[csi-provisioner-67846b4b55-qmr7l] I1208 08:36:03.342350       1 leaderelection.go:282] successfully renewed lease longhorn-system/driver-longhorn-io
[csi-provisioner-67846b4b55-hkfls] I1208 08:36:04.933743       1 leaderelection.go:350] lock is held by csi-provisioner-67846b4b55-qmr7l and has not yet expired
[csi-provisioner-67846b4b55-85nls] I1208 08:36:04.933767       1 leaderelection.go:350] lock is held by csi-provisioner-67846b4b55-qmr7l and has not yet expired
[csi-provisioner-67846b4b55-hkfls] I1208 08:36:04.933779       1 leaderelection.go:246] failed to acquire lease longhorn-system/driver-longhorn-io
[csi-provisioner-67846b4b55-85nls] I1208 08:36:04.933803       1 leaderelection.go:246] failed to acquire lease longhorn-system/driver-longhorn-io
[longhorn-csi-plugin-gcprq longhorn-csi-plugin] time="2020-12-08T08:36:05Z" level=debug msg="Polling pvc-e4bc72b8-815b-4220-8ee0-ebe6c26bd296 state for attached at 2020-12-08 08:36:05.318648473 +0000 UTC m=+283.077712252"
[longhorn-manager-zdqr9] <IP_ADDRESS> - - [08/Dec/2020:08:36:05 +0000] "GET /v1/volumes/pvc-e4bc72b8-815b-4220-8ee0-ebe6c26bd296 HTTP/1.1" 200 2538 "" "Go-http-client/1.1"
[longhorn-csi-plugin-gcprq longhorn-csi-plugin] time="2020-12-08T08:36:07Z" level=warning msg="waitForVolumeState: timeout to wait for volume pvc-e4bc72b8-815b-4220-8ee0-ebe6c26bd296 become attached"
[longhorn-csi-plugin-gcprq longhorn-csi-plugin] time="2020-12-08T08:36:07Z" level=error msg="GRPC error: rpc error: code = Aborted desc = Attaching volume pvc-e4bc72b8-815b-4220-8ee0-ebe6c26bd296 on node se04 failed"
[csi-attacher-7cb499df6-5mwds] I1208 08:36:08.049259       1 leaderelection.go:258] successfully renewed lease longhorn-system/external-attacher-leader-driver-longhorn-io
[csi-resizer-5cb8df7db9-vfhnd] I1208 08:36:08.194307       1 leaderelection.go:258] successfully renewed lease longhorn-system/external-resizer-driver-longhorn-io
[csi-resizer-5cb8df7db9-vr6hm] I1208 08:36:08.224445       1 leaderelection.go:326] lock is held by csi-resizer-5cb8df7db9-vfhnd and has not yet expired
[csi-attacher-7cb499df6-k8gpz] I1208 08:36:08.224366       1 leaderelection.go:326] lock is held by csi-attacher-7cb499df6-5mwds and has not yet expired
[csi-attacher-7cb499df6-k8gpz] I1208 08:36:08.224407       1 leaderelection.go:222] failed to acquire lease longhorn-system/external-attacher-leader-driver-longhorn-io
[csi-resizer-5cb8df7db9-vr6hm] I1208 08:36:08.224480       1 leaderelection.go:222] failed to acquire lease longhorn-system/external-resizer-driver-longhorn-io
[csi-provisioner-67846b4b55-qmr7l] I1208 08:36:08.350245       1 leaderelection.go:282] successfully renewed lease longhorn-system/driver-longhorn-io
[csi-attacher-7cb499df6-blq2p] I1208 08:36:08.453674       1 leaderelection.go:326] lock is held by csi-attacher-7cb499df6-5mwds and has not yet expired
[csi-resizer-5cb8df7db9-9hhk2] I1208 08:36:08.453656       1 leaderelection.go:326] lock is held by csi-resizer-5cb8df7db9-vfhnd and has not yet expired
[csi-resizer-5cb8df7db9-9hhk2] I1208 08:36:08.453692       1 leaderelection.go:222] failed to acquire lease longhorn-system/external-resizer-driver-longhorn-io
[csi-attacher-7cb499df6-blq2p] I1208 08:36:08.453709       1 leaderelection.go:222] failed to acquire lease longhorn-system/external-attacher-leader-driver-longhorn-io
[csi-attacher-7cb499df6-5mwds] I1208 08:36:13.062932       1 leaderelection.go:258] successfully renewed lease longhorn-system/external-attacher-leader-driver-longhorn-io
[csi-resizer-5cb8df7db9-vfhnd] I1208 08:36:13.207184       1 leaderelection.go:258] successfully renewed lease longhorn-system/external-resizer-driver-longhorn-io
[csi-provisioner-67846b4b55-qmr7l] I1208 08:36:13.358474       1 leaderelection.go:282] successfully renewed lease longhorn-system/driver-longhorn-io
[csi-attacher-7cb499df6-k8gpz] I1208 08:36:13.582788       1 leaderelection.go:326] lock is held by csi-attacher-7cb499df6-5mwds and has not yet expired
[csi-resizer-5cb8df7db9-vr6hm] I1208 08:36:13.582588       1 leaderelection.go:326] lock is held by csi-resizer-5cb8df7db9-vfhnd and has not yet expired
[csi-resizer-5cb8df7db9-vr6hm] I1208 08:36:13.582635       1 leaderelection.go:222] failed to acquire lease longhorn-system/external-resizer-driver-longhorn-io
[csi-attacher-7cb499df6-k8gpz] I1208 08:36:13.582823       1 leaderelection.go:222] failed to acquire lease longhorn-system/external-attacher-leader-driver-longhorn-io
[csi-resizer-5cb8df7db9-9hhk2] I1208 08:36:13.811499       1 leaderelection.go:326] lock is held by csi-resizer-5cb8df7db9-vfhnd and has not yet expired
[csi-attacher-7cb499df6-blq2p] I1208 08:36:13.811791       1 leaderelection.go:326] lock is held by csi-attacher-7cb499df6-5mwds and has not yet expired
[csi-attacher-7cb499df6-blq2p] I1208 08:36:13.811827       1 leaderelection.go:222] failed to acquire lease longhorn-system/external-attacher-leader-driver-longhorn-io
[csi-resizer-5cb8df7db9-9hhk2] I1208 08:36:13.811544       1 leaderelection.go:222] failed to acquire lease longhorn-system/external-resizer-driver-longhorn-io
[csi-provisioner-67846b4b55-85nls] I1208 08:36:14.089550       1 leaderelection.go:350] lock is held by csi-provisioner-67846b4b55-qmr7l and has not yet expired
[csi-provisioner-67846b4b55-hkfls] I1208 08:36:14.089818       1 leaderelection.go:350] lock is held by csi-provisioner-67846b4b55-qmr7l and has not yet expired
[csi-provisioner-67846b4b55-85nls] I1208 08:36:14.089589       1 leaderelection.go:246] failed to acquire lease longhorn-system/driver-longhorn-io
[csi-provisioner-67846b4b55-hkfls] I1208 08:36:14.089853       1 leaderelection.go:246] failed to acquire lease longhorn-system/driver-longhorn-io
[csi-attacher-7cb499df6-5mwds] I1208 08:36:18.111152       1 leaderelection.go:258] successfully renewed lease longhorn-system/external-attacher-leader-driver-longhorn-io
[csi-resizer-5cb8df7db9-vfhnd] I1208 08:36:18.276873       1 leaderelection.go:258] successfully renewed lease longhorn-system/external-resizer-driver-longhorn-io
[csi-provisioner-67846b4b55-qmr7l] I1208 08:36:18.366534       1 leaderelection.go:282] successfully renewed lease longhorn-system/driver-longhorn-io
[csi-provisioner-67846b4b55-hkfls] I1208 08:36:20.933357       1 leaderelection.go:350] lock is held by csi-provisioner-67846b4b55-qmr7l and has not yet expired
[csi-provisioner-67846b4b55-85nls] I1208 08:36:20.933362       1 leaderelection.go:350] lock is held by csi-provisioner-67846b4b55-qmr7l and has not yet expired
[csi-provisioner-67846b4b55-hkfls] I1208 08:36:20.933398       1 leaderelection.go:246] failed to acquire lease longhorn-system/driver-longhorn-io
[csi-provisioner-67846b4b55-85nls] I1208 08:36:20.933405       1 leaderelection.go:246] failed to acquire lease longhorn-system/driver-longhorn-io
[csi-attacher-7cb499df6-k8gpz] I1208 08:36:22.738610       1 leaderelection.go:326] lock is held by csi-attacher-7cb499df6-5mwds and has not yet expired
[csi-resizer-5cb8df7db9-vr6hm] I1208 08:36:22.738900       1 leaderelection.go:326] lock is held by csi-resizer-5cb8df7db9-vfhnd and has not yet expired
[csi-attacher-7cb499df6-k8gpz] I1208 08:36:22.738647       1 leaderelection.go:222] failed to acquire lease longhorn-system/external-attacher-leader-driver-longhorn-io
[csi-resizer-5cb8df7db9-vr6hm] I1208 08:36:22.738937       1 leaderelection.go:222] failed to acquire lease longhorn-system/external-resizer-driver-longhorn-io
[csi-attacher-7cb499df6-blq2p] I1208 08:36:22.967128       1 leaderelection.go:326] lock is held by csi-attacher-7cb499df6-5mwds and has not yet expired
[csi-resizer-5cb8df7db9-9hhk2] I1208 08:36:22.966846       1 leaderelection.go:326] lock is held by csi-resizer-5cb8df7db9-vfhnd and has not yet expired
[csi-resizer-5cb8df7db9-9hhk2] I1208 08:36:22.966880       1 leaderelection.go:222] failed to acquire lease longhorn-system/external-resizer-driver-longhorn-io
[csi-attacher-7cb499df6-blq2p] I1208 08:36:22.967169       1 leaderelection.go:222] failed to acquire lease longhorn-system/external-attacher-leader-driver-longhorn-io
[csi-attacher-7cb499df6-5mwds] I1208 08:36:23.118825       1 leaderelection.go:258] successfully renewed lease longhorn-system/external-attacher-leader-driver-longhorn-io
[csi-resizer-5cb8df7db9-vfhnd] I1208 08:36:23.284104       1 leaderelection.go:258] successfully renewed lease longhorn-system/external-resizer-driver-longhorn-io
[csi-provisioner-67846b4b55-qmr7l] I1208 08:36:23.391857       1 leaderelection.go:282] successfully renewed lease longhorn-system/driver-longhorn-io
[csi-provisioner-67846b4b55-85nls] I1208 08:36:26.977090       1 leaderelection.go:350] lock is held by csi-provisioner-67846b4b55-qmr7l and has not yet expired
[csi-provisioner-67846b4b55-hkfls] I1208 08:36:26.976300       1 leaderelection.go:350] lock is held by csi-provisioner-67846b4b55-qmr7l and has not yet expired
[csi-provisioner-67846b4b55-hkfls] I1208 08:36:26.976347       1 leaderelection.go:246] failed to acquire lease longhorn-system/driver-longhorn-io
[csi-provisioner-67846b4b55-85nls] I1208 08:36:26.977139       1 leaderelection.go:246] failed to acquire lease longhorn-system/driver-longhorn-io
[csi-attacher-7cb499df6-5mwds] I1208 08:36:28.128656       1 leaderelection.go:258] successfully renewed lease longhorn-system/external-attacher-leader-driver-longhorn-io
[csi-resizer-5cb8df7db9-vfhnd] I1208 08:36:28.292580       1 leaderelection.go:258] successfully renewed lease longhorn-system/external-resizer-driver-longhorn-io
[csi-provisioner-67846b4b55-qmr7l] I1208 08:36:28.400686       1 leaderelection.go:282] successfully renewed lease longhorn-system/driver-longhorn-io
[csi-resizer-5cb8df7db9-vr6hm] I1208 08:36:29.551287       1 leaderelection.go:326] lock is held by csi-resizer-5cb8df7db9-vfhnd and has not yet expired
[csi-attacher-7cb499df6-k8gpz] I1208 08:36:29.551280       1 leaderelection.go:326] lock is held by csi-attacher-7cb499df6-5mwds and has not yet expired
[csi-resizer-5cb8df7db9-vr6hm] I1208 08:36:29.551322       1 leaderelection.go:222] failed to acquire lease longhorn-system/external-resizer-driver-longhorn-io
[csi-attacher-7cb499df6-k8gpz] I1208 08:36:29.551314       1 leaderelection.go:222] failed to acquire lease longhorn-system/external-attacher-leader-driver-longhorn-io
[csi-resizer-5cb8df7db9-9hhk2] I1208 08:36:29.779274       1 leaderelection.go:326] lock is held by csi-resizer-5cb8df7db9-vfhnd and has not yet expired
[csi-attacher-7cb499df6-blq2p] I1208 08:36:29.779345       1 leaderelection.go:326] lock is held by csi-attacher-7cb499df6-5mwds and has not yet expired
[csi-attacher-7cb499df6-blq2p] I1208 08:36:29.779379       1 leaderelection.go:222] failed to acquire lease longhorn-system/external-attacher-leader-driver-longhorn-io
[csi-resizer-5cb8df7db9-9hhk2] I1208 08:36:29.779314       1 leaderelection.go:222] failed to acquire lease longhorn-system/external-resizer-driver-longhorn-io
[csi-attacher-7cb499df6-5mwds] I1208 08:36:33.183354       1 leaderelection.go:258] successfully renewed lease longhorn-system/external-attacher-leader-driver-longhorn-io
[csi-resizer-5cb8df7db9-vfhnd] I1208 08:36:33.343105       1 leaderelection.go:258] successfully renewed lease longhorn-system/external-resizer-driver-longhorn-io
[csi-provisioner-67846b4b55-qmr7l] I1208 08:36:33.408603       1 leaderelection.go:282] successfully renewed lease longhorn-system/driver-longhorn-io
[csi-provisioner-67846b4b55-hkfls] I1208 08:36:35.253946       1 leaderelection.go:350] lock is held by csi-provisioner-67846b4b55-qmr7l and has not yet expired
[csi-provisioner-67846b4b55-85nls] I1208 08:36:35.253961       1 leaderelection.go:350] lock is held by csi-provisioner-67846b4b55-qmr7l and has not yet expired
[csi-provisioner-67846b4b55-85nls] I1208 08:36:35.253998       1 leaderelection.go:246] failed to acquire lease longhorn-system/driver-longhorn-io
[csi-provisioner-67846b4b55-hkfls] I1208 08:36:35.253988       1 leaderelection.go:246] failed to acquire lease longhorn-system/driver-longhorn-io
[csi-attacher-7cb499df6-k8gpz] I1208 08:36:35.619469       1 leaderelection.go:326] lock is held by csi-attacher-7cb499df6-5mwds and has not yet expired
[csi-resizer-5cb8df7db9-vr6hm] I1208 08:36:35.619499       1 leaderelection.go:326] lock is held by csi-resizer-5cb8df7db9-vfhnd and has not yet expired
[csi-attacher-7cb499df6-k8gpz] I1208 08:36:35.619512       1 leaderelection.go:222] failed to acquire lease longhorn-system/external-attacher-leader-driver-longhorn-io
[csi-resizer-5cb8df7db9-vr6hm] I1208 08:36:35.619540       1 leaderelection.go:222] failed to acquire lease longhorn-system/external-resizer-driver-longhorn-io
[csi-resizer-5cb8df7db9-9hhk2] I1208 08:36:35.822293       1 leaderelection.go:326] lock is held by csi-resizer-5cb8df7db9-vfhnd and has not yet expired
[csi-attacher-7cb499df6-blq2p] I1208 08:36:35.822435       1 leaderelection.go:326] lock is held by csi-attacher-7cb499df6-5mwds and has not yet expired
[csi-resizer-5cb8df7db9-9hhk2] I1208 08:36:35.822328       1 leaderelection.go:222] failed to acquire lease longhorn-system/external-resizer-driver-longhorn-io
[csi-attacher-7cb499df6-blq2p] I1208 08:36:35.822475       1 leaderelection.go:222] failed to acquire lease longhorn-system/external-attacher-leader-driver-longhorn-io
[csi-attacher-7cb499df6-5mwds] I1208 08:36:38.192983       1 leaderelection.go:258] successfully renewed lease longhorn-system/external-attacher-leader-driver-longhorn-io
[csi-resizer-5cb8df7db9-vfhnd] I1208 08:36:38.351091       1 leaderelection.go:258] successfully renewed lease longhorn-system/external-resizer-driver-longhorn-io
[csi-provisioner-67846b4b55-qmr7l] I1208 08:36:38.468639       1 leaderelection.go:282] successfully renewed lease longhorn-system/driver-longhorn-io
[csi-attacher-7cb499df6-5mwds] I1208 08:36:43.239882       1 leaderelection.go:258] successfully renewed lease longhorn-system/external-attacher-leader-driver-longhorn-io
[csi-resizer-5cb8df7db9-vfhnd] I1208 08:36:43.359602       1 leaderelection.go:258] successfully renewed lease longhorn-system/external-resizer-driver-longhorn-io
[csi-provisioner-67846b4b55-qmr7l] I1208 08:36:43.505464       1 leaderelection.go:282] successfully renewed lease longhorn-system/driver-longhorn-io
[csi-provisioner-67846b4b55-hkfls] I1208 08:36:43.522012       1 leaderelection.go:350] lock is held by csi-provisioner-67846b4b55-qmr7l and has not yet expired
[csi-provisioner-67846b4b55-85nls] I1208 08:36:43.522015       1 leaderelection.go:350] lock is held by csi-provisioner-67846b4b55-qmr7l and has not yet expired
[csi-provisioner-67846b4b55-hkfls] I1208 08:36:43.522043       1 leaderelection.go:246] failed to acquire lease longhorn-system/driver-longhorn-io
[csi-provisioner-67846b4b55-85nls] I1208 08:36:43.522053       1 leaderelection.go:246] failed to acquire lease longhorn-system/driver-longhorn-io
[csi-resizer-5cb8df7db9-vr6hm] I1208 08:36:43.870022       1 leaderelection.go:326] lock is held by csi-resizer-5cb8df7db9-vfhnd and has not yet expired
[csi-attacher-7cb499df6-k8gpz] I1208 08:36:43.870486       1 leaderelection.go:326] lock is held by csi-attacher-7cb499df6-5mwds and has not yet expired
[csi-resizer-5cb8df7db9-vr6hm] I1208 08:36:43.870067       1 leaderelection.go:222] failed to acquire lease longhorn-system/external-resizer-driver-longhorn-io
[csi-attacher-7cb499df6-k8gpz] I1208 08:36:43.870520       1 leaderelection.go:222] failed to acquire lease longhorn-system/external-attacher-leader-driver-longhorn-io
[csi-attacher-7cb499df6-blq2p] I1208 08:36:44.087623       1 leaderelection.go:326] lock is held by csi-attacher-7cb499df6-5mwds and has not yet expired
[csi-resizer-5cb8df7db9-9hhk2] I1208 08:36:44.087599       1 leaderelection.go:326] lock is held by csi-resizer-5cb8df7db9-vfhnd and has not yet expired
[csi-attacher-7cb499df6-blq2p] I1208 08:36:44.087663       1 leaderelection.go:222] failed to acquire lease longhorn-system/external-attacher-leader-driver-longhorn-io
[csi-resizer-5cb8df7db9-9hhk2] I1208 08:36:44.087649       1 leaderelection.go:222] failed to acquire lease longhorn-system/external-resizer-driver-longhorn-io
[csi-attacher-7cb499df6-5mwds] I1208 08:36:48.251699       1 leaderelection.go:258] successfully renewed lease longhorn-system/external-attacher-leader-driver-longhorn-io
[csi-resizer-5cb8df7db9-vfhnd] I1208 08:36:48.367407       1 leaderelection.go:258] successfully renewed lease longhorn-system/external-resizer-driver-longhorn-io
[csi-provisioner-67846b4b55-qmr7l] I1208 08:36:48.519750       1 leaderelection.go:282] successfully renewed lease longhorn-system/driver-longhorn-io
[csi-provisioner-67846b4b55-85nls] I1208 08:36:50.196664       1 leaderelection.go:350] lock is held by csi-provisioner-67846b4b55-qmr7l and has not yet expired
[csi-provisioner-67846b4b55-hkfls] I1208 08:36:50.196674       1 leaderelection.go:350] lock is held by csi-provisioner-67846b4b55-qmr7l and has not yet expired
[csi-provisioner-67846b4b55-hkfls] I1208 08:36:50.196711       1 leaderelection.go:246] failed to acquire lease longhorn-system/driver-longhorn-io
[csi-provisioner-67846b4b55-85nls] I1208 08:36:50.196699       1 leaderelection.go:246] failed to acquire lease longhorn-system/driver-longhorn-io
[csi-resizer-5cb8df7db9-vr6hm] I1208 08:36:52.138045       1 leaderelection.go:326] lock is held by csi-resizer-5cb8df7db9-vfhnd and has not yet expired
[csi-attacher-7cb499df6-k8gpz] I1208 08:36:52.138587       1 leaderelection.go:326] lock is held by csi-attacher-7cb499df6-5mwds and has not yet expired
[csi-resizer-5cb8df7db9-vr6hm] I1208 08:36:52.138092       1 leaderelection.go:222] failed to acquire lease longhorn-system/external-resizer-driver-longhorn-io
[csi-attacher-7cb499df6-k8gpz] I1208 08:36:52.138621       1 leaderelection.go:222] failed to acquire lease longhorn-system/external-attacher-leader-driver-longhorn-io
[csi-resizer-5cb8df7db9-9hhk2] I1208 08:36:52.378998       1 leaderelection.go:326] lock is held by csi-resizer-5cb8df7db9-vfhnd and has not yet expired
[csi-attacher-7cb499df6-blq2p] I1208 08:36:52.378926       1 leaderelection.go:326] lock is held by csi-attacher-7cb499df6-5mwds and has not yet expired
[csi-resizer-5cb8df7db9-9hhk2] I1208 08:36:52.379040       1 leaderelection.go:222] failed to acquire lease longhorn-system/external-resizer-driver-longhorn-io
[csi-attacher-7cb499df6-blq2p] I1208 08:36:52.378973       1 leaderelection.go:222] failed to acquire lease longhorn-system/external-attacher-leader-driver-longhorn-io
[csi-attacher-7cb499df6-5mwds] I1208 08:36:53.262536       1 leaderelection.go:258] successfully renewed lease longhorn-system/external-attacher-leader-driver-longhorn-io
[csi-resizer-5cb8df7db9-vfhnd] I1208 08:36:53.425922       1 leaderelection.go:258] successfully renewed lease longhorn-system/external-resizer-driver-longhorn-io
[csi-provisioner-67846b4b55-qmr7l] I1208 08:36:53.569050       1 leaderelection.go:282] successfully renewed lease longhorn-system/driver-longhorn-io
[csi-provisioner-67846b4b55-hkfls] I1208 08:36:57.770193       1 leaderelection.go:350] lock is held by csi-provisioner-67846b4b55-qmr7l and has not yet expired
[csi-provisioner-67846b4b55-85nls] I1208 08:36:57.770203       1 leaderelection.go:350] lock is held by csi-provisioner-67846b4b55-qmr7l and has not yet expired
[csi-provisioner-67846b4b55-85nls] I1208 08:36:57.770239       1 leaderelection.go:246] failed to acquire lease longhorn-system/driver-longhorn-io
[csi-provisioner-67846b4b55-hkfls] I1208 08:36:57.770233       1 leaderelection.go:246] failed to acquire lease longhorn-system/driver-longhorn-io
[csi-attacher-7cb499df6-5mwds] I1208 08:36:58.402094       1 leaderelection.go:258] successfully renewed lease longhorn-system/external-attacher-leader-driver-longhorn-io
[csi-resizer-5cb8df7db9-vfhnd] I1208 08:36:58.438021       1 leaderelection.go:258] successfully renewed lease longhorn-system/external-resizer-driver-longhorn-io
[csi-provisioner-67846b4b55-qmr7l] I1208 08:36:58.577295       1 leaderelection.go:282] successfully renewed lease longhorn-system/driver-longhorn-io
[csi-resizer-5cb8df7db9-vr6hm] I1208 08:36:58.813067       1 leaderelection.go:326] lock is held by csi-resizer-5cb8df7db9-vfhnd and has not yet expired
[csi-attacher-7cb499df6-k8gpz] I1208 08:36:58.813112       1 leaderelection.go:326] lock is held by csi-attacher-7cb499df6-5mwds and has not yet expired
[csi-resizer-5cb8df7db9-vr6hm] I1208 08:36:58.813103       1 leaderelection.go:222] failed to acquire lease longhorn-system/external-resizer-driver-longhorn-io
[csi-attacher-7cb499df6-k8gpz] I1208 08:36:58.813153       1 leaderelection.go:222] failed to acquire lease longhorn-system/external-attacher-leader-driver-longhorn-io
[csi-resizer-5cb8df7db9-9hhk2] I1208 08:36:59.053562       1 leaderelection.go:326] lock is held by csi-resizer-5cb8df7db9-vfhnd and has not yet expired
[csi-attacher-7cb499df6-blq2p] I1208 08:36:59.053482       1 leaderelection.go:326] lock is held by csi-attacher-7cb499df6-5mwds and has not yet expired
[csi-attacher-7cb499df6-blq2p] I1208 08:36:59.053516       1 leaderelection.go:222] failed to acquire lease longhorn-system/external-attacher-leader-driver-longhorn-io
[csi-resizer-5cb8df7db9-9hhk2] I1208 08:36:59.053604       1 leaderelection.go:222] failed to acquire lease longhorn-system/external-resizer-driver-longhorn-io
[csi-attacher-7cb499df6-5mwds] I1208 08:37:00.698530       1 reflector.go:370] k8s.io/client-go/informers/factory.go:133: Watch close - *v1beta1.VolumeAttachment total 9 items received
[csi-provisioner-67846b4b55-qmr7l] I1208 08:37:01.425336       1 reflector.go:389] sigs.k8s.io/sig-storage-lib-external-provisioner/controller/controller.go:804: Watch close - *v1.PersistentVolume total 7 items received
[csi-attacher-7cb499df6-5mwds] I1208 08:37:03.410065       1 leaderelection.go:258] successfully renewed lease longhorn-system/external-attacher-leader-driver-longhorn-io
[csi-resizer-5cb8df7db9-vfhnd] I1208 08:37:03.445697       1 leaderelection.go:258] successfully renewed lease longhorn-system/external-resizer-driver-longhorn-io
[csi-provisioner-67846b4b55-qmr7l] I1208 08:37:03.582745       1 leaderelection.go:282] successfully renewed lease longhorn-system/driver-longhorn-io
[csi-provisioner-67846b4b55-hkfls] I1208 08:37:05.957222       1 leaderelection.go:350] lock is held by csi-provisioner-67846b4b55-qmr7l and has not yet expired
[csi-provisioner-67846b4b55-85nls] I1208 08:37:05.957583       1 leaderelection.go:350] lock is held by csi-provisioner-67846b4b55-qmr7l and has not yet expired
[csi-provisioner-67846b4b55-hkfls] I1208 08:37:05.957257       1 leaderelection.go:246] failed to acquire lease longhorn-system/driver-longhorn-io
[csi-provisioner-67846b4b55-85nls] I1208 08:37:05.957625       1 leaderelection.go:246] failed to acquire lease longhorn-system/driver-longhorn-io
[csi-attacher-7cb499df6-k8gpz] I1208 08:37:06.356252       1 leaderelection.go:326] lock is held by csi-attacher-7cb499df6-5mwds and has not yet expired
[csi-resizer-5cb8df7db9-vr6hm] I1208 08:37:06.356079       1 leaderelection.go:326] lock is held by csi-resizer-5cb8df7db9-vfhnd and has not yet expired
[csi-attacher-7cb499df6-k8gpz] I1208 08:37:06.356291       1 leaderelection.go:222] failed to acquire lease longhorn-system/external-attacher-leader-driver-longhorn-io
[csi-resizer-5cb8df7db9-vr6hm] I1208 08:37:06.356119       1 leaderelection.go:222] failed to acquire lease longhorn-system/external-resizer-driver-longhorn-io
[csi-attacher-7cb499df6-blq2p] I1208 08:37:06.595953       1 leaderelection.go:326] lock is held by csi-attacher-7cb499df6-5mwds and has not yet expired
[csi-resizer-5cb8df7db9-9hhk2] I1208 08:37:06.595970       1 leaderelection.go:326] lock is held by csi-resizer-5cb8df7db9-vfhnd and has not yet expired
[csi-resizer-5cb8df7db9-9hhk2] I1208 08:37:06.596005       1 leaderelection.go:222] failed to acquire lease longhorn-system/external-resizer-driver-longhorn-io
[csi-attacher-7cb499df6-blq2p] I1208 08:37:06.595989       1 leaderelection.go:222] failed to acquire lease longhorn-system/external-attacher-leader-driver-longhorn-io
[longhorn-manager-zdqr9] E1208 08:37:07.311698       1 replica_controller.go:177] fail to sync replica for longhorn-system/pvc-e4bc72b8-815b-4220-8ee0-ebe6c26bd296-r-b9fd762f: failed to start process: rpc error: code = DeadlineExceeded desc = context deadline exceeded
[longhorn-manager-zdqr9] time="2020-12-08T08:37:07Z" level=info msg="Event(v1.ObjectReference{Kind:\"Replica\", Namespace:\"longhorn-system\", Name:\"pvc-e4bc72b8-815b-4220-8ee0-ebe6c26bd296-r-b9fd762f\", UID:\"8fdeb5a8-5f1a-42ba-975b-26566a75be23\", APIVersion:\"longhorn.io/v1beta1\", ResourceVersion:\"19131\", FieldPath:\"\"}): type: 'Warning' reason: 'FailedStarting' Error starting pvc-e4bc72b8-815b-4220-8ee0-ebe6c26bd296-r-b9fd762f: failed to start process: rpc error: code = DeadlineExceeded desc = context deadline exceeded"
[longhorn-manager-zdqr9] time="2020-12-08T08:37:07Z" level=warning msg="Dropping Longhorn replica longhorn-system/pvc-e4bc72b8-815b-4220-8ee0-ebe6c26bd296-r-b9fd762f out of the queue: fail to sync replica for longhorn-system/pvc-e4bc72b8-815b-4220-8ee0-ebe6c26bd296-r-b9fd762f: failed to start process: rpc error: code = DeadlineExceeded desc = context deadline exceeded"
[csi-attacher-7cb499df6-5mwds] I1208 08:37:08.419583       1 leaderelection.go:258] successfully renewed lease longhorn-system/external-attacher-leader-driver-longhorn-io
[csi-resizer-5cb8df7db9-vfhnd] I1208 08:37:08.453898       1 leaderelection.go:258] successfully renewed lease longhorn-system/external-resizer-driver-longhorn-io
[csi-provisioner-67846b4b55-qmr7l] I1208 08:37:08.590719       1 leaderelection.go:282] successfully renewed lease longhorn-system/driver-longhorn-io
[csi-provisioner-67846b4b55-hkfls] I1208 08:37:12.482442       1 leaderelection.go:350] lock is held by csi-provisioner-67846b4b55-qmr7l and has not yet expired
[csi-provisioner-67846b4b55-85nls] I1208 08:37:12.482346       1 leaderelection.go:350] lock is held by csi-provisioner-67846b4b55-qmr7l and has not yet expired
[csi-provisioner-67846b4b55-hkfls] I1208 08:37:12.482481       1 leaderelection.go:246] failed to acquire lease longhorn-system/driver-longhorn-io

Update: It seems that k3s now create /var/lib/kubelet instead of /var/lib/rancher/k3s/ (or /var/lib/rancher/k3s/agent/kubelet so ive reinstalled k3s and longhorn with helm install longhorn ./longhorn/chart/ --namespace longhorn-system --set csi.kubeletRootDir=/var/lib/kubelet

It seems, that the raid10 that i've created can't be used in the current state. But i don't know which circumstances let longhorn fail on this since the directories engine-binaries, replicas and the longhorn-disk.cfg were written.

This must definitly be a bug. First, I've set the permissions to 777 to ensure longhorn has the permissions, but it didn't work.   So I've relocated the /var/lib/longhorn directory back to the host ssd and did a reinstall on longhorn. That worked. So i validated the functionality of my raid, i even did a rebuild and reformat but issue keep going as soon as the directory points to this raid. I'm out ouf ideas for now...
cat /proc/mdstat
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
md0 : active raid10 sdd[3] sdc[2] sdb[1] sda[0]
<PHONE_NUMBER> blocks super 1.2 512K chunks 2 near-copies [4/4] [UUUU]
      bitmap: 3/15 pages [12KB], 65536KB chunk

unused devices: <none>

fdisk -l
Disk /dev/sde: 465.78 GiB,<PHONE_NUMBER>16 bytes, 976773168 sectors
Disk model: Samsung SSD 860
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 171283F9-0417-4BC2-B535-684D5A0C40B2

Device       Start       End   Sectors   Size Type
/dev/sde1     2048   1050623   1048576   512M EFI System
/dev/sde2  1050624   3147775   2097152     1G Linux filesystem
/dev/sde3  3147776 976771071 973623296 464.3G Linux filesystem

The primary GPT table is corrupt, but the backup appears OK, so that will be used.
Disk /dev/sda: 931.53 GiB,<PHONE_NUMBER>016 bytes,<PHONE_NUMBER> sectors
Disk model: WDC WD10JFCX-68N
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 1D06AF60-1018-4A67-B503-C1A09C23E293

The primary GPT table is corrupt, but the backup appears OK, so that will be used.
Disk /dev/sdb: 931.53 GiB,<PHONE_NUMBER>016 bytes,<PHONE_NUMBER> sectors
Disk model: WDC WD10JFCX-68N
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 68A5AC98-01C5-439D-BA29-B5DE852FF936

The primary GPT table is corrupt, but the backup appears OK, so that will be used.
Disk /dev/sdc: 931.53 GiB,<PHONE_NUMBER>016 bytes,<PHONE_NUMBER> sectors
Disk model: WDC WD10JFCX-68N
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: B54BF0DC-6E52-E84B-94DD-27B90901A39F

The primary GPT table is corrupt, but the backup appears OK, so that will be used.
Disk /dev/sdd: 931.53 GiB,<PHONE_NUMBER>016 bytes,<PHONE_NUMBER> sectors
Disk model: WDC WD10JFCX-68N
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 7F5073D8-9450-874D-A973-F8D84B1A469E

Ive updated the settings of the helm install command:
helm install longhorn ./longhorn/chart/ --namespace longhorn-system --set defaultSettings.defaultReplicaCount=1 --set csi.kubeletRootDir=/var/lib/kubelet --set defaultSettings.replicaSoftAntiAffinity=true --set defaultSettings.defaultDataPath=/data/longhorn
but even this doesn't help. I hope some one can answer me (don't like monoge)

@tburschka Thanks for reporting

symlink from /var/lib/longhorn to /data/longhorn

Longhorn doesn't work with symlink. Can you make sure to use hard link instead? See more instruction about how to create an alternative/alias path for the disk
When you uninstall the old Longhorn deployment. Longhorn usually clean up CRDs when uninstalled using Helm. However, just to make sure, can you please check to see if there is any Longhorn CRDs left by running kubectl get crds | grep longhorn? All CRD should be deleted before installing new Longhorn deployment.

@PhanLe1010  Thank you for the reply. This i didn't see in the documentation. But instead of hardlink (i saw the message later) i reinstalled the server and setup the whole raid as /var/lib so there is no symlink needed. Next time i will double check the documentation.


Add DevfileOptions to GetPodTemplateSpec

What does this PR do?:
The PR adds the ability to filter the containers included in the generator.PodTemplateSpec() when calling GetPodTemplateSpec. This is equivalent to filtering when calling GetContainers()
PR acceptance criteria:
Testing and documentation do not need to be complete in order for this PR to be approved. We just need to ensure tracking issues are opened.

Open new test/doc issues under the devfile/api repo
Check each criteria if:
There is a separate tracking issue. Add the issue link under the criteria
or
test/doc updates are made as part of this PR
If unchecked, explain why it's not needed

[ ] Unit/Functional tests

[ ] QE Integration test

[ ] Documentation

[ ] Client Impact

[ ] Gosec scans

How to test changes / Special notes to the reviewer:

Thanks @kim-tsao for your review


Setting button

Is the settings button implemented? I cannot find it.
Cheers,
Maik

Which settings button?
Sent from my iPhone

On Nov 3, 2015, at 12:45 PM, mjsibbald<EMAIL_ADDRESS>wrote:
Is the settings button implemented? I cannot find it.
Cheers,
Maik
—
Reply to this email directly or view it on GitHub.

To load the qr code scanner? Probably not implemented?
Sucks the current cardboard is unity for ios…

On 03 Nov 2015, at 14:58, Andrea Melle<EMAIL_ADDRESS>wrote:
Which settings button?
Sent from my iPhone

On Nov 3, 2015, at 12:45 PM, mjsibbald<EMAIL_ADDRESS>wrote:
Is the settings button implemented? I cannot find it.
Cheers,
Maik
—
Reply to this email directly or view it on GitHub.

—
Reply to this email directly or view it on GitHub https://github.com/AndreaMelle/iosvr/issues/1#issuecomment-153362154.

Oh, I see what you mean.
No, this does not implement the features that the recent google cardboard plugin has.
It's a minimal set of functionalities.
If you need the full google cardboard stuff, use the Unity plugin which is compatible for both iOS and android. You'll find it on Google cardboard website.
Sent from my iPhone

On Nov 3, 2015, at 1:59 PM, mjsibbald<EMAIL_ADDRESS>wrote:
To load the qr code scanner? Probably not implemented?
Sucks the current cardboard is unity for ios…

On 03 Nov 2015, at 14:58, Andrea Melle<EMAIL_ADDRESS>wrote:
Which settings button?
Sent from my iPhone

On Nov 3, 2015, at 12:45 PM, mjsibbald<EMAIL_ADDRESS>wrote:
Is the settings button implemented? I cannot find it.
Cheers,
Maik
—
Reply to this email directly or view it on GitHub.

—
Reply to this email directly or view it on GitHub https://github.com/AndreaMelle/iosvr/issues/1#issuecomment-153362154.

—
Reply to this email directly or view it on GitHub.


feat!: update the return value for n=1 in math/base/special/bernoulli

Description

What is the purpose of this pull request?

This pull request:

addresses the discussion at https://github.com/stdlib-js/stdlib/pull/3037#issuecomment-2468411692
adds a conditional statement to check if n = 1, and return 0.5 in math/base/special/bernoulli.
adds the corresponding test.
modifies the examples accordingly.
updates benchmarks and tests according to the latest conventions.

Related Issues

Does this pull request have any related issues?

None.
Questions

Any questions for reviewers of this pull request?

No.
Other

Any other information relevant to this pull request? This may include screenshots, references, and/or implementation notes.

No.
Checklist

Please ensure the following tasks are completed before submitting this pull request.

[x] Read, understood, and followed the contributing guidelines.

@stdlib-js/reviewers

Note that this change is not a "refactor", per se, but a breaking change. Upon merging, we will need to articulate that breaking change to ensure that the changelog is populated correctly.

Note that this change is not a "refactor", per se, but a breaking change. Upon merging, we will need to articulate that breaking change to ensure that the changelog is populated correctly.

Got it, thanks for explaining!


License

Hi,
Thanks for open sourcing! The license is Apache, however in the readme it says:

We develop this repository for RESEARCH purposes, so it can only be used for personal/research/non-commercial purposes.

might it be possible to remove this since it is Apache licensed?
Thanks again for releasing this amazing work!

Yeap. Thanks for pointing out. It has been modified.

Thanks!


Avoid legacy timestamps?

When I try to log using the suggested columns from the how to.

Cannot write DateTimeOffset with Offset=08:00:00 to PostgreSQL type 'timestamp with time zone', only offset 0 (UTC) is supported. Note that it's not possible to mix DateTimes with different Kinds in an array/range. See the Npgsql.EnableLegacyTimestampBehavior AppContext switch to enable legacy behavior.

    IDictionary<string, ColumnWriterBase> columnWriters = new Dictionary<string, ColumnWriterBase>
    {
        { "message", new RenderedMessageColumnWriter(NpgsqlDbType.Text) },
        { "message_template", new MessageTemplateColumnWriter(NpgsqlDbType.Text) },
        { "level", new LevelColumnWriter(true, NpgsqlDbType.Varchar) },
        { "raise_date", new TimestampColumnWriter(NpgsqlDbType.TimestampTz) },
        { "exception", new ExceptionColumnWriter(NpgsqlDbType.Text) },
        { "properties", new LogEventSerializedColumnWriter(NpgsqlDbType.Jsonb) },
        { "props_test", new PropertiesColumnWriter(NpgsqlDbType.Jsonb) },
        { "machine_name", new SinglePropertyColumnWriter("MachineName", PropertyWriteMethod.ToString, NpgsqlDbType.Text, "l") }
    };

How can I just store UTC without time stamps? I don't want to go changing npgsql default behavior on an existing app.

Can you test version 3.4.0, please? I have done a simple change to store the values in UTC only, but I'm not really sure if it works on all systems right now (My computer is set to German settings and it seems to work properly).
https://github.com/serilog-contrib/Serilog.Sinks.Postgresql.Alternative/commit/0667bddbd22b9e6bcd91e1e0f4da4a623f24a9f0

Will test it out today, thanks.

I don't get an error, but I don't get any records in the database. So just debugging to see if I messed up or if there's a new bug.

Okay, strange. Keep me updated, I will provide a fix once you find anything.

Do you already have any results on this issue? :)

I'm so sorry :'(
Just been so busy I haven't touched my personal projects.
I have double checked everything, had to uninstall the packages and reinstall because I messed something up. All the logs are now working 100% correctly without issue.
Can confirm issue is resolved and its working great. Really appreciate you fixing it. And I'm really sorry I took so long to confirm :(

I'm so sorry :'(
Just been so busy I haven't touched my personal projects.
I have double checked everything, had to uninstall the packages and reinstall because I messed something up. All the logs are now working 100% correctly without issue.
Can confirm issue is resolved and its working great. Really appreciate you fixing it. And I'm really sorry I took so long to confirm :(

No problem. I know that and sometimes have more times for the projects here and sometime no time at all...
Glad to hear that it's solved.


PPS above 11V exits after 5 seconds of triggering

My charger supports 5-20V 5A PPS, but it will exit PPS 5 seconds after triggering PPS above 11v. Why？

Hi, I just realize a bug that may related to your problem.
The power_data_obj[] array in PD_protocol_t should be size of 7 instead of 6, which will cause power negotiation fail or even crash if number of PDO is more than 6.
I pushed the fix. See if this can solve your issue.

Now the PPS above 11V works perfectly.


Make GCP OAuth scopes configurable via pipeline options.

This allows users to limit scopes dependent on their pipeline.
fixes #23290

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

R: @kennknowles @tvalentyn @ricardograca-scratch

Thank you

Run Java PreCommit

@lukecwik Can you explain how this works? I upgraded Beam to version to 2.43.0, added the following:
pipeline_args = [
  ...,
  '--gcp_oauth_scope',
  'https://www.googleapis.com/auth/drive'
]
pipeline_options = PipelineOptions(flags=pipeline_args)
pipeline = beam.Pipeline(options=pipeline_options)

But still get
Access Denied: BigQuery BigQuery: Permission denied while getting Drive credentials.

It looks like the error your getting is from BigQuery trying to access Drive on your behalf and not from Dataflow trying to access Drive. How are you trying to get BigQuery to access Drive from Dataflow (is it via your own code or is it via cross language IO connector or ...)?

I'm not using Dataflow. This job is running as a cronjob in Kubernetes and the credentials come from a service account. I can confirm the service account has the required role to access the BigQuery table, and the underlying Google Drive file is shared with the service account email. This same setup used to work just fine with my patched version of Beam that added the needed Auth scope.

note that when setting --gcp_oauth_scope  you need to list all the scopes, not just the additional drive scope.

According to the official documentation that is not the case when using the append option. It should just append the passed in scope to the default list, or am I missing something?

I stand corrected, you don't need to repeat the default options.

I'll try to debug the issue to see what could be wrong.

I am not sure what is going on then. I would print the content of the defined scopes and A/B test both cases.

I tried supplying the option on the command line and can see that it is being populated correctly, but don't have a readily-available pipeline that I can use to meaningfully test a different scope.


Group member kanban board

Contributors
We are group of two partners for this project

[x] @ernestmusong
[x] @brhanuhailu
[x] Kanban board project link
[x]  Added and assigned skipped boards

We value your 🕙 reviewers as well us ours 🤟

Hi Team,
Good job so far!
There are some issues that you still need to work on to go to the next project but you are almost there!
Highlights 💯

Descriptive info✔
Tasks distributed equally ✔

Required Changes ♻

[ ] Kindly add a card that represents the Food list as per this requirement. Since the group has less than 3 members.
[ ] Kindly add a card that represents the General shopping list view as per this requirement. Since the group has less than 3 members.
[ ] Kindly add a card that represents writing unit and integration tests as per this requirement.

Optional suggestions
Every comment with the [OPTIONAL] prefix is not crucial enough to stop the approval of this PR. However, I strongly recommend you to take them into account as they can make your code better.
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me in your question so I can receive the notification.
Please, do not open a new Pull Request for re-reviews. You should use the same Pull Request submitted for the first review, either valid or invalid unless it is requested otherwise.

As described in the Code reviews limits policy you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.

@gemmen29  Thank you very much


[Addition]: Heltec Cluster in Lampoon, Thailand (2)

Hotspot b58 Addresses
11233KYbW4L1TUGJsMBwKSuJxYstzHEerumUC2VfbpJKiqW3zh1h
112nu3nLfuNjaAoPbEMsXR1LfMtHWmuzr3ruipwHF7boFFsrQPzf
112WPxZdkTMWwCbkGo5vE4QFQPotvtQrBmcirWU7iKLiKmm5BUES
112WvyixvCSiykRJGaWEfcEKvbTeY5GSsVm43WWDdPsysdDYEY1i
11hLPpym9K7izMbm2j8H4XP9VUFeibiJx5Y9hWNuT1DBLzwjeSj
11Tp2TYYXZV6aWDbtKSCWd9nSgmKf6mZPewZjP5pFaEBv8q1RXa
11tvDEM5qhsMP2v9gcWSgXWKhMvrM3v2m8zKQcG4xyseocg4x2i
11uDKHyfkHydZykKddxcUKtEATT6BVcmdbwdBc9FNe82QHTZKhQ
11xcuYnEJhzkWZwQg3dgp29BaDX9jBXqMi2aHdsrMbPefoFDVt7
11YVUBLUtQkqDSM6Vim86rq3rDMEGQpTsa8tU5u5M5uymkwPXnL
Discord Handle
Kenny_PDY
Reason(s)
Another 10 Heltec 12dB 0m antennas form a cluster in Lampoon, Thailand. Asserted in the same day within 30 mins. All belong to one account and witness only each other even though another brand HS is nearby. IP addresses are not local.  Repost from #6948

Prehistoric Amethyst Mammoth

Late Heather Jay

Rough Tangelo Mustang

What is the block chain spirit? Really not thinking about what you've done before. If there is a problem, or cheating is also a problem with the official rules. Or use a decentralized solution. Instead of reporting and rejecting lists. True de-centralization is what you should do in the future, no matter what you have done before. Use better systems to solve real problems. Not centralized reporting. There is already a technology to make hard forks, and blacklisted machines can produce other currencies. We'll join in other chains then. Dig another token


More Iterator methods: slice_before, slice_after, slice_when, chunk_while

While coding this year's Advent of Code it would have been nice to have these Iterator methods. They exist in Ruby but are missing in Crystal. They are sometimes useful in this type of problems, where using Crystal is more fun :-P
Is there interest in these? I can submit a PR with a commit for each of these.
I guess the names can remain the same as in Ruby.

While coding the fifth day of Advent of Code it would have been nice to have String#swapcase and Char.swapcase methods. Yeah 🙂

@mamantoha Hehe, indeed. At this point, given that swpacase's implementation is trivial, I'd say we could add it just fine.

to_h(&:block) from Ruby 2.6 could be nice to have too, if we are window shopping ruby methods :)

Please keep in mind though that a time travelling Santa solving elves puzzles is not entirely representing real world use cases.
Just to put some restraints on the shopping spree ;)

This is all done now :-)
(open a separate issue if you'd like swapcase, I'm still not sure it's that useful)